We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [arduino-uno]

The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.

Filter by
Sorted by
Tagged with
0
votes
2answers
56 views

Arduino Uno board not recognized in IDE. Board is not in device manager!

My arduino uno is not recognized by the Arduino IDE. I'm using 1.8.0, The IDE is not showing the COM. The tool section is showing only COM 1, i.e. the hardware. I opened Device manager, there is no ...
0
votes
1answer
42 views

Homodyne detection for arduino

In your code https://gist.github.com/edgar-bonet/0b03735d70366bc05fc6 for homodyne detection, is there a way to make the frequency detected a range of frequencies? For example detecting between 3kHz ...
0
votes
0answers
24 views

How to control segway motor with arduino uno?

I salvaged segway motor with 8 wires. I did completed basic connection of 5 hall sensors and power from 36V lipo battery in the image below. When I connect self-learning wires then motor starts ...
0
votes
1answer
60 views

ESP8266 ESP-07 does not respond to commands

I just bought an ESP8266 ESP-07 V1.0 Serial Wifi Transceiver. Similiar to this: https://www.ebay.com/itm/ESP8266-Serial-Wifi-Transceiver-Module-for-Arduino-ESP-07-V1-0-New-/331868488091 I have ...
0
votes
1answer
87 views

Code conversion

Following is the zabbix documentation with the query header format. Document Zabbix I have difficulty implementing this header in C ++ (Arduino), I saw an implementation of what I need in this forum ...
0
votes
1answer
38 views

Pressure Gauge analog reading via RS232

I am trying to read the analog signal from a Pfeiffer TPG 261 Single Gauge (https://www.idealvac.com/files/brochures/Pfeiffer_Single_Gauge_TPG261.pdf) The pin assignment of the connector I am using ...
0
votes
0answers
19 views

Logic Level of JSN-SR04T 2.0

I am new to using arduino and the ultrasonic sensor. I came trying to figure the logic level of the sensor. I believe the logic level is 5 volts. Can anyone confirm?
0
votes
1answer
42 views

Connecting Logitech F310 gamepad to Arduino Uno and Arduino USB Shield

I am trying to connect Logitech F310 gamepad to Arduino Uno with ARDUINO USB HOST SHIELD https://store.arduino.cc/arduino-usb-host-shield using http://github.com/felis/USB_Host_Shield_2.0 library. ...
0
votes
2answers
39 views

Is digitalWrite(pinnumber,LOW) different from ground pin

I am using Tinkercad simulator, but an unusual thing happened. When I connect one wire of dc motor to pin 9 with digitalWrite(9,HIGH) and other wire to ground, the motor runs with rpm of 5555. void ...
0
votes
1answer
25 views

mBlock update firmware

Total Arduino newbie here. I was playing with mBlocks, with the Arduino Uno extension enabled. That extension offers you to "update firmware" which I accidentally did. What exactly is this firmware? ...
0
votes
0answers
24 views

Reconnect to a com port

I want my Arduino to log data while connected to a battery. After few hours, I need to reconnect the Arduino via COM port to a PC and read the logged data. The com port will not reconnect. This is ...
1
vote
1answer
84 views

I want to print onto serial monitor when it's detected the value change

This code is measuring distance from object by using the Ultrasonic Sensor and print onto serial monitor. However, serial monitor constantly output values. I want to print only one time if detected ...
0
votes
2answers
82 views

Dice is not showing the correct numbers

I've made a dice roller (to make it easier to roll the dice) using an Arduino UNO and an LCD keypad shield but I can't get the correct numbers (1, 6 (7)) to show up, I've tried using int, float and ...
1
vote
0answers
61 views

How to use external libraries in CLion

I would like to use the external libraries that are downloaded by Arduino IDE into the default sketchbook location (~/Arduino/libraries/). If you open Library Manager in Arduino IDE and if you ...
0
votes
0answers
13 views

3 wired loadcell with HX711 Arduino Uno, Nodemcu

I am trying interact with a loadcell that is 3 wired. I am using arduino uno or nodemcu adafruit huzzah and sparkfund hx711 module.But i cant take scales. I only getting 0.0 grams and when i applied ...
0
votes
0answers
9 views

MFRC522 randomly works

I read several thread and discussion about MFRC522 issues, but I didn't found a solution for my problem. I have two MFRC522 reader connected to my Arduino Uno. I send commands to the Serial Port, and ...
0
votes
1answer
64 views

multiple graphs on serial plotter

I'm trying to run an Arduino code that simultaneously: 1) blinks an led on-off every 3 seconds 2) gets a voltage input from an EMG sensor and positions a servo motor accordingly While I run this ...
0
votes
1answer
46 views

Multi dimming led - figuring out which led is available for dimming

TL;DR: I tried to have a random fading pattern on several leds and it leads to flickering. Edited following @chrisl answer. I am in the process of creating a simple lamp that show some light ...
0
votes
1answer
26 views

Arduino accepting only alternate characters

I am writing an Arduino code to receive SMS from a SIM800 module and then send the same message back to the sender. My code is as follows: #include<SoftwareSerial.h> SoftwareSerial mySerial(9, ...
-1
votes
1answer
35 views

how can I program my sound sensor and pir motion sensor in 1 arduino uno

int pirPin=2; int buzzerPin=12; int soundSensor = 19; int LED = 3; int statusSensor=0; int pirVal=0; void setup() { Serial.begin(9600); pinMode(pirPin, INPUT); pinMode(soundSensor, INPUT); pinMode(...
0
votes
0answers
27 views

I cant seem to form a code to read both DHT11 and pulse sensor

I combined both the heart pulse sensor code and the DHT11 code. I can get a decent reading from the pulse sensor however an error is given from the DHT11 sensor. I am able to get them to function ...
0
votes
0answers
69 views

Reading Data from Google Sheets using Nodemcu

I want to read and writ data on Google sheets using ESP8266 WIfi Nodemcu and I'm able to do it but the time interval between two writing row is 3 seconds which is too much. I can read data but I am ...
0
votes
1answer
66 views

Ultrasonic Sensor - JSN-SR04T 2.0

I would like to use the JSN-SR04T 2.0 in order to find the depth of a body of water. Once I test the sensor in a body of water, the distance measurements are then constant at about 20 cm. I then ...
0
votes
1answer
37 views

Can Chirp Waves be sent using JSN-SR04T? [closed]

So i have project for underwater rangefinding using JSN-SR04T. I've read on the datasheet that the module sends square waves. Is it possible to program it so that it sends Chirp waves instead ? (Help ...
-1
votes
1answer
39 views

MQTT with OLED realy :- display not coming properly

I am very new to Arduino/ESP and I am writing a code to activate 2 relays using MQTT. Also like to display status on OLED here is my code #include <ESP8266WiFi.h> #include <ESP8266WebServer....
0
votes
0answers
43 views

Connecting water pump to power supply [duplicate]

there. Well I am have trying to connect my arduino to a water pump (5V DC). The problem is, I cant wrap my head around how to connect it to a power supply, can I use my old Nokias phone charger as ...
0
votes
0answers
48 views

Getting Heart Rate (BPM) from pulse sensor Arduino

I am new to arduino and trying to display the heart rate (BPM) using Pulse sensor. I have found a code from internet that calculates the heart rate: #include <Wire.h> #include <LiquidCrystal....
0
votes
0answers
18 views

Esp8266 fatal timeout error

I recently got my esp8266-01 and for interfacing with Arduino I completed all the steps need for right form pins to board allotting from esp8266 community after everything I still get error of "...
0
votes
1answer
55 views

How to use the pushbutton without using if, else

I want to let the led blink for 3 seconds then 2 seconds then one second using the button one time and without using if/else void setup() { // put your setup code here, to run once: pinMode(...
0
votes
1answer
30 views

a code to implement a simple traffic signal and also display on LCD which color is ON?

I have tried code given below for simple traffic signal and also display on LCD which color is ON, but it didn't work. Please me to make it work. int red = 10; int yellow = 9; int green = 8; #include ...
1
vote
1answer
46 views

Requesting help with CNC Project using Arduino

I have made a setup with Arduino Uno, Nema 17, T8 lead screw, IR Sensor and a DC motor. I am trying to establish a code which: Resets Home position of the Machining Head on the lead screw Has an ...
0
votes
3answers
54 views

Interface a mobile phone's finger print scanner with arduino

Is it possible to salvage a fingerprint scanner from an old and dead smartphone and use it with Arduino? I am not talking about writing an android program and send data to Arduino over Bluetooth or ...
0
votes
2answers
42 views

Why can't I control speed of the motor? (M1 and E1)

When myservo_1,myservo_2,myservo_3,myservo_4 is commented, I can't control the speed of my M1 motor. But only when I uncomment myservo_1 and so on, I can control the motor speed again. Can someone ...
0
votes
1answer
47 views

can't power up arduino from dc jack

Yesterday I was working on Arduino based bluetooth car. I was using adafruit motor shield v1. Arduino and shield were on same power supply(11v li-ion cell battery). Every thing was fine. I decided to ...
2
votes
2answers
60 views

Change the fuses of an Arduino Uno (can an Arduino Uno change its own fuses?)

For now, I'm using an Arduino Uno alone including its 328p (no other external chip to program). I would like to change its fuses to internal 8 Mhz clock (because then I'll move the 328p out of the ...
3
votes
1answer
117 views

exit status 1 error compiling for board arduino/Genuino Uno when tone code is used

I am just trying to use an ultrasonic sensor with a buzzer but the buzzer doesn't respond to my code. I mean it doesn't make any sound. I tested it to check if by sending 5 volts to it, it will make a ...
0
votes
0answers
23 views

ESP 01 calling Pushing Box API

I want to write my data on google sheets using ESP 01 and Arduino Nano. So I copied code from some website I don't remember the website "how to send data on a local server" and modified it a bit. But ...
0
votes
0answers
44 views

Copy the upper 3 bits from one PORT to another

I am stuck in this assignment and I don't really know how to begin. I would appreciate any help or guidance to the following problem:
0
votes
1answer
46 views

how to do Arduino to esp8266 communication

I am trying to do Arduino to ESP8266 communication, but I am not able to send data to esp8266. However I can receive data from esp8266. Here if my Arduino code: #include <SoftwareSerial.h> ...
1
vote
2answers
33 views

SD card example freezes at line SD.begin() what should I do?

I have a 16GB SD card which is formated with FAT32. I'm trying to run the example codes presented for SD in Arduino. The SD card is inserted in the data logging shield and the CS pin in this shield is ...
0
votes
1answer
51 views

I'm having problem with my pushbutton's input and ifs conditions statement. huhu :((

I am working with a program for a microwave. It has 3 settings: Drying, Roasting and, Drying&Roasting. After you pressed a button out of the 3 choices you still have to press another button(...
-1
votes
2answers
60 views

I would like to know the status of a switch

I have got a Sim808 and an Arduino UNO and would like it to send me a SMS Only when the switch changes from on off or on to off. But only when the switch changes. I am a beginner at this and would ...
3
votes
3answers
2k views

How do I extract code from an arduino? [duplicate]

I updated and uploaded some code on another computer that got wiped and didn't send the new code to my current computer, the updated code is still on the board but I don't have access to it. How do I ...
3
votes
4answers
1k views

What do these pins mean? Where should I plug them in?

I am trying to collect data from the arduino into a SD card for the first time, so I bought the adapter at my local electronics/arduino shop. However, I could not find an explanation as to what each ...
2
votes
1answer
62 views

char buffer to String in Arduino UNO

String getAPIData() { char res_buffer[450]; int numdata = inet.httpGET("myserver.com", 80, "/call.php?id=1&q=1&code=1001", res_buffer, 450); String result = String(res_buffer); Serial....
0
votes
0answers
44 views

Serial data printing slowly

I have connected an arduino serial port to my PC and monitoring the output in realterm. I am trying to print: CR 11.98,123,3520,01CRLF But it is resulting with some delay. First CR 1 Is printed. ...
0
votes
0answers
49 views

about required memory size in ATmega32 to execute a certain program

If I want to add two numbers and print the output on LCD char answer[8]; float a=5.1,b=3.2,c; c=a+b; dtostrf(c,8,3,answer);//convert float to ASCII to print it on LCD for(i=0;i<8;i++) ...
0
votes
0answers
21 views

Arduino UNO Restarts when HTTP API called with 500 Bytes response

String get_data() { String resData =""; char msgs[450]; numdata=inet.httpGET("myserver.com", 80, "/call.php?id=1&q=1&code=1001", msgs, 450); resData = parseMessage(msgs,numdata); ...
0
votes
0answers
35 views

How to implement server.on() without any libraries?

I was trying to setup a web server with Arduino and ESP32, without using the ESP32 libraries. Currently I'm able to display a webpage(a form with single submit button) from the server, with only using ...
-2
votes
1answer
29 views

Can an arduino Uno control led, sound and smoke?

I'm pretty new to this and I've not seen anyone answer this question yet - so I figured I would ask. I have a vape mod that is set up to expel smoke with a trigger. I want to merge this trigger to ...