Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
09.02.2010 at 20:10:39
News: Server upgrade went fine, you are now at the new system


Pages: 1 2 3 ... 16
Dual Core 168 Arduino (Read 81445 times)
John_Ryan
God Member
*****
Offline

skcor oniudrA

Posts: 684

Dual Core 168 Arduino
11.03.2008 at 14:49:32
 
Here's 2 ATMega168's sharing one 16mHz resonator, one reset switch, two 10k resistors, one 220ohm resistor, and two LED pilots.

Both chips were supplied with RBBB kits sold by The Modern Device Company http://www.moderndevice.com/RBBB.shtml.

I used a mini USB adapter and uploaded the LED blink test to both chips, and as Paul 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 Smiley

The video can be viewed here (it's scratchy but you'll get the idea)

http://www.youtube.com/watch?v=eDu_SrhP5-M

Here's some pix too.



Back to top
 
 
View Profile   IP Logged
beavis
YaBB Newbies
*
Offline

Arduino rocks

Posts: 11

Re: Dual Core 168 Arduino
Reply #1 - 14.03.2008 at 14:10:01
 
That is awesome!

Now all we need is a couple of water colling systems and overclock the chips. Smiley

Seriously though, a great idea.
Back to top
 
 
View Profile   IP Logged
John_Ryan
God Member
*****
Offline

skcor oniudrA

Posts: 684

Re: Dual Core 168 Arduino
Reply #2 - 14.03.2008 at 14:17:39
 
beavis wrote on 14.03.2008 at 14:10:01:
That is awesome!

Now all we need is a couple of water colling systems and overclock the chips. Smiley

Seriously though, a great idea.


They've been running non stop for the past 4 days to see if anything "flaky" happens, the chips are cold to touch and both are in perfect synchronization.

I'm interested to know - why would a water cooling system be needed?

This hasn't been done before, so all input is welcome Wink
Back to top
 
 
View Profile   IP Logged
spiffed
Full Member
***
Offline

Don't Panic

Posts: 205

Re: Dual Core 168 Arduino
Reply #3 - 14.03.2008 at 16:15:13
 
I think they were making a hilarious joke regarding PC overclocking culture inspired by the "Dual Core" name of this thread. Although, arguably it's more of a dual-socket device then dual-core.

Still a very cool project. I'm curious what more advanced applications clock sharing could be used for?
Back to top
 
 
View Profile | WWW   IP Logged
John_Ryan
God Member
*****
Offline

skcor oniudrA

Posts: 684

Re: Dual Core 168 Arduino
Reply #4 - 14.03.2008 at 21:01:31
 
Ah yes, we use mainly mac's here but now have vague recollections now of the old 150's being cranked up to 166? - that would have been over a decade ago?

And yip, it's a dual 168 / dual chip / dual IC / dual socket, but we're going to call it our "Dual Core 168" because it sounds cooler.

Applications, ummmm - dunno really, we're only using it for [ serial --> master --> slave <---> serial ] so in that regard, it's an inexpensive  plug-in solution for adding a second serial buffer, which means we're not having to wrestle with software serial anymore, nor do we need to use a wiring board which solves the same problem, but is bulky and costs a lot. We've had one of those here gathering dust for over 3 months, but we like this idea better because it uses a lot less real estate.

The no-frills design is an elaboration of this:-

http://art364.pbwiki.com/Standalone+Arduino

And Paul Badgers RBBB design.



Back to top
 
 
View Profile   IP Logged
John_Ryan
God Member
*****
Offline

skcor oniudrA

Posts: 684

Re: Dual Core 168 Arduino
Reply #5 - 15.03.2008 at 22:18:24
 
The pcb, with enough room at the top for a water cooler  Shocked

Back to top
 
 
View Profile   IP Logged
big93
Senior Member
****
Offline

Arduino rocks

Posts: 495

Re: Dual Core 168 Arduino
Reply #6 - 16.03.2008 at 06:38:53
 
how would you control each individual atmega's with one usb connector?
and wouldent it be better to make digital pins range from 0-26 instead of  2 sets of 13 pins? that way coding would be esier, same goes for analog inputs...
Back to top
 
 
View Profile   IP Logged
John_Ryan
God Member
*****
Offline

skcor oniudrA

Posts: 684

Re: Dual Core 168 Arduino
Reply #7 - 16.03.2008 at 07:08:57
 
SW1 and SW2 provide IC selection, so the chips can be programmed individually without rewiring the USB pins.

When they're not being reprogrammed, the dips are turned off - or, one can stay connected to the USB by moving it's dips to the on position.

The board has an inline i2c connection between both IC's, that's how they communicate. There's three sets of i2c pins on the bottom right hand side of the board, just in case we want to add extra devices.

It's still "two" 168's, but on one board sharing a few components, so the pin numbering is the same as a single, but one lot on each side.

We're using it for [ serial --> master --> slave <---> serial ] anything beyond that is a bonus, because what we're using it for, doesn't need anymore than 6 digital I/O's - we kept the rest, just in case we find something else useful to do with it Wink



Back to top
 
 
View Profile   IP Logged
The_Bongmaster
Senior Member
****
Offline

R-Doo-Inoo in the
making :3

Posts: 339
Norway
Gender: male
Re: Dual Core 168 Arduino
Reply #8 - 16.03.2008 at 16:34:52
 
a Siamese Arduino Cheesy great concept Smiley it may have many uses Smiley
Back to top
 
 
View Profile | WWW   IP Logged
John_Ryan
God Member
*****
Offline

skcor oniudrA

Posts: 684

Re: Dual Core 168 Arduino
Reply #9 - 16.03.2008 at 18:47:48
 
"Siamese" sums it up quite nicely, Siameseduino is a bit of a mouthful though Grin

I'd say the boys here will be knocking out a 128 Arduino in the not too distant future, so this design will be irrelevant as far as we're concerned if it's not too expensive. But if it inspires creativity in the meantime, then that's not a bad thing.



Back to top
 
 
View Profile   IP Logged
spiffed
Full Member
***
Offline

Don't Panic

Posts: 205

Re: Dual Core 168 Arduino
Reply #10 - 16.03.2008 at 19:59:17
 
While an Arduino128 or the SiameseDuino is an excellent option for new purchases, I think an IO expanding shield with a second I2C slaved Atmega128 on it and a second set of IO pins might be a good option for existing Arduino owners.
Back to top
 
 
View Profile | WWW   IP Logged
John_Ryan
God Member
*****
Offline

skcor oniudrA

Posts: 684

Re: Dual Core 168 Arduino
Reply #11 - 16.03.2008 at 20:57:15
 
Yip, we probably could have done it as a "slave 168" shield. But didn't, because this design in total uses less components than say, an NG - and can be as small as two RBBB's end to end.

A shield also wouldn't allow certain components to be shared, like the resonator - although, two 168's as a shield would.

But I'm not sure how you'd program the chips if it was a shield, I think you'd still need the mini-USB adapter - if anyone thinks up a way that this can be a shield in the next 24 hours, then let me know, we've got a hundred pcb's on order that won't go into production for another day or so.

Back to top
 
 
View Profile   IP Logged
sidgug
Junior Member
**
Offline



Posts: 56

Re: Dual Core 168 Arduino
Reply #12 - 16.03.2008 at 23:05:10
 
Very nice and very useful idea.

Will you be selling the PCB's?
Back to top
 
 
View Profile   IP Logged
John_Ryan
God Member
*****
Offline

skcor oniudrA

Posts: 684

Re: Dual Core 168 Arduino
Reply #13 - 17.03.2008 at 03:21:39
 
Thanks sidgug.

Yes, once we've tested the PCB's we'll put some out for anyone else who wants to buy them Smiley

Back to top
 
 
View Profile   IP Logged
spiffed
Full Member
***
Offline

Don't Panic

Posts: 205

Re: Dual Core 168 Arduino
Reply #14 - 17.03.2008 at 05:49:11
 
John_Ryan wrote on 16.03.2008 at 20:57:15:
A shield also wouldn't allow certain components to be shared, like the resonator - although, two 168's as a shield would.

As an IO shield, I don't know that you'd need a resonator, the AtMega should be OK at 1/2 speed on it's internal RC clock; otherwise, they're a matter of a dime or so.


John_Ryan wrote on 16.03.2008 at 20:57:15:
But I'm not sure how you'd program the chips if it was a shield, I think you'd still need the mini-USB adapter - if anyone thinks up a way that this can be a shield in the next 24 hours, then let me know, we've got a hundred pcb's on order that won't go into production for another day or so.

If you did it right, the shield would only need to be programmed once, with generic I2C code, and never again. This could either be done by programming the micro in another board (a ZIFDuino?) and transferring it to the shield, adding an ICSP header and using a programmer, or adding a TTL-serial header and using something like the Arduino Mini USB Adapter or the FT232 cable.

I have a fair portion of the slave I2C code written, I'll see if I can write the master library and design a shield proof-of-concept in the morning.
Back to top
 
 
View Profile | WWW   IP Logged
Pages: 1 2 3 ... 16