Questions tagged [arduino-uno]
The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.
1,347
questions with no upvoted or accepted answers
5
votes
0
answers
966
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
0
answers
238
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
122
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
292
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
956
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
294
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
372
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
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 ...
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
643
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
1
answer
1k
views
Saving EEPROM after programming on Arduino uno
I am using an Arduino Uno, and I use the EEPROM to store some presets. It works fine. But, when I reprogram the Arduino, the EEPROM gets wiped out. Is there a way to prevent this, and have the EEPROM ...
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
239
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
407
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 ...
3
votes
0
answers
392
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
333
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
627
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
681
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
640
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
472
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
621
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
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
194
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
184
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
790
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
400
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
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/...
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
866
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
42
views
Curious Collision between OneWire and RadioHead
The code below runs on an Arduino Pro Mini (8MHz 328p) sending temperature readings using an inexpensive ASK transmitter. I use OneWire to read the DS18B20s, and RadioHead to manage the radio.
The ...
2
votes
0
answers
140
views
Arduino filling serial buffer with nulls
I just wrote some code that just sends a string from Arduino to Processing.
Processing prints the string and displays the number of characters in the buffer...
After uploading the sketch to the ...
2
votes
0
answers
228
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
144
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
330
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
58
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!...
2
votes
0
answers
97
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
129
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
47
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
200
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
79
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
34
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
38
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 ...