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
2
votes
0answers
37 views

Arduino Uno with data logging shield has a problem switching power sources

I have the basic Adafruit "Light & Temperature data logger Tutorial kit" made, and it works well when connected to a PC, but when I unplug the PC USB connection and hook it up to another power ...
2
votes
0answers
2k views

Reading +IPD response from serial.read() using Arduino UNO and ESP8266

I have a python server running on my PC and I am using an Arduino Uno (wifi enabled by a ESP8266 chip) as the client. I can make the the server and client communicate using AT commands as shown below: ...
2
votes
0answers
50 views

Can only upload certain programs to standalone Arduino

I can't upload a program that uses digitalRead, analogRead, and Serial.print on my standalone Arduino, because I get this error: avrdude: stk500_recv(): programmer is not responding avrdude: ...
2
votes
0answers
77 views

SD card doesn't work properly

I have this SD-card module. I have formatted the SD with this tool. My problem is that the Arduino Uno can't initialize the SD. I tried with this script: // include the SD library: #include <SPI.h&...
2
votes
0answers
1k views

NFC PN532 SPI - Error: Timeout when waiting for ACK

I've been struggling to get the PN532 module working over SPI with an Arduino Uno. I have the wires connected as follows: SCK -> 13 MISO -> 12 MOSI -> 11 SS -> 10 VCC -> 5V ...
2
votes
0answers
2k views

Send Bluetooth Data to Android App (HC 05)

I'm struggling to send data strictly from my arduino UNO to an android app using bluetooth module HC 05. I am able to send/receive using 1) the serial monitor in arduino IDE and 2) Bluetooth Chat ...
2
votes
0answers
111 views

What might be the errors of my codes?

I tried to imitate lagsilva's clock projects using Arduino Uno and made the circuitry, then I've tried to upload the main source code of the author but noticed that it didn't work, so I've edited the ...
2
votes
0answers
862 views

NRF24l01+ works only when touching its antenna

I have two simple NRF24l01+ (with range of 200m) and two NRF24l01+ with range of 1km.and two socket adapter. or what I have and I have two good library with names RF24 and RF24-master . problem ...
2
votes
0answers
508 views

Soil moisture sensor problem

I'm having a problem trying to run a bunch of code, using an "if" state which uses a variable which should get a value from a soil moisture sensor. I'm using the sensor digitally, so it should just ...
2
votes
0answers
904 views

Serial Port Issues Elegoo Mac OX High Sierra

Edit: Unfortunately the question that has been linked to my question does not answer my question. I have followed its instructions but it is a slightly different issue. Any help on my question would ...
2
votes
0answers
221 views

Stepper motor just oscillates with arduino and L293D

I am trying to control my stepper motor using arduino duemilanove, with L293D as H-bridge. I use a NEMA 17, stepper motor 42BYGH-036B I have used both the default example program from arduino IDE, and ...
2
votes
0answers
203 views

Sparkfun Spectrum Analyzer: Problems with frequency bands

I bought around 2 years ago the Spectrum Analyzer Shield from Sparkfun, but I never had the time to do something with it. Recently I found the time to start a project to build a graphical equalizer. ...
2
votes
0answers
569 views

Error while creating file on sd card

I want to create a file and read it form sd card by arduino. I have used sd card module. I have used this following code. In serial monitor it says "SD card is ready to use." But it can't read or ...
2
votes
0answers
40 views

How can i tell the power status of a GSM900

What I am after is a reliable way of telling whether the GSM900 shield is powered up or not. "Obviously" the shield power is the constant green light. But i'm talking about the red light on the ...
2
votes
0answers
300 views

Arduino Fails to Read Thermocouple on External Power

I'm having what I believe to be a power issue with an Arduino project. I've tried 3 different power supplies (all separately): My computer via USB B A 5V USB "outlet" via USB B A 5V USB "outlet", ...
2
votes
0answers
461 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 ...
2
votes
0answers
432 views

Problem with Arduino line follower

I am making a line follower robot. My code is like this #define motI1 10 #define motI2 6 #define motI3 5 #define motI4 3 int left=9; // left sensor int right=1; // right sensor void setup() { ...
2
votes
0answers
541 views

Difficulty connecting arduino ethernet with PC using a switch

Facing difficulty connecting arduino ethernet(w5100) with PC using a switch (Dlink). When both are connected directly(p2p) using ethernet cable, arduino device can be pinged. However, when connected ...
2
votes
0answers
421 views

Arduino interrupt sleep mode/reset problem

I want to write a simple program that waits for an X amount of time (hours) then activates my components (LED and release mechanism) when time has elapsed. I have it so that once I press a button ...
2
votes
0answers
205 views

Arduino uno R3 Not detected in windows 7 64

i have 3 arduino uno r3 out of which 1 is not detected in any of my Pc's, i was working and must have accidentally short circuited some how , the power led and 5v regulator on uno is burnt out but,i ...
2
votes
0answers
228 views

How can I configure the RFM95 LoRa module to emit packets at only 'one' particular frequency?

I have created a LoRa gateway using a Pi3; I have used a RFM95 module for it. So, it is a single channel gateway, and I'm operating it at 868.1Mhz. But my LoRa node(also a RFM95, on an Arduino Uno), ...
2
votes
0answers
288 views

Connecting an Ultrasonic Sensor to Arduino (4-Wire)

I have an ultrasonic sensor that came with a couple of images about the pin-out and wiring diagram. I am used to the popular ultrasonic sensors that have lots of documentation about how to connect to ...
2
votes
0answers
273 views

How can I connect a force sensitive resistor to a vibration motor via Arduino?

Please forgive me if my knowledge is limited--still very new to this! I'm currently working on my senior thesis for my Industrial Design program and I'm struggling to figure out the components and ...
2
votes
0answers
79 views

Not able to read the product ID from ADIS16260 Gyroscope Sensor

I have interfaced a ADIS1620 sensor to the Arduino UNO using SPI.I am having a bit of trouble here to read the product ID information from the ADIS1620.According to the datasheet here, on page 11, it ...
2
votes
0answers
38 views

Programmatically activate a specific Arduino

If I have multiple Arduinos plugged into the same computer, is there a way that I can control them both with the same script while also being able to select which one I want to control ...
2
votes
0answers
906 views

Servo motor and the servotimer2

I posted this a few days ago Servomotor and music shield and now I moving my servo motor and my musicshield (seeduino musicshield v2.0) together with and Arduino uno, in my other post they told me to ...
2
votes
0answers
1k views

Arduino Uno doesn't work as Manchester code receiver

I'm sending some data from ATTINY85 to Arduino UNO using 433Mhz modules. Coding is Manchester using Manchester.h library from here. Transmitting data works perfectly, 433 receiver gets data alright. ...
2
votes
0answers
106 views

Problem with coding

Recently I got this code from a friend which is unfortunately unavailable right now. When button is pressed two halfbridges are supposed to change directions with increasing frequency of direction ...
2
votes
0answers
412 views

Can't send AT comands to ESP8266 on any baud rate

I have problem with baud rate. I have changed baud rate of esp from 115200 to 9600 with AT command AT+CIOBAUD. And everything worked fine until I wanted to change it back and executed command AT+...
2
votes
0answers
228 views

ESP8266 sometimes stuck on AT+CIPSEND with “busy s…”

I'm using an ESP8266-01S Wi-Fi module on an Arduino UNO. When I use AT+CIPSEND=4 and then type test it successfully sends that message to my laptop. However, sometimes the module returns a busy s... ...
2
votes
0answers
3k views

Arduino RFID Mifare Classic dump info

I have my Arduino uno setup with RC522 reader. I am able to dump the data that is held on my test card supplied with the reader but I wish to read the data blocks held within another card I have. The ...
2
votes
0answers
182 views

Two TH02 Sensors to Grove Base Shield V2

We are trying to connect two TH02 (Grove - Temperature&Humidity Sensor (High-Accuracy & Mini)) sensors to Grove Base Shield V2 that is connected to Arduino Wifi Uno. We connected the each ...
2
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')...
2
votes
0answers
130 views

How can I use delimiter/split serial input in a loop function?

How can I use delimiter/split serial input in a loop function? I want to use each word from the input and check a database, to check availability. #include SoftwareSerial.h> #define ...
2
votes
0answers
868 views

'SoftwareSerial' does not name a type in Adafruit Feather M0 Bluefruit LE

I am trying to create a software serial connection between Arduino Uno & Adafruit Feather M0 Bluefruit LE. I am getting the following error in the M0 sketch: Arduino: 1.8.1 (Windows 10), Board: ...
2
votes
0answers
606 views

AES 128 CBC mode Help

Firstly i printed input[16] then encrypted it and printed the cipher and finally decrypted and printed input[16] but why my result is not matching after decryption ??????? I tried with different ...
2
votes
0answers
3k views

Turn on one by one the LEDs of a Neopixel rgb LEDs strip for each detection at the same distance from an Ultrasonic Distance Sensor (HC-SR04)

For this project I seek to create a counter of water glasses we drank throughout the day. I use for this an Arduino UNO card, a Piezo buzzer and a Neopixel rgb LEDs strip (5 LEDs for this test). ...
2
votes
0answers
434 views

SPI or A0/A1: what is the best solution for pin allocation on an Arduino shield?

When you design an Arduino shield you want to make it compatible with a maximum number of shields that may be stacked with it on an Arduino (UNO). Considering the following two possible tradeoffs, ...
2
votes
0answers
231 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 ...
2
votes
0answers
56 views

Serial Write fails to send when Motors moving

I have an unusual bug with the code I have written for my rover V2 robot. I have a raspberry pi running some computer vision code written in opencv tracking an object doing the heavy processing. ...
2
votes
0answers
270 views

Dual OLED displays showing the same image via SPI?

Is it possible to connect two oled displays via SPI to my Uno and send a single image to both displays, with each refreshing at an identical rate? I have gotten a single oled display (SSD1306) to ...
2
votes
0answers
65 views

Issue regarding executing sketch code when not connected to USB

`I have an Arduino Uno A000066 Board R3 that has an Arduino A000079 Motor Shield Rev3 attached to it. Also I have connected two DC Servo Motors to the Motor Shield and wrote the following sequence: ...
2
votes
0answers
569 views

Xbee S2 API Data Packets dropping out

I made a setup which consists of 3 Zigbee's, 2 routers(Zigbee S2C's) and 1 coordinator(Zigbee S2). The routers are each connected to arduino nano which collects data from 2 FSR's and an IMU(frame type:...
2
votes
0answers
296 views

Xbee can send from arduino to XCTU, but not the other way around

I have two arduinos that I would like to use to communicate with two xbees. I programmed both xbees with the xbee explorer breakout boards in XCTU, and got them to communicate on XCTU. They are XB24Cs,...
2
votes
0answers
279 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 ...
2
votes
0answers
433 views

I can't receive data from Arduino through Bluetooth

I am developing an app that controls an Arduino robot. For that I need to communicate through Bluetooth. That means sending and receiving data. Why receiving? Because I also have sensors on the robot. ...
2
votes
0answers
105 views

Upload custom trinket firmware

I'd like to disable the trinket 10-second bootloader when powered up, so it will just begin running the program. I would still like to be able to press the reset button to re-program it. I found an ...
2
votes
0answers
84 views

Communication between 2 nRF24l01s and 2 Arduino unos

I am having a logical error that I can not figure out with the communication. I am communicating fine with the two boards such that I can send and receive data. Code to my Transmitter and Receiver. ...
2
votes
0answers
3k views

How to write an integer value to an RFID tag?

I'm working on a project in which two Arduinos are to be used, each Arduino is connected to an RFID reader. First RFID reader should write an integer value to the tag detected whereas the second RFID ...
2
votes
0answers
619 views

Yet another “Mac cannot find USB serial port” post

I have read about every post about people having issues with their Arduinos on Macs. I have a 100% authentic Arduino UNO, that I cannot by any circumstance manage to connect to my late 2009 iMac with ...

1
2
3 4 5
29