Questions tagged [arduino-nano]

The Arduino Nano is a small board based on the ATmega328 or 168. It has male headers, so it can be plugged directly into a breadboard. It is small and compact, and features a USB chip.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

nrf24l01 not communicating with each other

Since the past few days I've been trying to get two of my nrf24l01 modules to communicate with each other without any progress. I would greatly appreciate any help provided on this forum. Thank you ...
Ryan's user avatar
  • 101
-1 votes
1 answer
26 views

Unsure how to get started on lighting project [closed]

So to preface, I am brand new to arduino coding, and have no clue what it is I’m doing. But I wanted to experiment cause I was wanting to make some fun lighting additions to costume pieces. This ...
Shane's user avatar
  • 1
0 votes
0 answers
24 views

While I was trying to upload a code in arduino nano I got this error : [duplicate]

While I was trying to upload a code in arduino nano I got this error avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00 ...
Hari Saravanan's user avatar
-1 votes
0 answers
28 views

Arduino voltage divider Vx to mm [closed]

I am new to Arduino and trying to cope with an assigment for my class. I am using an Arduino Nano board and a potentiometer with 2 resistors as shown in the picture. I am trying to write code that ...
Konstantinos's user avatar
-2 votes
0 answers
66 views

Looking for best methods of remaking the code without changing its functionality, but reducing the code amount by ~10 times [closed]

Can anybody help me with examples of code with matrix? or: How is the approach to optimize code relative to my example with using "switch case" to "arrays"? Without changing its ...
Vladistone's user avatar
0 votes
0 answers
19 views

Trouble bootloading Atmega328p-au, are my capacitors messing with it?

I'm new here. I've been trying to flash a bootloader to an atmega328p-au. I use an arduino nano as an ISP and have been double/triple checking my wiring because I'm getting the following error: ...
alfred abanto's user avatar
0 votes
0 answers
16 views

HX711.h: No such file or directory although every thing is installed correctly!

I'm not quite new to the Arduino, I did some projects and some of which was using hx711 and load cells, they used to work in the past. However, I tried it today, and it shows this error HX711.h: No ...
Zeyad Elghanam's user avatar
2 votes
2 answers
75 views

Arduino read thermocouple Type K with ADS1115

I ordered a ADS1115 so I could measure temperature of a type K thermocouple, but I am not managing to get accurate readings. I had it working while having a normal A0 pin, but since the type K table ...
Bart's user avatar
  • 123
0 votes
3 answers
63 views

Arduino Nano Every USB Connection not working

I have two original (designed and assembled in Italy) Arduino Nano Every Boards from a German Web Shop. They came sealed in original packaging. When I try to connect them to my PC, they don't power up....
hintze's user avatar
  • 107
0 votes
0 answers
39 views

Sim800l v2 send message to multiple numbers

I have this data I'm getting through EEPROM "Emergency Contacts: +639*********, +639*********, +639*********;" Using this I want to send a message to these numbers. I have this function but ...
Rysal Raven Rites's user avatar
4 votes
2 answers
309 views

"if" condition problem / question

I'm new to Arduino and my question is rather theoretical. I have an Arduino Nano board (Atmega168 processor), a button, a display. I have written a button handler that does not stop code execution. My ...
ONamaeWa's user avatar
0 votes
1 answer
106 views

Incorrect reading from DHT22 (on a Nano board)

I have rigged two different DHT22 sensors to an Arduino Nano board. Both temperature readings are more or less comparable but they produce very different humidity readings. The sensors are: Sensor No....
nick's user avatar
  • 21
0 votes
0 answers
60 views

OpenCV on ESP32 Arduino Nano

I am implementing a program on Arduino Nano ESP32: the KY-037 microphone is connected to the board and collects five seconds of analog signal. Then, an algorithm is applied to create a 128 x 128 ...
Alice's user avatar
  • 31
0 votes
1 answer
26 views

Confusing stepper reaction to increase in delayMicroseconds()

I have been following this tutorial using the same hardware, TB6600 driver, 42HS48-1704A (yes I think its supposed to be 42hs40 but thats not what it says the sticker) stepper but am controlling via a ...
DrBwts's user avatar
  • 161
3 votes
1 answer
571 views

Arduino Nano is performing really slowly, even though the calculations are simple and there are no delays

I'm working on a tiny ping-pong game based on Arduino Nano. Its modes are "person vs person" and "person vs computer" (the computer just tries to keep its racket at the same Y ...
SNBS's user avatar
  • 133
2 votes
2 answers
84 views

Using Internal Timer Interrupt to Read Analog Sensor

I'm having difficultly using an internal timer interrupt with my Arduino Nano to properly capture a specific value from a linear potentiometer and then instantly stopping the actuator. I basically ...
wickedhurricane's user avatar
0 votes
1 answer
57 views

Addressable LEDs using SM16704

I've been asked to interface with some LED strips that use SM16704 pixel chips. A site search here doesn't show any mentions of this chip, so I wonder if anyone knows if they're compatible with the ...
Jim Mack's user avatar
  • 237
2 votes
0 answers
181 views

GPS speedometer with NEO 6M - latency issue

I have built a speedometer, based on this youtube video: https://www.youtube.com/watch?v=gKuJxjxNP-k&t=34s The speedometer is for a car, so it needs to be in real-time and accurate, with the ...
cool bean's user avatar
0 votes
1 answer
75 views

DS18B20 doesn't work reliably

like discribed in the title my temperature sensor goes to -127 after a few minutes of run time, it works again after a restart, I have already replaced the sensor and I'm using the same code for the ...
Dennis's user avatar
  • 21
0 votes
2 answers
191 views

Having trouble uploading sketch to Nano [duplicate]

I have a few cheap Nano clones that I bought online that have worked for the past couple of months. They were working fine today until suddenly the Arduino IDE had trouble uploading sketches to them. ...
NibbledPots's user avatar
0 votes
1 answer
221 views

LoRa Ra-02 Module begin and beginPacket not working in Arduino Nano

Here there, recently I am testing Lora Ra-02 module I saw many videos and it is easy to set up, according to this schematic: LoRa SX1278 Module-----Arduino Nano Board 3.3V------- Gnd---------Gnd En/...
Asif Uz Zaman's user avatar
0 votes
2 answers
185 views

Arduino Servo MG90S not moving

I'm new with arduino (nano). I am having problems with Servo MG90S, I cant make it move. Im doing the easiest test, Servo cables connected: Brown -> gnd Red -> 5v Orange -> pin 9 my arduino ...
Juan MP's user avatar
  • 13
1 vote
1 answer
305 views

Arduino Nano uploading problems

I am having trouble uploading code to my Arduino Nano. It has been very trusty in the past, but I am getting this new error when uploading any code to it: avrdude: ser_open(): can't set com-state for &...
Sky-Wired's user avatar
2 votes
0 answers
100 views

Watchdog don't work with Atmega328PB

I have a code that is working fine using WatchDog timer to auto reset in case something goes wrong, but now i got a arduino with ATMega328PB, and the old code just don't active the watchdog. #include &...
Christian Beregula's user avatar
2 votes
0 answers
107 views

Arduino NANO RF reciever and Digispark Attiny 85 transmitter issues

I am trying to send RF signal from Digispark Attiny 85 (this one) and receive the signal with Arduino NANO V3.0 ATmega328 (this one). Transmitter and receiver are STX882 and SRX882 (these). Library ...
Le_Peck's user avatar
  • 21
1 vote
0 answers
61 views

Which temperature sensor is accurate?

I have an Arduino Nano RP2040 Connect with two temperature sensors. A DHT22 is connected to D2 and pulled up with a 5 kΩ resistor to 5V, and a LSM6DSOX IMU is built in to the board. Here's my code: #...
Ryland Goldman's user avatar
0 votes
1 answer
58 views

arduino nano fried (TWICE!!)

Having the skill to be stupid has managed to fry not one but 2 Arduino nano boards in the same place (I think it is because this part that smoke came out from of has a lump on it that was not there ...
Iliketurtles's user avatar
2 votes
1 answer
58 views

How can I get the Arduino IDE v0021 running on Windows XP to communicate with the latest Nano v3.0

After reading another post CH340 Nano avrdude: stk500_getsync() not in sync resp=0xa4 I have discovered that the bootloader on current Nano v3.0 has been upgraded. However, the advice given to ...
Raistlin's user avatar
2 votes
1 answer
49 views

Need help individually controlling 3 LEDs with 3 toggle switches

I'm trying to individually control 3 LEDs with 3 toggle switches. This is the code I'm using #define LED_PIN1 2 #define BUTTON_PIN1 14 #define LED_PIN2 3 #define BUTTON_PIN2 15 #define LED_PIN3 4 #...
mileguy72's user avatar
2 votes
1 answer
165 views

NRF24L01 PA+LNA With Arduino

I am using the NRF module for remote communucation.I have been many research about nrf but my nrf module is not working This is my tranmistter code: #include <SPI.h> #include <nRF24L01.h> #...
koraysonal's user avatar
3 votes
0 answers
205 views

Problem with reading data from ELM327

The idea was to create a bluetooth device on the arduino to read data from the machine (ELM327 v2.1) using the HC-05 bluetooth module. In this code the bluetooth module is switched to MASTER mode and ...
gfd2's user avatar
  • 131
1 vote
1 answer
101 views

Why does a simple LED Blink not work using mbed.h PWM and Arduino Nano BLE?

I have set up a very simple test program to blink an builtin LED using PWM. Following the mbed example and setting the period to 4 seconds (0.25 Hz) and duty cycle to 0.5, the expected behaviour is ...
Ivan Novikov's user avatar
3 votes
0 answers
44 views

Can I use regular pins (Example: D2, A3, etc...) as serial (RX, TX)?

Python/Arduino Beginner here... I have a DFplayer I am trying to hook to my Arduino and I want to hook it up through the regular pins instead of the RX and TX pins, but I've not been able to find ...
prestonferry's user avatar
1 vote
1 answer
41 views

Making a servo work for just once after a specific time period without hindering the sensors that are reading the data in a loop

I am making a cansat which will be launched on a sugar rocket. The cansat's Arduino nano will be operating sensors which will read the data and store it in an sd card and also a servo to deploy the ...
noblenikhil's user avatar
1 vote
2 answers
64 views

converting comma delimited Serial message to 7 Unsigned Long variables

Working on a project where I get an input where its a comma delimited string like: "255,10000000,42949672950254,12,22". and then the numbers (no commas), would be split into 6 Long ...
The Oracle's user avatar
0 votes
0 answers
74 views

MPU6050 when searching is at address 0x68 but as a result shows only "0"

My circuit uses an Arduino Nano which I communicate via Α4 and A5 via I2C. There are several BMP280, HMC5883 and MPU6050 sensors on the I2C line. While I was dealing with these other two sensors, my ...
Roman 's user avatar
  • 19
1 vote
0 answers
51 views

Arduino sketch doesn't work when uploaded to arduino nano and OLED display shows npothing (possible issue: lack of memory)

I need some hand here. I wrote some code for a small arduino console-like device that has five pushbuttons, 128x64 I2C OLED display and arduino nano. And it doesn't work when uploaded to arduino nano -...
Demko's user avatar
  • 19
1 vote
0 answers
103 views

try to send AT commands from Arduino nano to ESP01

I encountered an issue when I try to send AT commands from Arduino nano to ESP01 I tried to find any tutorial for more helps, but I find nothing. please someone can help me. I tried the tutorial from ...
Salomon Oholo's user avatar
1 vote
0 answers
372 views

How to pass AT commands to Lora from ESP32 UART?

I have connected "Reyax RYLR998" Lora module to ESP32 UART2, but AT commands passed through Hardware serial not working. #define RXD2 16 #define TXD2 17 void setup() { Serial.begin(...
MrNams's user avatar
  • 129
4 votes
1 answer
373 views

Bad readings from 12V pwm fan tachometer signal

I have the following circuit: (The Arduino is powered via the USB) The problem is that I the reading from the fan's tachometer signal are incorrect, I tried to add the two resistors as voltage ...
Takata's user avatar
  • 71
2 votes
0 answers
619 views

Problem using CH340 driver for Nano

I am at my wits end and hope somebody here can provide some much-needed guidance. My platform is an Asus ROG AMD laptop running Windows 11. I recently decided to try working with Arduinos and ...
user21935770's user avatar
2 votes
0 answers
73 views

MacOS Ventura freezes/crashes when i plug in my Arduino Nano Clone

I'm using a MacBook Pro 2013 Late with OpenCore Patcher. Currently Ventura 13.3.1 is installed. Before this version was installed, I had no problem using arduino on my MacOS computer. But right now, ...
eaidy's user avatar
  • 121
1 vote
0 answers
31 views

Troubleshoot/Diagnose Arduino circuit

I've built the attached circuit with the following changes: I used Arduino Nano I used 10K pot 12V is connected to VIN pin (instead of RAW) the Arduino was connected to the PC by USB for the use of ...
Takata's user avatar
  • 71
1 vote
0 answers
147 views

Arduino Nano 33 BLE power consumption optimization

I am working on building a sensor using Arduino Nano 33 BLE that will measure temperature using two thermistors and angle changes. The measured values will be transmitted over Bluetooth to a ...
Arseniy Tretyak's user avatar
2 votes
0 answers
48 views

How to show repeated result on LCD while button is pressing

my results are here. 0 press--"a" 1st press--"b" 2nd press--"c" 3rd press-- still showing "c" When button pressed 3rd time, It must be repeated to show "a&...
hfsrg's user avatar
  • 39
1 vote
1 answer
67 views

What do I need for a plug?

I've manage to build myself an RFID music player which I'm pretty chuffed with. It's definitely a bit home made but it woks and I'm proud of it. I don't know what plug type to buy to sort my problem ...
user1357607's user avatar
1 vote
0 answers
52 views

Arduino Nano not receiving MIDI messages

so I am currently creating a MIDI to CV module and am still having trouble with my MIDI input circuit. I am following this circuit as my guideline and am sending MIDI messages via MIDI interface with ...
Harmony's user avatar
  • 11
1 vote
0 answers
29 views

Arduino Nano not recieving MIDI Message

I'm building an MIDI to CV converter using an Arduino nano along with a MIDI input circuit, however, when uploading the code and connecting the MIDI to a laptop via USB, the Arduino doesn't recognize ...
Max Ellzey's user avatar
1 vote
1 answer
226 views

50% duty cycle PWM signal with calculated frequency

#include <PWM.h> int led = 9; void setup() { InitTimersSafe(); Serial.begin(115200); Serial.println(); variable_freq(); pinMode(A0,INPUT); } void variable_freq() { while(true) { ...
curious_direwolf's user avatar
1 vote
0 answers
131 views

How to query data from my ELM327 via BLE?

I have a HM-10 module connected to my Arduino Nano that I want to use to get data from a ELM327 OBDII. I have been able to successfully connect to the ELM327 via: AT AT+RESET AT+BAUD2 AT+ROLE1 AT+...
leopardxpreload's user avatar

1
2 3 4 5
26