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
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
86 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
17 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
67 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
71 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
30 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
90 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
42 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
33 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
47 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
22 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
50 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
31 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
33 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
30 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
68 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
23 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 ...
0
votes
1answer
43 views

Program fails to check for potentiometer input/changes

I've been having a problem with my code that my potentiometer will not change values in a method. I'm having a random number generated, and if it is a specific number, print a statement and ...
0
votes
0answers
30 views

hello,i have an problem with my arduino with an lcd

i've totally done everything i could,but when i run my arduino uno with my 16*2 lcd (with i2c) . it has a higher brightness on the top and a lower one in the bottom. ive even tried putting example ...
-1
votes
1answer
46 views

Can I connect 220V AC supply to Node MCU (or any arduino)pin D1 and D3 while node MCDU is power off?

Can I connect 220V AC supply to node MCU pin D1 and D3 while node MCDU is power off?
0
votes
0answers
21 views

Control of 3 LEDs over Bluetooth using MIT App Inventor

As per title, I have 3 LEDs connected to an Uno. Also connected is an HC-05. edit: forgot to add a question, my bad. Is there any glaring major issues in this code that I've overlooked? Not ...
0
votes
0answers
22 views

Read the respiration data to Arduino serial console

Currently working with ADS1292rShield library. Is there any way to read the value of the respiration and heart rate without using the Protocentral GUI. Printing DataPacketHeader to the console just ...
0
votes
1answer
33 views

Multiplication operator with or without braces

I have written a simple calculator program for an LCD keypad shield. It works fine except for the multiplication case. It gives me zero. However, I have noticed that when I enclose the expression num1 ...
0
votes
0answers
19 views

how to get live view of esp32cam at remote sever using ssh tunneling?

I have found many projects involving esp32cam, but in all projects video is being seen on local server only.For its of no use.As for a home security project user can view the video at remote location ...
0
votes
1answer
54 views

Pushbutton and switch case

I am developing a project for my college. PROJECT OUTLINE: There are 3 sensors (Temp., Accelerometer & Humidity) will read the respective parameters continuously. in between if I press '...
0
votes
0answers
10 views

Programmer not responding and rx and tx lights arent blinking while uploading.Also showing avrdude not sync resp=0x07 and so on [duplicate]

I am trying to make an obstacle avoiding car with four motors and servo connected to motor driver shield mounted on the arduino uno r3.When I am uploading code it is showing avrdude: stk500_getsync() ...
0
votes
0answers
15 views

Does MFRC522 module read all 13.56 MHz RFID tags?

Hello everyone. Does MFRC522 module read all 13.56 MHz RFID tags? Or there are different types of the 13.56 MHz tags that the MFRC522 module reads only one type of them?
0
votes
1answer
34 views

SD card with arduino UNO

I am trying to use a micro SD card in order to store data sent from an arduino UNO. My setup consists of: Arduino UNO (5V logic), powered directly from USB cable Digilent Full-sized SD Card Slot ...
0
votes
1answer
38 views

Receiving garbage value when sending a Json object from Arduino Uno to NodeMCU using SoftwareSerial

I am trying to send a Json Object from Arduino UNO to NodeMCU using SoftwareSerial. I am using Arduino IDE. I am getting garbage value on Serial monitor of NodeMCU. Tried it with different garbage ...
0
votes
1answer
33 views

Tilt Compensated Compass Using HMC5983 gives inconsistent output

I've been trying to build a tilt compensated compass for an autonomous Arduino car I'm building. I'm having issues with the consistency of my data. This is the code I'm using. #include <Wire.h>...
0
votes
0answers
16 views

avrdude: stk500_recv(): programmer is not responding AVRDUDE ERROR [duplicate]

I cannot use any Arduino board such as UNO, Nano , RedBoard something etc. I am using Mojave 10.14.6 and Arduino IDE 1.8.12. ERROR : avrdude: stk500_recv(): programmer is not responding avrdude: ...
-1
votes
1answer
40 views

Controlling Brickstuff with Arduino

I don't have much experience with electronics (I'm ok with programming). I have some Brickstuff lights in a Lego set. The lights are powered by 3 AA batteries. The Brickstuff documentation says that I ...
0
votes
0answers
48 views

MLX90129 - SPI protocol

I don't know if someone has already worked with the MLX90129. Right now, I'm trying to establish the SPI protocol between MLX90129 and an Arduino. I'm using the example that it is showed in the ...
0
votes
0answers
34 views

Arduino UNO + ESP8266 fails when using char buffer instead of String

I have an Arduino Uno connected to an ESP8266 via an ESP-01 adapter. The adapter is powered from the Arduino 3.3V and GND pins and the Tx/Rx to the Adapter use Arduino pins 2/3. The purpose of the ...
0
votes
0answers
38 views

Which Protocol to use to control WiFi (esp 32) enabled Led Light

I am developing a Wifi based Led light (for learning purpose). I have little knowledge about web server, clients, Web protocols. I will be using ESP32 as Controller cum WiFi module. There are two ...
0
votes
1answer
28 views

Alternatives to read mp3 without using an sdcard as source for the files?

I am making a project that plays several sounds using a DFPlayer Mini mp3 player and a micro sd card. The size of the sounds I normally play is less than 20 MB, so a lot of space in the sd card is ...
1
vote
2answers
90 views

Arduino Timer 1 Library manipulate Timer value

I'm using Timer1 library for generation of pulse. But in my code, at some places i need to change the timer values. Can anyone suggest the ways to do it. In below code in place of 370000, I need to ...