Questions tagged [arduino-uno]

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

1,310 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
1k 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 ...
DYN's user avatar
  • 61
5 votes
0 answers
337 views

SPI between Master arduino and Slave arduino

How can I send the string from Slave SPI to Master SPI? I want to write code in Bare Metal. The problem which I am facing is I can't make out what will be my blocking function in Master SPI code when ...
Kunal's user avatar
  • 81
5 votes
0 answers
2k 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 ...
Deadpool's user avatar
5 votes
0 answers
408 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 ...
MAWood's user avatar
  • 51
5 votes
1 answer
18k views

How do I use two ultrasonic sensors to control a 5 V motor?

I've hooked up two ultrasonic sensors to my breadboard and I also got a 5 V motor installed. I also got the diode installed and the usual set up. I can easily control the motor with one sensor. I want ...
Master Ivin ChickenSheep's user avatar
4 votes
0 answers
269 views

Problem with reading data from ELM327

The idea was to create a bluetooth device on the arduino to read data from the machine (ELM327 v2.1) using the HC-05 bluetooth module. In this code the bluetooth module is switched to MASTER mode and ...
gfd2's user avatar
  • 141
4 votes
0 answers
341 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 ...
Doug Null's user avatar
  • 201
4 votes
0 answers
697 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-...
RajneeshSinha's user avatar
4 votes
0 answers
645 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) ...
soulkingbrook's user avatar
3 votes
0 answers
178 views

Sim800l doesn't respond to AT commands

My SIM800L doesn't respond to AT commands. The serial monitor is simply blank. And the led blinks every 3 seconds which means it is connected to a network I power it through an LM2596 buck down ...
Ângela Sulissa's user avatar
3 votes
0 answers
452 views

PCA9685 - Hardware problem with diode?

I'm working on a project, where I need to run several high-torque servos. For that I bought come of these PCA9685 boards. I hooked everything up with my arduino and connected an external 5V - max 3A ...
Ai4l2s's user avatar
  • 161
3 votes
0 answers
170 views

220v lightbulb gradual dimmer

I am trying to turn my incandescent bulb gradually,say its brightness should go from zero to 100% in 10 mins. In doing so I found the following code and it works well but it's not as gradual as I ...
mahyar's user avatar
  • 31
3 votes
0 answers
97 views

My port is grayed out?

Hello I have a question on why my port is grayed out when I go to upload? I’ve watched so many YouTube videos on what’s the problem and have been trying to do everything but just nothing seems to work!...
Tommy Serluca's user avatar
3 votes
0 answers
183 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 ...
Da Ro's user avatar
  • 41
3 votes
1 answer
315 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 ...
Soul's user avatar
  • 37
3 votes
0 answers
558 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> #...
InputBlackBoxOutput's user avatar
3 votes
0 answers
1k views

how to get live view of esp32cam at remote sever using ssh tunneling?

I have found many projects involving esp32cam, but in all projects video is being seen on local server only.For its of no use.As for a home security project user can view the video at remote location ...
user65895's user avatar
3 votes
0 answers
365 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&...
Vikas Pathak's user avatar
3 votes
0 answers
419 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)...
Reshef's user avatar
  • 31
3 votes
0 answers
2k 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 ...
Ross Hanna's user avatar
3 votes
0 answers
2k 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 ...
walkman118's user avatar
3 votes
0 answers
691 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 ...
SpeedOfSpin's user avatar
3 votes
0 answers
481 views

SPI communication between two Ethernet Shields (W5100)

I am a newbie to the world of IoT, I want to ask... Is it possible to connect two Ethernet shields with SPI? And if yes, how can I codes them? I have reference from http://www.gammon.com.au/spi and ...
Han's user avatar
  • 31
3 votes
0 answers
5k 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')...
sayem48's user avatar
  • 31
3 votes
0 answers
244 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 ...
Mason's user avatar
  • 227
3 votes
0 answers
466 views

How do I go from modules to PCB?

For my engineering class, I am designing a digital scale. I have already made a working proof-of-concept by using jumper wires to connect several arduino modules to an Arduino UNO. I want to make a ...
MN Chino's user avatar
3 votes
0 answers
705 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 --- ...
hiepph's user avatar
  • 31
3 votes
0 answers
504 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 ...
haxscramper's user avatar
3 votes
0 answers
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. ...
Pranay's user avatar
  • 39
3 votes
0 answers
634 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 ...
ErnestW's user avatar
  • 109
3 votes
0 answers
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 ...
Chris Till's user avatar
3 votes
0 answers
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 ...
SamTh3D3v's user avatar
  • 131
3 votes
0 answers
199 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 ...
nlawalker's user avatar
  • 131
3 votes
0 answers
189 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 ...
Igor Unzer's user avatar
3 votes
0 answers
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 ...
Mayur Agarwal's user avatar
3 votes
0 answers
792 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/...
Saqib Ali's user avatar
3 votes
0 answers
427 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. ...
Boyan's user avatar
  • 53
3 votes
0 answers
2k 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/...
explorer's user avatar
  • 379
3 votes
0 answers
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 ...
adalrsjr1's user avatar
3 votes
0 answers
987 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....
AMPS's user avatar
  • 467
3 votes
1 answer
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 ...
Mike's user avatar
  • 31
3 votes
1 answer
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 ...
Lorin's user avatar
  • 131
2 votes
0 answers
78 views

I have a cash counter with RS232 in the back of it, I want to read the data that supposed displayed on the projector

I have cash counter with RS232 in the back of it. I want to read the data that supposed displayed on the projector with RS232 to TTL convertor and arduino. Here is all my setup Now I Connect the ...
Mohammed A. AL-Dainee's user avatar
2 votes
0 answers
113 views

What wrong with my Arduino code?

I have a rotary encoder (ppr = 600) and I want to write code to achieve the implementation to read current angle and direction. Here is my code. I think it is correct but it donot have any output on ...
Jie's user avatar
  • 29
2 votes
0 answers
66 views

Arduino code intermittent

Have an alarm for "tea time", "lunch time" and "tea time". Works well at times but occasionally it gets stuck on the alarm not resetting, other times it does not trigger ...
Nic Kemp's user avatar
2 votes
0 answers
86 views

How to communicate pt2262 and pt2272 modul

There is a library called Virtual wire. I used it, but without success. I couldn't quite understand its pins. Can you explain? How can I use it?First picture receiver(pc2272) second picture tranmitter(...
koraysonal's user avatar
2 votes
0 answers
149 views

Controlling Stepper motor using RC receiver

I am using Arduino UNO with a DM556 Micro step driver to control the Stepper motor. PUL+ --> pin 3 DIR+ --> pin 5 RC receiver --> pin 2 Using CH2 of receiver With out the RC receiver (R9SX) ...
MJay's user avatar
  • 21
2 votes
0 answers
421 views

Using ModbusRTU.h, what would cause holding registers all read 0?

I'm working with a 32-Input Modbus RTU module using RS485. I'm trying to read/poll the inputs to check for ON(1) states. I have tested this module with Arduino UNO, Radzio! Modbus Master simulator, ...
Ashton's user avatar
  • 159
2 votes
0 answers
296 views

Sending an image captured using ov7670 using arduino and serially transmit it to python

I am working on using an ov7670 camera module with arduino uno,capturing the image frame wise and transmitting the image serially line by line of each frame to python for image processing, however i ...
Gunjan's user avatar
  • 29
2 votes
0 answers
112 views

TFT Screen with Arduino UNO does not display as expected

I have a 3.5" TFT LCD communicating in parallel connected to Arduino UNO. I expect it draws a white circle on a black background but all it does is to show a white screen. How to fix this? main.c ...
ar2015's user avatar
  • 173

1
2 3 4 5
27