PS
you can see the DS18b20 temp sensor at the top above the 8x8 LED matrix
the two large holes at the top corners are for a cord lanyard to be attached and the Scouts can wear it around their neck.
the two push buttons allow for different functions and for the race car game to be played when turned sideways.
The CR2032 battery lasts for a LONG! time... at least a couple of years of random usage
Here is a crude hand drawn schematic.
All the pins are in use on the 20 pin PIC
You can see that the DS18b20 is tied to one of the pushbuttons
I plan to tie the RTC to the other push button
Therefore either of the OneWire devices can only be read when the button is NOT depressed.
(I account for that limitataion in code)
No, there are no current limiting resistors used because of the internal impedance of the CR2032 batt
and I pulse the rows and columns of the LED matrix to limit current (haven't had a failure yet)
the Kit has been a great success and hopefully inspired some new electronics enthusiasts!
The DS2417 RTC would be powered directly from the battery and not powered down when the PIC is off.
I will tie the RTC to the other button input (this way I can ignore the One Wire address requirement as each input will only talk to one OneWire device)
Thanks again to you and Henrik for helping out here
This is GREAT fun!!! (although my Wife can't figure out why)
To me it really is rewarding to develop code and be able to trouble shoot and see the results almost instantly with flash programming.


)


Bookmarks