Arduino ports to other devices

Would be good to create a thread about Arduino ports to other devices like ATTinyxx, etc.

Sometimes we need smaller devices for smaller projects, but Arduino functionality would be great.

If someone has already done it, please post your port here.

Respectfully,

Juan C.

The biggest problem with smaller devices might be the bootloader size, but as the Tiny series will certainly not be pin compatible with the mega168, I guess the best thing to do is to burn the sketches with an ISP programmer or other, without using the bootloader.
But obviously, there are some changes to be done in the Arduino Core to be able to write sketches for these chips (of possible).

But if you want small chips, why not go with the Lilypad ?

Or the Nano.

The biggest problem with smaller devices might be the bootloader size ... I guess the best thing to do is to burn the sketches with an ISP programmer or other, without using the bootloader

You are correct

but as the Tiny series will certainly not be pin compatible with the mega168

That is why porting is needed.

But obviously, there are some changes to be done in the Arduino Core to be able to write sketches for these chips (of possible).

Correct.

But if you want small chips, why not go with the Lilypad ?

I am thinking about using Atmel microcontroller, not complete products.

I read about someone who already ported part of Arduino to ATtiny13.

The idea is to be able to use Arduino Software in our own project designs.

With a TQFP32 package, the mega168V (lilypad, lowpower version of the 168) and mega168-20AU (nano) are pretty small (7x7 mm body, 9x9 with the pins). Just add some resistors, caps, and crystal to have it running outside of the board and you're good to go.

Maybe you could build an adapter, TQFP to DIP, with socket on the TQFP side, so that you can burn your chips with a regular board. Or you can burn the sketchs and bootloader directly on your circuit using your arduino as an ISP programmer.

Do you have any obligation to use the ATTinyxx ? If you just want to go with small form factor, might be easier to use the mega168 versions used in above boards.