Questions tagged [arduino-uno]

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

1,474 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
419 views

Ultrasonic Flowmeter Using TDC-GP22 and Arduino Uno

I'm working on a project of Ultrasonic Flow Meter with TDC-GP22 using Arduino UNO. I used the library of leokoppel In my code,the configurations of the registers are copied from the Application Note ...
4
votes
0answers
2k views

Sending data from Arduino UNO as a SOAP request

I have a servo motor on one end which can be turned ON and OFF with web service sending SOAP request. In the other end I have my Arduino UNO with ESP8266. Currently, I am able to send HIGH or LOW ...
3
votes
0answers
91 views

SPI register read returns 0x00 or 0xff

I am trying to interface a Arduino Uno with an ASM330LHH using SPI. Whenever I try to read any register, I either get 0xff or 0x00 on the serial monitor The code I am using: #include <SPI.h> #...
3
votes
0answers
294 views

Modbus TCP/IP using Arduino uno and ENC28J60 module

I have this project where I need a modbus tcp server that will host a series of sensor data for other modbus client devices to read. I use this Library by Andresoarmento This is the code i am using ...
3
votes
0answers
161 views

I want to save the value of the scanned barcode on an SD Card (in a text file may do)

serial monitor output #include <usbhid.h> #include <usbhub.h> #include <hiduniversal.h> #include <hidboot.h> #include <Wire.h> #include <SPI.h> #include <SD.h&...
3
votes
0answers
734 views

How to use SPI to set/ read registers for a sensor (Avoiding need for Github Lib)

Ok so as some readers might have seen, my current project involves using MPU's. The idea is sending data via CAN bus to a controlling MCU to then send to a raspberry pi to perform the calculations ...
3
votes
1answer
3k views

Using signal strength feature of nRF24L01 module

This is a walkie-talkie project and this circuit really worked, voice can be transmitted from one nRF module to another nRF. Additionally, I want to observe how well the signal strength is, by ...
3
votes
0answers
294 views

How can i change by esp8266 baudrate, as I accidentally changed the baudrate to something else(which I dont remember)?

//In order to connect, SoftwareSerial esp8266(2,3); // the TX pin of esp8266 is connected to pin 3 of // arduino uno and RX pin is connected to 2 // we need to pass baud rate to begin ...
3
votes
1answer
4k views

Running two stepper motors with two rotary encoders

I'm really bad with this coding part of using two rotary encoders to control two stepper motors [using 28BYJ-48 stepper motor with the ULN2003 board]. This code works fine using one rotary encoder for ...
3
votes
1answer
2k views

Flash String Helper object as variable

So I have a Bunch of commonly used char arrays to build commands in my library. So to preserve memory, I have them put into flash, via PROGMEM ext, typedef const char PROGMEM ProgChar; ProgChar AT[] =...
3
votes
0answers
308 views

DHT22 reading weird values

I just hooked up a DHT22 I had laying around in a parts drawer to test something and it is giving out some crazy wrong values, I am running the adafruit library's unified example and this is the ...
3
votes
0answers
326 views

Is Arduino WiFi101 library fully compatible with Arduino MKR1000 with WiFi HW?

Will all the classes in this library work with the MKR1000 with wifi hardware? The guide mentions "wifi shield". So, does the library work exactly the same with the Arduino MKR100 (with the onboard ...
3
votes
0answers
547 views

Nordic nRf905 (433MHZ) with arduino receive garbage data

I am interface Arduino with nRf905 in receive mode use 433 MHZ. I Have follow this link http://www.electrodragon.com/w/NRF905_Transceiver_433MHz-Wireless_Module. And for transmitter, I am use RF-...
3
votes
0answers
640 views

Camera VC0706 not found

I tried connect my Arduino Uno R3 with module camera VC0706 following this instruction of Adafruit: https://learn.adafruit.com/ttl-serial-camera/using-the-camera. [VC0706] --- [Arduino] Vcc --- ...
3
votes
0answers
54 views

Low byte fuse programming of atmega328 of arduino uno

I want to use the atmega328 of my arduino uno board to clock TDC 1000, using the clkout bit of atmega328, but this requires fuse programming of the low byte, Can any one tell me how to do it ??
3
votes
0answers
631 views

RFID Code (and setup) works on an UNO but not on the Yun

We're using two RDM6300 RFID readers for this, and the code works when plugged into an UNO, but not when connected to the Yun. We have one of the rfids plugged into the rx pin (0 on the digital side) ...
3
votes
0answers
447 views

Connecting arduino and EV3 using I2C

I'm trying to connect arduino uno and ev3 by using this guide (http://www.dexterindustries.com/howto/connecting-ev3-arduino/), everything works perfectly but when i tried to use analogRead block to ...
3
votes
0answers
2k views

How to upload .hex file to Atmega8 Using Arduino IDE and Uno as an Isp?

I want to upload an .hex file to an Atmega8 chip (SMD). I want to use the Arduino IDE and an Uno as the ISP program. But I'm unable to find any details on how to load a sketch which is in .hex format. ...
3
votes
0answers
252 views

error with avrdude command line using arduino as isp (i think)

I am trying to upload a .hex file to my attiny85v-10pu and using my arduino as a isp (i think thats the right term) but it come up with this error. ser_open(): can't open device "lpt1": The system ...
3
votes
0answers
180 views

How far can i go just with this starter kit?

I want to buy this kit: http://www.banggood.com/UNO-Basic-Starter-Learning-Kit-Upgrade-Version-For-Arduino-p-970714.html However, as shipping stuff from China takes like 3 months to arrive, i need to ...
3
votes
0answers
2k views

How to read temperature using arduino uno board with PT100 RTD sensor?

I am new to arduino programming. And almost inexperienced. I am looking to program my arduino Uno board to read 2/3/4 wire configuration of PT100 RTD sensor (in accuracy levels of atleast 0.5°C). The ...
3
votes
0answers
780 views

Why won't Wifi Shield detect any networks? Even really close

I just purchased an Adafruit Wifi Shield CC3300 and strapped it onto my Arduino Uno board. I'm running this basic sketch that I found to test the functionality of the Wifi Shield: http://arduino.cc/...
3
votes
0answers
1k views

Interfacing SD card with arduino without shield

I am trying to connect SD card with arduino without using a shield. To convert to 3.3v, I have used voltage divider circuit as described in these two sites: http://garagelab.com/profiles/blogs/...
3
votes
0answers
1k views

Hub RFID Arduino + WIFI

I will start an Arduino project and its main requirement is that some RFID readers (at most 6 readers) be connected and controled by the arduino board. I do not have a strong background in ...
3
votes
2answers
3k views

Atmega328P-PU: Programmer is not responding

Few days ago, I built my own custom Arduino on the breadboard. It is built according to tutorial on http://www.crash-bang.com/resource/breadboard-arduino/. The Atmega328P-PU is already burned with the ...
2
votes
0answers
37 views

Real range of long range transceptor LORA RA-02 SX1278 with Arduino UNO

I'm working in a project where I have to send data from long distances (about 1 km) between 2 Arduinos UNO which are powered by computer's USB ports. The place is a small city with no large buildings. ...
2
votes
0answers
51 views

Checking if Arduino board works or is damaged

I have an Arduino Uno and Mega, but when I connect them to a computer with the USB they came with, there is no green light near the reset button that illuminates. On the Uno board the pin 13 ...
2
votes
0answers
61 views

Universal remote control with bluetooth emitter

I am creating a universal remote control to replace multiple devices I have at home. The IR part was quite easy to implement. I realised then that the Chromecast with Google TV remote uses Bluetooth, ...
2
votes
0answers
116 views

Not Able to communicate with ESP8266

I just bought an Esp8266(not the node MCU) and tried connecting it with Arduino without a USB to serial converter but in vain. I am a beginner and don't know what to do. It is not responding to AT ...
2
votes
1answer
62 views

Analog input voltage rises when motor is working

I'm making automatic water plant system. I'm using: Arduino Uno 3.3-6V water pump -https://www.amazon.com/Vipe-Micro-Submersible-Motor-Water/dp/B01N0X3CW4 Capacitive soil moisture sensor - https://www....
2
votes
1answer
49 views

How to separate a specific frequency signal from a summation of a few signals?

I want to calculate THD. SO how do I isolate the fundamental frequency from a signal with harmonics? I have a signal V which is a sum of V1, V2 and V3. V1=A1sin(w1t+phi1), V2=A2sin(w2t+phi2) and V3=...
2
votes
2answers
130 views

Connect 5V relay to ESP32 WROVER B board

I need to use a ESP32 WROVER B based MCU board with a standard (cheap) one-channel 5V relay (e.g. to switch on a mains-power appliance). Attempted removal of excess solder around the headers ...
2
votes
0answers
29 views

CAN bus communication and LCD updation

I am trying to communicate arduino uno with CAN bus using MCP2515 shield. Data sending and receiving both things are done. Whatever data received is displayed on LCD. CAN bus receive is done using ...
2
votes
0answers
42 views

Two LED Patterns Task Controlled by GUI

I am very new to Arduino and coding/programing. I set a task for myself to make a simple circuit of 5 LEDs controlled by pins 2, 4, 8, 11, 12. I want to be able to make two different pattern for the ...
2
votes
0answers
51 views

Why doesn't LCD 16x2 work with fingerprint sensor code?

When I separate fingerprint code and LCD code it works fine. sensor read 6 templates which I already stored 6 fingers ID. When I combine the code it read 0 templates. #include <Adafruit_Fingerprint....
2
votes
0answers
50 views

Sim800L-v2.0-network-problem

I am having trouble to get Sim800L-v2.0 to work. I believe that I am supplying the necessary amount of current (5.0V, 2.1A máx power source, using solid copper wires - circuit photo). The Net LED ...
2
votes
1answer
54 views

TFMini Sensors with Arduino

I have three TFMini sensors I need all of them to detect. I only got one to work , pins 4,5 . My info in coding is basic . I really appreciate your help . Thanks in advance. I think the problem is ...
2
votes
0answers
118 views

Reading JSON from Arduino over serial in python and writing to a JSON file on computer

I'm fairly new to Arduino so I used a sample code before integrating this into my main code. I'm printing my value in a JSON format over serial. My Arduino outputs this and the python receives this ...
2
votes
2answers
86 views

Running an Arduino without the computer

I am having trouble getting my Arduino uno to run my code when I disconnect it from my computer. I have a 9V battery to power it and it is turning on, however, it is not doing anything at all. What ...
2
votes
0answers
53 views

How can you turn off the LEDs on a SparkFun AS7265x Spectral Triad (Spectroscopy Sensor)?

I'm a newbie to program an Arduino but I need to turn off a LED from a external Spectroscopy Sensor. This is the Sensor: There are three LEDs on this sensor and they're turned on automatically when ...
2
votes
0answers
23 views

Brushless motor vibration/jitter/noise - arduino uno

I am currently using these motors and driving them off these drivers and an arduino uno, and alternatively trying to make them turn using the setup in step 6 (both with l298n and without) in this ...
2
votes
0answers
60 views

Please help with my tinkercad code. Debouncing stopwatch with lcd

#include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); int ssPin = 8; int resetPin = 9; bool cntrRunning = false; int sec = 0; int min = 0; double currentMillis; void setup() { ...
2
votes
0answers
29 views

loop once per startup for stepper motor

First of all sorry that i dont know much about programming, most of my codes are just copy paste. And of course, i know this question has been asked before, but while using this code: #include <...
2
votes
1answer
47 views

RS-485 Serial communication problem with arduino

I use 485 modules to transmit data serially from one arduino uno to another uno. If I connect the 2 arduino boards directly without using the rs485 module, the data is sent and received without a ...
2
votes
1answer
48 views

Set control register to low in ds3231 rtc

I have been using ds3231 rtc module for keep tracking and make alarm along with backup battery. when I used it for first time it worked fine. but now it doesn't keep track my time when the power lose ...
2
votes
0answers
32 views

Wire Halloween Wolf to howl with Arduino motion detector

I bought one of those Home Depot halloween wolves that howl. You can control it with a push-button to be on, or off. It has its own power source via 3 AA batteries that power the howl sound, red eyes ...
2
votes
0answers
32 views

FIFO overflow with DMP on MPU6050 and OLED

I am using the DMP example code to get yaw pitch roll values, mainly I am interested in pitch value for building a self balancing robot. I am trying to display the pitch values on an OLED screen but I ...
2
votes
0answers
46 views

Arduino Voltage Reading Problem

I was trying made a gear indicator for my bike, with manually sensing the gear shift. But failed, cause my bike has no separate "neutral" wire, instead there is gear sensor in-built...!! ...
2
votes
1answer
26 views

How can i make my MLX90614ESF scan temperature after the MFRC522 scans the RFID tag?

//THIS IS THE RFID CODE #include <SPI.h> #include <MFRC522.h> #define RST_PIN 9 // Configurable, see typical pin layout above #define SS_PIN 10 // ...
2
votes
1answer
94 views

Interrupts Within Critical Statements

I've redone a previous Arduino sketch I posted in which I was having trouble capturing encoder counts within critical statements, having no luck properly attaching and detaching interrupts. I've ...

1
2 3 4 5
30