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
-1 votes
0 answers
13 views

I have a potential button logic problem

So I am trying to have the arduino start with a press of a button and have it stay on. I also have a calibration function when the button is held down for at least 3 seconds. For some reason, the code ...
Tali Mosley's user avatar
-1 votes
0 answers
15 views

Arduino keeps disconnecting when trying to connect through bluetooth

I am trying to see if my arduino connects through bluetooth with the lightblue app. One problem is that when trying to connect the attempt keeps failing because the arduino keeps disconnecting. We've ...
Tali Mosley's user avatar
0 votes
0 answers
23 views

Digital pin outs inverting "sometimes"

I have a camera tracking ARUCO markers on a conveyor belt. The camera spots a marker & sends a byte via serial (USB) to a Nano that's, controlling a L298N H-Bridge to change the direction of the ...
DrBwts's user avatar
  • 161
0 votes
1 answer
42 views

Arduino Nano ESD crash despite ESD protection measures

Good day! I've just ran into a problem with a project of mine that I can't really figure out myself anymore. So i'm hoping someone on here will be able to help... First things first, I'm trying to ...
TPoE's user avatar
  • 29
1 vote
2 answers
116 views

Create a system of hot swap firmware update on Arduino Nano?

Is it allowed by Arduino Nano architecture, to develop a Sketch, divided into two segments: The one, that accepts through a CAN-bus a the new version of the firmware itself and writes it into the ...
Andrew's Quest's user avatar
0 votes
1 answer
75 views

Creating firmware redundancy on Arduino Nano

Is there an established system, that, if a new version of the application is uploaded to Flash, switches to it automatically, but keeps the old one for the cases if, due to some problems, we need to ...
Andrew's Quest's user avatar
-1 votes
1 answer
45 views

Why is my bool always set true? [closed]

I'm still learning here but most things are sinking in well now apart from this bool which for some reason is always set true even though i set it as false in setup. A button press is requried to ...
TwitchCloud's user avatar
-1 votes
0 answers
50 views

ATtiny85 wireless transmitter using NRF24L01

I have an ATtiny85 microcontroller wireless transmitter to an Arduino Nano receiver using the wireless module NRF24L01. These are the sketches and wiring for both and the result is nothing in the ...
MrObscure's user avatar
1 vote
0 answers
54 views

Sampling rate too slow

I have an Arduino Nano connected to an Adafruit H3LIS331 accelerometer. The sampling is initiated by a button press, which sets a delay to prepare for the measurement, and then the sampling begins. ...
Avihai Tsinober's user avatar
0 votes
1 answer
29 views

Arduino Uno/Nano + ML

I couldn't find any clear answers elsewhere, hence I'm asking here. I have a TensorFlow/TensorFlow Lite model which I have already trained on some sensor data. Now, how can I utilize this model on my ...
S.A's user avatar
  • 11
2 votes
2 answers
67 views

I'm trying to make a game of life using an arduino nano and a 24x8 Led Matrix. When I try making area bigger it says not enough memory. What can I do?

I have a problem when changing MAX_X from 8 to 24. I know that the problem is that I am using to many global variables but I don't know how to fix it. #include <LedControl.h> #include "...
Augustus73's user avatar
0 votes
0 answers
20 views

Arduino Nano Er.43

I am using an Arduino Nano clone on Windows 10. Worked perfectly fine for a year until I uploaded a code with some Serial functions. After trouble shooting for hours with drivers, and checking all ...
Johnny Baciu's user avatar
2 votes
0 answers
67 views

Reading MAX31888 works with Nano, but not with ATtiny85

I'm using the OneWire library to try and read temperatures from a MAX31888 sensor using this Arduino program: #include <SoftwareSerial.h> #include <OneWire.h> #define RX PB4 #define TX ...
Boyfinn's user avatar
  • 115
0 votes
1 answer
35 views

Issue with uploading Arduino sketch on Ubuntu 20.04 [duplicate]

I'm encountering an issue while attempting to upload an Arduino sketch on my Ubuntu 20.04 system. Despite ensuring that the correct board is selected and the USB port is recognized properly, I ...
athiyan sankar's user avatar
-1 votes
1 answer
45 views

Arduino works indefinitely without PC contact [closed]

I'm studying H-Bridge for DC motors. I have a 9V battery, DC motor (9v), Arduino Nano and L293D. I'm following Jeremy Bloom's book about Arduino. Well, the system works perfectly with a PC connected. ...
uckorka's user avatar
1 vote
0 answers
70 views

PCA9685 servo not working

I am working on a project where I want to connect 12 servos together. I got: Arduino Nano Every PCA9685 16-channel, 12-bit PWM/servo shield Power supply 5 V, 10 A I got a PCA9685 16-channel, 12-bit ...
Mario Avila's user avatar
1 vote
0 answers
76 views

LED button alarm with DS3231 RTC problems

I am a PHP web programmer, but I am a beginner studying Arduino. I would like to inquire about a problem with the following function that I am creating while looking for various references. (This ...
rayhong's user avatar
  • 11
0 votes
1 answer
59 views

Is it possible to use analogWrite() using an external Power Supply Unit?

As far as I know, my Arduino Nano can perform analogWrite() ranging from 0 to 1023 for 0 to 5 V respectively, but I want to control a DC motor which requires 9 V for good performance. Is it possible ...
Tapan Gupta's user avatar
1 vote
0 answers
56 views

Inaccurate and changed results with ultrasonic sensor

I have an issue using an ultrasonic sensor. The problem is that when I connect the ultrasonic sensor to my Arduino Nano, it always gives some random values, usually 130 cm, I don't know why. I bought ...
hasan darwish's user avatar
1 vote
1 answer
105 views

I can't connect a microSD card

I can’t connect a microSD card to either the Arduino or the ESP32. It needs to be connected to the ESP32; I just tested it on the Arduino to see if it works at all. Equipment: ESP32 devkit v1, Arduino ...
anon's user avatar
  • 11
0 votes
3 answers
103 views

Arduino interrupt for serial data on digital pin, that is too large for the serial buffer

I am using an Arduino Nano in combination with a NEO 6m GPS module. The GPS module is sending data, consisting of a few hundred chars, every second. Since I am communicating with my PC over the ...
Vincent Pruy's user avatar
2 votes
2 answers
242 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
218 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
4 votes
2 answers
316 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
-1 votes
1 answer
164 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
  • 19
0 votes
0 answers
92 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
45 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
662 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
227 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
81 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
  • 235
2 votes
0 answers
286 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
102 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
544 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
452 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
438 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
715 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
149 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
151 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
74 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
105 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
81 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
57 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
319 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
4 votes
0 answers
305 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
  • 141
1 vote
1 answer
124 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
4 votes
0 answers
54 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
47 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
69 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
118 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
60 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
2 3 4 5
27