2 problems....7805 regulator getting hot and RCTIME giving strange results
ok....here is the situation. I recently added a frequency crystal to my project board which I got from my local radioshack. The owner fixes small electronics and happened to have a bunch of crystals that I could have. On the crystal, it says 75.990Z. Since I got them for free, I was hoping to use them in my next project. All that is running from the chip is 3 7 segment displays and 2 pins are used for RCTIME to measure the resistance of a sensor. Before, I was just running the chip with the internal clock and it did not heat up at all. I am not sure what OSC setting to set it at so I did some research before hooking it up and found alot of people were using OSCHS2 at 50Mhz so that is what I went with. I also tried to add a 10uf cap across Vss and Vdd...that did not help at all. The displays have a 100 ohm resistor on the Anode. The RCTIME pins have a 10k and a 47k with a .01uf cap. I need help getting the heat down or eliminated. The final circuit will probably have 2 chips running from the 7805 and synced together with the same crystal if possible.
As for the RCTIME, I am having problems getting it to show accurate values. As I change the value of the sensor being tested, the output will go from 179 to 170, then to 181. When it gets to 189, it will go to 180, then to 191. Basically it counts 1....8, 9, 0, 11....18, 19, 10, 21..... Any ideas on this?
As for the RCTIME, I am having problems getting it to show accurate values. As I change the value of the sensor being tested, the output will go from 179 to 170, then to 181. When it gets to 189, it will go to 180, then to 191. Basically it counts 1....8, 9, 0, 11....18, 19, 10, 21..... Any ideas on this?
Comments
Do you really need to run that fast? If so, get an external oscillator and a heatsink. If not, Parallax sells some ceramic resonators that will work at slower — but still respectable — speeds of 4, 8, 20, 32, or 50 MHz.
Free is not always better!
-Phil
-Phil
They must match.
-Phil
4MHz, 5MHz, that's all cool (hi_hi), just get it right with the FREQ Directive.· The higher the FREQ, the hotter the SX (potentially) will run.· One SX can be on a 4MHz and another on a 10MHz and they can exchange serial data and that like.
FREQ 5_000_000
OSCHS1
Post Edit -- DEVICE sx28, oschs1, TURBO, STACKX, OPTIONX
FREQ· 5_000_000
I had the same problem in understanding the SX. Parallax sells resonators, and they are all the same price. The higher frequency you run the SX the more power it consumes, so if your using a wall wort they may not matter. But battery, yeah you have to look into that. Keep at it, I keep making rookie mistakes too.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Shawn Lowe
When all else fails.....procrastinate!