LumiNet (based on attiny84)

Any news about the ATTiny Arduino IDE release? I can't wait to test it out - I already have an Arduino-like board assembled for it and I'd love to program it up using your IDE. Thanks! :slight_smile:

Everything finished. But I have to wait until Tuesday to upload it, because my upload speed at home is too slow.
So come back Tuesday or Wednesday, then you can download it.

And one new feature was added: If you create a new sketch, then setup() and loop() are automatically inserted, you only need to fill these functions with your code.

I'm super excited! is the modified IDE going to be on top of Arduino 15? Also any updates on getting in branched into the next arduino release?

I will upload the binaries for Windows and for Mac OS X tomorrow (Tuesday) afternoon. Everything is running very nice now.

Oh, it is based on 0014, because I liked it better than 0015. But I will update the sources and binaries to new versions in the future. But of course this edition is neither 0014 nor 0015... it is something different :slight_smile:

Here is the modified IDE for Windows (binaries only, sources come in an extra zip file):
Download Windows Version

And here are the binaries for Mac OS X:
Download Mac OS X Version

Please give some feedback :slight_smile:

Good to see its been released. I'm very much looking forward to using this in an upcoming project. I haven't had a chance to look at the new IDE yet, but any chance we could have some info such as what additions you've used and what the pin allocations are?

Thanks for you work!

Dave

What pin allocations do you mean? For the ATtiny chip? Or for the BitBang?

Sorry, i meant for which pin in the ide relates to the pin on the chip, for instance if i do a digitalwrite(1, HIGH) which physical pin will go high? Also which pins are which ADC, and does i2c work?

Also do you have any hardware designed as a prototype board? i'm halfway through designing one to use in a breadboard, as with the arduino nano, but i would like to see your take on the hardware.

Thanks

Thanks for the IDE - looks like it will be helpful to many of us. For just general purpose ATTinyx5 work, which LumiNet board should be selected as a target? I have a board with an ATTiny85V on it and I wanted to test out the IDE but I wasn't sure what device to target.

Thanks again!

Select the SENSOR board, then you can burn the sketch (and the bootloader) via ISP programmer (e.g. stk500 or FTDI BitBang) to your chip when you hit the Upload Button

I will support other mcus soon. If you have an ATtiny-based project then I will support you to use the modified IDE, just ask whatever you need to know.

Really looking forward to some ATtiny support with the IDE!!! Purdy please!

Really looking forward to some ATtiny support with the IDE!!! Purdy please!

Didn't you see the download links above?

You must download the modified IDE and then you got ATtiny support. Select the "LumiNet Sensor Node" Board if you have an ATtiny-powered Arduino board and want to upload sketches to it via ISP (select the corresponding ISP Programmer in the Burn Bootloader Menu)

Awesome! Thanks bohne! I'll check it out this week.

Is there any more documentation available? Is I2C working? Thanks

I will upload some documentation soon. What do you need to know? You can ask here.
Almost any thing that you can do with an Arduino can be done with ATtiny based boards. You can use the same sketches and libraries.

The I2C library can be used and is working, I tested it some months ago but did not include it in the release. You must download it from the Arduino Playground...

Brilliant, I think i've got the pinouts from the source code but had to convert it to PDIP/SOIC.

Which pins are used as UART for the bootloader?

Thanks.

"Normal Nodes" can use any pair of pins for serial communication (e.g. pin 6 and pin7 or pin 0 and 1)...

"Vector nodes" receive new payload from the PC using pins 6 and 7, and they send the payload to the normal nodes via pins 2 and 3.

Have a look at pins_arduino.c for the pin mapping...

Just a reminder: the attiny84 does not have a U(S)ART. Serial Communication is implemented in software (assembler) and I testet it up to 115000baud at 8 MHz (internal RC clock), but the default is 9600 baud. In order to change the baud rate, you must change the variable "b" in COMasm.S
just search for this line:

b      =14      ;9600 bps @ 1 MHz crystal

Thanks for the good work! It was almost what I was looking for a few modules that I need to build.

Looks like tiny84 is not going to meet my needs since it has 2 functions on the same pin and I need them both active... I am looking to use 16 bit PWM and I2C or serial communications. So I have to work with tiny861. What do I have to change to get it working with your release? Also, how do I use the serial comm? Just like a regular hardware serial or like the softwareserial?

Thanks again!

You must change the pins_arduino.c file and maybe some other files to get it working with the tiny861.

I am working on a port to the attiny2313 right now. This will be released very soon. If you can use this mcu, then you should wait and take my files when I release them later this week...

I have changed the microcontroller to tiny2313. I have to wait like 3 weeks until the PCB is fabbed, so there is plenty of time until I'll need to code it. Thinking of it, I will be working on the code on a regular Arduino until the board will be ready.

Thanks!