Running MySensors on ATTiny85
-
Is anybody working on ATTiny85 support for MySensors? I found some old thread about this, but it seems that it was quite old and somewhat abandoned. Would this even be feasible anymore?
-
I myself was searching for ATtiny articles (Arduino & MySensors). I found not much (far less as i had expected).
I'm very interested in a ATtiny (and therefore i replied to this topic, so i'll get notifications
-
@Tinimini Just wondering, what makes you prefer ATTiny over e.g ATMega328 for sensor nodes?
-
i like it small..
"The smallest tinyAVR MCU measures only 1.5 mm x 1.4 mm." (Atmel website).
That is probably no good choice to use for a MySensors node (RAM?), but (for example) i could make any sensor an I2C sensor.
Or, if i need to detect interrupts for some hardware/sensor, i could use an ATtiny for that purpose (solely).
I guess i'll need to improve my soldering skills with the smallest one.
-
@Yveaux size, mostly. And the fact that I have them
-
@core_c agree, but resources are limited regarding flash & ram. This makes running larger software (Eg mySensors library and application) harder.
That said, I know @tekka recently did some mySensors experiments on attiny. Maybe he likes to share some insights?
-
of course!..
I know there is an (at least 1) AVR that doesn't even have RAM. So any code it runs, would have to be very optimized (registers is all one can use). That is no MCU one would use for a typical MySensors node.. true. But there are ATtiny's that can do a lot more.
I am interested in exploiting a device to the max. If it has 2 timers, and you never use one of them,.. that's a shame. It is one of the greatest features of an MCU: timers.
Everyone their own hobbyJust look at this tiny thing:
http://www.microchip.com/wwwproducts/en/ATTINY85
It's a marvel..
-
@core_c Yeah, did a few changes to the MySensors core & RF24 driver to have it running on ATTiny85 - however, the features are pretty restricted.
As a valid & compact alternative, I suggest looking at nRF24LE1 (=SoC RF24 + CPU, ~3USD): http://www.ebay.com/itm/NRF24LE1-NRF24L01-MCU-Wireless-Transceiver-DIP-RF-Wireless-Communication-Module-/112109743951?hash=item1a1a42ef4f:g:~qgAAOSwal5YGFlQYou'll find additional information and PoC here.
-
check!
funny.. Your post's image, and ebay's image, are both swapped horizontally.
Or is it the chinese printing it wrongly?EDIT: But they have the price just right
EDIT 2: Interesting topic tekka.
@Tinimini: What did you find out using an ATtiny85? any tests? any results?.. any problems?