Hello, I am setting up my NRF24L01 modules, and I am planning on using these modules to communicate between boards. I want to have a microcontroller which is being powered from a 9v battery across my house. Can i still communicate with the microcontroller if it isn't connected to a port on my PC?
Are you planning to power your project off one of these
?
I have 13 ESP32's connecting to a PC sending information back and forth over WiFi.
Yes, I may have gotten the wrong impression of these modules, I did my research but I am just worried haha
I plan to plug the microcontroller into the battery, and then one of the NRF modules into the microcontroller. If nothing is plugged into the PC, can I still achieve wireless communications?
Those 9V batteries are a poor choice to run project off of.
Of course the transmitter will be plugged into the PC
That's all i've got. It came with a kit I ordered last month.
Eew, hopefully not.
I have it plugged into a power supply module.
Are you using an Uno? Maybe look for an AC/DC wall adapter if possible, between 7-12 volts, center positive. Some old electronic device in your parts bin, maybe?
For this project, i'm using a Nano and a Uno.
I just got into Arduino, I don't have too much. After this project, I'm going to order another bulk of modules to play with.
I'm hooking up the wires, and testing the NRF modules right now. I know you guys are really focused on how bad this battery is, and it must be pretty bad, but I am just wondering one thing. I am powering my second microcontroller through the battery, which is connected to the power supply module, which is connected directly to the microcontroller. I have the NRF module hooked up to this microcontroller. I should still be able to send and receive data, right?
I hope this is precise enough to understand.
Yes, you just won't see any messages you're sending over Serial, obviously. If you're sending say, servo angles or something like that, the servo on the receiving end will still do as it's been instructed regardless of whether you've got it connected to a PC.
Thank you, precise answer. It seems pretty obvious now that you say that, but I just got stuck in my head.
Yes, assuming the battery is fresh. The modules are very low power consumption. There isn't anything else connected to that microcontroller such as servos?
I find when things start not working as I intended or did work then stop, very often it's inadequate power supply. Those 9v batteries are really starved to deliver the juice over time. You'll want to upgrade that stage of your project as soon as you can.
thank you, the battery is fresh and hardly used. I am planning on having a servo connected to the microcontroller that will unlock and lock my latch lock on my door. I am writing the code for the modules as we speak.
On average, yes, but the NRF have very high TX pulse currents... you have to have enough current reserve to handle those peaks.
Hadn't thought of that. Good catch. I know a lot of kits supply 9v batteries and well...totally agree with you that this is probably the least desirable way to power a project. Sounds like nickolea here needs to start scouring their home for old toys, electronics, junk and building a parts bin. For a bit of reference, I have one device I use this method in. It's a hacked pushbutton switch on a Hallowe'en fog machine running a single ultrasonic sensor and an Arduino Pro Mini. It's basically reliable for about three or four hours (all I need) per year.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.