Go Down

Topic: LumiNet (based on attiny84) (Read 61 times) previous topic - next topic

darudude

Couple questions:

1) Any plans on releasing a compiled IDE with all your changes? Save me the trouble of figuring out your instructions (haven't dwelled into the source code of the Arduino yet)

2) Are there any restrictions? Can all libraries be used? Would there have to be many changes to port the libraries over?

3) Is there a way to burn a bootloader through bit banging with the FT232?

bohne

Is there any interest in more pictures or videos?

Or is the project not interesting because it does not use the official Arduino hardware?

I could show the "programming by infection" bootloader process or a connected network of nodes that to some rgb fading. Or maybe you have some idea what LumiNet should be able to do?

Just ask your questions or provide feedback, this will improve the LumiNet research project a lot.

bohne

#4
Mar 09, 2009, 04:48 pm Last Edit: Mar 09, 2009, 07:03 pm by bohne Reason: 1
In order to get the attiny84 chip running with the Arduino IDE, some modifications must be made to the source code of the IDE. After this, the IDE has to be recompiled of course.

Based on revision 557 (from March 7th, 2009 - which is Arduino0014), I created a patch that contains the following changes:
* Compile .S assembler files in the target directory. Should also work with assembler files in the sketch directory, but this was not tested. Important: use a capital S as your file extension!(Changes in Complier.Java and Target.java)
* Burn bootloader using STRG+B shortcut. Select the ISP programmer in the Tools->Burn Bootloader menu and this programmer will be remembered until you change it. (Changes in Editor.java)
* Sketches for cores that are based on attiny chips will get uploaded (Changes in AvrdudeUploader.java)
* Programming by infection - the upload mechanism using the LumiNet bootloader - is supported (Changes in AvrdudeUplioader.java and new source: LuminetUploader.java)
* youboardname.upload.protocol=stk500v2 in boards.txt made some trouble here with an original stk500v2 board, fixed this issue (AvrdudeUploader.java)

The patch can be found here:
http://hci.rwth-aachen.de/tiki-download_wiki_attachment.php?attId=718&page=luminet
(sorry, wrong patch until 09.03.2009 19:03 MEZ)

bohne

#3
Mar 09, 2009, 04:32 pm Last Edit: Mar 09, 2009, 04:33 pm by bohne Reason: 1
I took a photo that compares the LilyPad Arduino and a LumiNet node.



As you can see, the attiny84 (the black square on the right device) is smaller than the atmega168 that is used by the LilyPad Arduino. The white box on the LumiNet node is the ultra bright rgb-LED. You can also see 4 pins in each direction. They are used to connect LumiNet nodes with each other. One of the four pins is Vcc and one pin is GND. The remaining two pins are used for communication.

The three (diagonal) pins on the lower left corner and the three pins on the upper right corner are used for ISP programming when needed. If the jumper is removed, the three pins on the lower left corner can also be used as I/O pins. So LumiNet has 8+3 = 11 I/O pins.


jerrya.net

Interested in more info! Very cool.
- Jerry Adlersfluegel

Go Up