All Questions

0
votes
0answers
14 views

Upload arduinocode in controllino mini

I have a question how to control my controllino mini. I would like to upload my arduino program to the controllino mini, but this doesn't work yet. I tried several thing: - File → preferences here ...
1
vote
2answers
33 views

Matrix keyboard and 7segment display countdown combination

I'm working on an escape room for my university with an Arduino Mega. The last part consists of a 7segment display representing a time countdown, and the participants have to introduce the correct ...
0
votes
1answer
20 views

Question on pin management using PCA9534PW IO Extender

There is an IO expander PCA9534PW, Arduino UNO. I don’t really understand how I can manage this expander using UNO over I2C. I found an example, but here is the reading mode. What I need: Set the ...
2
votes
0answers
51 views

Why would using the += operator on an unsigned long crash my sketch? [closed]

I wrote a simple Timer class that's designed to work even in the face of the 49 day wrap of the millis() counter. I wanted a library that I could easily re-use and I could never remember the right way ...
0
votes
0answers
32 views

Where to find EEPROM.get()?

I don't seem to be able to find EEPROM.get() function. I am developing my Arduino application under Linux, and inside the libraries EEPROM class only have read() and write(), although here is written ...
0
votes
1answer
24 views

Data received by Arduino from ESP8266 01 Module is not complete

I am sending some data from ESP8266 01 module to Arduino. But the data received by Arduino is not complete. Below are the images of the output from ESP8266 01 module and Arduino. Here is the ...
0
votes
1answer
56 views

How to write a more compact ANDed conditions with if statement?

I'm working on the rfid module and found an example that do it well. But it has a long testing the 5 bytes of the rfid received bytes, and I've tried to write it in a more compact way. I did it with ...
1
vote
3answers
89 views

REST API on Industrial 101 (Yún family) lags, then crashes

I have tried to set up a very simple REST API on an Arduino Industrial 101 (which is, as far as I understand, equivalent to a Yún). The Arduino is hooked up to a temperature sensor, which value is ...
-1
votes
1answer
29 views

L293D with arduino's 5V

I am trying to use L293D with relay to power a 12V DC motor. Can I use arduino's 5V to provide L293D inputs 4 and 8 such as in the drawing? Or do I need to use a separate source, e.g. a power module?
0
votes
3answers
53 views

I want to reset a variable after each 1 second on an Arduino

I want to reset this counter variable which I created after each 1 second, but I don't want to disturb the if statement. Here is the code: int button=A0; int val; int count=0; int presss; void ...
0
votes
1answer
23 views

nRF24L01+ Unable to set address

I'm trying to communicate between Arduino Nano and Arduino Uno using nRF24L01+. I tried using RF24 by ManiacBug and TMRH20, but when I open the serial monitor after uploading the Example Programs ...
-1
votes
0answers
28 views

Game plays itself without any user input

I have followed a hackster project to make a TicTacToe game using TFT and Arduino. I then added new features like adding a timer, game counter and SD card logger. The game seems to play by itself now. ...
0
votes
1answer
14 views

Connecting DAC output from Arduino Due to another arduino

I have an Arduino Due and I want to connect the output from the DAC as an input to an Arduino Uno's analog input pin. From this link http://forum.arduino.cc/index.php?topic=164763.0, user DuaneB ...
0
votes
1answer
33 views

Higher precision logarithms

I need to produce a log to base 10 with at least 4 decimal places. However, the log10 inbuilt function is giving the output with only two decimal places. What do I do? Is there a different function or ...
0
votes
1answer
23 views

RadioHead and Servo compile problems

I am having this problem when trying to compile my sketch. I am using RF frequency modules to send data between devices and a servo motor to control the tilt of a ramp. I understand that both ...
0
votes
2answers
104 views

Serial read multiple digits and always reading 10 at the end?

So I'm trying to make a program that allows you to enter a number in decimal and it displays it in binary, and it's going fairly well after some initial struggles (for some reason it read integers as ...
0
votes
0answers
28 views

GPS led not blinking and wrong LAT Long values

I want to extract the latitude and longitude values of my location but my gps led is not blinking. Also result appearing on the serial monitor is wrong. This is my Arduino code: #include <TinyGPS+...
0
votes
0answers
20 views

library for both HardwareSerial and Serial_ [duplicate]

many Arduino boards use the HardwareSerial class, like the AVR based boards (UNO, MEGA), ESP* and the official STM32duino. Recently seems that Arduino made a new class called Serial_ which works on ...
0
votes
0answers
30 views

Can't push data to ThingSpeak - Status 400 Bad Request

I'm trying to push some data to ThingSpeak using the EtherCard library with the ENC28J60 ethernet module. At the moment I'm using the exemple code that comes with the library just for tests. But no ...
0
votes
2answers
37 views

Blinking LED's at changing rate

I am trying to blink two LED's, starting at slow rate then increasing to fast s follows: 1 on, 1&2 on, 2 on, 1&2 on, 1 on, etc. The blinks go through the loop twice then speed up and repeat ...
0
votes
1answer
22 views

Arduino acts odd when disconnected from computer

I'm building an self-navigating robot with an arduino, an ultrasonic sensor, and two DC motors. I'm currently within the process of coding the robot but I've discovered I have an unusual problem; ...
0
votes
0answers
14 views

Installed configuration won't show up on Board menu

So I was following these instructions on the official site. Download this hardware configuration archive: breadboard-1-6-x.zip, Breadboard1-5-x.zip or Breadboard1-0-x.zip depending on which IDE you ...
0
votes
1answer
18 views

HC-05 with ELM327 mini OBD2 Bluetooth adapter connection problem

I am using Arduino Uno and HC05 Zs-040 Bluetooth module to establish a connection with ELM327 mini OBDII Bluetooth adaptor. I have tried more than 15 different sequences of AT commands and most of ...
-2
votes
0answers
22 views

How to build a Syma X8 receiver by Arduino? [duplicate]

How to control a 4x DC motor (size 180) by one Arduino (similar to receiver Syma X8)?
0
votes
1answer
15 views

Arduino 101 MIT App Inventor extension [closed]

Can the Arduino 101 extension by MIT App inventor be used in sending data through Bluetooth by an Arduino Uno/Mega?
0
votes
1answer
43 views

Possible to connect 3 MPU9250 to Node MCU without multiplixer?

Is the idea of connecting AD0 pins of MPU9250 is still valid like the 2nd answer of this question? - How to change i2c address for mpu9250? I have connected 2 sensor as test. SCL & SDA of both ...
1
vote
1answer
58 views

How to execute operation once till a condition then restart it from start [closed]

I am making a project using IR sensor,servomotor and Push button. I am not able write code for the logic as stated: it will execute the operation when it reads the digital value of IR high and rotates ...
0
votes
1answer
45 views

What is /dev/tty.usbserial-1420 [duplicate]

I'm a complete newbie with Arduino. I've bought a couple of Nano clones from China. According to supplier description, it is Arduino Nano V3.0 ATMEGA328P ATMEGA328 CH340. Not sure why they list both ...
0
votes
1answer
36 views

Looking for a cheap small arduino ish board [closed]

I'm looking for a cheap and small bluetooth board for a project. I found this one, but I find this one too expensive, are there cheaper alternatives, in similar size? Thank you!
0
votes
1answer
47 views

blinking LEDs in sequence with a class

I am trying to make a program that accepts four digit password using 3*4 keypad. The program should start with flashing LED1 and when password 1 is entered it switched this LED and blink LED2 and if ...
0
votes
1answer
60 views

ESP8266 won't receive messages after a while

There are 5 ESP8266s being used. Three act as a middleman (in AP_STA mode), one sends the message, and the last one receives the message after being passed over the middlemans (imagine it as a line, ...
-1
votes
1answer
32 views

How should I combine the codes for two sensors in 1 Arduino sketch?

Name of study: AUTOMATIC ELECTRIC FAN We used an ultrasonic sensor for the switching on/off of our Fan and an LM35 SENSOR to control the speed regulation. During our experiment, we use a LED instead ...
1
vote
1answer
19 views

Cannot read modbus data repetitively

I try to communicate with 2 RS485 sensors (pH and EC), but I have some troubles with my code. First, I tried to get data from just one: The function in charge of request sending: String GET_probe(...
1
vote
0answers
31 views

Is it a rule of thumb to always use a buffer for realtime data acquisition from a microcontroller? [on hold]

I probably have a misunderstanding one way or another, so this may be a bad question, but whenever I see sketches of projects that are outputting realtime data or in general, I always see the use of ...
0
votes
1answer
38 views

Error compiling for board Arduino/Genuino Uno - CANSAT [closed]

I had this code which was working a few days ago. All of a sudden I got the above-mentioned error. I can't even compile the code. I have tried a reinstallation and also reinstalled most of the ...
0
votes
0answers
25 views

Arduino + USB Host Shield + ESP8266

I am using an Arduino Uno and a USB Host shield for Barcode Scanner. The whole scenario is that when I scan the barcode through USB Barcode Scanner, it scans and gives a code. Now the question is how ...
0
votes
0answers
15 views

Get restart method from ESP32

I would like to know if there's any method to get how the ESP32 was restarted (by software, restart button, plugged on...). When it's restarted I can see in the Serial port message like rst:0xc (...
0
votes
1answer
55 views

What does the numbers behind lcd (0x27) means?

I can't seem to figure out what the numbers in after 0x27 means. I understand that 0x27 stands for I2C address and POSITIVE stands for the back light, but what does the other numbers mean? ...
0
votes
0answers
26 views

MPU9250 Arduino code for tilt angle code

I want code for MPU9250 to check if it is tilted. If so, it should blink led. Please help me with code. I'm using following code to check the xyz-axis. #include "MPU9250.h" MPU9250 mpu; void setup() ...
1
vote
1answer
47 views

Cascaded Control loop Arduino [closed]

I am trying to implement cascaded control system, with velocity inner loop and position outer loop. Separately and without cascaded control, I have implemented position control and velocity control ...
1
vote
1answer
48 views

Hold button / press button/ push button

I want to control a servo motor in a way that if you push the button, you can control it by potentiometer a if you push double time, you can control servo with infrared if you hold button step ...
0
votes
0answers
25 views

What am I missing? ST7735 TFT white screen

I followed this guy's guide with regards to wiring, etc., and all I seem to be getting is a white screen, as shown in these pictures. Is there an issue with the guy's guide, I'm missing or there is an ...
0
votes
1answer
37 views

Will this buck converter power my arduino? [closed]

I'm thinking of using something like this: https://www.amazon.ca/Dolity-Converter-Isolated-Switching-Transformer/dp/B07CSZ1174?SubscriptionId=AKIAILSHYYTFIVPWUY6Q&tag=duc12-20&linkCode=xm2&...
3
votes
2answers
87 views

Need little bit of help on testing I2C sketch

I have this code I got from YouTube for communicating between two Arduinos. By typing 'R' manually into the serial monitor of the 'master' Arduino, the 'slave' will print "Success". I'm trying all ...
0
votes
0answers
28 views

Optimizing Teensy 3.6 for data sampling?

So, I have a very basic project where I cycle through 8 IR individual transmitters. After setting the individual transmitter high, I cycle through all 8 IR receivers and print their values, RX_CYCLES ...
0
votes
0answers
29 views

ThingSpeak writing multi fields returns HTTP error code with -301 or -302

I am using arduino and ethernet shield with ThingSpeak library to write multi fields. this sample code from docs. it is working good with 4 fields but if I want to write 8 fields in a same time such ...
0
votes
1answer
33 views

Arduino program to scan two different rfid cards in same program ? Im using nodemcu- esp8266 , rc522 reader and Firebase

/*My project is a Library management system using rfid cards. Im trying to generate a code wherein User first scan a book and then the record will be pushed in Issued_Books table in Firebase . Then ...
0
votes
1answer
31 views

Arduino should check the same way like a USB keyboard or a USB mouse, if turned on notebook is connected

I have a USB HUB and have connected to it a USB keyboard and a USB mouse. As long I have not connected a Notebook to it those devices don't turn on. 5V is always turned on! So I could charge my phone. ...
0
votes
1answer
23 views

How to connect MPU9250 with NodeMCU using SPI or I2C Slave?

I want to connect 3 MPU9250 sensors, but since there is just one I2C bus, so there are another 2 sensors I want to connect through SPI. Library used - https://github.com/bolderflight/MPU9250/blob/...
0
votes
0answers
40 views

I got a problem in sending voice file

I wrote a code that can send a file. If I send a text file it will work perfectly, but when I try to send voice it will send the whole file form the Sender side, but in the receiver side he won't ...

15 30 50 per page