Questions tagged [arduino-uno]

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

1,432 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11
votes
1answer
2k views

Update Dynamically Tkinter Widget Scale from Arduino Ports using python and firmata

I'm having trouble trying to get Arduino digital ports values and set these values into a Python Tkinter Widget Scale. I'm using Python and Arduino with Firmata. I'm able to access my arduino board ...
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
1answer
40 views

How to get the sizeof array of structs

I'm trying to make a use of a relay module, I want a clear way to configure and control my relay module I've defined the struct and filled it with some info about id, pin number, title, and relay ...
3
votes
0answers
54 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
116 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
342 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 ...
3
votes
0answers
638 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
287 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
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
281 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
323 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
521 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
632 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
53 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
627 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
445 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
240 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
179 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
778 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
2k 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
1answer
28 views

Arduino Nano randomly resetting

I am currently struggling with an intermittent problem with an Arduino project. Background I am using a LabVIEW program to control a few pieces of hardware. One of them is a NEMA 17 stepper motor that ...
2
votes
0answers
39 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
42 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
40 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
37 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
39 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
0answers
35 views

File created, but not logging data

I am starting using Arduino and have very little to none experience coding. However, I have managed to code and understand how it works. The problem that I have is that I am unable to log (record) ...
2
votes
0answers
46 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
22 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
3answers
84 views

Measuring solar power with an Arduino

I'm pulling together a project for my class where students build a solar panel structure/frame that moves with the sun to capture more power than if the panel was just flat on the roof. I can handle ...
2
votes
0answers
52 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
27 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
34 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
30 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
31 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
1answer
22 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
90 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 ...
2
votes
0answers
83 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 ...
2
votes
0answers
137 views

1.7 MHz generator for a water atomizer

I'm creating a controller for a small greenhouse, I have a DHT22 for measuring and two relay module that controls heating and cooling systems, and I will use a piezo to produce humidity when it goes ...
2
votes
1answer
56 views

How to implement a tilt compensated compass?

So i was trying to implement a tilt compensated compass, using HMC5883L and MPU6050. The problem i am facing is, there are 2 equations for tilt compensation Tilt Compensated X: X,Y,Z are compass ...
2
votes
1answer
56 views

What is “tws_delay” and how can I use it? (with an ATTiny85)

EDIT: Alright I'm stupid, I had the 2012 library installed somehow, maybe when I downloaded it indirectly from another old tutorial site. Thanks a ton to Peter Freerick for pointing that out! It ...
2
votes
2answers
1k 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 ...
2
votes
0answers
106 views

qMenuSystem using DigoleSerial library doesn’t work on my I2C Monochrome OLED

Just like the title says I’m trying to make qMenuSystem to work with my oled display. Here is what I know so far about my display : - It's a Monochrome OLED 128x64 (Blue) Display - It's connecting ...
2
votes
2answers
2k views

Arduino UNO and RS485 Communication Problem

I am learning Arduino, a beginner in programming. I want to use Arduino UNO to connect a wind direction sensor RS485. The problem is the output in the serial monitor, the return data from the wind ...
2
votes
0answers
188 views

STM32 Nucleo-L432KC can't send data to Arduino Uno via nRF24L01 module

Hello everyone. First of all, I know you're going to tell me to send my question on the stm32duino forum. But I tried to enter the stm32duino forum and I didn't succeed (I think their forum is closed)...

1
2 3 4 5
29