Questions tagged [arduino-uno]
The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.
7,855
questions
1
vote
1
answer
14
views
How can I log data to a thumb drive?
I am working on a project where I need to log data, but I was wondering if it is possible to log that data to a thumb drive? I know that I can log data to an SD card, but I thought a thumb drive would ...
0
votes
0
answers
33
views
problem with simulating arduino in proteus8
on my way for making this project I am trying to simulate and test my code (the part on hardware) in proteu8 professional.
in the the last post (link in the beginning) Edgar Bonet has told me that ...
0
votes
0
answers
19
views
Detect where touch happened on a big capacitive electrode
I have a big-ish electrode (10cm x 10cm) that works fine for detecting touch over the whole electrode (as a boolean - simple touch vs. release) but I was wondering if there was a way to detect where ...
0
votes
0
answers
27
views
What sensor do I need? [closed]
I am looking for an acceleration sensor that acts like a switch (off when still, on when accelerating (a few moments is enough). It's important that it consumes NO power at all detect movement. Also, ...
0
votes
1
answer
28
views
Can I make an Arduino Uno Rev3 pretend to be a joystick?
I want to create a joystick for my flight simulator and I need to make an Arduino Uno Rev3 pretend to be a joystick when I plug it to my computer.
0
votes
0
answers
18
views
Need Ideas for Projects [closed]
I am a newer "arduinoer" if that is even a noun, and I am looking for some project ideas, they can be of any type. I am doing this to expand my arduino knowledge. If by change anyone knows ...
0
votes
0
answers
14
views
Can't upload sketches to arduino uno [duplicate]
I have arduino Uno clone which I bought a year ago, but now I can't upload sketches anymore , I have selected Arduino Uno board and the right port in arduino ide , but when I upload a sketch , only ...
2
votes
1
answer
68
views
Mildly accurate oscilloscope using Arduino Uno R3
I'm trying to make a mildly accurate oscilloscope using Arduino Uno R3 and I've done some research on the best method to do so. First of all I need to measure the voltage with a rather high sampling ...
0
votes
1
answer
21
views
servo retaining its position everytime i send some value
i wanted to control my servo with bluetooth modue. I gave certain values for rotating it. but when i press those values the servo rotates but then retains it's original position and pc pc also make ...
0
votes
0
answers
45
views
Why does my Arduino Uno stop looping after several minutes running my program?
I did some research of my own before asking this question, and stumbled across this Arduino forum discussion. In case it was indeed a memory issue, I tried converting what I thought were my own string ...
0
votes
0
answers
29
views
Find a sequence of pulses (preamble) for a certain duration and number of pulses
I am using a receiver module with arduino. I want to use my own transfer protocol and now I need to accept it. I tried to use various libraries but all without success. I need to somehow select a ...
4
votes
1
answer
569
views
ISR for very fast processes, strange code found. Has ISR effect on timer behaviour?
I found the following code within an example for performing very fast changes on a PWM-output. It works, however I'm wondering about some details.
TIMER2 was set up in setup() as follows:
TCCR2A = 0; ...
-1
votes
0
answers
17
views
Communication between Arduino Lilypad and C# program over RF
I purchased simple 433mhz RF receiver and transmitter module and Arduino Lilypad Atmega328p board.
My Arduino board is transmitter. Arduino will send data to receiver.
I will make an usb that directly ...
-1
votes
0
answers
27
views
how to coordinate a bunch of arduinos wirelessly
i am creating a flashlight that when wo walk into a room it changes the color. i am planning on having three Arduino unos communicating via RF. there is one in the flashlight and one in the base ...
0
votes
0
answers
18
views
Bluetooth HC-05 only takes one command and then disconnects
I'ma total noob at Arduino and this is my first project. It is a Bluetooth controlled RC car. As you can understand fon the title, my hc-05 takes only takes only one command and then disconnects ...
0
votes
0
answers
20
views
LM35 sensor and arduino, we have to print a physical process that is represented by eqution
How do we design a temp sensior based on LM35 that represents a physical pricess Z= 5+3T+5T^2. and we have to print T and Z, i am an amatuer and solving this problem and i am stuck, dont know how do i ...
0
votes
1
answer
52
views
Is it possible to use assembly with arduino?
I want to learn assembly, but would like to learn by doing, is it possible to learn and make something useful with arduino hardware? I dont know where or how to start something like this.
1
vote
0
answers
16
views
Controlling Bluetooth voice-controlled car with ultrasonic sensor
I am trying to use an ultrasonic sensor to stop a tiny voice-controlled car but I can't get it to work. once the motor starts moving it doesn't stop I'm trying to make the car stop moving even though ...
1
vote
1
answer
31
views
Fluctuation in 4 half bridge load cell via combinator
I'm currently using a Sparkfun 4 Half-Bridge load sensor (50 Kg) with combinator and amplifier both are from the Sparkfun. Link:https://www.sparkfun.com/products/10245 (For Load Sensors)https://www....
-3
votes
0
answers
33
views
how to solve , no file or directory found for this line #include "page.h"?
#include <Arduino.h>
#include <WiFi.h>
#include "esp_http_server.h"
#include "esp_timer.h"
#include "esp_camera.h"
#include "img_converters.h"
#...
-1
votes
0
answers
45
views
Sudden SerialException: Writefile failed (permissionerror(13, 'the device does not recognize the command ', none, 22))
I'm controlling the position of a servo with Python and an Arduino. I type in the angle in python and it sends to the Arduino which then moves the servo to that specific angle. Arduino code:
#include &...
1
vote
1
answer
69
views
Why are raw data bytes not converting to ASCII, but only in one part of my program?
I am writing a program to read from the Atlas Scientific EZO-HUM, -O2, and -CO2 sensors simultaneously via the I2C protocol with an Arduino Uno. The sensors all work, but for some reason, just the O2 ...
1
vote
1
answer
39
views
How to convert a reading to percentage in Arduino [closed]
I am using this example on how to use a photoresistor to detect the value of light that the sensor is getting but I want to convert the reading of the resistor to a percentage but I can't use the map()...
2
votes
1
answer
73
views
How to make the compiler ensure that local variables memory allocation won't cause any RAM overflow during execution?
Upon compiling a sketch using the Arduino IDE, a message like the following gets displayed in the console:
Global variables use 1540 bytes (75%) of dynamic memory, leaving 508 bytes for local ...
1
vote
0
answers
61
views
Arduino get stuck in I2C IRQ handler [closed]
I've configured my Arduino UNO in both master and slave mode. So in the void loop() function I'm doing nothing. But When other main_master is trying to get data from me, Arduino UNO will read data ...
0
votes
1
answer
31
views
Error while uploading the sketch to Arduino UNO using CLI
I have connected my Arduino UNO through USB to Raspberry pi 3B. I am using CLI for editing, compiling and uploading sketches > arduino-cli upload --fqbn arduino:avr:uno cli-test. However, after ...
0
votes
0
answers
32
views
How to incorporate HMC5883L compass module with Arduino RC Car?
I have successfully made a RC Car with Arduino, L298N Motor driver and HC-06. The next step is I am working on is to use HMC5883L compass module as well and control the RC Car by passing strings like &...
-1
votes
0
answers
27
views
Can Arduino/Python receive sensor data and control servo motor simultaneously?
I am working on a project in which I receive a stream of data from a distance-measuring sensor(VL53L0x sensor). This data is populated onto my Serial monitor and I send this info to my python compiler ...
1
vote
0
answers
36
views
How can I rename how my Arduino UNO (or any other Arduino) shows up on the computer?
I need to rename my Arduino UNO in a way that when it connects to the computer then it reads not as "Arduino" in device manager but as "My instrument name". I need to know how to ...
1
vote
1
answer
21
views
Requires accurate RGB color values by the tcs3200 RGB color sensore
I used the TCS3200 sensor to read the RGB color values.First, I calibrated the sensor with white and black colors.The sensor detects red, blue, and green correctly, but does not give an accurate value....
1
vote
1
answer
31
views
NRF24L01 debugging help
I have been trying to get the NRF24L01 to transmit the "hello World", Though the devices are talking to each other they are reading scrambled data. I have looked everywhere for support but ...
0
votes
2
answers
53
views
breadboards and accurate voltage measurments
I am trying to setup a thermistor(PT1000) to work with arduino. For that I used voltage divider and 5V pin as the voltage source. I was getting very unstable results so I removed the thermistor and ...
0
votes
1
answer
60
views
SIM800L not responding to AT commands
I am using SIM800L module the module. I am new to GSM modules, so I've searched for the basic to use the GSM with the Arduino. this is my code.
#include <SoftwareSerial.h>
SoftwareSerial ...
0
votes
0
answers
56
views
Counting the number of RISING edges using Interrupt is not accurate at all
I'm trying to find The RPM of a fan, so I removed one blade from the fan and put an IR sensor in front of it, so when the fan complete a spin the sensor will return a pulse, Here is the code I'm using:...
0
votes
0
answers
28
views
Bosch sensor PST-F 1 analog read always 0
I am using this sensor Bosch Pressure Sensor Combined PST-F 1 in combination with a arduino uno.
The data sheet for the sensor : Data Sheet
I have it connected like this
The code i am using is the
...
-2
votes
1
answer
37
views
My Atlas Scientific sensors measurement give zero values at first reading
I am still continuing my hydroponic nutrient monitoring project. In short, I made a hydroponic nutrient monitoring system with I2C connection, and decided to do serial communication with Raspberry Pi ...
-1
votes
1
answer
53
views
What are these 18 extra ports on the adafruit-gfx 2.8"
I recently got the Adafruit gfx 2.8" display, which works fine.
It's quite obvious that it requires almost all of the pins on the UNO. However, I don't understand what are the 18 avaliable "...
1
vote
3
answers
172
views
How to do multiple serial.read()
first of all im new here and im really sorry if there's some mistakes when im making this question. So im trying to make a program to calculate using serial read, and im going to input a lot of values....
1
vote
1
answer
39
views
Apparently the photoresistors don't pass the input at the leds
I am making a school project where i need to create a parking loot in tinkercad. Me and my mate tried to use a bunch of photoresistor that worked as a sensor. No light = car = red led; light = no car =...
1
vote
1
answer
45
views
Help with Arduino sleep and watchdog timer interrupt
I want to use Arduino's sleep and wakeup functionality but have hit a roadblock and can't seem to get past it. As I am just prototyping for a final system, I cannot use the LowPower library to ...
0
votes
1
answer
36
views
Round to first significant digit
I want to round a decimal number (x), but I need to do it differently depending on how it is. If it has integer significant digits, we round to the nearest integer, and if not, we round to the first ...
1
vote
0
answers
40
views
FastLED changing colour at holding state
Basically make a code to guide users through a box breathing exercise (breath in for 4 seconds, hold for 4, release for 4, hold again for 4, repeat) to help relax them.
Right now my code is running ...
-2
votes
1
answer
28
views
Powering LEDs with Arduino uno 5v
I'm working on the sound reactive led lamp as my first project and have slightly different materials to start with. First I'd like to simply learn to power the LED strip.
from https://www.youtube.com/...
-1
votes
1
answer
51
views
Can't get input from 4x4 keyboard
I'd like to make some basic calculator. Currently, I'm struggling with inputs. I wanted to get from user some numerical input, then, I'd like to have an information, which type of calculation he is ...
1
vote
1
answer
51
views
Connecting various devices to Arduino
I need to connect the following devices to an Arduino UNO board. The problem is that I run out of pins to be able to connect them all. Is there any way to do it?
ultrasonic sensor
yellow led
green ...
1
vote
0
answers
44
views
Unable To Upload Source Code on Arduino UNO(Windows 11)
I was trying to upload the source code of a project to the Arduino UNO and this is the error that I keep on receiving.
After I closed and reopened it again, the Port option is gray. I tried everything ...
-1
votes
1
answer
25
views
Externally powering Arduino while reading voltage off it via USB
I have an Arduino UNO R3 where I’ve set Pin 13 to “HIGH” (as shown here) and I’ve connected an LED to Pin 13 and GND which glows brightly using a USB attached to my MacBook Air providing (I think) 5V.
...
1
vote
0
answers
29
views
HOW convert momentary button to touch sensor TTP223?
I am trying to convert
this project https://maker.pro/arduino/projects/simple-fm-radio-receiver-with-arduino-uno-and-rda5807m
to 3 touch sensors TTP223.
But so far my new code don't work.
Please can ...
1
vote
0
answers
26
views
Transfer a single pulse from Tektronix function generator to Arduino UNO
I have set up a single pulse (width of ~400 ms) using the burst feature on the Tektronix AFG3102 function generator and I want to transfer this signal to the digital pin of Arduino UNO. Essentially I ...
0
votes
1
answer
40
views
Why the led is always on in proteus?
I am simulating a circuit with arduino, which determine if there is current at input, then turn the led on at the output. The problem is the light is always on even when the button is open at the ...