ATtiny supported?
-
Just wondering that is it possible to make these sensors (Door) from ATtiny with nrf24l01+ and just pass the communication to arduino which is linked to mysensors networks? This way you don´t have to put mysensors code to little ATtiny.
Just need somebody to figure out communication between arduino and Attiny network....
-
If the attiny85 turns out to be too tiny to be stable, maybe the LPC810 is worth trying? It has double the RAM and can sleep using less than 1uA of current. Adafruit has a starter kit as well as a tutorial on how to use it:
https://www.adafruit.com/products/1336 -
If the attiny85 turns out to be too tiny to be stable, maybe the LPC810 is worth trying? It has double the RAM and can sleep using less than 1uA of current. Adafruit has a starter kit as well as a tutorial on how to use it:
https://www.adafruit.com/products/1336@NeverDie very cool chip but a bit dear.... even on aliexpress (assuming it is not a counterfeit - Oh no! here we go again!)
-
@NeverDie very cool chip but a bit dear.... even on aliexpress (assuming it is not a counterfeit - Oh no! here we go again!)
@Moshe-Livne said:
@NeverDie very cool chip but a bit dear.... even on aliexpress
Really? Quantity 1 price is $3.28 on Digikey for a chip that's practically standalone. Shockingly enough, the LPC824 is only $1.92 on Digikey, even though it looks like a far more capable chip: http://www.digikey.com/product-search/en?v=568&mpart=LPC824M201JHI33E
How can that be? -
@Moshe-Livne said:
@NeverDie very cool chip but a bit dear.... even on aliexpress
Really? Quantity 1 price is $3.28 on Digikey for a chip that's practically standalone. Shockingly enough, the LPC824 is only $1.92 on Digikey, even though it looks like a far more capable chip: http://www.digikey.com/product-search/en?v=568&mpart=LPC824M201JHI33E
How can that be?@NeverDie I have no idea!!!! maybe digikey are selling counterfeits? hihihi
that is not a bad price. -
I think Attiny85, especially in the form of the Adafruit Trinket/Flora 3.3v version would be a perfect match for MySensors! Especially now that the Arduino Boards Manager makes third party boards much easier to work with. How is the Attiny MYS fork coming along?
-
I've seen a few posts about the ATtiny and it seems that perhaps someone has gotten it to work (http://forum.mysensors.org/topic/2129/battery-attiny85-door-window-wireless-sensor) though I'm not certain.
I'd really like to use these cheap chips for motion sensors and relay controllers for some sirens. Can anyone confirm or deny that these actually work?
-
I have some attiny85 coming in. I will have a crack at with single pin sensor. Planning on testing with different clock speeds for stability. I will post any luck I have.
R
-
I have some attiny85 coming in. I will have a crack at with single pin sensor. Planning on testing with different clock speeds for stability. I will post any luck I have.
R
@rustafarii Any luck?
-
@rustafarii Any luck?
@Shivanand-Chanderbally
Not yet life got in my way and had to take a few months off. but i did get the tiny little boogers in.My plan, as it looks like everyone else's, is to try getting attiny working with the radio without my sensors for basic communication, ping/pong, then add a sensor and see how much code to get readings from the sensor. if that goes well then it comes down to stripping what is not needed if any from the my sensor part sketch.
have you any progress?
-
@Shivanand-Chanderbally
Not yet life got in my way and had to take a few months off. but i did get the tiny little boogers in.My plan, as it looks like everyone else's, is to try getting attiny working with the radio without my sensors for basic communication, ping/pong, then add a sensor and see how much code to get readings from the sensor. if that goes well then it comes down to stripping what is not needed if any from the my sensor part sketch.
have you any progress?
@rustafarii Seems we have the same goal! I myself have been trying to get them working but the overhead is just too much to fit on such a tiny chip..
-
Any progress? I like to build simple low-power temperature sensor based on attiny85 but cannot compile mysensors sketch if attiny85 set as a processor :(
@tlustoch said:
Any progress? I like to build simple low-power temperature sensor based on attiny85 but cannot compile mysensors sketch if attiny85 set as a processor :(
I've switched over to the ESP8266 runing ESPEasy firmware. Very cheap and very easy to use.
-
Any progress? I like to build simple low-power temperature sensor based on attiny85 but cannot compile mysensors sketch if attiny85 set as a processor :(
It seems that it is possible: https://www.hackster.io/arjun/nrf24l01-with-attiny85-3-pins-74a1f2 but mysensors library has to support it?
-
attiny85 seems to have 8kB flash. I don't think you'll be able to fit a MySensors sketch in so little space. Most sketches require 12k or more.
@mfalkvidd said:
attiny85 seems to have 8kB flash. I don't think you'll be able to fit a MySensors sketch in so little space. Most sketches require 12k or more.
It would fit without a bootloader for very simple sketches only. RelayActuator example sketch without debug (and commented out debug lines) is 7 782 bytes.
But I'm not sure it would run with 512bytes or ram and eeprom... -
@mfalkvidd said:
attiny85 seems to have 8kB flash. I don't think you'll be able to fit a MySensors sketch in so little space. Most sketches require 12k or more.
It would fit without a bootloader for very simple sketches only. RelayActuator example sketch without debug (and commented out debug lines) is 7 782 bytes.
But I'm not sure it would run with 512bytes or ram and eeprom... -
Does anyone have a working mysensors attiny node?