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. TinyBME - ATTiny85 + NRF24l01 + BME280/I2C

TinyBME - ATTiny85 + NRF24l01 + BME280/I2C

Scheduled Pinned Locked Moved My Project
5 Posts 4 Posters 148 Views 5 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.
  • R Offline
    R Offline
    rmrf
    wrote on last edited by
    #1

    Hi.

    Just published current status of my work on ATTiny85 node with NRF24L01 and BME280 (4 pin I2C version) and want to share it here.

    https://github.com/rmrfus/tinybme

    TLDR - It works! :)

    It is based on fabyte's work and couple of other resources.

    • NRF24L01 works from 3 pins - MOSI/MISO/SCK, keeping CE constantly high and multiplexing CE over SCK.
    • BME280 is connected via pins 3 and 4 on ATTiny85 and communicates over SoftWire
    • It works just fine from 18650 battery. Prolly should work from CR2032 too. Didn't test current consumption (yet).
    • Right now code is just 92 bytes under 8K limit - no space for conversions of units - I'm doing it at HASS.
    • There is neither free pins nor flash to report the battery status. Prolly some kind alarm on lost heartbeats is much as could be done in this situation.

    In general I'm open for suggestions and improvement ideas.

    Breadboard

    1 Reply Last reply
    2
    • fabyteF Offline
      fabyteF Offline
      fabyte
      wrote on last edited by
      #2

      Great achievement, congratulations :+1: :)

      I like that you also tried Nerd Ralph's 3-Pin configuration and got it to work. I tried it once but somehow it didn't connect to the radio, so discarded this idea. Also I thought it might be cheaper (from a memory point of view), just to use one bus. Nice work on stuffing all this in 8K :)

      It would be great if you reported in a couple of weeks how stable it's running. Did you have a chance to measure the power consumption of the hole system?

      1 Reply Last reply
      1
      • Wim OosterhofW Offline
        Wim OosterhofW Offline
        Wim Oosterhof
        wrote on last edited by
        #3

        I was attracted to the idea of having a wireless hum/temp sensor and so I built this. I prototyped it on a breadboard, and I also soldered it on a PCB. I extended the antenna with a 8.3 cm wire.

        But I can't get it to work stable. Sometimes it works for many hours and sometimes only for one hour. And then it just hangs. A reset of the at85 sometimes helps, but most of the times I need to power it off and on again.

        I need it to work reliably for several weeks. Any suggestions ?

        1 Reply Last reply
        0
        • henkoegemaH Offline
          henkoegemaH Offline
          henkoegema
          wrote on last edited by
          #4

          @Wim-Oosterhof said in TinyBME - ATTiny85 + NRF24l01 + BME280/I2C:

          I was attracted to the idea of having a wireless hum/temp sensor and so I built this. I prototyped it on a breadboard, and I also soldered it on a PCB. I extended the antenna with a 8.3 cm wire.

          But I can't get it to work stable. Sometimes it works for many hours and sometimes only for one hour. And then it just hangs. A reset of the at85 sometimes helps, but most of the times I need to power it off and on again.

          I need it to work reliably for several weeks. Any suggestions ?

          Have you got any suggestions?
          Did you get it to work stable?

          henkoegemaH 1 Reply Last reply
          0
          • henkoegemaH henkoegema

            @Wim-Oosterhof said in TinyBME - ATTiny85 + NRF24l01 + BME280/I2C:

            I was attracted to the idea of having a wireless hum/temp sensor and so I built this. I prototyped it on a breadboard, and I also soldered it on a PCB. I extended the antenna with a 8.3 cm wire.

            But I can't get it to work stable. Sometimes it works for many hours and sometimes only for one hour. And then it just hangs. A reset of the at85 sometimes helps, but most of the times I need to power it off and on again.

            I need it to work reliably for several weeks. Any suggestions ?

            Have you got any suggestions?
            Did you get it to work stable?

            henkoegemaH Offline
            henkoegemaH Offline
            henkoegema
            wrote on last edited by
            #5

            @henkoegema said in TinyBME - ATTiny85 + NRF24l01 + BME280/I2C:

            @Wim-Oosterhof said in TinyBME - ATTiny85 + NRF24l01 + BME280/I2C:

            I was attracted to the idea of having a wireless hum/temp sensor and so I built this. I prototyped it on a breadboard, and I also soldered it on a PCB. I extended the antenna with a 8.3 cm wire.

            But I can't get it to work stable. Sometimes it works for many hours and sometimes only for one hour. And then it just hangs. A reset of the at85 sometimes helps, but most of the times I need to power it off and on again.

            I need it to work reliably for several weeks. Any suggestions ?

            Have you got any suggestions?
            Did you get it to work stable?

            Or have you abandoned the project?

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


            30

            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