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. My Project
  3. MySensors on ATTINY85

MySensors on ATTINY85

Scheduled Pinned Locked Moved My Project
attiny
24 Posts 12 Posters 18.1k Views 4 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.
  • A Andy

    Awsome work Oitzu and Sweebee!

    Just tried it out and it works perfect :)

    Have you succeeded with getting the sleep/timer working? I've tried but discovered that my skills aren't good enough.

    mntlvrM Offline
    mntlvrM Offline
    mntlvr
    wrote on last edited by
    #21

    @Andy said:

    Awsome work Oitzu and Sweebee!

    Just tried it out and it works perfect :)

    Have you succeeded with getting the sleep/timer working? I've tried but discovered that my skills aren't good enough.

    Hi Fella,
    I just came across this post several weeks ago , I was looking for a smaller cheaper way of making a binary switch to use with my Veras. After reading the "Great debates" whether an ATTiny 85 could be used for such a purpose, I decide to try what was here and by the individuals who said they had made them work. I built one and powered it with a Li-Ion 3.7 v 4000 Mah battery. I have had it in use now for about a week and so far it works great. I have not been able to make the WDT work but from my test so far , running the ATTiny and nRF24l01+ from a Li-ION 4000 Mah battery , it should last for months. Now the the entire circuit is drawing 6.0 ma and when tripped the unit drew 7.5 ma. Now I am sure the current was higher than 7.5 ma when in transmit but it would be for just a very small amount of time. Thanks for the leg work you guys did to make this project for me happen.

    1 Reply Last reply
    0
    • SweebeeS Sweebee

      Oitzu and I (testing :P) are currently working on the Attiny support. To test you can download this library (the same as the original one except that it includes the attiny).

      Its working so far.

      Bugs:
      Your node id is the same as child id (if you set a different child id, somehow the attiny ignores it and makes it the same as your node id).
      Sleep is working with interrupt but it does the setup again after wake.
      Sleep / timer is not yet working.

      library: https://github.com/Oitzu/Arduino/tree/master/libraries/MySensors (You can replace it with your existing mysensors library)
      example sketch thats working: http://pastebin.com/xRu2JNQ9

      wiring:

                        +-\/-+
                       1|o   |8  VCC/CE  RED/ORANGE
       YELLOW  CSN     2|    |7  SCK     GREEN
       -       SENSOR  3|    |6  MOSI    BLUE
      BLACK    GND     4|    |5  MISO    VIOLET
                        +----+
      
      T Offline
      T Offline
      ted
      wrote on last edited by
      #22

      @Sweebee
      Do you mind sharing your library again? The link is no longer working.

      1 Reply Last reply
      0
      • OitzuO Offline
        OitzuO Offline
        Oitzu
        wrote on last edited by
        #23

        @ted you are probably searching for this: https://github.com/Oitzu/mysensors-Arduino-attiny/tree/master/libraries/MySensors

        But i need to seriously warn you, it is horribly outdated. The repository do not got the love it needed. ^^

        T 1 Reply Last reply
        1
        • OitzuO Oitzu

          @ted you are probably searching for this: https://github.com/Oitzu/mysensors-Arduino-attiny/tree/master/libraries/MySensors

          But i need to seriously warn you, it is horribly outdated. The repository do not got the love it needed. ^^

          T Offline
          T Offline
          ted
          wrote on last edited by
          #24

          @Oitzu

          Thanks!!

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


          21

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 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