egerlach / arduinizer

LIbraries for the SoOnCon 2010 Badge
http://sooncon.ca/wiki/Conference_Badge_2010
6 stars 2 forks source link

uIP-based web server on arduinizer (an idea!) #1

Closed D1plo1d closed 14 years ago

D1plo1d commented 14 years ago

One thing I thought would be really cool to get working when I first heard about these badges was a pure software tcp/ip stack since arm7 @ 72MHz might just be enough power for it so I've done some hunting and found that uIP can run in a minimum of 200 bytes of RAM and "a few" kb of ROM.. both of which we have (where "a few" is hopefully under the 32k of ROM we have, also for for reference we have 8k of RAM so 200 bytes is cheap!)

At my end I've started reading up on the uIP docs, got my badge ready with some prototype header, and setup eclipse.. I'm gearing up for a late night of coding so something may yet come from this crazy idea.

Btw... since drawing connections between online and reality basically never works this is Rob (the deltabot guy from hacklab.to at sooncon) and this is my effort at having an arm7 3d printer with networking and a few tens of megs of on-printer storage (that's part 2) so I can send prints over a network and have them run without needing to eat up CPU resources on 1 PC per printer (we have 2 1/2 printers built at Hacklab, this is getting a bit ridiculous!)

UIP Manual: http://www.sics.se/~adam/uip/uip-1.0-refman/

D1plo1d commented 14 years ago

4 hours of research later.. it doesn't look like this is possible (well..not within my realm of skill) without an external wiznet (or similar) chip since a minimum of 3/7.2 opcodes would have to be reading the 10MBit eithernet if it was done on gpio.. I might hook up my wiznet kit but I'm looking more at this board now for my printers: http://www.sparkfun.com/commerce/product_info.php?products_id=10106

talk about scaling up.. interestingly enough the chip on there only costs $12 from digikey.

mbed is also of interest but it's got extremely sketchy closed source libraries that you get as binaries from a cloud service.. if the cloud ever failed it'd kill the platform everywhere at once: http://www.sparkfun.com/commerce/product_info.php?products_id=9564 (maybe a good hardware candidate for arduinoizing though?)

D1plo1d commented 14 years ago

..closed the issue, or idea thingy :)