Questions tagged [arduino-uno]
The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.
1,381
questions with no upvoted or accepted answers
5
votes
0
answers
816
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
2
answers
271
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 ...
3
votes
0
answers
126
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 ...
3
votes
0
answers
99
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 ...
3
votes
0
answers
208
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 ...
3
votes
0
answers
219
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
0
answers
1k
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
0
answers
756
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 ...
3
votes
0
answers
258
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
0
answers
341
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
0
answers
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
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 ...
3
votes
0
answers
599
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
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')...
3
votes
0
answers
238
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
0
answers
372
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
0
answers
330
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
0
answers
608
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
0
answers
667
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
0
answers
60
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
0
answers
638
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
0
answers
463
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
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.
...
3
votes
0
answers
615
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
0
answers
310
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
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 ...
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 ...
3
votes
0
answers
192
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
0
answers
183
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
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 ...
3
votes
0
answers
787
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
0
answers
389
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
0
answers
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
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 ...
3
votes
0
answers
832
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
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 ...
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 ...
2
votes
0
answers
57
views
Turn on a relay for a specified amount of time after the press of a momentary switch
This is my first time programming an Arduino. I have a small brushed DC motor that I want to control using a 5V relay, which in turn is connected and controlled by the Arduino.
What I would like to do ...
2
votes
0
answers
45
views
Arduino OLED ssd1315 graphic print questions
I’ve tried to create a system that the rotary sensor as an input and use a 0.96 inch Oled as an output (first pic), try to show the voltage measurements and performance test using a small bar graphic.
...
2
votes
0
answers
160
views
HTTPClient works with localhost but not server
I started to work with HTTPClient and the WiFly library to connect to an SSID and then send POST data to a server. When I was sending the data to my localhost, it was working on localhost, but when ...
2
votes
0
answers
55
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
0
answers
69
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
0
answers
43
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
0
answers
148
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
0
answers
64
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
0
answers
47
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
0
answers
31
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
0
answers
35
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 ...
2
votes
0
answers
171
views
Help needed with driving multiple stepper motors on arduino UNO
I am brand new to Arduino but have good experience with Raspberry Pi's and Microchips.
My problem is that I am having trouble driving many stepper motors at once. I am using the AccelStepper library(...
2
votes
0
answers
67
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 ...