7
votes
Send multiple sensor values over serial
Is there any other way to send more than 100 values in one message?
Yes. Don't use String. Don't use concat(). Just print each bit as a separate Serial.print() function call.
5
votes
Accepted
Basic Serial Transmission Protocol
What you are doing is called "bit-banging" (wikipedia link) but you have no guarantees about the timing of your bits.
In your writeTx routine you are changing tx_pin at some rate which depends on:
...
5
votes
Accepted
Is it possible to create an electromagnetic wave using PWM?
I had a toy project a while ago that generated AM radio.
Code
Code for Uno or any Atmega328 based boards:
const byte ANTENNA = 9;
void setup()
{
// set up Timer 1
TCCR1A = bit (COM1A0); //...
4
votes
Choosing wireless tech for lowest possible lag
Have you considered using real time clocks? You could synchornise them all ahead of time and then use any wireless protocol. Once a button is pressed, you'll look for the unit that reports the ...
4
votes
Just sanity-checking a concept... poor man's self-monitored alarm system
NRF24L01+ for communication. Extreme low power if not sending. Detects packet loss, and automatically resend the packet.
You would however need a small arduino board at the sensor, to read the ...
4
votes
Are there any detail examples of Si4463
I've looked at the data sheet for this and I think it is the wrong choice of device for a beginner. Can I suggest that you start by looking at a relatively simple DPI interfaced device, such as a ...
4
votes
Accepted
433 MHZ connection between two Arduino (nano,uno) fails after some time
Regarding the hardware problem, there are some advices in the comments.
As you wrote, the solution is to reduce the bitrate at 2000 bps.
The remaining question is why the receiver always truncates ...
4
votes
Accepted
Understanding NRF24L01 specifications
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 ...
3
votes
Basic Serial Transmission Protocol
So to clarify, SoftwareSerial uses bit-bang? How are you able to tell?
By reading the code. For example, this is how it reads 8 bits. It does a delay (which you don't) for the exact amount of time, ...
3
votes
Accepted
Send multiple sensor values over serial
I have had a very similar problem and the Arduino core team has accepted a change from me to facilitate this functionality.
It is a complex story so you may have to reread a couple of times.
1) ...
3
votes
Send analog value over IR?
Yes, it is possible. That is already supported by the IR library. Please see this tutorial for further details. The outline of the sender is:
uint16_t sample = analogRead(A0);
irsend.sendSony(...
3
votes
Accepted
Are there any detail examples of Si4463
This seems to be the Chip used on the RFM24. Have a look on the RadioHead Library:
http://www.airspayce.com/mikem/arduino/RadioHead/classRH__RF24.html
I normally use the same libs for the RFM69 (...
3
votes
Accepted
Will the Arduino's low clock speed limit wireless transmission frequencies that are higher than the clock speed of the Arduino?
The frequency of a (wireless) radio is its carrier frequency. The data stream is carried on it by modulating that carrier wave in some way: by frequency-shifting, for example. A given processor could ...
3
votes
Wireless Communication with NRF24L01+
firstly, the radio.write command is used for checking for the acknowledgement from the RX after the FIFOs are full for a single write. But radio.writefast will not wait for the acknowledgement from ...
3
votes
Accepted
Can I connect Multiple Devices to One 5V and one GND pin of my Arduino Uno R3
Yes, you can connect multiple devices to GND and +5 V. You may find that you need to bring one wire from the PCB to an external connector or piece of stripboard so that you can make more reliable ...
3
votes
Accepted
RF24 library commands, channel, and address
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 ...
3
votes
What wireless protocols can be used with arduino?
Arduino allows you to connect external peripherals (via I2C, SPI, UART, I/O) and shields.
It'll be impossible to list them all, as you can even make your own; but here an overview of the most common I ...
2
votes
Arduino IDE Based Data Logger - Stops Running
This use of String is dangerous. You are growing and shrinking the String in a loop and hoping the memory manager prevents any holes from forming:
void clockResetcheck() {
char clkset[] = "CLKSET....
2
votes
Accepted
Message received with 1 character less
I haven't found the source of the problem by reading through the code, and will limit my comments to advice about debugging the problem.
With the code as it stands, there are half a dozen points ...
2
votes
Communication between two Bluetooth modules of two Arduinos
How about little smart WiFi boards (such as Red Bear WiFi Micro or something similar), which are connected at your local home network? You can configure your own dyndns service or use a existing and ...
2
votes
Communication between two Bluetooth modules of two Arduinos
I'm not sure how many bluetooth devices can be connected to your smartphone. But if you use smartphone, the you can eliminate the master Arduino. But as I said, it still depends on the number of ...
2
votes
Wireless Communication Between Raspberry Pi 2 and multiple Arduinos
I use the ESP8266 to get the data from my arduino to my webserver using wlan. You could easy install a webserver on your pi and connect it to your wifi, or just use a server online.
So you can ...
2
votes
Wireless Communication Between Raspberry Pi 2 and multiple Arduinos
There's many options you could use.
The simplest, though most expensive, would be to equip all your Arduinos with WiFi shields and connect a USB WiFi dongle to the Pi. The Pi could run in AP mode (...
2
votes
Accepted
connection between Arduino Uno with nRF24L01 and notebook with wireless card
Absolutely no. Can you connect your bluetooth headset to the wireless router? No because even if they share the same band they "speak" different protocols. So why could you do that with the nRF24L01?
...
2
votes
Accepted
BLE Python with GUI on OSX
If you are still searching for a lib check out:
https://github.com/adafruit/Adafruit_Python_BluefruitLE
Its specifically made for BLE communication on OS X or Linux by wrapping the corebluetooth and ...
2
votes
Programming many Arduinos simultaneously with a wireless broadcast
TL;DR -
You have the options of either BlueTooth or XBee (amongst others: IR, for example?) for wireless uploading. However, I believe that only one board can be uploaded to, at a time, so you will ...
2
votes
Send multiple sensor values over serial
Maybe avoid doing the dynamic string manipulations?
Serial.print("{\"deviceID\":\"ZB_ROUTER_1\",\"sensorID\":\"MMA8451\",\"sensorType\":\"accelerator\",\"aX\":[");
for(i=0; i <10000; i++){
if (...
2
votes
Multiple Wireless Sensors to an Arduino
I would recommend the nRF24L01.
You don't need one pipe per node - just one pipe.
Each pipe is effectively an address that a node responds to - having multiple pipes means you can have multiple ...
2
votes
Accepted
Cheapest Arduino wireless solution for home automation
If you want to go for cheap just use a ESP8266 no arduino needed.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
wireless × 181arduino-uno × 53
nrf24l01+ × 36
bluetooth × 21
communication × 20
wifi × 19
rf × 19
esp8266 × 16
arduino-nano × 16
serial × 15
xbee × 11
arduino-ide × 10
library × 9
arduino-mega × 7
programming × 6
sensors × 6
power × 6
nodemcu × 6
remote-control × 6
uart × 4
ir × 4
arduino-pro-micro × 4
system-design × 4
c++ × 3
i2c × 3