Attiny85+nrf24L01

Hi I need to have Attiny85 connect to nrf24L01, with that can i still have 3 I/o free to be able to control 3 channels? currently i am using pro mini but for power purpose i want attiny85.

Your question sounds like simple counting. How many pins has an Attiny85 - which pins are needed for the nRF24, how many are left?

What are you having trouble with?

Why not use an Atmega 328? Your Pro-mini code will probably run unchanged.

I have used an Attiny1634 with an nRF24 when I needed a physically small chip.

...R

nrf24L01 needs CS, sck, mosi, miso, and CE usually. That's 5 the way I count. You need to leave Reset free on the '85 so you can download code into it as you debug it. That's 6.
Get a bigger chip. Use the power control register to turn off stuff you aren't using, like the ADC circuits.
I think you'll find the nrf24L01 will be using most of the power just sitting there listening for someone to talk to it.

Robin2:
Your question sounds like simple counting. How many pins has an Attiny85 - which pins are needed for the nRF24, how many are left?

What are you having trouble with?

Why not use an Atmega 328? Your Pro-mini code will probably run unchanged.

I have used an Attiny1634 with an nRF24 when I needed a physically small chip.

...R

is library an issue for this chip ?
i can download the arduino code straight?

It is actually possible to use just three pins for the NRF24L01 modules, as detailed here. But if you don't want to go to the hassle then why not use something just a bit bigger like an ATTiny84, which has 14 pins?

I have been using Attiny84s with nRF24 modules.

I wrote about using the TMRh20 RF24 library with SpenceKonde's Attiny Core in this link (Replies #19 and #20).

...R

BJHenry:
It is actually possible to use just three pins for the NRF24L01 modules, as detailed here. But if you don't want to go to the hassle then why not use something just a bit bigger like an ATTiny84, which has 14 pins?

sure I could as long as it is smaller size than a Arduino pro mini and I can get the same job done.
I guess it will be low on power than pro mini without all the regulators etc...

is the programming same as tiny85?

destiny2008:
is the programming same as tiny85?

Pretty much- the actual pins would be different but you can use any ISP programmer just like you would for the Tiny85.

BJHenry:
Pretty much- the actual pins would be different but you can use any ISP programmer just like you would for the Tiny85.

perfect will try that.

I used the Attiny841 and made my own board that the nrf24l01 plugs into (or you can solder directly to compact).

I broke-out 2 pins for IO. Suppose if serial/bootloader is not used, RX and TX could be used for IO as well.

differences between 1634 /84 /841 anything major?

destiny2008:
differences between 1634 /84 /841 anything major?

There are significant differences - which is why they are manufactured. You need to study the datasheets.

I have no experience of the 841 but I have used both 1634 and 84 with an nRF24.

This is my nRF24 and Attiny 1634

...R

1 Like

anyone tried this?
it frees up 3 pins on the tiny85 - uses only 2 pins to connect to nrf