Forgive me i asked too many questions but i am a rookie about pic.my servo motor has three cable.+5 volt,ground and i have another cable as signal cable.Where do I connect signal cable??? Thank for your patience...
Forgive me i asked too many questions but i am a rookie about pic.my servo motor has three cable.+5 volt,ground and i have another cable as signal cable.Where do I connect signal cable??? Thank for your patience...
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
You really shouldn't NEED to isolate your servo from your PIC as long as you have a well designed circuit to drive it. I've used servos with my PICs, never had a need to isolate them, ran them off the same battery pack, same wires, etc.etc.etc.
If you're trying to run a PIC and a servo off a 9v battery (the little rectangular ones) connected to a single 7805 type regulator without any sort of cap's in the circuit anywhere, well, then, yes, you will most likely have a problem.
Maybe if we saw your schematic, we could help you figure out a way to avoid the isolator altogether...
Maybe you forgot to put a pullup on MCLR...maybe your oscillator setup is a bit goofy...maybe you got peanut butter in your chocolate...Who knows...
Hi, Burak
THIS could be a geat help :
http://www.parallax.com/Portals/0/Do...ic/Signals.pdf
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
I am trying to design an object tracker (only left and right) and I am using phototransistors by using two analog inputs.I have to explain my problem more clear.When I turn power on servo tracks object but after a while sometimes pic resets itself or servo motor suddenly stops.I hope
I explained it clearly.What do you suggest? Here is my design.When you see the design there is a lcd.I use it for watching the values of analog input.When servo rotates,brightness of lcd changes (getting brighter or darker)...I think thats another weird thing...
![]()
Last edited by burak450; - 1st October 2008 at 02:17.
Doesn't that right there tell you something about the quality of your power supply?
Let's see...if I'm driving down the road, and my headlights change brightness, does that tell me anything about the electrical power in the car? If I'm sitting in my living room at night reading a book and the room's lights either dim or get brighter, would that tell me something about the local power grid?
I don't see ANY capacitors in there, either across Vdd and Vss or across your servo's power supply. I don't see what kind of power you are supplying this circuit with. I don't see a lot of anything.
Ya know, for that matter, we haven't seen your code yet... Who knows...maybe it is actually a firmware problem...
Bookmarks