ATtiny85 + RFM95 Temperature Sensor

(Gry Kyo) #43

I am having good results testing using an ATtiny85 as a sleep supervisor as it idles at less than 1uA waiting for a hardware interrupt. I have little programming experience however and have trouble making SoftwareSerial library work with the sleep library, anybody try this?
I would like detect an event and then drive a high-side switch using the ATtiny upon wake-up from deep sleep, write the packet counter to a totally powered down (ABP) LoRaWAN node. A serial message would be ideal but I guess I could tap it out in morse! A simple digital indication from the LoRaWAN node after transmit could sleep the node again.



Hi Leo,

great blogpost thank you.

a question

were did you bought this enclosure ?

(Leo Korbee) #45

I did not bought it. I designed and printed it myself (3D print). You only have to add 2x M4 x 60mm bolts and 2x M4 nuts.

I made the design public available: You have to print the mid-section a few (8) times.

I learned that it is called Stevenson screen. My design has the looks but not the scientific usability :smile:


aha… another reason to buy / build a 3d printer :sunglasses:

I put your link in the new 3D printer topic tnx


nice ATtiny expi board :sunglasses:

(3 Dtj) #49

Greetings! Question on the initial ATtiny85 + RFM95 sensor. I’m trying to recreate the assembly and noticed the wiring has the ATtiny PB1 (which is normally designated for MISO) connected to the MOSI terminal of the RFM95. Is that correct? Yes I’m new to this but did a separate LoRa project and it had MOSI from an Ardunio Uno connected to the MOSI terminal of the RFM95.

Appreciate any guidance.


You need the MISO pin for uploading the program to the ATtiny.
If you use SPI in this case USI you need the DI and DO pinout.
MISO and DO share the same pin PB1.

(3 Dtj) #51

Thanks! I’ll give it a try tonight and see if I can get the program to work.

(3 Dtj) #52

Well go figure. That worked by switching the MOSI/DI and MISO/DO connections. Thanks!

(O Tiby) #53

Will this also be possible with an ATTiny44 instead of the x85?

(Kimwo) #55

Hi Leo. I like your lora node with the ATTiny84a. It works well. I am trying to get just pressure and voltage (and maybe temp). Despite cutting out the random three frequencies, I am still 32 bytes over! Do you know how I can swap humidity for pressure?? It seems to do a lot of calculations for pressure - but my programming is not up to it.