Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arduino-uno]

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

0
votes
0answers
4 views

comparing byte array with multi-dimensional array

i am having a byte array let us say byte arr[7]={123456}; how to compare this array with a list of of other array like this for example byte buffers[5][7] = {123456,654321,987654,456789,765432}; ...
-1
votes
2answers
31 views

Choosing a motor for my project

Sorry For my bad English. I will start to make a mini conveyor (100 cm x 30 cm) with an Arduino Uno. What is the best motor should I choose for my project ? - Stepper Motor ? - DC Motor ? Etc. ...
1
vote
0answers
11 views

MPU6050 Acc and Gyro readings swapped

I have been trying to figure out this MPU6050 for a bit but the RAW readings are confusing me. It seems to me that the accelerometer readings and the gyro readings are getting swapped... and I don't ...
0
votes
1answer
49 views

Distributing power evenly to multiple pins

It's an arduino board, model UNO R3. I have 3 5cmx10cm heating pad power required 5V DC up to 1A and can withstand up to 12V DC. These 3 heating pad are wired up onto arduino board with red wires ...
0
votes
0answers
36 views

How to get the Highest Precision Motor Movement? [on hold]

Context: I have a project where I need to aim a laser pointer with as much precision as possible (on an affordable budget). The laser diode is attached to 2 servos to cover a plane. The thing is, I ...
0
votes
0answers
20 views

Why is this Code not working with Esp8266?

While using DumpInfo example or Rfid_read_personal_data Esp8266 & RFid are working fine, but while using the code given below, Rfid scanner is unable to scan the card (I'm making an attendance ...
0
votes
0answers
13 views

Real-time Pub/Sub thru MQTT between JoyStick and OnBoard Drive units [both ESP8266] - Connection issues

I looked around for solutions to my issue by searching on the forum and elsewhere and haven't seen similar issues - (https://arduino.stackexchange.com/search?page=2&tab=Relevance&q=MQTT%...
0
votes
0answers
39 views

Arduino Genuino UNO

I have Arduino Genuino Uno and 'Extra PC' Debian Linux USB dongle. I can get board data S/N etc., but TX LED permanently lit and data showing on TX line with an oscilloscope. I get the following error ...
-1
votes
0answers
15 views

Receive SMS on Arduino

NeedHelp. i have 2 type of sending sms. ihave tilt sensor to trigger an "accident sms" and proneArea for sending sms every 3 seconds. i need help for Receiving SMS , if the gsm receive an sms it will ...
0
votes
2answers
41 views

I cannot compile the Arduino sketch when I remove the void loop function?

#include <AFMotor.h>  AF_DCMotor motor(2,MOTOR12_64KHZ); void movefor (); void moveback(); void setup() { Serial.begin(9600); Serial.println("Motor test!");` `motor....
8
votes
2answers
3k views

Arduino interruption (on pin change)

I use the interrupt function to fill an array with values received from digitalRead(). void setup() { Serial.begin(115200); attachInterrupt(0, test_func, CHANGE); } void ...
0
votes
1answer
58 views

What am I missing? Send data from Matlab to Arduino to Micro SD

First off. This is not in any way a class assignment. This is my own personal work and research. I just want to get that out of the way. I am learning how to use Matlab with various Arduino projects. ...
-1
votes
0answers
33 views

Is communication between Arduino and Flash possible? [on hold]

I'm working on a project to use a sound sensor on an Arduino and connect it to adobe flash. The sensor must trigger an animation or object on Flash. I've been looking all over the internet for ...
0
votes
1answer
33 views

if/else on digitalRead not executing on 'else' portion

I am a beginner with C++ but used to be good with BASIC (2 decades ago lol). I'm building a peristaltic metered doser that allows you to input desired mL on a 4x4 keypad and then when 'fill' button is ...
1
vote
2answers
471 views

Save Leading Zero HEX into String RFID RC522 Arduino

I'm using RC522 to read RFID card. All is until if the HEX leading by 0 then i can't save it into String. But if i print it to Serial all is well. Here is my code: #include <SPI.h> #include <...
0
votes
1answer
60 views

Sending char arry via nRF24L01

I am trying to send a char array using Arduino Uno board and nRF24L01 modules Here is the code for both transmitter and receiver: #include <SPI.h> //~ #include <TMRh20nRF24L01.h> //~ #...
0
votes
1answer
27 views

How many devices can I connect to an arduino at once? [on hold]

Can I use 6 proximity ultrasonic sensors as input source for a single arduino and then use 6 different vibrating motors as output on it?
0
votes
1answer
30 views

Esp8266-01 AT Commands returns partially

Im trying to get html response from server via esp01 module when using the serial monitor in arduino studio everything works fine here is the serial monitor output AT+CIPSTART="TCP","aaaa.aaaa",...
0
votes
4answers
4k views

max7219 chained display showing mirrored text

I'm using a max7219 like this one max7219. When I first tested my circuit, I used an 8x8 display and the code worked just fine. Now, after I modified the code with the one that can be found online at ...
0
votes
1answer
47 views

Can not print an element in an specific position in an arduino list

I have been tying to print an element of a list with the same position as the number that it matches, but it does not seem to work and I can not figure out if I made some mistake, could someone please ...
0
votes
0answers
27 views

Arduino master/slave communication using RS485

I am using Arduino Uno as a Master Device and 3 Arduino Unos as slave devices. I am sending data from each slave to master after every 3 seconds continuously, and is going to execute further logic ...
0
votes
0answers
24 views

Receive and output signal for different durations [on hold]

If I want to receive a signal for 1 second, then delay for 2 seconds, then output for 3 seconds how should I write my program? Because I put delay 1 second in program it needs to receive signal for 1 ...
-1
votes
0answers
28 views

How do we extract a code from an Arduino mother board (Arduino Uno R3)? [duplicate]

I was working on a school project with my fellows and made an Arduino car a year ago and we all had a car each so here is my problem after one whole year we need the cars for a competition and my car ...
1
vote
2answers
32 views

String Comparison Result [on hold]

I've following code: char a[5] = "bang"; char b[5] = ""; void setup() { // put your setup code here, to run once: Serial.begin(9600); } void loop() { // put your main code here, to run ...
-2
votes
1answer
19 views

What can we do with our ECG arduino project to make it more applicable for competition? [on hold]

Our arduino-uno has already a OLED monitor 128x64 and AD8232 and we are not that confident to it.
0
votes
1answer
37 views

Detect DS18B20 sensors and correctly assign them to relays

I'm relatively new to microcontroller programming, so please excuse me if my question is dumb. I've created a simple device that allows me to control 4 relays based on temperature. I bought four ...
5
votes
2answers
255 views

Why digital pin not reading ON from push button switches connected to 5V and pull-down 10K resistor?

Here's my circuit: And the code: //pins const int control1 = 2; const int control2 = 3; const int enable = 9; const int pinDirection = 4; const int pinOnOff = 5; const int pot = A0; //states ...
0
votes
0answers
16 views

How to PWM control a Solenoid Viscous Clutch [on hold]

My project is probably simple for most of you Folks. I'm a 76 yr old fart that needs some guidance and hopefully some leads to a like minded project. PROBLEM:Controlling an (EVC) Electronic Viscous ...
0
votes
0answers
21 views

Understanding flashing with bash in Ubuntu [on hold]

This is my first time working with Arduino; forgive me if I am spelling things out a tad too much, I am seeking to understand the process bit-by-bit I am following the instruction from this DIY ...
0
votes
1answer
90 views

Badly formatted characters using JDY-30 bluetooth module

I have a JDY-30 bluetooth module and have it wired like this (except using an Arduino Uno): It is working, but I need to use it with a 115200 baud rate instead of the default one of 9600. I also got ...
3
votes
4answers
9k views

SD card fails to initialize

I know this question has be asked before on this site. However it was never really answered. I have an Arduino Uno. I am trying to get it to read a 2 GB SDHC Micro SD card. The problem is, the SD card ...
0
votes
2answers
3k views

Being able to run two functions at once

So I am doing a project where a bunch of servos are moving from 90 - 120 degrees and slowly speed up over time until they reach their max speed and so stay at that speed. This is being done by editing ...
-1
votes
0answers
20 views

Some problem when I insert SD card [on hold]

I have an Ethernet Shield "HR911105A". When i insert an SD card that occurs to me. // Initializing SD card...Wiring is correct and a card is present. Card type: SDHC Could not find FAT16/...
0
votes
1answer
286 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
votes
1answer
39 views

Best way to convert 0-30 Volt to 0-5 Volt in RPM [on hold]

I'm trying to read rpm through an machine. The machine's sensor outputs voltage between 0 and 30 volts. 30V when the front of the laser is closed, 0V in the gap. How should I convert these voltage ...
1
vote
1answer
44 views

Why does a delay make my stepper stop? And why does the break command raise an error?

I am using a stepper motor for a project that I want it to stop. I tried for loops, while, and an if statement. All of these were placed inside the void loop, because it raised an error. My code ...
0
votes
2answers
1k views

Arduino UNO + Ethernet Shield + LCD + RFID but RFID doesn't work

I've been working to a project that uses arduino for RFID but when connected to ethernet shield, the RFID seems to not read any card tapped to sensor but the LCD seems to do fine. Here's the code I ...
-1
votes
1answer
39 views

Arduino button and led

Program below is my program for my button and LED, but it's not functioning the way I want it too. The LED is supposed to light up before I press switch 9, but it is lighting up immediately. const ...
0
votes
1answer
24 views

Servo Motors PWM pins, Arduino Uno

I wanted to understand how people are connecting a servo motor to pins without PWM, so I went searching and I read that the Servo library uses the timer1 of pin 9 and pin 10 to be able to use other ...
0
votes
1answer
35 views

Stuttering motor using rf module

I am trying to control a stepper motor wirelessly with a button. I am using the 433MHZ rf module and the Virtualwire library. the code is working, the receiver is getting the messages from the ...
0
votes
2answers
532 views

Arduino uno r3 not powering up

i bought two arduino uno r3 card (not original) one is working perfectly: the other is not powering up (no led is lit), i did some measuring and i found that two usb connector pins on the board are ...
0
votes
0answers
997 views

SIM800 GSM module with Arduino Uno + SoftwareSerial Library

I am trying to use SIM800 GSM Module with Arduino Uno. ARDUINO DIGITAL PIN 9 is connected to TX of GSM Module ARDUINO DIGITAL PIN 10 is connected to RX of GSM Module ARDUINO is powered by PC USB GSM ...
0
votes
1answer
42 views

Coin recognition using Coin Accepter in Arduino Uno

I'm working on a vending machine project and I'm using CH-926 and an Arduino Uno for that. I've already set the coin accepter for different number of coins and respective output pulses. I'm unable to ...
0
votes
1answer
31 views

How to rotate two or more steppers simultaneously by giving ARRAY of angles?

The following is the code that I am trying but the problem is steppers rotate one after each other. However, I want to rotate steppers simultaneously. This code for two stepper motors. int pulse=3; ...
0
votes
0answers
14 views

Connecting Audino to wireless headset [closed]

I currently work for a distribution center. I want to connect audrino uno to a bluetooth wireless head set. I'm looking for the headset too deed the audrino voice commands. Is this possible ?
0
votes
0answers
23 views

How to power an Arduino Nano without mini-B USB port?

I'm new to Arduino. I want to power my Arduino Nano with an external DC source, not with already attached mini USB port. I tried, but fail. Please help me to understand it. Thank you.
-2
votes
0answers
28 views

What Arduino Board to controll IR-Emitter - low-cost [closed]

I want to prank some supermarket employees and make my own universall remote, that is stronger that the shitty ones on the market. The problem is I have no clue what board I could use. Is the Arduino ...
0
votes
1answer
24 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 ...
-1
votes
0answers
30 views

LCD code compilation error [on hold]

I wrote a code to let a user manipulate a menu on 1602 LCD shield, but it doesn't compile for Arduino Mega. Main file /* Inclut la librairie LiquidCrystal pour le LCD */ #include <LiquidCrystal.h&...
0
votes
1answer
35 views

Motor driver not working properly in case we connect motor to it

We are making a Bluetooth controlled RC car. when we connect our motor (moderate power) to motor driver then Bluetooth module is automatically disconnected after taking initial command from Arduino ...