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
0answers
19 views

Using arduino uno and an adafruit shield to control 3 dc motors and a linear stepper motor

Hello I am currently doing a project at my university which requires me to order and program 4 motors using an arduino. I will be using an arduino uno and an adafruit motor shield. 2 of the dc motors ...
0
votes
0answers
18 views

how to combine these two sensor coding in arduino uno [duplicate]

#include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27,16,2); #include <DHT.h> DHT dht(2, DHT11); int powerPin = 3; void setup(){ lcd.init(); lcd.backlight(); pinMode(...
-1
votes
0answers
44 views

FSC-BT625 Bluetooth module (one Master - 10 Slave) with Arduino

I have a project that has #10 slave bluetooth modules. Each of them reads a value by adc and sends it to bluetooth master #. Please explain to me how this is possible. I read somewhere that this is ...
0
votes
1answer
61 views

If-statement matches but doesn't give a result [duplicate]

I just started two weeks ago with Arduino and I'm hooked! I got off to a good start and went through some online tutorials quite easily. Then came the RGB LED, which I couldn't get to work all of a ...
0
votes
0answers
34 views

How to create real-time WASD control over an Arduino Uno?

I am trying to figure out how to use the WASD keys on my computer, to go through the USB cable and then spin the Arduino servos in real-time. So if I press the “a” key, it should start to move left ...
0
votes
1answer
52 views

TX pin sends wrong data in Arduino Uno

I want to send some data to an IP Modem from Arduino Uno. That IP Modem has TTL levels TX and RX inputs. I used this connection between Arduino to the IP Modem: I am powering Arduino with 12 V ...
0
votes
2answers
96 views

Level shifting 5V <-> 3.3V

My main goal is to use connect the HC-SR04 ultrasonic sensor with ESP8266. Problem is, HC-SR04 works with 5V while the ESP8266 works with 3.3V In order to solve this, idea would be to use a logical ...
0
votes
0answers
23 views

Arduino Multiplexing several MPU6050 with a CD74HC4067 problem

I am really new to Arduino so probably there will be a lot of problems with my code... I need to get the data from various MPU6050 with just one Arduino ONE board, I managed to get the data with one ...
0
votes
0answers
29 views

DShot-Arduino library as a DShot receiver

I refer to this thread: Dshot implementation on Arduino (ESC protocol) and this library: https://github.com/gueei/DShot-Arduino Is it possible to use/adapt the library for receiving DShot as well? ...
-3
votes
1answer
53 views

What is PWM actually? [closed]

tcommand=(pwm_value-480.0)/8.22; flapmag=(pwm_value-880)/41.0+10; In this piece of code used in arduino, I don't understand why PWM value is subtracted and divided like this. This is not my code. Any ...
0
votes
0answers
22 views

HC-05 Bluetooth module does not send or receive data when its on-board light blinks(light blinking after its connected to a device)

HC-05 Bluetooth module does not send or receive data when its on-board light blinks(light blinking after its connected to a device) as soon as the on-board led starts glowing it does not send or ...
0
votes
1answer
28 views

how to combine two code of arduino uno [duplicate]

int mamank=13; void setup() { pinMode (mamank,OUTPUT); Serial.begin(9600); } void loop() { int sensorValue = analogRead(A0); Serial.println(sensorValue); if(sensorValue>550)digitalWrite(...
0
votes
0answers
31 views

How to initialize digital output pin as low on arduino board??? I am getting lights on initially and i want lights off

/* Please note as I have used the android app you told , the string inputs are taken as A,B,C,D,E,F,G and a,b,c,d,e,f,g. I have also written code for voice on and off which has all on and all off ...
0
votes
0answers
29 views

Problem interfacing CR95HF with Arduino Uno

I am interfacing a CR95HF with an Arduino to detect NFC tags. I have taken the code from this link as reference. I am able to get the response to the IDN command, and also set the protocol (ISO/IEC ...
0
votes
2answers
35 views

Daisy chaining of multiple blocs of 4x(8x8) MAX7219 matrix

Thanks for your presentation https://arduino.stackexchange.com/tags/max7219/info. You say that multiple MAX7219 8x8 blocs can easily be daisy-chained and you show an example of at least 12 blocs ...
-2
votes
2answers
42 views

Can I run my python based virtual assistant using Arduino? [closed]

I have a working project which is python based virtual assistant and now I am thinking to make it more accessible than carrying my laptop. I want to make a device like alexa echo dot more or less.. ...
0
votes
1answer
60 views

How to add another condition in the loop?

I am using mpu6050 for counting the twitch movement. The algorithm is counting the peak/twitch whenever it goes above the threshold value. Now, I want to add that the algorithm count twitch only when ...
0
votes
0answers
76 views

ESP8266-01 serial communication with Arduino UNO

I have been looking forever why my serial communication is not working, hopefully someone can help me here. Arduino UNO code: //ARDUINO UNO CODE #include <arduino.h> #include <...
0
votes
1answer
37 views

Can you make Arduino Uno send information through a WiFi module to a server?

A lot of tutorials are about how to control Arduino through WiFi, but I need my Arduino to send information about motion sensor activity to a server. Is that possible?
0
votes
1answer
30 views

SPI command versus data?

I have bough an LCD screen display TFT Touch Screen Board For Arduino UNO R3. Aand the following commands are given to me for the initialization: write_SPI_commond(0xFF); write_SPI_commond(0xFF); ...
0
votes
1answer
30 views

How many PIR Motion Sensors can I connect to my Arduino-Uno R3?

I am doing a school project where I intend to measure the cafeteria line with motion sensors and the send that information with a WiFi module to a server. This is my first time using Arduino and I am ...
0
votes
1answer
28 views

Get image from Fingerprint module

I want to get the image from the fingerprint module (https://makeradvisor.com/tools/fingerprint-sensor-module/) as a result of scanning. It is enough to have a single frame image. it would be good if ...
0
votes
1answer
45 views

Weather API Arduino

#include <SPI.h> #include <Ethernet.h> // Enter a MAC address for your controller below. // Newer Ethernet shields have a MAC address printed on a sticker on the shield byte mac[] = {my ...
0
votes
0answers
24 views

Alternatives to hc05?

Are there any alternatives to hc05 that are smaller than the hc05 i am making a project and i require a bluetooth module that works like the hc05 but has to much smaller
1
vote
2answers
49 views

Is there an alternative to strtok_r in extracting words from char?

The task, in char, I get some data that I have to parse into parts. In this case, I use strtok_r, which finds identifiers like "=", " ", "&" Code: char payload[70] = "GET /wifi?ssid=MyWiFi&...
0
votes
0answers
38 views

Send data to lcd and server via esp8266

The code below, as it stands, works correctly. It connects to a local server (so Token and everything else is no problem sharing) and transmits the data via post. However, when I uncomment the lines ...
-1
votes
2answers
79 views

Sensors / Data logging Temperature and Humidity 50ft away [closed]

I am looking at using a DHT11 for logging my temp and humidity in a few boxes i have. I need to be able to run these sensors several feet away (50ft ish) I would like to use Ethernet cable to do this....
0
votes
1answer
34 views

Ethernet shield connected to local network, not to internet

Using the WebServer example file I have been able to confirm that my arduino is connected to my local network and I can open the page in my browser. However any attempt at contacting addresses outside ...
0
votes
2answers
56 views

When connecting, client.connect() returns 0

I'm using an arduino UNO with ethernet shield. When following a few guides online for a school project I came across this issue. First code sample: #include <SPI.h> #include <...
0
votes
0answers
28 views

ECDSA keys not printed correctly

I am experimenting with ECDSA keys through secp256k1 curve using the micro-ecc library (downloaded through the library manager). I am running Arduino 1.8.9 on Arduino UNO ATmega328P. My code (derived ...
0
votes
0answers
77 views

Migrating an Arduino Project to Beetle Bluno

So I have a working project with Arduino Uno. I now want to migrate it to the Beetle Bluno. I tried running the code on the Beetle and it does work. I cannot seem to get the Bluetooth to work though. ...
-1
votes
1answer
48 views

Arduino Temperature Sensor

We are doing a project and we need to build a thermo sensor and read the voltage and the temperature but we also have to have the temperature correspond to LEDs that will give a blue for cold green ...
2
votes
3answers
108 views

What is the correct way to interpret the built-in Analog-to-Digital Converter output?

When using the built-in analog to digital converter of the Arduino Uno Rev 3's Atmega328P with a reference voltage of 5V, what is the appropriate function to interpret the output? There is conflicting ...
0
votes
0answers
26 views

Help with tachometer programme

This is my first programme, which is to control a brushless ESC motor and an IR sensor to read the props' RPM. However I can't seem to figure out why it's not working. The reading keeps giving me 0, ...
0
votes
1answer
36 views

Controling L298n with interrupts

I'm working on my first arduino project, Sumo Robot, therefore i dont know much about programming yet. We are supposed to use two IR sensors one on the front of the robot other on its back to avoid ...
0
votes
1answer
42 views

SoftwareSerial data being corrupted - looking for suggestions

I'm having problems running a serial communication between a NodeMCU ESP8266 and an Arduino Uno. I'm using the "standard" SUART setup, i.e. pins D1&D2 on the ESP are hooked up with GPIOs 2&3 ...
-2
votes
1answer
41 views

Can I connect a Android phone fingerprint scanner to Arduino or a raspberry pi?

I got it from my old phone (redmi 3s prime) and was wondering if I could connect it to an Arduino or a raspberry pi ,since I don't know what type of communication protocol it uses.
-1
votes
2answers
46 views

My Arduino code is showing unidentified reference for 3 of my variables, I don't know how to fix it

Here's the code up to the error. const int R = 12; const int G = 10; const int Y = 8; const int PBR = 13; const int PBG = 11; const int PBY = 9; const int pinNum = 3; const int speaker = 2; int LED ...
0
votes
2answers
72 views

How to exit while loop using keypad?

I can't seem to be able to escape a while loop using a keypad button. I've tried the solution from this thread: https://forum.arduino.cc/index.php?topic=79932.0 Here's my code: void alarm(){ char ...
0
votes
1answer
50 views

What sensors can measure 3-axis acceleration?

I'm currently measuring vibration, temp and noise using an Arduino and various inexpensive sensors. The acceleration sensor i found was sensors that measured the gravity on 3-axis of the sensor. But i'...
0
votes
3answers
75 views

How long will program stay in memory without power?

Let's say we program an arduino uno or nano and then stop using it for a while. How long can we expect the program to last on the arduino?
0
votes
0answers
25 views

How can a python script and Arduino communicate using Xbee radio modules?

So I have to run a python script that detects some colors through an overhead webcam, and then I have to send this data to Arduino through Xbee but the catch is I am only allowed to do embedded ...
0
votes
3answers
56 views

Arduino Uno still boots and runs but no serial communication over USB

After having the Arduino Uno running for a short period of time, it seems to no longer communicate over the USB port when connected to the computer. It still seems to turn on and run the program ...
0
votes
1answer
17 views

How to use the Osepp proximity module with arduino uno

I have recently purchased an Osepp proximity module at Radio Shack and am attempting to use it with my Arduino Uno. How should I connect it to the Arduino, and what library do I use?
0
votes
1answer
31 views

Maximum frequency that can be converted with Arduino Uno?

Arduino Uno Board use successive approach ADC of 12 bits and 16 MHz frequency clock. What is the maximum voice frequency can be converted using arduino uno board? I want the step by step solution with ...
1
vote
0answers
52 views

Problem driving segment display

First off, I'm not really sure if it belongs here on on electronics stackexchange, since it involves an Arduino, some code and a small circuit. I'm trying to create a simple countdown timer using a 7 ...
0
votes
0answers
20 views

Use smartwatch NFC with Arduino

I've been working on a pretty simple NFC based door lock with the Arduino UNO. So far everything's going good and I have been able to use standard NFC cards/tags with the lock. I know that phones ...
0
votes
1answer
42 views

Serial Monitor is printing out weird values and skipping strings

I am currently working on a project with some friends. In short, we want to create a setup where when a button is pressed a thermal printer prints out a random sentence. I am currently trying to get ...
0
votes
0answers
52 views

Arduino AT not working (Arduino UNO and HC-06)

Recently had issues with HC-06 AND Arduino UNO. Turned out that the last module was not working, this module keeps flashing and it appeared in the Bluetooth list. I'm trying to work with some AT ...
-1
votes
2answers
63 views

Pressure Switch 4-20mA

Im working on a project trying to read the pressure value from an Allen Bradley Pressure Transmitter 836P-D2NFGB20PA-D4 Ser.A However the pin configuration that comes on the description along with ...