Add 4 pin mode for ATTINY85 (much less power and still one pin free)#387
Add 4 pin mode for ATTINY85 (much less power and still one pin free)#387ortegafernando wants to merge 3 commits intonRF24:masterfrom
Conversation
Add option to ATTINY85 4 pins mode
Add option for ATTINY85 4 pins mode
|
I had already made changes for this, but not merged yet. See commit #356 |
|
Hi @soligen2010 may be your commit is for keep CE pin HIGH and use CSN pin "properly" Mine is just other way round. Use CE pin "properly" (so you can sabe power between writtings and use ackPayload feature) and use CSN pin with the 3-pin trick. Both are compatible, but mine needs the changes that I have submit. Regards, |
|
Hi @ortegafernando , sorry to dig up an old thread, I am very interested in your solution (freeing 1 pin on Attiny85 while preserving low power mode of nrf24). I didn't find many other alternatives to achieve the same goal and I don't know why this wasn't merged, but I plan to use it in a personal project. Any advice, caveat, general feedback regarding your approach? Thanks. |
|
I'm uneasy about using |
| | +----+ | | ||
| |-----------------------------------------------||----x-- nRF24L01 CSN, pin4 | ||
| 10nF | ||
| ATtiny25/45/85 Pin map with CE_PIN 3 and CSN_PIN 0 => PB4 is free to use for application and you can use ackPayload funtionallity |
Add a simple option (CSN = 0) to control RF24 with 4 pins of the ATTINY85.
This way you could use ackPayload functionallity and, more important, less power, as:
NOTE: Sorry if I can't explain well, but I have check y modifications and they are working.