Collin's Lab: USB Hacking with Arduino. Arduino - HomePage. News. Lab3 - Laboratory for Experimental Computer Science. Watchdog and Sleep functions This example shows how to make use of the Watchdog and Sleep functions provided by the ATMEGA 168 chip .
These functions are useful if you want to build low power consuming devices operated by battery or solar power. Arduino Hacks. Blog Archive » Arduino DCF77 radio clock receiver. Posted by md on November 05, 2006 As a first sketch, I developed a little DCF77 library for the arduino.
The DCF77 sender broadcasts the exact time in Germany. Blog Archive » Tweaking the code. Posted by md on April 18, 2007 Thanks to Lasse Lambrecht, I can release a new version of the DCF77 code – now you can run it on the ATMega168-based Arduinos.
The ATMega8 differs slightly from the ATMega48/88/168-series: The latter chips have an extended Timer2-hardware and therefore need different initializations. Teensy USB Development Board. The Teensy is a complete USB-based microcontroller development system, in a very small footprint, capable of implementing many types of projects.
All programming is done via the USB port. No special programmer is needed, only a standard "Mini-B" USB cable and a PC or Macintosh with a USB port. 4 Operating Systems for the Arduino. I was working in the lab, late one night, when my eyes behold an eerie sight...
Yes, Halloween is a long time ago, but that stupid song is still stuck in my head. I miss Halloween. I never got to post up pictures of my skeleton running off IXM's. :-)Anyway, I was browsing the Arduino forums and saw this cool post about DuinOS, a real-time embedded "operating system" for the Arduino. DuinOS by RobotGroupIt's a simple little realtime OS (RTOS) built by the guys at RobotGroup (hello!)
Hackable-devices.com : Welcome. Blog Archive » Arduino DCF77 v0.2 released. Posted by md on January 06, 2007 The sketch for decoding the time radio signal DCF77 is greatly improved: I use interrupts for handling the signal and a backup timer has been added.
Note that there is no interface at the moment, the time is simply put to the serial line. But it should be easy to add a display to show the time. The sketch eats roughly 6000 bytes of memory – if you want to add a user interface, you should consider buying a 16 kb Arduino ;-) AVR-Tutorial: Interrupts. AVR-GCC-Tutorial. Arduino timer interrupt. This is a total shot in the dark, but when you do this: is it possible that other bits are already set in TCCR2?
Doing a bitwise-OR between a zero and a bit that is already set to 1 will leave that bit at 1, not change it to zero. For example, when you do the following line: You are not changing the value of TCCR2, no matter what its current value, because it is the same as saying: If you really want to make sure a bit is turned off, you should use &= and the bitwise not operator ~.