a, attiny13 and attiny85 don't support this rf module? I got some compiling errors when testing it with these 2 MCU.
b, how do I power nrf24 using a 3.6v-4.2v lithium battery? obviously a 3.3v regulator will not work here because it drops 1 volt. Also, is there anything wrong with powering it using 2.7 volt? The nrf24 should be able to operate at 1.9~3.6V? I have tested it using 2.7/2.8 volt, and surprising, the transmitting range doesn't decrease at all, but It was running at the lowest bit-rate 250kps.
2, Current sensing
I am going to use the INTERNAL analog Reference of 2.56 volts on the ATmega8 to do some current measurement. what is the ideal/working shunt resistor value to use here? 1ohm? 0.1 ohm? 0.01 ohm? If I use a tiny value like 0.01 ohm, am I able to detect the current? my current range will be about 10ma-1000ma. also, if this current is PWM, what do I need to do to make this sensing more stable?
1/ - A LDO will only drop a few tens of mV at low loads - look at the LM2940.
2/ - allegro make some very nice hall effect current sensors - have a look at their range..
To deal with PWM just use a simple R-C filter to smooth the output.
a, attiny13 and attiny85 don't support this rf module? I got some compiling errors when testing it with these 2 MCU.
I don't have the datasheet for the -13 on my PC but the -85 has a USI interface that should be able to talk to an nRF24. I have done it with an Attiny84.
b, how do I power nrf24 using a 3.6v-4.2v lithium battery?
I did that by using a diode to drop the voltage between the LiPo cell and the nRF24
Robin2:
I don't have the datasheet for the -13 on my PC but the -85 has a USI interface that should be able to talk to an nRF24. I have done it with an Attiny84.
I did that by using a diode to drop the voltage between the LiPo cell and the nRF24
...R
I have burned a nRf24 with 3.6v. a diode will drop the 4.2v battery to 3.6v. how safe is this solution? also what about vcc? since I am going to program this using 5v programmer anyway. I do still need a 3.3v regulator after all. Will a small diode such as a 1N4148 works here?
85 should works, but it gives me spi errors.
SPI.h:146:16: error: 'SPE' was not declared in this scope
spcr = _BV(SPE) | _BV(MSTR) | ((bitOrder == LSBFIRST) ? _BV(DORD) : 0) |
The model trains that I am building the receiver for will be powered by a 2S LiPo and will use a 3.3v regulator to provide power for the Attiny and the nRF24. But my programmer will be connected to the 3.3v side so the programmer needs to operate at 3.3v
What is the schematic supposed to be of?
Where are the component values?
Where is the title block? (My technical drawing lecturer would have had my guts for garters for not having a TITLE)
You need to capture/export the diagram for posting with higher definition to please.
You need series resistors on each of those MOSFETS and 10K from gate to source on each of them too.
Also what is this part of your schematic, dealing with Vin,Gnd and an arrow?
What is the schematic supposed to be of?
Where are the component values?
Where is the title block? (My technical drawing lecturer would have had my guts for garters for not having a TITLE)
You need to capture/export the diagram for posting with higher definition to please.
You need series resistors on each of those MOSFETS and 10K from gate to source on each of them too.
Also what is this part of your schematic, dealing with Vin,Gnd and an arrow?
Tom....
Well Tom. Schematic to me is like a love letter or a love poem. You definitely don't want to read all the dirty details from your lover, although some people do love those kinky and technical stuffs. But can't we just stop for a moment, look at the moonshine and be a little bit more romantic by any chance? Without the title, it's like a mystery love letter without a signature. Much better?
Back to technical stuffs, first of all, most resistors are 1k, so component values are not important. Second of all, I don't know if those mosfets need those resistors that you mentioned, since the gates are connected to a digital pin. Last but not least, the arrow part is my silly invention. it's just a 3 pins header for the mosfet.
flyandance:
Well Tom. Schematic to me is like a love letter or a love poem. You definitely don't want to read all the dirty details from your lover, although some people do love those kinky and technical stuffs.
Is that longhand for "Stop being a PITA Tom?" or for something even less polite with a four letter word and a three letter word?
Not the best way to endear yourself to people who are trying to help you.
But can't we just stop for a moment, look at the moonshine and be a little bit more romantic by any chance? Without the title, it's like a mystery love letter without a signature. Much better?
The music was very romantic.
What was the youtube about? A 328, nRF24l01, and a 4x7seg display.
Sorry, but what were you doing with it.
Are you trying to make a remote current sensor that will use nRF24l01 to comm with the 328 unit you have built?