Avamander
  • Member for 6 years, 5 months
  • Last seen this week
What is the proper way to make library pin mappings configurable?
3 votes

In case you'd avoid the C++ constructor stuff that's quite commonly an overkill on Arduino, you could use #define's (object-like macros). Like so: #define PIN_ONE 1 #define PIN_TWO 2 The preprocessor ...

View answer
Sending Strings from NRF24L01 to app
1 votes

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....

View answer
How to send information from Arduino?
0 votes

Others suggest ESP8266, but I think it's now outdated, there's a new and improved version of it available named ESP32, it's better in basically every way (faster, more RAM, ROM etc.), not that much ...

View answer
Servo - Serial communication problem
2 votes

If you draw too much current from an Arduino microcontroller it can reset itself (brownout), that results in it not responding. To solve this do not power your servo directly from the Arduino, use an ...

View answer
How can I move an arduino library into my project repo and use it from there?
2 votes

What's the deal? Aren't I supposed to be able to import libraries with an absolute path to the library? This is literally the same file. Yes you can use both absolute and relative paths, but "...

View answer
Usage of Crypto Library (Speck)
Accepted answer
1 votes

The first error looks like this Speck_4-08-2017:27: error: 'TestCipher' does not name a type static TestCipher { Further errors are basically all caused by that one wrongly written declaration. ...

View answer
Dynamic SSID + Password from ESP8266WiFi
1 votes

The const keyword there does not force the data you call it to be constant, it only forbids certain assignments with the parameters inside that function but it's just superfluous in most cases. ...

View answer
Having problems compiling this code for NRF24l01 on arduino uno and arduino micro
Accepted answer
3 votes

You have multiple copies of the library. Delete the folder located at: C:\Users\Owner\Documents\Arduino\libraries\RF24ArduinoCommunicator-master

View answer
Difference between Arduino IDE giving me headaches
Accepted answer
0 votes

To get RF24 working: Download the latest IDE (not 1.0*) Use the library manager to download the latest RF24. See https://github.com/TMRh20/RF24/issues/236#issuecomment-205354077 about what core to ...

View answer
Link Arduinos over 5 acre laser tag field
Accepted answer
4 votes

You can use nRF24L01+ The chips offer: Really high range with power amplifier (1km open field radius (776 acres if I'm right) , but fairly high power consumption 100-150mA @ 3.3V) High range with ...

View answer
Power Arduino Nano with OTG cable
Accepted answer
0 votes

It is possible to use a OTG Y cable just plug it into your phone, power cable into the power source and use the third connector to connect to your PC. (Assuming the PC only gets GND, D+ and D- and ...

View answer
What Arduino board with WiFi should I choose
3 votes

I'd recommend ESP8266 (model 07) based board. Can be programmed the same way as other Arduinos Cheap Enough storage for code Fairly low power Large community (more code examples and better library ...

View answer
Programming many Arduinos simultaneously with a wireless broadcast
0 votes

One can use something like this. It is a custom bootloader to update a Arduino's code via a NRF24L01+ radio module.* *It only works under Linux machines.

View answer
Arduino mega R17 led blink continuously
2 votes

You need CH340G drivers. CH340G is a chip that basically replaces the usual ATMega 8U2/16U2 that is used for USB to serial interface. As CH340 cannot be reprogrammed it means that you can't emulate ...

View answer
SainSmart CO2 sensor module use?
0 votes

You can not directly convert the reading to ppm because you do not know what value means what ppm. You'd need at least one calibration point to calculate how many particles per million there are. The ...

View answer
nRF24L01+ RF24 library - can send but can't receive
2 votes

The pins could be wrong for ATMega328. It should be. NRF24L01 - Arduino UNO GND - GND VCC - 3.3V CE - 7 CSN - 8 SCK - 13 MOSI - 11 MISO - 12 or B. You need to connect a 500uF electrolytic ...

View answer
How can I make motor vibrate using arduino depending on the ultrasonic distance?
1 votes

You could just replace the "50" in the first delay with the ultrasonic distance variable, I'll explain a bit more below. Let's assume your ultrasonic sensor outputs an analogue value between 0V and ...

View answer
Access denied when Uploading
0 votes

You have selected the wrong COM port. Go to Tools -> Port -> Select the right port. If you do not know the port number disconnect the Arduino, open the same menu again and look what is listed there, ...

View answer
WARNING: Category '' in library *any library* is not valid. Setting to 'Uncategorized'
3 votes

Edit or add library.properties to that folder so that you specify a valid category. Example of library.properties: name=WebServer version=1.0 author=Cristian Maglie <c.maglie@example.com>, ...

View answer
How to update the character table of MAX7456
Accepted answer
2 votes

To solve this problem one would need to get the builtin character updating sketch work (Max456WriteTable.cpp in examples folder). After the sketch has been compiled one would have to connect either ...

View answer
Arduino RF24 library Delay after write function causes no byte availability
0 votes

Try updating your library to the new TMRh20 fork. That improves the old maniacbug's version a lot (possibly also fixing the bug). tmrh20.github.io/RF24 It's also worth noting that after you've read ...

View answer
Sending large structs via nrf24l01 leads to cliping of some structs members
3 votes

Your payload is too big. You will have to split it to smaller pieces. NOTE: If you'd use a library like RF24Mesh then you'd not have to worry about it.

View answer
How can I get a unique address for all my Arduino boards while in RS485?
1 votes

Just assign every node a variable like "const int ID = 5" and so on and then before sending the instructions send a line terminator, the ID, line terminator and the data you need to send to the nodes. ...

View answer
Is Roboteq motor driver compatible with Arduino?
Accepted answer
0 votes

It is not directly supported. But the device description lists RS232 port that can be interfaced with an Arduino using a TTL to RS232 converter. The description also mentions "several Analog, Pulse ...

View answer
How can I detect a disconnected pin?
1 votes

You can connect all pins through a 1M resistor to a rail. Once in a while you set all your outputs to inputs and toggle the rail HIGH and LOW, if the inputs are HIGH and LOW in the sequence you ...

View answer
xBox receiver code output is scrambled
Accepted answer
0 votes

Seems like wrong baud-rate. Change baud-rate in the Arduino IDE serial monitor.

View answer
w5100 and nrf24l01 - SoftSPI - Radio not starting
Accepted answer
0 votes

The issue here is that the Ethernet chip locks the SPI bus thus making it impossible for NRF24L01+ to communicate with the arduino properly. Please use softSPI to fix this.

View answer
Using nrf24l01 with mpu 6050 unstable
-1 votes

It seems to me you are running out of memory (SRAM). https://www.arduino.cc/en/Tutorial/Memory

View answer
IR frequency difference
Accepted answer
1 votes

Can I use 37.9 or 38 kHz IR-receivers for 37.8 khz communication? Yes you can, it should be close enough. (I am assuming you are talking about some kind of prebuilt receiver that just receives the IR ...

View answer
Delay on multiple NRF24L01+ (RF24.h) and Arduino nodes
1 votes

I am too building a RF24 based network there were two issues I encountered: 1) Update your libraries, use TMRh20 fork of RF24 (to make your life easier, use RF24Mesh too) 2) Add a decoupling cap to ...

View answer