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
1answer
588 views

ADS1262 and 2.2 SPI TFT (Two SPI Slave) with Arduino

I am interfacing two SPI slave module i.e. ADS1262 and 2.2 SPI TFT with the Arduino Ethernet board. When I test each device on its own it works. Initially, I interfaced the TFT to the Arduino and it ...
2
votes
0answers
532 views

Arduino + HM-10/11 + ANCS to get notifications for iPhone

I am wondering if there are any current solution to receive notifications on iPhone through ANCS and HM-10/11 Bluetooth LE module. An Arduino library? https://stackoverflow.com/questions/28488529/is-...
2
votes
0answers
68 views

Issue with Visual Studio not seeing arduino boards

Below is a screenshot. I used Visual Studio with the Visual Micro [arduino extension] a few months back. I switched computers and installed Visual Studio on the new one but for some reason after ...
2
votes
0answers
361 views

Having trouble connect nrf24l01 to arduino micro and arduino uno!

I'm trying to connect a nRF24L01 with my Arduino Micro and Arduino Uno. The Arduino Uno works fine, but it doesn't talk with the Arduino Micro. CE is on pin 7 and CSN on pin 8. I posted the code down ...
2
votes
0answers
534 views

Slow response from ENC28J60

I am making a circuit which turns a LED on and off through internet. I am connecting an Arduino to a LED and to an Ethernet controller(ENC28J60), but when I make a GET request to the device, it takes ...
2
votes
0answers
72 views

Maplin Bluetooth Shield for Arduino - BAUD rate

I am currently using a Bluetooth shield which i bought from maplin, see: http://www.maplin.co.uk/p/bluetooth-shield-for-arduino-n97dg. I have got it to work perfectly on the default 38400 BAUD , but ...
2
votes
0answers
250 views

Adding a kill switch for servos with states - blink without delay code

I have many LEDs and two servos connected to one Arduino Uno, and the servos are programmed to move randomly indefinitely. However, I would like to install a kill switch for the servos by reading a ...
2
votes
0answers
244 views

I2C between Yun Shield (Dragino) and UNO R3 problem

I am having problems with I2C communications between my Dragino Yun and an Arduino UNO R3. I can have the Dragino request data (using Wire.onRequest on UNO) from the UNO and it works great, however, ...
2
votes
0answers
575 views

Transforming from analog output to speed and acceleration with gy-61

Maybe it's a simple question but I'm unable to get what I need. My task is this: Get the acceleration and speed of each axis of the accelerometer. I thought of something like: const int VCCPin = ...
2
votes
0answers
306 views

DHT22: Library and Data accuracy

I am using DHT22 temperature/humidity sensor and I noticed that there exist so many libraries. I wonder which one is the most accurate? It is giving me readings that does not seem to be logic. High ...
2
votes
0answers
50 views

Arduino connection confirmation

I am using Arduino Uno. I want to control my room lamp both manually and over the network, so when I switch off my lamp manually, how do I get acknowledgement over the network that lamp is off ?
2
votes
0answers
53 views

Arduino clone changing its serial port on slight physical displacement, even during an ongoing serial communication

I'm using an Arduino clone for serial communication. However, as soon as I even touch the board, it resets, and the serial communication stops. When I view the serial port using the 'Tools' menu of ...
2
votes
0answers
190 views

trying to discover other nrf24 modules

Today I started messing with the idea of getting an arduino uno to autoconnect with another arduino uno using the nrf24l01 breakouts. I dont have a particular goal in mind per se but was just wanting ...
2
votes
0answers
713 views

Serial clock for SPI

I'm trying to configure my ADC(LM98725) registers through Arduino UNO via SPI but I'm facing a small problem, it would be great if somebody help me out. I have to configure my 16 bit ADC registers ...
2
votes
0answers
67 views

initial power output in the digital io pins of an Arduino controller

I am a newbie.. I am integrating Arduino controller with Matlab I have connected my arduino DUE board in COM7. And I have also connected a DC Motor in one of the digital output pins (D3) So when I ...
2
votes
0answers
1k views

Modbus Protocol RTU

I have simple code working on Serial Communication asn below. With Same data i would impliment Modbus protocol> I have Used Modbus library for arduino earlier which works fine with 9600 baudrate and ...
2
votes
0answers
712 views

I am not able to compile,libraries missing

this was the error message Arduino: 1.6.7 (Windows 7), Board: "Arduino/Genuino Uno" Sketch uses 1,068 bytes (3%) of program storage space. Maximum is 32,256 bytes. Global variables use 11 bytes (0%) ...
2
votes
0answers
541 views

Controlling dynamixel AX12 by Arduino

Actually, i would like to control 12 motors of AX-12 using Arduino .. I could control just 2 motors. However when i send a command to the 12 motors they don't move and one or 2 of them move randomly!...
2
votes
0answers
2k views

How do I display serial monitor on LCD keypad shield?

I want to be able to display what I am seeing on the serial monitor onto the LCD keypad shield I have connected to my Arduino UNO. Can someone possibly write the the code ontop of this for me? I'm ...
2
votes
0answers
108 views

Matlab Arduino Multi Byte Read

I'm using Matlab to communicate with a custom AD7746 board through an Arduino UNO. The data sheet mentions that "In continuous conversion mode, the address pointers’ autoincrementer should be used ...
2
votes
0answers
59 views

Motor shield and sensors

While making a Arduino programmed maze runner Will bipolar motor shield be more beneficial than using tb6612fng motor shield???? Also which type of sensors will be better??
2
votes
0answers
96 views

How to get power for a nexus 7 while reading serial data from an arduino over usb?

Does anyone know how to simultaneously power a Nexus 7 tablet while simultaneously reading serial data from an arduino over USB? I have had quite some trouble with this and have attempted multiple ...
2
votes
0answers
137 views

Getting NaN error in Processing when Xbee is used and trying to create a popup window.

I am trying to get data from D6T Omron thermal sensor. It works fine with both Arduino and Processing when I connect it to pc directly. However, it seems to always cannot read my last data in my data ...
2
votes
0answers
634 views

Problem related to Arduino ip address

Can anyone explain to me why my output ip is: 15.16.17.18? I configured my addresses as follows: Arduino : gateway 192.168.1.1 ipaddress 192.168.1.8 subnet 255.255.255.0 My local network: gateway ...
2
votes
0answers
1k views

Sending GPS data between two Arduinos using Easy Transfer

I'm trying to get GPS data transmitted from one Arduino UNO to a second unit to eventually be displayed on an LCD and stored in an SD card. I am using Xbees S2C's on Xbee Shield's to do this. The ...
2
votes
0answers
95 views

Arduino with Bluetooth

HI I am a newbie and need some suggestions Is there a possibility to do this?? I am trying to send MIDI data through a button using Arduino and bluetooth module HM10. Can someone help me write the ...
2
votes
0answers
905 views

Does Proteus simulate external interrupts properly using Arduino? I can't get them to work

I am trying to simulate an interrupt with an Arduino Uno in Proteus. This is the simple test code that I'm using: void introutine() { digitalWrite(13,HIGH); } void setup() { pinMode(13,OUTPUT); ...
2
votes
0answers
2k views

How to save data to SD card using Memory Shield Module SPI

I am trying to save some data to the SD card using the memory shield module that I read from HC-SR04 Ultrasonic Module. The data that gets printed indicates error. This is how my SD card module is ...
2
votes
0answers
591 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 ...
2
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 ...
2
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 ...
2
votes
0answers
175 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 ...
2
votes
0answers
1k views

How do I use I2C from an Arduino Uno when I have a GSM shield mounted?

This may be an extremely obvious question but I don't seem able to find a definitive answer. I have an Arduino Uno and a Sim900 GPRS/GSM shield fitted on top of it. I had I2C working on the Arduino ...
2
votes
0answers
363 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. ...
2
votes
0answers
202 views

Why does avrdude error appear when interfacing GLCD with arduino uno in ubuntu

I want to interface a GLCD with arduino uno. The GLCD is JHD12864E. The connections are as shown in this image I downloaded the OpenGLCD library and uploaded HelloWorld program from it. I got ...
2
votes
0answers
702 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....
2
votes
1answer
3k 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 ...
2
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 ...
2
votes
1answer
50 views

arduino sketch on Win7 vs. MAC op system?

I have a friend who is just getting started with Arduino UNO. He downloaded a sketch and is using a UNO on Mac OS. He loaded the sketch and verified. it comes up with errors. He sent me the same ...
1
vote
1answer
21 views

How can I use both ultrasonic and IR sensor and ultrasonic sensor at ones with Arduino

I want to use both the ultrasonic sensor and IR sensor with Arduino + motors for a car project. Will I have to do any kind of multithreading on Arduino, or is it something else
1
vote
0answers
36 views

Please help with my tinkercad code. Debouncing stopwatch with lcd

#include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); int ssPin = 8; int resetPin = 9; bool cntrRunning = false; int sec = 0; int min = 0; double currentMillis; void setup() { ...
1
vote
0answers
22 views

loop once per startup for stepper motor

First of all sorry that i dont know much about programming, most of my codes are just copy paste. And of course, i know this question has been asked before, but while using this code: #include <...
1
vote
0answers
20 views

IR output won't stop

So I basically tried to control a Servo motor with an IR Remote. I'm a complete newbie in arduino programming but I just took some things from other scripts and tried them out until It worked, and it ...
1
vote
0answers
13 views

SIM800C status LED not blinking

I am using an Allwin HW-537 SIM800C module. I am also using a 3.7V 2200mAH ICR18650-22F battery which discharges about 4-5 amps according to the datasheet. However, I am unable to get the status LED ...
1
vote
0answers
21 views

sro4m-2 waterproof ultrasonic sensor

I bought this waterproof ultrasonic sensor about 5 of them with the part number SR04M-2 Written on the PCB silkscreen Which is different from the usual SR04t-0.2, they are just not working, I don't ...
1
vote
0answers
25 views

Communication b/w Arduinos, master(M) and slave(S) via Tx Rx pins. M sends query to S which shows the data in serialmonitor. S fails to send data to M

Slave code int arr[10] = {0,1,2,11,4,5,6,7,8,9}; char id = '1'; char re[2]; void setup() { // Begin the Serial at 9600 Baud Serial.begin(9600); } int ia; void loop() { Serial.readBytes(re,2);// slave ...
1
vote
0answers
28 views

Stepper motor not working as expected

Kunal Gupta: Guys plss help me .... I am having issues in using stepper motor I have tried both 28bjy with uln2003 and l293d .. giving it output supply of 5V . Motor is vibrating but its shaft is not ...
1
vote
0answers
33 views

Arduino UNO generate square wave, which is exactly the same with trigger pulse, but with a time delay

I am new in using Arduino so please forgive me if my question is too simple. I need to generate a square wave with exactly the same duty cycle and frequency with the trigger pulse. The trigger pulse ...
1
vote
0answers
43 views

Can't upload sketches or flash Nodemcu 1.0 12E (CP2102) but have drivers and responds to RST on Serial monitor

I've been trying to get my nodemcu working for months and tried countless online references but none worked. I'm using the Arduino IDE to upload sketches and always get the error "Timed out ...
1
vote
0answers
26 views

Multi tasking alternative on NodeMCU ESP8266

I'm trying to make an RGB LED strip controlled via Wi-Fi and IR. Until now, I just have made the Wi-Fi server, and It worked just fine. But I wanted to be able to turn the LED strip on and off via IR, ...

1 2
3
4 5
29