What about the voltage regulator? Is it heating up after a bit and dropping out?.
A schematic might help.
What about the voltage regulator? Is it heating up after a bit and dropping out?.
A schematic might help.
Dave
Always wear safety glasses while programming.
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.
the motor does not have a voltage regulator, and i am running everything off of 4 AAA batteries. should i add a voltage reg? how will this affect my battey life?
************************************************** ***********************
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 " !!!
*****************************************
Are the batteries rechargeable? The total voltage could be with fully charged cells 4.8 to 6 volts nominal. One could be a bit low if you are running at 10MHz or above and the other is a bit high.
The 4.8 v will be fine if nothing causes to much of a voltage drop. The batteries may seem fine after everything stops due to rebound. Try a voltmeter when it is running to monitor the voltage to see for your self.
Solution might be to have a separate set of batteries for the PIC and another for the motors. Share the zero rail.
If you are not running rechargables then a regulator is recommended for the PIC. Keep the voltage at 5 volts or less here. If you run the PIC at 4 MHZ or so the voltage can be much lower, check the data sheet under electrical characteristics. A low drop out regulator may also be handy. If the batteries are max voltage 4.8 and you run at 4 MHz then you will not need the regulator.
This "science olympiad ", is this something with a secondary school or university ?
Dave
Always wear safety glasses while programming.
Hi,Dave
The internal resistance of those batteries is FAR too high to power a servo , so a servo and a Motor ...
Want some values ??? just to laugh a bit ...
running the PIC @ 3 v could be a solution ... for the Pic only !!!
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 " !!!
*****************************************
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.
Bookmarks