Another Ice Tube Clock Firmware for the Holidays

Tick Tock Clock Kits

Moderators: adafruit_support_bill, adafruit

Re: Another Ice Tube Clock Firmware for the Holidays

Postby jarchie » Sun Feb 24, 2013 10:46 pm

--updated post--

The external oscillator on the Arduino Uno R3 should work just fine. Is this project the only reason you're purchasing an Arduino? If so, I am willing to mail you a chip with Ice-Tube-Clock-compatible fuse settings. jarchieREPjarchie.com where REP is the at symbol.

By the way, congrats on fixing the dim-digit issue. Well done!
jarchie
 
Posts: 79
Joined: Sun Jun 24, 2012 1:16 pm
Location: Santa Cruz, California, United States

Re: Another Ice Tube Clock Firmware for the Holidays

Postby pgeremia » Sun Feb 24, 2013 10:53 pm

Wow thank you! Actually I have some other projects in mind so I do want to purchase the R3. I will update when I get the unit, program the chip and get it working. Thanks Again!

jarchie wrote:--updated post--

The external oscillator on the Arduino Uno R3 should work just fine. Is this project the only reason you're purchasing an Arduino? If so, I am willing to mail you a chip with Ice-Tube-Clock-compatible fuse settings. jarchieREPjarchie.com where REP is the at symbol.

By the way, congrats on fixing the dim-digit issue. Well done!
pgeremia
 
Posts: 10
Joined: Sun Jan 06, 2013 9:45 pm

Re: Another Ice Tube Clock Firmware for the Holidays

Postby pgeremia » Fri Mar 01, 2013 7:03 pm

I wanted to let you know that I got my Arduino, programmed the chip with your firmware and everything works great!!!!

Thanks Again!!!

-Pete

jarchie wrote:I have reproduced your error and am wrong about the Adafruit chip working out-of-the-box. I apologize for the inconvenience.

To reproduce the error, I removed the ATmega328p from my GPS-enabled clock, placed it in an Adafruit DC Boarduino, and burned the Arduino bootloader. When I inserted the chip back in my clock, programming failed exactly as you describe.

The problem was that the Arduino uses an external 16 MHz oscillator, so an ATmega328p with an Arduino bootloader has the external oscillator fuse configured. Since the clock does not provide a high-frequency external oscillator, the chip will not function in the clock--not even to be programmed.

To fix the situation, I installed the ATmega328p in my AVR development board (which provides power and an ISP header), wired in a 16 MHz external oscillator, and programmed the new fuse settings using the xmas-icetube's "make install-fuse". (A Boarduino or Arduino board also would have worked, but I wanted to make sure the problem really was the external oscillator.) With the ATmega328p fuses configured to use the internal 8 MHz oscillator, I put the chip back in my clock and was able to program it normally with a "make install."

Do you have access to an Arduino board or something with an ISP header and external crystal oscillator?
pgeremia
 
Posts: 10
Joined: Sun Jan 06, 2013 9:45 pm

Re: Another Ice Tube Clock Firmware for the Holidays

Postby jarchie » Fri Mar 01, 2013 9:55 pm

Congratulations, Pete! I'm glad everything is working.

By the way, I've updated the xmas-icetube README to include a warning about chips configured with an Arduino bootloader along with instructions on how to reconfigure those chips.
jarchie
 
Posts: 79
Joined: Sun Jun 24, 2012 1:16 pm
Location: Santa Cruz, California, United States

Previous

Return to Clocks

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]