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
1answer
36 views

Trying to move servo motor via 3 buttons

I am having some difficulties in trying to make my servo motor move to a specific angle based on the button pressed. For example, having the motor start at 0 degrees and then having it move to 180 ...
0
votes
0answers
35 views

nRF24L01 not sending and receiving

I used a simple example of sending and receiving between nRF24L01 (GettingStarted in RF24 library and nrf24_server/client in RadioHead library) but the two examples are not working, I used the ...
0
votes
1answer
29 views

Setting up 433 MHz Transmitter and Receiver in the same Arduino sketch using Radiohead

I have set up a 433 MHz transmitter and receiver pair on one Arduino Uno board. Using the RCSwitch library, I could successfully send and receive signals. Using the Radiohead library however, I could ...
0
votes
1answer
41 views

ATTiny84 fuses reading as 0

I was programming my ATTiny84 when it randomly stopped being able to be programmed. I have an external 32768 Hz crystal connected to it, and I have been using my Arduino UNO with the ArduinoISP sketch ...
0
votes
0answers
29 views

Program is executing but AT commands not showing in serial monitor

My purpose was to send SMS using GSM SIM800L coreboard and Arduino UNO. Here is the code #include <SoftwareSerial.h> //Create a software serial object to communicate with SIM800L ...
0
votes
0answers
36 views

For loop blocking other program mm

Currently practicing my programming knowledge So,am using atmel studio to program atmega328p I have a "for" statement that flashes an LED(led1) 5 times when button1 is pressed. Then another "if" ...
0
votes
0answers
29 views

Bluetooth Module 4.0 BLE

I'm trying to read data sent from my phone to arduino via HM-10 Bluetooth Module. I downloaded the app, I paired the module to phone but I can't read data. If I just upload a blank sketch to arduino ...
-1
votes
1answer
31 views

How to power 6 servo motors using battery to create a robotic arm?

I am trying to create a robotic arm. The problem is that I could not run all 6 servo motors -3 MG966r servo motors and 3 MG90S servo motors - simultaneously, using 12V and 3A AC to DC adaptor. Last ...
1
vote
1answer
37 views

With the press of a button, I need to play an intro sound file, then one of 50 other sounds in order, each time a button is pressed

I need to play an intro file and one of 50 different files after it in order each time the switch is pressed, with a short delay between the intro and next file. For example let's say the intro is ...
0
votes
1answer
32 views

5 arrays or one matrix?

I am working on a project where i need to store as fast I can following : 1 - Acceleration on X 2 - Acceleration on Y 3 - Acceleration on Z 4 - timestamp 5 - A value from some other sensor ...
0
votes
1answer
27 views

HID communication between Arduino Uno and computer

I used some firmware I found online to turn the UNO into an emulated HID device. The Arduino is no longer connected to a Serial COM port so I can't send serial data from my computer to the device. Is ...
0
votes
1answer
20 views

PC8563 Arduino interface

i am trying to interface pc8563 with arduino uno . I have small doubt related to RTC slave address reading RTC datasheet says page no 14 where device slave address is A2 for write and Read A3 i ...
0
votes
0answers
12 views

sim800l gsm module reboot command

i have a project to control a relay by sms and call by arduino and sim800L gsm modem and i need to modify the code below to by adding command to reboot or reset the modem ever hour i mean delete all ...
0
votes
0answers
22 views

Arduino PS2X module not working with controller

I have been trying to use the PS2X module to try to use my PS1 remote with my arduino (I am guessing that PS1 controllers will work because they are virtually the same ). The problem is that I don't ...
1
vote
1answer
62 views

Problems lighting LEDs on receiving Arduino given a char array from sending Arduino in Tinkercad

The gist of the problem is that I'm trying to have an Arduino with a breadboard that has 5 buttons and 4 LEDs each led is linked with a button and the fifth button "sends" the lights that were ...
0
votes
2answers
49 views

DHT11 is returning nonsensical values

I am trying to get humidity and temperature readings (eventually to trigger a misting system), but the values keep returning as 0C and 0%humidity (in general). Originally, I was using an am2320 ...
0
votes
0answers
16 views

Using Arduino with through beam sensor on combine harvester

I have a project where I'm trying to capture the output from a through beam sensor (infra red) installed on a combine harvester. I'm not much of an electronics wiz but was hoping it was going to be ...
0
votes
1answer
49 views

How send method POST with JSON? Arduino UNO R3 + SIM900

Why is the server side of php not loading any data from arduino? What did I do wrong? String reading="{\"latitude\": 12.983027, \"longitude\": 80.2594}"; mySerial.println("AT+HTTPINIT"); ...
0
votes
0answers
39 views

Problem HTTP POST request with Thingspeak

I am trying to post a tweet using thingspeak but it is not getting posted. Am I missing something in my POST request or something wrong in my code? #include <SPI.h> #include <Ethernet.h> ...
0
votes
0answers
23 views

Arduino Uno with ESP8266-01 using PubSubClient with secure TLS

In my example, Arduino UNO (ATMEGA328p) connects using the SoftwareSerial library with the ESP8266-01 module. Then I used the PubSubClient library to connect to the MQTT broker. The connection is to ...
0
votes
1answer
31 views

Atmega Millis with Quartz crystal

I followed https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard this tutorial to program my Atmega 328p to run on a breadboard with a 16 MHZ Quarz crystal and two 22pF capacitor. I want to program a ...
0
votes
1answer
87 views

My Arduino smokes every time I connect an AC/DC wall adapter to it. Can someone help me to fix it?

I copied the schematic below and when I ran the code from my laptop, it worked well but every time I unplug it to my laptop and connect an ac dc wall adapter, my Arduino smokes. Why does it smoke and ...
0
votes
0answers
18 views

macOS Cantalina Elegoo Uno R3 port not working

I recently bought an Arduino starter kit off of Amazon (Elegoo super starter kit). I have been using it with my Mac with no issues up until now. All of a sudden it does not recognize the port, and I ...
0
votes
0answers
14 views

Cypress CY15FRAMKIT-002 Serial FRAM with Arduino

I recently bought the CY15FRAMKIT-002 FRAM kit and I wanted to know whether there is an arduino library that supports this kit. So far I could find a library for the CY15FRAMKIT-001, but my guess is ...
0
votes
1answer
53 views

FC-16 led matrix module based on MAX7219

EDIT: const char *pc[NUM_ZONES] = { "ROOM", //0 "SUBJECT", //1 "GRADE",//2 }; I did this and I can't get them to display every row simultaneously. void loop(void) { DateTime now = rtc....
0
votes
1answer
69 views

2 SPI devices conflict

I want to connect a W5500 ethernet Module and an SD card module to arduino Uno using SPI (with different CS pins of course). When connected separately they work fine but when connected in the same ...
1
vote
1answer
51 views

Bicycle Tail Light project [closed]

For my college course we currently have to carry out a project of our own choice. I chose to make a Tail light system, with strobing indicators, fog-light and brake-light. The lighting uses Neopixel ...
0
votes
4answers
73 views

It is possible an Arduino generate 3d graphics on tft or vga

It is possible to an Arduino render 3d graphics like very low polygonal 3d models or generating lighting efects non realtime shadows or realtime shadows and reflections. Rendering like first 3d video ...
0
votes
1answer
32 views

Use NeoSWSerial instead of SoftwareSerial with Adafruit Fingerprint Library

I'm using the FPM10A fingerprint sensor together with the Adafruit Fingerprint Library. I also have a GPS and Bluetooth module on the board already (connected to an Arduino UNO) and I'm using the ...
0
votes
1answer
98 views

Bootloader onto an ATmega328p (3.3V/8MHz), the dude won't finish his business

Hi and thank you reading my question ! I need for my projects to design as small as i can. Both the skills, and the hardware counts. So i can't use a DIP package for them, and i have gone for a TQFP ...
0
votes
2answers
44 views

turning positional servo motor more then 180 degrees

My RC servo motor is capable of turning more then 180 degrees(around 200 degrees) when I physically turn it, but when I use my code it only turns 180. Is there a way to code it so that it turns to ...
0
votes
0answers
40 views

how do i convert to assembly code (AVR assembly) from arduino

i have code in the Arduino ide for a temperature sensor that shows the temperature on three 7 segment displays, it shows the temperature to one decimal point. using an arduino uno. I am struggling to ...
0
votes
0answers
33 views

HTTP get with ESP8266 via a SoftwareSerial port

I've Arduino UNO and ESP8266 connected via a SoftwareSerial. Arduino UNO communicates with ESP8266 by sending AT commands. And I need to write a function to fetch HTTP responses and return a response ...
0
votes
0answers
34 views

Data transmission rate of accelerometer mpu6050 to arduino uno vs Sampling rate of mpu6050

mpu6050 has sampling frequency of 1kHz (mentioned in datasheet). But when i interface it with arduino uno via I2C communication (400Khz bus speed), i only get 50 raw data (each of x,y,z). There is no ...
0
votes
1answer
48 views

read data from controller via RS485 Modbus rtu Arduino

I have a device with an rs485 port from which I would like to read the ph value. Below is the connection with the RS485 adapter. I tried to read the data with this code but doesn't work: #include ...
0
votes
0answers
27 views

How to use NVM or EEPROM on SAMD51?

I had to upgrade to Arduino Grand Central M4 ( running SAMD51 ) due to large code and demanding memory . I know SAMD51 does not have a classic EEPROM but it still has NVM for user data storage between ...
0
votes
1answer
29 views

Attiny85 SoftwareSerial not working on battery power

I have a very small test project running on an Attiny85 (set to internal 8MHz). Everything works when powering the circuit from an Arduino (3.3 or 5.0 volt). But when changing the power to a 18650 ...
0
votes
1answer
52 views

Pulse generator with varying width

I am trying to generate a square pulse with a fixed delay of 5 second between pulses and varying width of the pulse. The code I wrote so far generates a sequence of pulses every 5 seconds. Is it ...
0
votes
1answer
36 views

how to get esp32 ip address ,which is being connected to local network

I need to know the IP address of ESP32 on the local network(without printing ip on serial monitor ). The idea is to do mDNS or UDP broadcast to send the IP to the android application. The app will ...
0
votes
1answer
36 views

Serial.flush() in arduino

I am new to Arduino and I have the following: int delaynum; char cval[12]; void setup() { Serial.begin(9600); Serial.print("Enter Number"); Serial.flush(); int i=0; while(i<12) { ...
-1
votes
1answer
35 views

Arduino Turn on a led with the PCA9865

I am using the PCA9865 to light a led My circuit Arduino to PCA9865 A5 > SLC A4 > SDA 5V > 5V GND > GND and 5 volts from a battery My code: #include <Wire.h> #include <...
0
votes
2answers
38 views

Why is function mentioned in global declaration?

I came accross this code for writing data into EPROM in arduino. Why is void printTemp(); void clearEEPROM(); and void writeTemp(); functions are mentioned in global declaration? How will this help? #...
0
votes
1answer
22 views

UNO SPI slave read from UNO SPI Master beginTransaction

For a project I am trying to understand SPI. The final project I will use this in, is for reading the SPI from a car radio. That Radio writes to address 0x80 of a DDRAM LCD display. MY intent is ...
0
votes
1answer
31 views

Node.js cannot recognize characters from the serial port

The following script prints everything fine, it recognizes integers from the serial port, but cannot recognize characters. The if statement does not work with characters. I have tried both == and ===...
0
votes
2answers
42 views

Arduino Uno SD card storage

I am interested in storing accelerometer data to an SD card. Since power consumption is the main consideration of my project, it is important to do as few writes to the SD as possible, because the SD ...
0
votes
1answer
67 views

My LED toggeling doesn't work the way I want

I want to do LED toggeling so I wrote this: int led=13, button=12; void setup() { // put your setup code here, to run once: pinMode(led,OUTPUT); pinMode(button,INPUT); } void loop() { ...
0
votes
1answer
70 views

ADC value changing after changing Timer1 value in program

I'm writing a code where analogRead() reads ADC value from load. After reading ADC value, if it is not in range, I need to manipulate Timer1 value. Which is also getting changed. But, after changing ...
0
votes
1answer
24 views

Pushbutton and switch case follow up question

PROBLEM STATEMENT: A circuit is measuring various parameters (Temperature, Humidity, etc.) through sensors connected to it continuously. When a Push Button is Pressed and Hold for 2 seconds in ...
0
votes
0answers
16 views

Arduino multiple sensor lib combine [duplicate]

I'm new to arduino. How can i combine these codes? Thx. (I'm using Uno) #include "DFRobot_BNO055.h" #include "Wire.h" typedef DFRobot_BNO055_IIC BNO; // ******** use abbreviations instead of ...
0
votes
0answers
38 views

expected primary-expression before '.' token

#include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); // #include <SharpIR.h> #define IR A0 // define Sharp IR signal ...