![]() ![]() ![]() ![]() ![]() Alan numitron clock Clapclap 2313/1386 SNES Pi Webserver USB Volume/USB toys Smokey amp Laser cutter WordClock ardReveil v3 SNES Arcade cabinet Game boy projects cameleon Home Presence Detector ![]() AlanFromJapan ![]() ![]() ![]() Akizukidenshi Elec-lab Rand Nerd Tut EEVblog SpritesMods AvrFreaks Gameboy Dev FLOZz' blog Switch-science Sparkfun Suzusho Datasheet Lib Reddit Elec Ermicro Carnet du maker (fr) |
ardReveil v3Last update: Tue Nov 28 13:28:48 2023
Arduino vIII : it's credible(?) life2010-03-18 : It's alive, in only 3 evening of work. Step 1 was power, then step 2 was RTC and Infra Red sensor, step 3 was LCD with micro code and the programming connector. Works from the first try, isn't it great ? (NB: ok, I killed probably a ATmega 328 but hey...)Hall of fame:
Description![]() Still a clock, this time very simple, just shows time, nothing more. No alarm, no sound, no settings : just time. And no button at all, lighting is detecting by hovering the hand over the component : the IR reads the hand position and the closer you are the brighter it is. Final dot. Still a new RTC (never used twice the same) I went for the fantastic temperature compensated DS3232 of Maxim (thanks to them again for the 2 samples). 2 minutes change over a year : great toy. Also, first use of the Sharp IR sensor, astonishingly simple and efficient. until 80 cm you have a nice, linear reading of the position. So cool. To finish, there is no arduino in that : I use my Pololu programmer to upload the code done into the Arduino IDE. Just compile, hear it fail that no Arduino Duemillanove is connected, and upload the code via the 6 pin connector on the card. Save space, money and keep my Arduino for what it's needed : prototyping or perpetual USB connection. The whole toy is cased into a iPodTouch box (gave the iTouch, kept the box). Very happy with my casing, the nice internal paper cover hides nicely the electronic parts. Schema, parts and codeCodeARD_Reveil_v3.zipNo specific points of interrest. You might find useful the RTCDS3232.h that makes use of DS3232 easy in case, but there's no magic inside. If it can save you a few hours of job, feel free! Uploading codeThis might prove interresting : build your own 6 pins connector to upload the binary, have the Arduino IDE "upload" the code on a non connected COM port. It will successfully build the .hex file but fail to upload. So just pick the following command line that will upload that .hex file directly to the ATmega 328 (same as Arduino 2009). You save space (no bootloader) and money (way less expensive than embeding and Arduino 2009 inside this).NB: my pololu is on COM1 and the path should be full path to make sure it works fine. D:\arduino-0015\hardware/tools/avr/bin/avrdude -CD:\arduino-0015\hardware/tools/avr/etc/avrdude.conf
-v -pm328p -c avrispv2 -P\\.\COM1
"-Uflash:w:C:\Documents and Settings\Alan\My Documents\Arduino\ARD_Reveil_v3\applet\ARD_Reveil_v3.hex:i"
PartsExcept especially mentionned, I bought everything from my favorites : Akizukidenshi.com
Sum: 3000 JPY (or so), means 33 USD or 25 EUR. Fully assembled, programmed etc in 3 evenings (electronic part, not includes casing) SchemaNot present on the schema :
![]() Pictures![]() ![]() ![]() ![]() Usual display (hand not hovering), seems like off. But one with good eyes can see the time is still faintly visible. ![]() Hand hovering: display becomes readable (the closer you are, the brighter it is) ![]() Hand hovering: display becomes readable (the closer you are, the brighter it is) ![]() ![]() |
All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated) electrogeek.tokyo ~ Formerly known as Kalshagar.wikispaces.com and electrogeek.cc (AlanFromJapan [2009 - 2025]) |