3

A. Does address take character or number as input? The address is 5 bytes. In this library it is provided as an array. In C a string is merely an array of bytes. So it is possible to represent an array of bytes as a simple string. Internally the two representations: byte address[] = "123ab"; and byte address[] = { '1', '2', '3', 'a', 'b' }; and even: ...


3

It uses the 2.4 GHz band Does this refer to the frequency of the EM waves that the device uses to communicate? Yes. It generates (and receives) radio waves in the region of 2.5GHz. If used in open space and with lower baud rate its range can reach up to 100 meters. I know baud rate refers to how many "groups of bits" are transmitted per second. ...


2

what is the main difference between HC-05 Bluetooth module and NRF24L0 wireless module? The main difference is the protocol they use. While some attempts have been made with varying success to get the nRF24L01+ to emulate Bluetooth it is not designed for that. You can only really get rudimentary beacon mode working and that only partially. nRF24L01+ modules ...


2

They are transparent bridge modules that are designed specifically to work together. It's intended to be kind of like a wireless UART. This AliExpress Seller details how to use them. You need one UART and one USB module. You plug the UART module into the USB module and plug the USB module into your computer. After about 10 seconds the modules are paired ...


2

Your problem is that you are communicating between an 8-bit and a 32-bit architecture. On an 8-bit architecture int is 16 bits. On a 32-bit it's 32 bits. Why the difference? Because "it is". It's how it's always been since the dawn of C. The concept of int is a flexible idea with no fixed defined size - the size is largely defined by the ...


2

You're getting confused with number bases. A number prefixed with 0x is hexadecimal. That's base 16 - not base 10. 0x125 is actually 293. If you try squeezing 293 into an 8-bit register it will truncate to 37. Channel 125 is 0x7D in hexadecimal. I can't recall off hand how big the register is for the channel number, but either 7 or 8 bits would suffice (...


2

One of the problems of the Uno is that the hardware SPI pins conflict with some of the PWM pins. If you want lots of motor control then you have it at the expense of no SPI. If you want SPI then you have it at the cost of reduced motor control. The V1 shield uses a shift register for some of the motor signals, and that has to fit its signals in around the ...


1

Yes. They call it a band, because the nRF24L01 can operate on frequencies from 2.400GHz to 2.525GHz It's like talking slower to someone. It makes it easier to distinguish the signal from the noise. Kind of. Every channel is 1Mhz apart from the next (2.4Ghz + (125 * 1Mhz) = 2.525GHz which is the range specified above). This difference is chosen more of less ...


1

According the nRF datasheet if you decrease the data rate it will definitely affect your range. A lower data rate will increase your stability due to which the nRF can detect weaker signals (-102 dB at 250Kbps) due to this you can significantly increase the range (up to 1km theoretically). Also if you need to increase your range further you can attach an ...


1

In receiving code....try only defining variable. char text[32]; You change the datarate , palevel and channel in nrf24l01. See datasheet for more info. Or visit https://howtomechatronics.com/tutorials/arduino/arduino-wireless-communication-nrf24l01-tutorial/ You may have power issue because pro mini might not deliver sufficient....to neglect use a 10uf Cap ...


1

Finally I found a way how to do it. If you use the mac address FF:FF:FF:FF:FF:FF that works as a broadcast address. This is the working code on how to send a message from the master to another esp32 without knowing its mac address. Later the slave can reply with its real mac address: Code for master (tx) #include <Arduino.h> #include <esp_now.h> #...


1

nRF Connect is for Bluetooth LE devices, the nRF24L01+ is really not a Bluetooth Low Energy transceiver. The best the nRF24L01+ can do is make a few Bluetooth LE advertisements but that's very finicky. Here's a long description how: https://dmitry.gr/index.php?r=05.Projects&proj=15&proj=11.%20Bluetooth%20LE%20fakery


1

Speed-of-light-delay measurements are not practical for the use-case you propose. As Majenko suggests in his comment, you'd need EXTREMELY accurate time measurement, as well as high speed radio-frequency signal processing. Any measurements you do through software will be far too inaccurate as a result of the software timing. Apple's iBeacons (which are based ...


1

With those technologies you have no chance. They are both low-bandwidth devices suitable for sending small amounts of sensor and control data. They can in no way be used to send video data. Both devices are rated in the kilobits or (at most) hundreds of kilobits. For video you need tens or even hundreds of megabits (depending on resolution and compression)....


Only top voted, non community-wiki answers of a minimum length are eligible