Questions tagged [arduino-uno]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

Unable to read Arduino+ESP8266 full get Response

Using below code I am able to invoke HTTP Get request, but I am not able to read full HTTP Response. Observing only output like( +IPD,0,141:HTTP/1.7. ). Please let me know how can I read full response?...
0
votes
1answer
106 views

Difference in pinout (types?) Uno/Mega

As a hands-on guy, I've started my first ever Arduino project 5 hours ago with no prior knowledge about Arduinos (I have coding experience tho. included this in case I am missing something obvious to ...
0
votes
3answers
4k views

Arduino Mega with two Arduino Unos as slaves via I2C?

Good morning! This is my first post here, and my first time diving into the world of microcontrollers. Bear with me, as I describe this theoretical project. I've got an Arduino Mega 2560, two ...
0
votes
1answer
4k views

When the Arduino is in reset mode are the digital pins high impedance?

I have an Arduino (Arduino A) hooked up to an external FRAM chip and I want to be able to pull the Arduino A's reset pin to ground to keep it in a constant reset state. Then I want to hook up another ...
0
votes
2answers
85 views

RGB LEd and a push button in TinkerCAD

I'm working on TinkerCAD, I want to design and simulate a circuit in which there are following components. 1. 1 RGB LED 2. 1 Push button 3. 3 Photo-resistors. 4. 1 Arduino board. So the light should ...
0
votes
0answers
47 views

4 RFID with Arduino Uno / add or remove card with master card /

i am new in coding for arduino. I need some help with the project i'm working on. my project is a object tracking by using the rfid rc522 for inventory system. so i need to have multi reader in this ...
0
votes
1answer
47 views

Can you help me combining these sensor sketches as one in Arduino [closed]

I want to combine these three sketches into one. RAIN SENSOR: int rainPin = A0; int greenLED = 6; int redLED = 7; // you can adjust the threshold value int thresholdValue = 500; void setup(){ ...
0
votes
2answers
445 views

Generate a ramp input with an Arduino Uno

Is there anyway to generate a ramp input from an Arduino Uno? A visual depiction of the pulse I am looking for is as follows: With other microcontrollers, I was able to use their in-built DACs, ...
0
votes
2answers
797 views

Setting reading frequency SCT013 current sensor code using Arduino Uno

I found this code below for the Arduino platform to obtain current measurements from the SCT013 sensor, and I am wondering how can I define the 'delay' or 'frequency' of my readings? I'd be looking ...
0
votes
2answers
1k views

Arduino analogWrite source code explanation

The source code for the analogWrite function looks like this: void analogWrite(uint8_t pin, int val) { ... sbi(TCCRnA, COM0x); OCRnx = val; ... } Where n is which timer (0, 1, 2...) ...
0
votes
1answer
2k views

Arduino: load variables with values read from SD card

I am having a bit of trouble loading values stored on an SD card and assigning them to variables within my program. I can achieve this as one big block of data, but would much prefer them to be saved ...
0
votes
1answer
100 views

How to connect Big Dome Button with arduino

I am quite new to arduino and for a project I want to use big dome button which when pressed it will count how many times has been pressed.It is using 12 volts.The button is this https://www.sparkfun....
0
votes
1answer
1k views

Using SoftwareSerial to send data to itself

I'm debugging a project which includes SoftwareSerial. I'm not convinced the serial connection behaves as expected, so I came up with the following simple test: #include <SoftwareSerial.h> ...
0
votes
2answers
4k views

Arduino not working / not uploading [duplicate]

Could anybody please help me with my problem? My Arduino doesn't work correctly. I was between a project, and suddenly it started acting weird. First, it started taking about 4 minutes to compile and ...
0
votes
1answer
299 views

Uploading Error: no programmer has been specified

Whenever I upload a code I get this error: avrdude: no programmer has been specified on the command line or the config file Specify a programmer using the -c option and try again I am able ...
0
votes
2answers
1k views

2,5m cable too long for LCD connected to Arduino UNO?

So i got that 2,5m cable wired with the LCD and the arduino, but i keep getting those weird characters showing up on the LCD. Clearly there is a signal loss between the components but there has to be ...
0
votes
2answers
95 views

Getting started [closed]

so I am not a newbie to computers or programming. I regularly program in C# and Java, know quite a bit about computer hardware and operating systems. But I am bored of writing stupid calculators or ...
0
votes
3answers
501 views

Not able to get response from esp using Arduino uno

I am new to Arduino & ESP modules, here am trying to communicate with ESP-01 via Arduino UNO. I have gone through multiple websites for initial setup. But when i upload my code to UNO, ESP is not ...
0
votes
4answers
564 views

Detecting how many button presses(single tap, double tap etc) with two simultaneous buttons

noob here So what I am trying to do is output a different number depending on the number of button presses e.g. for 1 button press it should output 1 and so forth. After that I only really want the ...
0
votes
1answer
211 views

3 AC current sensors using one Arduino Uno board measuring at 200Hz

I'm new to electronics and need some help please. I'm planning to measure current of a 3-phase output using one sensor for each phase (thus 3 sensors would be required). The frequency of data ...
0
votes
3answers
3k views

Unable to receive and print SMS on the serial monitor with Arduino Uno and SIM900A

I'm trying to receive an SMS and show it on the serial monitor. My code is as following: void setup() { Serial.begin(2400); Serial.write("AT+CMGF=1\r"); //set GSM to text mode ...
0
votes
1answer
88 views

Arduino GPS Simulator: SoftwareSerial Issues

For my project, i need my Arduino Uno to simulate a GPS. To do this, I need to: Generate a 5V Pulse once a second (no problem) Send a $GPRMC NMEA sentence with the current time over RS-232 (i've got ...
0
votes
2answers
675 views

Arduino box stops working: Reading RFID tag and sending data over network

This is a simple Arduino program which reads RFID tag and sends the data over a network (lora). The program works fine in as i run it, the arduino reads RFID and sends it over the network (lora) ...
0
votes
3answers
4k views

DHT11 with Mysql

I need help to record databаse from dht11 sensor to mysql server. this is my code: #include <DHT.h> #include <Ethernet.h> #include <SPI.h> byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, ...
0
votes
0answers
56 views

HC-06 Arduino UNO not working

Trying to get my HC-06 to work. The idea is to control a addressable RBG LED strip in the future. Currently I'm using a Arduino UNO, some wires and a HC-06. I connect the VCC pin to 5V, GND to GND, ...
0
votes
1answer
411 views

Conflict between SD card shield and accelerometer

I'm trying to get the SD card (Adafruit microshield SD card) and an MPU6050 accelerometer to work at the same time. When I connect the SD card to the Arduino (without the accelerometer), it's ok; When ...
0
votes
0answers
120 views

Implementing pluseIn using interrupt

I am trying to implement pluseIn using an interrupt. I tried attaching an interrupt in CHANGE mode. The time when the signal goes HIGH is recorded as raising time and the time when it goes signal LOW ...
0
votes
1answer
1k views

Serial.available() function for Arduino

I want to implement a function in another micro-controller which works like serial.available(). I don't know how it works. I read about Serial.available() in this link. Whenever I write a string on ...
0
votes
1answer
66 views

How to get keyboard input to arduino from the computer its plugged in to?

I have an arduino uno connected to my laptop. and i need to get keypress info from the laptop's keyboard with only the arduino sketch and without any program running on the laptop. Is there a specific ...
0
votes
0answers
66 views

error 33 = got packets out of order

my code was working and the connection with database was fine , until I don't know what happen every time I run my code it show this error , can please someone tell me what error 33 = got packets out ...
0
votes
2answers
2k views

What sensor would work for soccer ball detection efficiently using Arduino?

I want to make a soccer goal counter using Arduino and some sensors. I built using an ultrasonic sensor, but it does not detect if the ball is moving too fast. Are there any other sensors I can use to ...
0
votes
1answer
627 views

Sending Analog Data with and IR LED

This is the idea. I have 2 Arduinos. One with an IR LED and the other with an IR receiver. I want to read the values of multiple sensors and transmit it to the other Arduino via IR. I know how to send ...
0
votes
2answers
611 views

Using a L2938D Motor Driver Module. (Not IC, Module)

I have been trying to use my newly bought L293d Motor Driver Module to run motors(a single motor in this test case, simple 5V toy motor) from my Arduino UNO. Thing is, this is an entire module, not ...
0
votes
2answers
1k views

What shift register would I need for input OR output?

Background: A few days ago I received a 23LC1024 1Mbit SRAM chip, which works like a charm. However, before I ordered that one, I ordered a LP621024D-70LL which also is a 1 Mbit SRAM but in DIP32 ...
0
votes
0answers
409 views

What am I missing? ST7735 TFT white screen

I followed this guy's guide with regards to wiring, etc., and all I seem to be getting is a white screen, as shown in these pictures. Is there an issue with the guy's guide, I'm missing or there is an ...
0
votes
2answers
219 views

Accessing digital pins from the Atmega 16u2 on the Uno

I'm running a custom firmware on the ATmega16U2 (Switch-Fightstick). Is it possible to access the digital pins of the UNO from the ATmega16U2?
0
votes
1answer
209 views

How to loop a specific tone?

I am building a security system, and found the following code #define NOOT_B0 31 #define NOOT_C1 33 #define NOOT_D1 37 #define NOOT_E1 41 #define NOOT_F1 44 #define NOOT_G1 49 #define NOOT_A1 ...
0
votes
1answer
4k views

Sending data over TCP connection in one piece

I'm trying to send short strings via Java client to Arduino server and vice versa. Sending data to client goes fine, but when I try to send data to arduino it cuts the string into bytes and then sends ...
0
votes
0answers
122 views

Post Data Server from Arduino using Fuzzy Logic

Can somebody help me , when i run this code separately , no problem was found , but when i fuse it together , only fuzzy work and the data can't be sent to my server, sorry for my bad english i ...
0
votes
1answer
92 views

5V pin output on arduino

Sorry for the newbie question (just started learning electronics). I just saw a tutorial that says that the 5V output pin on the Arduino delivers more amps (if needed) when connecting more voltage to ...
0
votes
0answers
30 views

measure very small ( negative and positve ) Voltage with Arduino

How can I measure Voltage in Range -100mv to +100mv with Arduino , Is that an Arduino-shield can do that ?
0
votes
1answer
5k views

Can't upload to my Arduino UNO [closed]

When I upload my sketch I get this error message: avrdude: ser_open(): can't open device "\.\com3": the system cannot find the file specified I tried reinstalling the IDE and the drivers. I ...
0
votes
1answer
724 views

Arduino - Calculating the time for which a Pushbutton is pressed and held without being released

I'm working on a project that requires calculating the time for which a pushbutton is kept pressed without being released. Is there a code snippet that i can use for this particular need ?
0
votes
1answer
8k views

Keyboard/mouse libraries with UNO [duplicate]

I have an Arduino Uno Rev. 3 and I'm trying to make it so that the Arduino can send a key press / mouse action to the computer. However, these libraries are restricted to a few other versions of the ...
0
votes
3answers
2k views

Feasability of flashing Arduino UNO r3 with teensy firmware for HID (keyboard) emulation purposes

I've been working on a DIY keyboard project I have all the hardware designed and now its time for the code. For the microcontroller, I'm sort of locked into an Arduino UNO r3 as I already have it ...
0
votes
1answer
452 views

Why all unset pins of my Arduino Uno are outputting 2 volts?

I am new to Arduino and physical computing When I measure the wire coming from any UNSET Arduino uno pin, the result is approximately 2 volts even the "ANALOG IN" pins. Considering that the pins which ...
0
votes
0answers
137 views

Garbage output with GPS module GTPA010 [duplicate]

I've synced my Uno with the Arduino IDE and I'm using the following code to get the raw GPS coordinates: #include <SoftwareSerial.h> static const int RXPin = 4, TXPin = 3; static const ...
0
votes
1answer
427 views

I want to move the mouse pointer with an Arduino and ultrasonic sensor

I want to move the mouse pointer with an Arduino and ultrasonic sensor but when I compiled it says Mouse.h not found and I don't know what I can do. Here is my code; #include <Mouse.h> ...
0
votes
1answer
1k views

Wemos D1 doesnt drive Relay [closed]

I recently bought a Wemos D1 board and tried to connect a relay and test its connection. I got an example server from here and executed. I connected D5 to a Relay's data and 5v and GND from Wemos ...
0
votes
2answers
3k views

Arduino Uno R3 (with Atmega 16u2) and MAC OSX 10.11 (El capitan) not working

I have Chinese copy of arduino which uses ATmega16u2 (at least that's what is written on the chip itself). When connected, it is visible in system information under USB section: Communication ...

1
6 7
8
9 10