Questions tagged [arduino-uno]

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

1,401 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
616 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
60 views

Servo wont work with LED code!

I'm basically trying to combine my servo code and my LED code but whenever I add my servo code the LED refuses to turn on at all. I am super new to arduino sorry if this doesn't make any sense! Servo ...
3
votes
0answers
150 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
775 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
215 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
267 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)...
3
votes
0answers
1k 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
0answers
1k views

Using the TimedAction library

I need to make use of the TimedAction library for a project. The Arduino website gave an example of how to use this library which you can see here: #include <TimedAction.h> //this initializes ...
3
votes
1answer
571 views

Alternative to UART/I2C LCD displays?

I'm building a MIDI synthesizer on Arduino Uno, and am considering user interface options. I see on Adafruit and Sparkfun there are 16x2 LCD panels available that interface via I2C serial or by UART,...
3
votes
0answers
541 views

Is it possible to put ATtiny85 to sleep while using TinywireS?

I have an arduino uno as the master I2C device talking to an ATtiny85 as the slave. What I want to do is have the Attiny85 receive a message from the UNO to tell it to power off which will then ...
3
votes
0answers
4k views

Run Servo when detect object on OpenCV Python

I want to connect OpenCV (Python) with arduino Uno when it detects a tennis ball. OpenCV code: import numpy as np import cv2 import serial face_cascade = cv2.CascadeClassifier('tennisballdetect.xml')...
3
votes
1answer
1k views

How to send HTTP request to specific port using Ciao?

I currently have a working REST client on my arduino, but the requests always go to port 80, how do I make it send the request to a specific port? This is my current code: /* File: RestClient.ino ...
3
votes
0answers
233 views

Arduino UNO WiFi RestServer returning "not found"

I'm trying to run RestServer on my Arduino UNO WiFi, and I'm currently using the tutorial from Arduino: http://www.arduino.org/learning/tutorials/boards-tutorials/restserver-and-restclient Everything ...
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
344 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
328 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
589 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
655 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
55 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
637 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
453 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
606 views

ESP8266 and Arduino bidirectional streaming from and to a website

I was looking for some easy tutorial on bidirectional communication via ESP8266 connected to Arduino UNO. I want to send and receive strings from and to JQuery based website. However, I couldn't find ...
3
votes
0answers
286 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
1k views

Using Johnny-five API with RFID Controller Shield

Is it possible to use the Adafruit PN532 NFC/RFID Controller Shield with the Johnny Five API? I've searched the depths of google and I'm unable to find anything so far. If it is possible, how can I go ...
3
votes
0answers
6k views

Sending AT commands to a gprs shield using serial port

I have a GPRS shield connected to an arduino uno board, i want to use the shield to send sms and do phone calls, from a C# Wpf application, the arduino is connected to the application using the serial ...
3
votes
0answers
182 views

Uno Ethernet shield and TMP36 reading

I am just getting started with my Uno via the Vilros Ultimate Starter Kit. I've done all of the sample circuits and played around with a few other things. Today I connected the Ethernet shield with ...
3
votes
0answers
182 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
783 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
380 views

How can I open simultaneously 2 client socket connections with GSM shield?

How can I open simultaneously two socket connections with a GSM shield? It seems that when I try to open the second connection, it is not opened, and additionally the first connection is closed. ...
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
0answers
785 views

Negative value conversion for modbus slave

I have an analog sensor which reads values 0-5v, -75 degrees to 75 degrees. Now I have converted to +75 degrees and -75 degrees format depend on the voltage. From 2.5v to 5v data is read properly (i....
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
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
36 views

Simulink resets arduino

I am working on servo motors control through serial communication protocol, I am sending data from Simulink to arduino and vice versa, The problem I am getting is that once I open Simulink Servo ...
2
votes
0answers
38 views

ESP8266 01 doesn't react after baud rate change

Hello guys I have my ESP8266 connected to my Arduino. Then I typed in AT in the serial monitor. It confirmed this command with OK. After that I typed in AT+UART=9600, 8, 1, 0, 0 which gave me the ...
2
votes
0answers
35 views

Infrared Reciver doesn't work properly after the first signal

i'm trying to play a passive buzzer with an IR reciver My Code #include <IRremote.h> IRrecv irrecv(10); decode_results results; void setup() { // put your setup code here, to run once: ...
2
votes
0answers
64 views

External Interrupt and Input Capture pin | Arduino MEGA

I have a code for finding the rpm of one system calling here as engine , the engine have a hall sensor output and I have tried the following Code #define SERVO_MIN 2000 #define SERVO_MAX 4000 struct ...
2
votes
0answers
43 views

Bug in code of Self-Balancing Bot

1)The values drifts to the extreme every time I run this , I guess this is due to my mistake in the calculation of angles or in the filter that I have applied which I have been trying to but can't ...
2
votes
0answers
84 views

CT Sensors with Arduino and ESP32

there. I am following this tutorial to build an energy monitor system. The link is https://learn.openenergymonitor.org/electricity-monitoring/ct-sensors/interface-with-arduino Everything works fine ...
2
votes
0answers
42 views

PZEM-004T can't read current

I'm trying to measure the current, voltage, and power of AC load using Peacefair PZEM-004Tv3.0 module. For the serial communication of this module, I'm using SoftwareSerial Pins 2 and 3 on Arduino Uno....
2
votes
0answers
40 views

Connecting Arduino Uno's TX pin directly to Esp8266 esp-01

I am new to esp8266 esp-01 and trying to figure out how to use it, in many tutorials on internet, I have seen people have connected Arduino uno's TX pin directly to esp8266 esp-01 without any voltage ...
2
votes
0answers
37 views

Serial communication detect

guys. I am workin on a project. I have two channel for Serial RS232 communication. Main and Stand-By channel. If Main channel has some problem and, cannot communicate for 15 seconds then I want to ...
2
votes
0answers
40 views

Program an lcd display with 12 pins

I have a screen just like this (is the datasheet). My question is, Can I use it to an Arduino board?
2
votes
0answers
46 views

receives 0 0 instead of "hello"

I receive the following: 09:27:10.618 -> 0 0 09:27:12.589 -> 0 0 09:27:14.616 -> 0 0 09:27:16.622 -> 0 0 09:27:18.576 -> 0 0 09:27:20.577 -> 0 0 09:27:22.583 -> 0 0 09:27:...
2
votes
0answers
29 views

About Corrupted LM35 IC and Arduino port problem

I have one Arduino Uno which was working fine by below circuit(link): But when I have connected the new bought the LM35 Ic by the below connection: The Arduino UNO don't be recognized by the my ...
2
votes
0answers
58 views

Arduino Uno R3 stops executing code, when trying to instantiate multiple HX711 objects

This is my first time asking something on this platform, so if form or anything else is off, please feel free to point out things about how I could refine it and ask more concisely in the future. I'm ...
2
votes
0answers
28 views

Reading and writing to GD25B32CPIG flash memory

I recently removed a GD25B32CPIG flash memory chip from a commercial coin-operated arcade game. Apparently it has all the game's sounds stored directly on the chip. I decided to see if I can learn to ...

1
2 3 4 5
29