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
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
1 answer
76 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
0 answers
24 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 ...
2 votes
3 answers
526 views

Send values from Arduino Uno to Wemos D1 R1

I have a weather project in which I have to measure the temperature and humidity (DHT22 sensor), the pressure, and other things, and then show them on a local web page (using a Wemos D1 R1) in either ...
1 vote
1 answer
70 views

Writing Arduino code for MPXV6115V pressure sensor

I'm attempting to use an MPXV6115V pressure sensor to monitor the constant vacuum of a suction device. I haven't been able to find a library to use with this sensor. I'm very new to Arduino but I am a ...
2 votes
3 answers
2k views

Change the fuses of an Arduino Uno (can an Arduino Uno change its own fuses?)

For now, I'm using an Arduino Uno alone including its 328p (no other external chip to program). I would like to change its fuses to internal 8 Mhz clock (because then I'll move the 328p out of the ...
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 ...
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
58 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 ...
1 vote
1 answer
1k views

Common ground serial communication trouble SIM800L

I have a trouble when i'm using SIM800L module with common ground with combinaison with : FTDI232+ARDUINO PRO and Li-po battery. I use common ground to allow Arduino see the serial of SIM800L. I use ...
2 votes
1 answer
66 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
3 answers
1k views

How to clear SoftwareSerial values? [closed]

I'm using software serial on my weather station. The way it's supposed to work is that you send an SMS to the device and it replies with the wind speed, etc. At the moment, The wind speed is detected, ...
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
1 answer
746 views

How can I record something using an arduino and use bluetooth to search those terms on google now?

I'm trying to build something that can use voice recognition to search something up. I am planning to use this small module for the mic (https://www.sparkfun.com/products/12758), because I want to ...
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 ...
2 votes
1 answer
48 views

How can i make my MLX90614ESF scan temperature after the MFRC522 scans the RFID tag?

//THIS IS THE RFID CODE #include <SPI.h> #include <MFRC522.h> #define RST_PIN 9 // Configurable, see typical pin layout above #define SS_PIN 10 // ...
6 votes
7 answers
9k views

Understanding why should avoid “String” and alternative solutions

Why “Strings” are bad for Arduino? Which is the most efficient and fastest solution to read and store the data from Accelerometer and GPS? Stings are evil for Arduino An Uno or other ATmega328-...
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 ...
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
1 answer
685 views

SendSMS example sketch hangs at PINMUNBER if statement

I'm using an Arduino shield connected to an Arduino Uno for sending text messages. I'm using one of the in built examples from the Arduino IDE for sending SMS by name - sendsms in the GSM examples. ...
1 vote
0 answers
367 views

Can SoftwareSerial be used in an ESP01

I am using ESP01 as a microcontroller that retrieves information from Firebase and sends them over serial to an Arduino Uno for other uses. I am not using NODEMcu since it has few analog pins and ...
1 vote
3 answers
105 views

L239D motor driver not able to drive motors

I am making a line follower robot. The issue is trying to make the motors run. The L239D module has 4 inputs pins (to control two motors), 4 output pins (to drive motors), and 6 power pins (5V, 5V, ...
0 votes
1 answer
178 views

Matrix and State Space Arduino Implementation

I wrote an Arduino Matrix class. Then I used this class to implement State Space on Arduino. During tests I stomped upon a problem. After starting the program it stops at some point. I have no idea ...
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
2 answers
418 views

HC-05 to low cost AB shutter 3

I'm trying to connect a HC-05 to AB Shutter3 module. However, when I try to search AB Shutter3 address via AT commands (AT+INQ) I could not find AB Shutter3. I want to integrate both, so that I can ...
0 votes
1 answer
105 views

How to control baby swing?

I am starting an intresting DIY project of baby swing. My son is 3 month old and we have swing made with ropes in our house where he sleeps. I am looking for any electronic component controlled with ...
0 votes
2 answers
341 views

Using MCP23017 with 5 rotary encoders, WITHOUT missing a single step from any of them?

I have recently followed the instructions in the answer to this question: Reading several rotary encoders posted by maximilian-gerhardt I've wired everything up, and am using the interrupts example ...
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 ...
1 vote
1 answer
49 views

HG-C 1100 measurement sensor

I am using two HG-C 1100 measurement sensor for measuring the width of the metal. In the top of the sensor I will be having the measurement value. The sensor is capable of measuring the dimensions ...
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; ...
2 votes
1 answer
133 views

Decoding of data received using the WL-101 433 MHz radio module

Good afternoon! This question is still relevant to me. I use the receiver module in conjunction with arduino. I want to use my own transfer protocol and now I need to accept it. I tried to use various ...
-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 ...
0 votes
1 answer
2k views

Incremental encoder code

can somebody tell me what`s wrong with my code, i am using it to calculate rpm using incremental encoder long counter=0; long rpm = 0, z =0; long ini_time = 0; long end_time=0; void setup(){ ...
0 votes
1 answer
384 views

Power source for Arduino uno, sparkfun usb shield and adafruit motor shield

I'm having trouble powering my boards altogether. Right now, I'm using 8x AA batteries to power everything. Running my arduino with one shield runs fine, but not with both shields stacked on top of my ...
-1 votes
1 answer
95 views

Problem with sending IR with at ATMega328P-PU

I have a sketch that sends an IR code every second. It works fine (the correct code is received by my receiving Arduino next to it) on the Arduino but when I try to move the sketch to an ATMega328P-PU,...
-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 ...
1 vote
1 answer
137 views

Error with led Blinking (avrdude: ser_open(): can't set com-state)

I am new with Arduino and I made something very basic and I don't know why it is not working . I placed the positive led in pin 13 and the negative in GND and wrote this code : #define LED 13 void ...
0 votes
0 answers
17 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 ...
1 vote
1 answer
76 views

How can I use attached interrupt on my project?

Hi I have a coinslot project and connected with a fingerprint sensor it was stated in the ardiuno forum that it will work on pin 2 and 3 , but it is already used pins of the finger print sensor . ...
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 ...
1 vote
1 answer
2k views

I2C requesting more than one byte

I got an Arduino Uno set up as an I2C master to an ATtiny85 slave, using the Wire (Master) and TinyWireS (Slave) libraries. Communication works well. I have been able to keep the network running ...
1 vote
1 answer
125 views

7 segment displays are not working whatsoever

/* MODIFIED TRAFFIC LIGHT SYSTEM W/ A COUNTDOWN TIMER FUNCTION BY JOHN SEONG THIS IS A QUITE ACCURATE SIMULATION OF TORONTO'S TRAFFIC LIGHT SYSTEM WHICH INCLUDES TWO 7-SEGMENT DISPLAYS THAT SHOW THE ...
0 votes
1 answer
818 views

Digispark Atinny85 not recognized (bootloader problem)

I recently bought the Attiny85 (picture below) I managed to install it correctly following the official guides, never that a problem. Drivers are installed correctly, and I used the Arduino IDE to ...
-1 votes
2 answers
3k views

Multichannel communication with Arduino and HC-12 transmitter

The HC-12 module has 100 possible channels starting at 433 MHz. Can someone tell me how to program the Arduino to use multiple channels at the same time? My goal is to build an RC transmitter with ...
1 vote
1 answer
331 views

Arduino communication to Raspberry Pi using HC-05

I'm using two HC-05 modules on two Arduino UNO boards. One of my modules connected successfully to a raspberry pi port. However the other doesn't want to connect, but sometimes it does and then ...
0 votes
1 answer
50 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.
0 votes
1 answer
770 views

NEO GPS 6M connecting to Lilypad Arduino

I'm working on a project that has something to do with receiving gps data from the satellites. With this, I've used GPS NEO 6M with an arduino Lilypad for wearable purposes. I've already tried using ...
0 votes
1 answer
75 views

Difference between FreeRTOS libary (AVR_ATmega328PB_Xplained_mini_GCC) Versus FreeRTOS compatible for Arduino boards from Richard barrey

I am researching about different IoT development boards and found that espressif uses IDF framework. When looked at the source code it uses FreeRTOS libraries. I have Arduino Uno and i wanted to use ...
0 votes
6 answers
3k views

Using MCP23017 to control Servos

Using Servo.h it is possible to run a servo from just about any pin.....obviously the more pins the more servos...hence the question " how can I do this with a MCP23017 ? ". I have searched the web a ...

1
2 3 4 5
158