Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. ATtiny supported?

ATtiny supported?

Scheduled Pinned Locked Moved Hardware
42 Posts 20 Posters 29.0k Views 9 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chuckconnors
    wrote on last edited by
    #31

    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?

    1 Reply Last reply
    0
    • rustafariiR Offline
      rustafariiR Offline
      rustafarii
      wrote on last edited by
      #32

      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

      Shivanand ChanderballyS 1 Reply Last reply
      0
      • rustafariiR rustafarii

        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

        Shivanand ChanderballyS Offline
        Shivanand ChanderballyS Offline
        Shivanand Chanderbally
        wrote on last edited by
        #33

        @rustafarii Any luck?

        rustafariiR 1 Reply Last reply
        0
        • Shivanand ChanderballyS Shivanand Chanderbally

          @rustafarii Any luck?

          rustafariiR Offline
          rustafariiR Offline
          rustafarii
          wrote on last edited by
          #34

          @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 ChanderballyS 1 Reply Last reply
          0
          • rustafariiR rustafarii

            @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 ChanderballyS Offline
            Shivanand ChanderballyS Offline
            Shivanand Chanderbally
            wrote on last edited by
            #35

            @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..

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tlustoch
              wrote on last edited by tlustoch
              #36

              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 :(

              C T 2 Replies Last reply
              0
              • T tlustoch

                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 :(

                C Offline
                C Offline
                chuckconnors
                wrote on last edited by
                #37

                @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.

                1 Reply Last reply
                0
                • T tlustoch

                  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 :(

                  T Offline
                  T Offline
                  tlustoch
                  wrote on last edited by
                  #38

                  It seems that it is possible: https://www.hackster.io/arjun/nrf24l01-with-attiny85-3-pins-74a1f2 but mysensors library has to support it?

                  1 Reply Last reply
                  0
                  • mfalkviddM Offline
                    mfalkviddM Offline
                    mfalkvidd
                    Mod
                    wrote on last edited by
                    #39

                    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.

                    Nca78N 1 Reply Last reply
                    0
                    • mfalkviddM mfalkvidd

                      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.

                      Nca78N Offline
                      Nca78N Offline
                      Nca78
                      Hardware Contributor
                      wrote on last edited by
                      #40

                      @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...

                      T 1 Reply Last reply
                      0
                      • Nca78N Nca78

                        @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...

                        T Offline
                        T Offline
                        tlustoch
                        wrote on last edited by tlustoch
                        #41

                        @Nca78
                        DimmableLight example with disabled serial console is 5,742 bytes, RelayActuator 5,464 bytes.

                        1 Reply Last reply
                        0
                        • CrankyCoderC Offline
                          CrankyCoderC Offline
                          CrankyCoder
                          wrote on last edited by
                          #42

                          Does anyone have a working mysensors attiny node?

                          Home Automation Tinkerer
                          www.CrankyCoder.net

                          Controller: HomeAssistant in Kubernetes
                          Gateway: MQTTClientGateway
                          MySensors: 2.3

                          1 Reply Last reply
                          1
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          12

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.0k

                          Posts


                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • MySensors
                          • OpenHardware.io
                          • Categories
                          • Recent
                          • Tags
                          • Popular