Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
@123jack: Relay = spark = noise, yes. My HID is also relay driven, starter motor have a larger relay driving it. Testing the horn relay without the actual horn, I can hear the relay 'tick' but it doesn't halt the PIC. Though it can be due to the relay not having a load. WDT is the final go here...
My horn is using a relay. Its brand is Circuit more like of a Hella copy. It is also around 100dB loud. I'm not sure of its wattage, but I'm pretty sure, HID and starter motor have more wattage than the horn and they don't affect the PIC.
If CLRWDT is not good inside the interrupt routine then...
I have checked and changed regulators of different brands, even got one from an old computer PSU which is an awesome Fairchild regulator but the problem is still there. WDT is the go. Can I put CLRWDT inside the interrupt routine?
I don't have an oscilloscope. Any ways to cut the noise? power filters maybe? or should I stabilize the horn power source?
---------- Post added at 02:55 ---------- Previous post was at 02:54 ----------
@prmurthy: I'm sourcing power from the battery.
Watchdog isn't enabled. 7805 output remain at 5vs when I press the horn. Or the multimeter just can't read the jolt since it has some reading delays? The display doesn't show any blinking too, 3x7-segments.
I have a working digital Speedo, Gear indicator, and fuel gauge on my motorcycle. Everythings perfectly working except for the Speedo which is running on a PIC16F84.
My speedo halts (freezes) if i'll use my horn. Dual horn, a bit of a electric current sucker. I tried every 7805 stabilizer...
My C value is so large that I actually miss some pulse on high speed. Reduced to nF values gave me better results. It is working perfectly now. Thank you so much for your help.
I actually did that. I've searched google and found out about it. With this filter, would I miss some pulse? I did a 1.5k ohms R and 2.2uF C. I should be able to capture pulses upto 200 pulses/sec. Tested the speed, and at 64 km/hr I am already moving very fast like 100+ km/hr.
Thank you.
Im not really good with analog circuits. Can you give me a sample schematic for LPF? I presume its a circuit I can put in between the output of the hall effect sensor and RB0 port. Thank you.
Hi,
I need help on cleaning up pulses from my hall effect sensor. The project is a wheel speed sensor.
4 magnets on the wheel hub, 1 hall effect sensor on the front fork. That means, 4 pulses/wheel rotation. However, using a simple program on the PIC to count each pulse gives me unpredictable...
Hey Tahmid,
Never mind the interrupt thing, I got it working flawlessly. Read up the datasheet and all that is in there LoL. Thanks.
However, the speed reading is very low resolution. Like you get a minimum of 5km/h then next would be 10, 15 on a 2 sec refresh. On a 1 sec refresh you get a...
Hi,
It worked. Now here comes reliability issues. It seems that my 1sec overflow is not constant, since I'm not using interrupt.
Can you help me convert this into interrupt?
How do I get started?
Here's my plan:
dim counter as integer
dim temp as longword
dim speed as byte
dim hx as byte...
Hey man,
I've tried before reading your reply, assuming that you did a typo and it worked.
However will it also worked if the result is ex. 24 or just 7? It should display 007 or 024 (3 multiplexed 7-segments), never tried it yet.
Also in my calculation im having strange results, take a...
Hey Tahmid,
Is this correct? seems like "d" is not declared. You just set the value of "x" and you stopped using it. Or a typo maybe?
Thanks.
---------- Post added at 08:51 ---------- Previous post was at 08:25 ----------
Can you also help me start with interrupts (using old PIC16F84A with...
Hi,
Can anyone teach me how to split a variable?
Here's the scenario. I want to calculate something and the result ex. 135 is stored on a certain variable (myvar = 135). Now, how do I split each character onto single variables? Like, var1 = 1, var2 = 3, var3 = 5. The splitted variables should...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.