"Dual Core" Arduino

John Ryan on the Arduino forums says:
Here's 2 ATMega168's sharing one 16mHz resonator, one reset switch, two 10k resistors, one 220ohm resistor, and two LED pilots. I used a mini USB adapter and uploaded the LED blink test to both chips, and as Paul [Badger] suspected, they are perfectly synchronized - I've tested numerous resets, and the start up blink sequence and blink demo on both, are identical.
I don't need synchronized chips, but I happen to have a use for 2 168's connected via i2C - not sure if anyone else does but it adds a lot of pins and a second serial buffer for an almost next to nothing outlay. This can be put together using 1 RBBB and a second chip with the boot loader installed, so that's quite inexpensive, so long as you've got got a mini USB adapter laying around.
Synchronized ATMega168s sharing compenents on the Arduino forums, via Hack a Day.
Posted by Becky Stern |
Apr 14, 2008 07:00 PM
Arduino, Electronics |
Permalink
| Comments (2)
| Email This |
| Digg this!
Recent Entries
- Best of CRAFT
- Not so lazy Sunday... Weekend Project - Ultimate LED fan sign
- Making Austin Weird: LED Bling
- Brush knuckles
- Found object robot sculptures
- Blob Mentality
- Got 10 hours? Make a paper swan
- Make it or break it
- Maker Faire Austin: Oct. 18th and 19th, 2008, Austin, TX (2 weeks away!)
- Halloween science grossology
Comments
Oldest comments listed first.
![]() |
Posted by: thesamurai1200 on April 15, 2008 at 12:05 AM |
The only thing you must worry about when using a single crystal, VCO, or otherwise clock generator, is that the lines coming out of your generator must be close to equal (tolerances vary directly compared to clock frequency), else they could end up in frequency-sync, but out of phase, which could be as bad.
A visual confirmation of sync (two LEDs blinking at the same time and not drifting apart) will tell you if you are running at the same frequency, but not necessary if you are 'exactly' in phase (exactly being the same rising clock edge).
Subscribe to MAKE Magazine!
Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.
$34.95 / 1 year
(4 Quarterly Issues)
Features and more @ MAKE!
Add MAKE to iGoogle - GoogleGoogle.
Add MAKE to your RSS reader - Real simple.
Add MAKE on Twitter.
Add MAKE on FriendFeed & the MAKE room.

Why advertise on MAKE?
Read what folks are saying about us!
Click here to advertise on MAKE!
Phillip Torrone
Senior Editor
Tel: 707-827-7311
Gareth Branwyn
Robot Maker
Kip Kay
Video Maker
Jonah Brucker-Cohen
Artist / Researcher
Natalie Zee Drieu
Senior Editor
CRAFT
Becky Stern
Culture jammer
Collin Cunningham
Sound Maker
Marc de Vinck
CNC Maker




Leave a comment