S
S
Sefjor2013-12-11 09:35:51
Arduino
Sefjor, 2013-12-11 09:35:51

Will the ATMEL ATTINY13A microcontroller be enough for the NRF24L01 bundle and the relay / sensor?

Will the ATMEL ATTINY13A microcontroller be enough for the NRF24L01 bundle and the relay / sensor? If not, what is the most budget and miniature option? Please also write if looseness is required. (I really want to order in China now, and figure it out after the session, when it comes)

Answer the question

In order to leave comments, you need to log in

7 answer(s)
D
Denis, 2013-12-11
@uscr

Interested in budget or the best in terms of price / simplicity? If you buy an arduino nano for $ 10, for example, you will only need a minimum of looseness for the relay (diode, optocoupler, transistor, but you can do without them if you are brave).

Y
Yuri Yarosh, 2013-12-11
@d00mko

The switching circuit is actually here on the Atmega8.
Since this is a banal SPI, there are no requirements for the MK.
Arduins don’t roll here - you need to poison the scarf yourself.
ps I can't digest nubduins, and I've been crying for STM32 and NXP for a long time.

S
svd71_1, 2013-12-11
@svd71_1

So it seems that NRF24L01 itself is a SoC. That is, it can be easily programmed_ and therefore no other controllers are required.

S
Sefjor, 2013-12-11
@Sefjor

I want to clarify the proposed scheme:

ардуинка-NRF24L01 - - - - -nRF-(мк?)-реле
                 \_ _ _ _ _ nRF-(мк?)-датчик

@d00mko Unfortunately, I'm completely noob, and I only hope for an arduinka. Do I understand correctly that you need to put Atmega8 in place (mk?) If you are not mentally ready to poison boards (and even to LUT) yet? Many of these blocks are planned in the future, so the budget is important.
@uscr , tell me what kind of loose powder to take for (protection from burnout?) ? I don't want to be a hero :)

T
Teivaz, 2013-12-11
@Teivaz

I did almost the same, only I took tinka 25, because I needed two timers. Otherwise, they are similar, but the location of the ports on the pins is also different.
But attiny25/15/13 may well work with NRF24L01. At a minimum, legs are needed: MISO, MOSI, CLK and CSN. There remains at least one port (or two, if you turn off the reset) to connect something.

A
Alexey T, 2013-12-12
@Alexeyslav

I have only one doubt remains, is there enough program memory to initialize the module? Indeed, in tini-13 there are only 512 program cells. If it's enough, then to the butt. It will be a shame if the program does not fit into memory for just a few cells. Therefore, it is better to immediately take with a large volume, such as tini45, 85 ...
But a prototype can also be created on mega8, mega16 and then it will not be difficult to transfer the program to tini13.

I
ivizil, 2014-04-14
@ivizil

I bought ATtiny85 in smd cases 10pcs for $9, they work great with 2 AA batteries, they are programmed on ARDUINO, 8 kb of memory, 3 pins are enough to connect ( hackaday.com/2014/02/16/nrf24l01-using-3 -attiny85-... If you just need to turn on the relay, then with the RF24 library, the code size will be < 6kB (sketch for UNO, for tini, you will most likely need another library)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question