"Dual Core" Arduino


dual168-1.jpg

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.



Related:

Recent Entries

Comments

Oldest comments listed first.

Posted by: ap1.myopenid.com on April 14, 2008 at 9:42 PM

Totally freaking sweet.


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).


Leave a comment


Subscribe to MAKE!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)

Subscribe now

How-to videos for Makers and Crafers!


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
MAKE: en EspaƱol MAKE: Japan

Make: television
Make: television is here! Visit makezine.tv or iTunes to see all the episodes.

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter

    MAKE's RSS feed is here.
    Add MAKE to iGoogle - GoogleGoogle.
    How to add MAKE to your RSS reader - Real simple.
    Add MAKE on FriendFeed


    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!

    MAKE wins Treehugger Best of Green Award

    MAKE wins Brit Insurance Design Award

    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth Branwyn, Chris Connors (guest author), Collin Cunningham, Marc de Vinck, Peter Horvath (intern), Kip Kay, Goli Mohammadi, John Park, Sean Ragan, Becky Stern, Phillip Torrone

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Fire Piston Make your own fire starter that uses compressed air and burns at 500 degrees! Thanks to Bill Gurstelle for showing us this at Maker Faire. To download The Fire Piston MP4 click here or subscribe in iTunes. Pick up... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:






    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog