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

Reading JSON from Arduino over serial in python and writing to a JSON file on computer

I'm fairly new to Arduino so I used a sample code before integrating this into my main code. I'm printing my value in a JSON format over serial. My Arduino outputs this and the python receives this ...
1
vote
1answer
53 views

Why Can't I Program my Atmega168 Pro Mini?

I'm trying to program a Atmega168 Pro Mini 3.3V/8mhz I bought online. I followed a tutorial that walks through the steps of how to program a Pro Mini with an Arduino Uno. However, in their example ...
3
votes
1answer
33 views

Pass Color to a function without using a specific Adafruit_NeoPixel

I'm initializing my strips as an array: // Declare NeoPixel strip array: Adafruit_NeoPixel strip[] = { Adafruit_NeoPixel(LED_COUNT[0], LED_PIN[0], NEO_RGBW + NEO_KHZ800), Adafruit_NeoPixel(...
0
votes
1answer
251 views

Design vehicle tracking device

I want to create an Arduino based vehicle tracking device which will be moved into a production board without Arduino later. Right now I have a few questions: What GPS module should I use for a best ...
1
vote
0answers
28 views

How can I interface, received HC-12 data and transmit the received data using sx-1278 RF-module in arduino-UNO?

I am currently working on a project, where I need to send data from first unit to the second unit which is a few km apart, so I decided to go with hc-12 RF module as it covers upto 5km. Then the data ...
2
votes
0answers
46 views

How can you turn off the LEDs on a SparkFun AS7265x Spectral Triad (Spectroscopy Sensor)?

I'm a newbie to program an Arduino but I need to turn off a LED from a external Spectroscopy Sensor. This is the Sensor: There are three LEDs on this sensor and they're turned on automatically when ...
1
vote
0answers
54 views

Programming multiple arduino at once

I actually made a prototype with multiplexing Chip select pin on Arduino, which connects to RESET pin of target board to program. When I am connecting one target board at once I am able to program it ...
0
votes
0answers
15 views

How do I synchronize data from multiple sensors and time from a GPS module?

I'm working on a project that takes data from an EMG muscle sensor and a heart rate sensor and synchronizes it with the time from a GPS module. The data is then sent to a local router. Can someone ...
0
votes
1answer
207 views

I got this ILI9341 *i 'm not sure * from ebay and i cant manage to use any librarys

I have Arduino Uno R3 i can't mange to upload code for the display . I tried to use librays from this http://www.buydisplay.com/default/arduino-2-4-inch-tft-lcd-touch-shield-li9341-library-for-mega-...
0
votes
1answer
4k views

Combining code for two sensors in one programming

We need to read two readings of Humidity and Temperature from 2 different locations. We can run each of them separately but we don't know how we can make them work simultaneously in one program. We ...
1
vote
1answer
34 views

Multiple external power sources and one Arduino

really noob question.. I am thinking of using a 12v power source and a 5v power source as an external power supply for my 5v relay (and some other stuff that I might add up to my project that will ...
2
votes
1answer
3k views

Are there any alternatives to Tinkercad Circuits that is PC application based instead of web app based?

I have been using Tinkercad's Circuits web application to create my Arduino circuits and apply my Arduino code (c++) for testing. Despite the amazing product they have and the fact it's free, I find ...
0
votes
2answers
402 views

BASCOM-AVR stk500_2_ReceiveMessage(): timeout: -1

Arduino Uno R3 Windows 10 Bascom AVR The ON is alright. The LED flickers now and then. The RX and TX flickers when I press the program button on Bascom but then disappears almost immediately. ...
1
vote
2answers
28 views

What happen to the counter value if I do not input the statement (if previous state!=current state)

I refer to the code from this page: http://www.toddholoubek.com/classes/pcomp/?page_id=58 : int ledPin = 13; // choose the pin for the LED int switchPin =2; // choose the input pin (for a pushbutton) ...
0
votes
1answer
38 views

Writing and Reading data from RTC module EEPROM_Arduino

i have took below code from https://lastminuteengineers.com/ds1307-rtc-arduino-tutorial/. i am not understand what these codes are doing. please help me to understand. Wire.write((int)(eeaddress >&...
0
votes
1answer
46 views

how can I stop my Arduino code after 1 second?

I want to send message NRF24L01 to NRF24L01. I want to see if I can send just one second. How can I stop code after 1 second?
1
vote
0answers
23 views

AT Commands ESP8266 Arduino IDE serial monitor not print any data from server. It say 408 request timeout

i am new in arduino and ESP8266 module. I am still learning about AT command. But i found this problem: 1.My website code (index.html)-http://nyalalampu.atwebpages.com: <html> <body> <?...
3
votes
3answers
5k views

UltraSonic sensor in rain?

I am onto a simple project with Arduino, SR04 and a buzzer for "Car reverse parking assistance". The aim here is to make a buzz when the car gets too close to the objects. I was thinking what if it's ...
0
votes
2answers
67 views

Arduino Connect Long Wires/Cables

i am completely new to hardware programming and micro controllers and i am unable to figure out what search-engine search-term to use to find the answer i am looking for. the project i am working on a ...
0
votes
1answer
544 views

Can I power arduino uno R3 with 9v battery through Vin?

I want to power up arduino through Vin port , what should be the input voltage ?
0
votes
1answer
647 views

Getting wrong value from Serial.read()

I have an RGB LED, connected to my UNO R3 and would like to turn on the written color in the serial by following a table (1 for red, 2 for blue, 3 for green...) and I also want to make that if this ...
0
votes
1answer
171 views

How to refine ultrasonic readings

I am trying to filter ultrasonic readings using averaging technique. I've also used millis() to measure time from start so that I can calculate readings up to 1 second and average them. I've re-...
2
votes
0answers
36 views

File created, but not logging data

I am starting using Arduino and have very little to none experience coding. However, I have managed to code and understand how it works. The problem that I have is that I am unable to log (record) ...
0
votes
1answer
241 views

Reading a monochromatic bitmap with Arduino for plotting

Complete newbie here. I am following this thread: How to read bitmap image on Arduino Specifically the third reply from : frarugi87 in my attempt to plot a monochromatic bitmap image with a plotter ...
0
votes
1answer
4k views

Sending hex data serially and receive it back

Below is my code. I want to send the hex data serially to some device and also expecting a reply. I want to see the reply in hex form on a serial monitor. Any comment will be appreciated. Thanks. ...
0
votes
1answer
25 views

Estimate soc battery and discharge time using Arduino Uno

I am currently learning to do a project for estimating the soc of LiPo batteries with coulomb counting and calculating discharge time using Arduino Uno to display a warning when the battery runs out. ...
1
vote
0answers
29 views

Multi-array number generation

This part of my project is very hard for my brain to wrap around and comprehend. But basically I just need to go through every combination. For example: If I have an array with 255 variables and I ...
0
votes
1answer
58 views

Infrared sending not working slight misconfiguration?

Edit: Took some advice from below but it still doesn't work. I think it probably blocking code but please tell me how I could fix it to send a the valid infrared signal, NOTE: I wouldn't actually code ...
0
votes
1answer
49 views

If and while statements not working

The second and third "while and "if" are not working but first "While" and "if" does work.. Am I doing something wrong? #include <DFMiniMp3.h> int sw1 = 3; ...
1
vote
1answer
305 views

HTTP Post data from Arduino uno using WiFi

Please help me to post data from arduino uno to a webpage using wifi(ESP-01) module. I try with AT commands it didn't give the response from my webpage #include <SoftwareSerial.h> #include <...
1
vote
0answers
40 views

First Arduino project questions

So basically I've been wanting to get into working with Arduino boards and such for a while (I actually have a couple of microcontrollers that support micro-python, a subset of my favorite programming ...
0
votes
1answer
416 views

OLED (I2C) and Micro SD card module not working together in Arduino

I am trying to write some data to SD card and read it back to serial monitor as well as display it to the OLED. Both the sd card and oled work separately but they seem to be interfering with each ...
-2
votes
1answer
24 views

Sync of Time Library and RTClib

Trying to understand the two libraries and setSyncProvider(RTC.now). Using Arduino Uno with Adafruit ChronoDot. Aduino IDE 1.8.13. The code below is simply to understand what is happening. I am ...
-1
votes
1answer
50 views

How do I fix my code on the Arduino IDE App?

//www.elegoo.com #include <RobotIRremote.h> #define RECV_PIN 12 //Infrared signal receiving pin #define LED 13 //define LED pin #define L 16738455 #define ...
2
votes
1answer
51 views

Can AccelStepper accelerate non-linearly?

I am running a Nema 23 motor with an Arduino Uno and a microstepper driver. I am making a torsional vibration demo, which uses a series of springs connected to the motor driveshaft to spin gears. ...
2
votes
0answers
22 views

Brushless motor vibration/jitter/noise - arduino uno

I am currently using these motors and driving them off these drivers and an arduino uno, and alternatively trying to make them turn using the setup in step 6 (both with l298n and without) in this ...
1
vote
2answers
115 views

Arduino Time Library and RTC Libraries

I am using RTClib.h and TimeLib.h with an Uno. Have been struggling for days in understanding the various RTC libraries available and how to use them with the Arduino Time Library. Question 1. If I do ...
2
votes
3answers
84 views

Measuring solar power with an Arduino

I'm pulling together a project for my class where students build a solar panel structure/frame that moves with the sun to capture more power than if the panel was just flat on the roof. I can handle ...
1
vote
0answers
102 views

DHT11 thermometer connected to a LCD and 2 servos connected to joysrick [duplicate]

Im trying to find a way to run two codes from the one arduino me being an absolute begginer doesnt even know where to start the DHT11 thermometer is connected to a LCD showing temperature and humidity ...
3
votes
2answers
226 views

How to use Multipile millis()

I've a exhaust fan that runs when the humidity is high. When the exhaust fan is on it should work for 3 minutes and should wait another 5 minutes to on. I am a beginner to this struggling for almost 2 ...
1
vote
1answer
84 views

Change From One State Machine To Another

I have a project where I need to state from leds turning on and off to another one that will have all the leds turned on and send data and I was wondering how should I do that, this the code I have: #...
1
vote
0answers
36 views

Can someone check my schematic and code? My Led is not turning on

Led1 is on the left Led2 is on the right The code is making LED1 blink every second but it should also turn on Led2 so that whenever I press the push button it should turn off Led2. But Led2 isn't ...
-1
votes
0answers
36 views

LED isn't responding to Push Button

Led1 is on the left Led2 is on the right The code is making LED1 blink every second but it should also turn on Led2 so that whenever I press the push button it should turn off Led2. But Led2 isn't ...
0
votes
1answer
62 views

Can you use crystal oscillators to change the frequency of infrared?

This perhaps is a dumb question and I assume I can but just to be sure. Can I attach a crystal oscillator to my arduino pin and then to the infrared led instead of using registers? Yes or No?
6
votes
3answers
12k views

Issue sharing MISO with multiple RC522 RFID Readers

so for about the last 8.5 hours (almost non-stop) I have been trying to figure out one issue and I have exhausted every search I could possibly think of. I'm building a puzzle that requires 5 RFID ...
0
votes
1answer
30 views

Compiling Error - exit status 1 for DHT11 using Arduino UNO (code/process/connections same as website given bellow)

https://create.arduino.cc/projecthub/MisterBotBreak/how-to-use-temperature-and-humidity-dht-sensors-9e5975 Copied Error Message: Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno" In file ...
2
votes
1answer
91 views

ST7789 TFT display only shows a correct image while Arduino reset button is held down - Why?

I am trying to get the ST7789 TFT display to work with Arduino. I followed online guides for connections and am using the fast library fron github and included workbench ino (https://github.com/...
1
vote
1answer
42 views

what command should i use to read and write through spi.tranfer command

#include<spi.h> byte val; // variabe for storing temp data #define PIN_SPI_SS (9) #define PIN_SPI_MOSI (10) #define PIN_SPI_MISO (11) #define PIN_SPI_SCK (12) void setup(); pinMode(...
1
vote
0answers
20 views

Uno Wifi Rev2 - sending program via WIFI [duplicate]

My new Uno wifi rev2 just arrived and I have one problem. At the beggining I connected my board via USB and tested with example blink program from WifiNiNA and It worked fine. When program is runned ...
2
votes
2answers
942 views

Firmata: how to set a particular pin to high on boot?

I'm working on a project that use J5, so is using the standard firmata, this project is using an opto 4 channel relay, when the board is booting the pins state are set to low, so as soon as I power ...