Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
0 answers
747 views

I'm trying to use my Arduino Mega as an EEPROM memory writer. For this project, besides my Arduino Mega, I use an SD Card module, an LCD display and two push buttons to handle the events. Inside the ...
Dan Fayal's user avatar
1 vote
0 answers
84 views

I wrote the script below in order to count the number of times that I press the SparkFun Qwiic Twist. But when I press the button, I get series of running numbers on the Serial Monitor and not a ...
user2788464's user avatar
1 vote
0 answers
74 views

I ran into some problems here with programming. I am trying to put together a code for 4dc motors, buzzer, ultrasonic and lcd to work together,. they will together make up a small car. when the ...
mmmmhe's user avatar
  • 21
1 vote
0 answers
256 views

So I am trying to put together a code for 4dc motors, buzzer, ultrasonic and lcd to work together,. they will together make up a small car. when the distance to the ultrasonic is smaller than 10cm, ...
mmmmhe's user avatar
  • 21
1 vote
0 answers
54 views

I have esp8266. Which I am trying to set up to be a self-contained access point and server (tcp). ESP8266 is connected to ports 2,3 of Arduino Uno. On Arduino, I want to process all information coming ...
ArtemiZ Studio's user avatar
3 votes
1 answer
253 views

Been trying to figure this out for a couple hours, despite how ridiculously simple it should be. I have no idea why it's always returning 1, even when i'm pushing the button. Fritzing sketch: My code:...
Crystal's user avatar
  • 71
3 votes
1 answer
364 views

So I am running a USB (UART) connection from my Arduino UNO (using the serialtransfer.h library) to my pc (using the pyserial transfer library). This how the INTENDED cycle of code goes: I receive the ...
Bezal-el's user avatar
1 vote
0 answers
383 views

I have two sensors data in packet but now I want to send these two sensors data into single packet in which these two sensors data are gathered. I mean I want to have a packet in which I have oxygen, ...
Namra Noor's user avatar
0 votes
1 answer
216 views

Perhaps this is a beginners question and I am not sure. I currently have a custom made circuit with an atmega328p chip connected to an mpu6050. However, when I program in Arduino I am not sure what to ...
Robin Svensson's user avatar
1 vote
0 answers
257 views

I am using 10 ds18b20 Temperature sensors using with "DS2482-100" I2C board and Arduino so when I am getting the output like this:- "ROM = 28 46 04 1F 0D 00 00 74 96014B467FFF0A100A 25....
Khangesh's user avatar
1 vote
1 answer
547 views

In my project I am using 3 sensors. I am sending a regular stream of sensors data to Bluetooth module but now I want to send data in form of packet (which may be 30 bytes or 40 bytes of size) in ...
Namra Noor's user avatar
1 vote
2 answers
273 views

Added second attempt at bottom of code, Please check it, works with out lag time but never turns Vacuum off? This project is pretty well explained in the code description. My main problem is I need a ...
Greg's user avatar
  • 39
1 vote
1 answer
90 views

i have installed a GSM shield on the Arduino to create security alarm system using PIR SENSOR when ever there motion I will receive a call to my phone. but i want to add also a line of code which can ...
user76732's user avatar
1 vote
0 answers
162 views

I am new to Arduino and I am working on a project. This project inspired me and I tried doing it. The following code was provided in the description: int maxPeople = 5; // maximum number of people ...
19aksh's user avatar
  • 113
3 votes
3 answers
2k views

I've been looking into how to store data in between restarts. With an Arduino UNO, there are plenty of EEPROM libraries, but I'm not finding something 'off the rack' for the Arduino Nano 33 BLE. I ...
asylumax's user avatar
  • 249
0 votes
2 answers
62 views

I had written some code that involved doing something after 10 milliseconds had elapsed, however it was performing unexpectedly. Upon debugging, I think I have identified the error, and I wrote some ...
satan 29's user avatar
  • 169
1 vote
0 answers
366 views

I have written a code with interrupts to control the servo but my servos are not working. One is meant to work with interrupt but the other one has to simply move but it is also not working. Even the ...
Awais Umer's user avatar
1 vote
1 answer
584 views

I have an array of hexadecimal values as given below. byte Hexa_Val[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; I want to increase this array from the end. As in, go from {0x00, 0x00, 0x00, ...
C Vith's user avatar
  • 133
1 vote
1 answer
4k views

I am new to Arduino programming and am trying to make an obstacle avoiding car with an ultrasonic sensor and a differential driver model. While learning how to code it, I learned that you can exit the ...
shyam's user avatar
  • 11
2 votes
3 answers
2k views

I'm trying to create a dead zone so the joystick will turn the motor off completely when in the center position. It's much too sensitive and will start the motor if barely touched. How could I fix the ...
edrummer's user avatar
1 vote
0 answers
194 views

I am currently working on a drone project using multiwii. I m using mpu6050 as gyro and accelerometer sensor with i2c protocol. I was able to read data coming from mpu6050 while using Arduino Uno ...
Anmol Kumar's user avatar
2 votes
1 answer
347 views

Using python code for a serial port connection to an arduino, it sends a value to the arduino, which then starts printing values to serial. The python code will print the value on the first or second ...
user avatar
1 vote
2 answers
689 views

I want to make my Arduino to play several simple melodies, and also be able to skip a melody by pressing a button and go on with the next song. therefore I cannot use delay() because the code should ...
Rsoc2002's user avatar
1 vote
1 answer
473 views

Hello to the community! I am using ATTINY85 and I am programming it through the AVRISP using an Arduino UNO. This is the code I am using : #include <avr/io.h> #include <avr/interrupt.h> ...
Johny Arduino's user avatar
1 vote
0 answers
125 views

I am working with tftlcd 2.4 inch with Arduino mega 2560 board. In this code I just want to show clock as my default or home screen. By clicking on clock at any point on screen user should get a new ...
Namra Noor's user avatar
2 votes
1 answer
153 views

I have a problem with my arduino buzzer: the code should be doing the following: I have a security system where in order to open the door you have to enter a 4 digit code from the remote. If the code ...
mihalca bogdan's user avatar
1 vote
0 answers
183 views

I am trying to use an ultrasonic sensor in conjuncture with different devices like a proximity sensor and a solenoid and alarm. This is how the project is supposed to work: A container is placed on a ...
Hussain Bhavnagarwala's user avatar
2 votes
0 answers
472 views

Recently, we developed the UTRAQ L100 GNSS Module base board for testing all the capabilities of the GPS receiver. https://www.elementzonline.com/blog/utraq-gps-l100-module-based-on-irnss-supported-by-...
Dhanish_Elementz's user avatar
1 vote
1 answer
618 views

Scheduler_example00_Blink is ~300 lines. For just an Arduino Uno, what is a minimal example? It's hard to know what belongs and what doesn't. This example has six different approaches, and I'm just ...
adamaero's user avatar
  • 198
1 vote
0 answers
76 views

So I have created this project to have an LED blinking at a constant speed whenever the program is running. The first LED (green) will blink faster and faster the closer an object gets to the sensor. ...
willbill's user avatar
1 vote
1 answer
212 views

//Make an LED Turn ON after pressing a push button switch for five times. Add a reset switch to turn OFF the LED whenever the reset switch is pressed **void setup() { pinMode(11, OUTPUT); ...
Ibraheem Mohammed Saleh's user avatar
1 vote
0 answers
1k views

I am trying to send data from one arduino to another over ethernet using udp protocol. In arduino writing data over udp is like this UDP.write(buffer, size); where buffer is an array to send as a ...
eToll Systems's user avatar
1 vote
1 answer
288 views

I'm working on a research project that allows me to press a button on a matrix that then outputs a parameter like temperature, humidity etc. But I cannot find out what is wrong with the buttons, when ...
GreatWhale64's user avatar
1 vote
1 answer
4k views

When reading and writing with a python serial port connection to arduino, if I don't use latin-1 ('ISO-8859-1'), the results are not as expected. Like if I have int outP = 5; //... int outV = Serial....
user avatar
2 votes
1 answer
135 views

//Here is my code so far int speakerPin = 9; int length = 28; char notes[] = "GGAGcB GGAGdc GGxecBA yyecdc"; int beats[] = { 2, 2, 8, 8, 8, 16, 1, 2, 2, 8, 8,8, 16, 1, 2,2,8,8,8,8,16, 1,...
William Woodard's user avatar
0 votes
1 answer
130 views

Below are two attached the two codes, the second code is for using a microphone to detect for cough and sneezes where the first code is used for humidity and temp. // For Scanning Insitu Exhale ...
Harbaj Cheema's user avatar
0 votes
1 answer
2k views

How do I write a program to wait (delay) until one out of two buttons pressed? I have written a program to wait until a single button is pressed. It's working fine. However, if I extend it to second ...
Ak Rikas's user avatar
2 votes
1 answer
551 views

I'm making my own Arduino Mega board with ATmega2560-16AU and CH340G. Jump to the end of the post to find the real question. I have already ordered a PCB before and it didn't work when I soldered ...
Exclose's user avatar
  • 41
1 vote
0 answers
55 views

I need help I use Touch Sensor(T)v.0 and it always receives a signal not matter I touched it or not. Here is the code. #define TOUCH_PIN 7 int touchVal = 0; void setup() { Serial.begin(115200); ...
Shushan Abovyan's user avatar
0 votes
3 answers
172 views

I apologise in advance if this question is not right for this Stack or if it has been answered before but here goes. I have been learning C/C++ using the Arduino Uno and have gotten the hang of it now ...
Miles's user avatar
  • 9
0 votes
1 answer
91 views

Pl someone answer my question. I have 4 pushbuttons namely add/reject/start & finish. I want to 1.Deactivate add/reject buttons at initial stage until start button pressed & 2.Once add/reject ...
Ak Rikas's user avatar
1 vote
0 answers
94 views

I'm looking to transmit some data (CSV files) from a measurement instrument underground to a receiver on the surface. I've learned that in order to penetrate the limestone, low frequencies have to be ...
K. Millar's user avatar
1 vote
0 answers
160 views

With reference to this question ::I have written a program by using 16-bit timer, The program is as follows . volatile uint32_t ovfCount = 0; struct Pulse { uint32_t last_toggle; uint32_t width; ...
Lawliet's user avatar
  • 183
1 vote
1 answer
449 views

I was working on a program to measure the pulse width , for that I thought of using Timer 2 in Arduino mega along with pin change interrupt, The program I have written is as follows volatile float ...
Lawliet's user avatar
  • 183
-1 votes
2 answers
164 views

I have a project that requires rotation of a tank tread. I've simulated LED's to go off in a rotation using an IR Remote. I want to stop the clockwise rotation halfway through so I can immediately ...
Nick's user avatar
  • 9
0 votes
1 answer
255 views

One thing that always confused me was why we use int or other commands to set the variables to have pin numbers as if those commands were always restricted to pin numbers only. For example int ledPin =...
AndroidV11's user avatar
-1 votes
1 answer
109 views

One ESP32's 3v3 is connected to GPIO 26 of another ESP32. The program is uploaded. The built-in LED lights for two seconds as expected. Then, it turns off. No matter what GPIO pin the 3v3 is connected ...
adamaero's user avatar
  • 198
2 votes
3 answers
1k views

My question is: how can I use an ISR and store the data I get from my analog inputs into an array for easier data analysis. More specifically, I want to collect my data using an ISR function (internal ...
Dema Govalla's user avatar
0 votes
2 answers
1k views

I'm using the random() to generate random coordinates for coins in a simple game console. The problem here is that the random() function is not generating random numbers, since the coin is at the same ...
jort57's user avatar
  • 13
0 votes
2 answers
2k views

I am doing a project for object detection. But my problem is I'm using a 12V photoelectric OMRON sensor to connect with 5V Digital PWM port 3 on Arduino using normal coding. Do I need an extra circuit ...
De Safa's user avatar

1 2 3
4
5
34