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
vote
2answers
92 views

Arduino program using i2c stops working after printing to OLED a few times

A NOTE ON THE PROJECT AND PROGRAM STRUCTURE I am developing an open source Smart Watch project using Arduino. The code can be found here: https://github.com/shivangsgangadia/SmartWatch The code is ...
0
votes
0answers
29 views

ADXL362/346 on a 5V Arduino

I have been trying to get my ADXL362/346 board to work with my 5V Arduino. I am powering it with 3.3V and using a Voltage Divider I step the control signals down to 3.3V as well. However, after 3 ...
0
votes
2answers
109 views

Slow refresh rate of 1.8 TFT display

I have 1.8 TFT display for Arduino Nano and it changes color very slow. When I try to change the color of the whole screen I see how it changes color line by line. I use "Adafruit GFX graphics core" ...
0
votes
1answer
36 views

availableForWrite() function return error when compiling for Arduino nano 33 BLE

I used availableForWrite() function as below in my code. When I compile it for nano 33 IoT, everything is OK and compiles perfectly. However, when I change the board to nano 33 BLE, I end up with two ...
0
votes
0answers
78 views

Analog Comparator works on Nano, but not working on Pro Mini 3.3v

I've coded an analog comparator to work on Nano, but the same code does not work on a brand new Pro Mini 3.3v 8MHz. The serial monitor just outputs the triggered interrupt continuously. Lines orange ...
-1
votes
1answer
20 views

A problem in l led or arduino nano

When I am working on arduino nano and i uploaded a file that will blink led at 13th pin but rather than at 13th pin l-led is blinking. I even tried resetting it and uploading an empty file and again ...
0
votes
1answer
58 views

Arduino Nano use SPI pins as I/O pins? and still be able to do ISP?

I wonder if can use the Arduino Nano SPI-pins(MOSI,MISO & SCK) as I/O pins in a sketch? and still be able to program over ISP? Of course I will physical disconnect the Arduino from any other ...
0
votes
0answers
17 views

Receive SMS using Arduino Nano and Quectel EC25

I'm trying to use an Arduino Nano to communicate with a Quectel EC25 module from this Raspberry Pi 4G HAT. I'm using Arduino's pins 8 and 7 to communicate with RX and TX from the Quectel module. I'm ...
0
votes
0answers
22 views

Sim900b(chinese sim900a) AT+HTTPACTION=(0/1)reboots the module

I am trying to make an HTTP request in two ways Connecting sim900 to pc using TTL converter (without external power, only USB power) Connecting sim900 using Arduino nano (tried with and without ...
0
votes
0answers
36 views

Why this program works on an old Nano and doesn't work on Nano Every

Can someone tell me why "XTronical graphical Pulse and Oxygen monitor Displays" https://www.xtronical.com/colour-ecg-monitor/ works perfectly on an old Nano or an Uno and doesn't work on the new Nano ...
0
votes
1answer
33 views

Combined code and nothing works. Head scratcher for sure

I have spent a little over 2 hours trying to debug this code. All I did was combine a section of code to write to the SD card. Both of the codes work fine on their own. I can't figure this one out. I ...
0
votes
1answer
93 views

Converting the 3.3V PWM signal to 5V PWM signal

I am using ESP32....the max Pwm signal of it is 3.3V...And I have to control two motors speed by TB6612FNG motor driver...when i was using Arduino.. The arduino can send max 5V Pwm signal to the motor ...
0
votes
0answers
69 views

Unable to find/connect I2C devices (SHT31 & SGP30)

I have recently purchased an Arduino Nano 33 IOT together with two sensors: Adafruit SHT31-D (https://learn.adafruit.com/adafruit-sht31-d-temperature-and-humidity-sensor-breakout) Adafruit SGP30 (...
0
votes
1answer
32 views

Reading out two sensors via Com-Port at the same time

I have two Arduino Nano Every and a sensor connected to each of them. Here is what's happening: I upload the sketch to the first Arduino on Com4 and see its output is correct via the Serial Monitor I ...
0
votes
1answer
14 views

Pca9685 & WS2818B, 1 Nano

Arduino n00b here. I currently have an Arduino Nano set up to run 6 servos from a PCA9685 board. I'm looking to add 6 switches and 6 LED indicators to switch servo positions. What I'm curious about is ...
-1
votes
2answers
45 views

Display a Random Number to Display for T Seconds With Millis() for Dice Roller

I'm coding an electronic dice roller for a project. At the press of a push button (A2), the code must display a random number to the two digit seven segment display for 20 seconds, then display blank. ...
-1
votes
1answer
58 views

First time working with arduino, need help adapting project from UNO to NANO

This is my first time working with an arduino and I'm having some issues when trying to copy a program I found online on my Nano. Basically, my project consists in a pulse sensor that sends the pulse ...
1
vote
0answers
95 views

Error compiling for board Arduino Nano 33 BLE

I am trying to use pulse sensor with Arduino Nano 33 BLE sense, but when I verify it, it shows Error compiling for board Arduino Nano 33 BLE. The code is from the pulse sensor website. The code works ...
0
votes
0answers
38 views

Uploading on Nano won't work [duplicate]

it's my first post, I hope it'll turn ok So here's the issue, I'm trying to upload a small program on my Arduino Nano but it fails every time. Is there a chance that one of you knows a way to make it ...
-2
votes
1answer
43 views

Using DHT11 and EMF - Lag issue

The code is working but there is a delay when the LED turns on and off (physically). Is there a more efficient way I could write this code? I assume it is the delay in reading the DHT11 causing it. ~...
0
votes
2answers
265 views

Arduino Nano 33 IOT issue

Nano 33 IOT is not detecting by windows . When i plug the usb cable only green light on the board. Board is installed from the board manager. the cable is usb DATA cable and not charging cable. I ...
0
votes
0answers
63 views

Unable to upload code on Arduino Nano on Manjaro Linux [duplicate]

I try to upload the Blink sketch. I can successfully upload on Windows but not on Manjaro Linux. I'm using Arduino IDE 1.8.12. In Boards Manager Arduino AVR Boards version 1.8.2 is installed I tried ...
0
votes
1answer
93 views

Arduino NANO (CH340) error while flashing bootloader [duplicate]

Ok. So I'm close to tearing me hair out on this one. I have a batch of cheap Arduino Nano clones, that just straight up won't work. (I HAVE gotten one of them to work, but I suspect that was by pure ...
0
votes
0answers
152 views

Cheaper alternative to Arduino Nano 33 IoT with BLE?

The Arduino Nano 33 IoT looks great with its builtin Bluetooth chip. At ~€20 (Germany) it's pricey though and seems overkill for what I need anyway. What is a good, cheap alternative for a simple ...
0
votes
1answer
33 views

Decoding RF receiver signals

By using the following draft i decode the signals from an RF receiver #define CH1 2 #define CH2 3 #define CH3 4 #define CH4 5 #define CH5 6 #define CH6 7 int ch1Time, ch2Time, ch3Time, ch4Time, ...
0
votes
0answers
32 views

Arduino RS485 communication protocol - minimising overheads and best practice

I'm building a single master multiple slave RS485 network for remote sensors on test equipment. I have the hardware built and working, and I can do a Serial.print on the master and have the slaves ...
-2
votes
1answer
56 views

Will a pull up resistor help the UART transmission accuracy on Arduino nano?

On A post from Arduino forum , someone mentioned that a pull up resistor over RX/TX pin could help the reliably of UART communication. Is that really the case for nano and uno board?
3
votes
4answers
220 views

How can I set up outputs without using digitalWrite?

Consider the following: #define IN1 9 #define IN2 10 pinMode(IN1, OUTPUT); pinMode(IN2, OUTPUT); void LeftMotor(Direction direction) { digitalWrite(IN1, direction == Forward ? LOW : HIGH); ...
0
votes
0answers
46 views

What killed my Arduino nano?

Yesterday evening everything worked well. Today morning I am trying to upload sketch to the Arduino (nano china, CH340) and get the following: Writing | avrdude: stk500_paged_write(): (a) protocol ...
0
votes
1answer
47 views

Does using multiple HX711 amplifiers change the supply voltage of an Arduino?

I’m creating essentially a load cell using an Arduino Nano and an HX711 amplifier. However, I want to have two HX711 amplifiers running off the same Arduino. Will that change the supply voltage since ...
0
votes
1answer
72 views

HC-12 modules stopped receiving, cannot understand why

I've created a simple transmitter with an HC-12 and an Arduino Nano (clone), where I send the values of DHT11 and LM35 sensors to a receiver unit made only of a Wemos D1 and another HC-12. Setup is ...
1
vote
1answer
47 views

Sound sensor only detect peaks

I'm using this SparkFun Sound Sensor in my project for a simple ambient sound meter. I'm just trying to monitor the raw analog envelope output for the moment. My problem is that the output only ...
0
votes
0answers
32 views

Arduino AT Cmd Not Working

We are Using I-CUBE-LRWA Lora Module AT Cmd with Arduino ProMini Set of commands set with DockLight working Perfectly but with Arduino, we are getting some coded response and well every time RXTimeout ...
0
votes
1answer
154 views

Error compiling for Arduino Nano 33 BLE with LiquidCrystal library

I recently started coding in the Arduino IDE for the Arduino Nano 33 BLE I bought. When I choose the Nano 33 BLE as my board, I get the following Error: Arduino: 1.8.11 (Windows 10), Board: "Arduino ...
1
vote
1answer
177 views

Upload already compiled code on Linux CLI without arduino-cli

I have a sketch for an Arduino Nano. I'm compiling it on my build server and get these 3 files: project.bin.elf project.bin.hex project.bin.with_bootloader.hex Now I need to be able to upload/flash ...
0
votes
1answer
147 views

How to add calibration to a humidity contoller using UNO and DHT22 sensor?

I am using a setup that helps controlling humidity in an enclosure used to store a humidity sensitive product. My original posting is here. I'm using a NANO and a DHT22 temperature/humidity sensor ...
1
vote
1answer
56 views

Reduce Sketch Size Help!

I dont know what to do? Sketch uses 3712 bytes (12%) of program storage space. Maximum is 30720 bytes. Global variables use 210 bytes (10%) of dynamic memory, leaving 1838 bytes for local variables. ...
0
votes
1answer
98 views

Is there an Adafruit function to invert the colors of my screen for Arduino language?

I am trying to invert the color of my OLED display screen once a button is pushed. I have the button situation figured out but I can not find a function that inverts the color. I am using these two ...
0
votes
1answer
27 views

Does the Arduino deteriorate after shorting the voltage regulator?

I mistakenly connected a 7.4V battery backwards to an Arduino Nano via the Vin pin. The Arduino still works (I can upload code) connecting it to the PC using the USB cable. Here's my question: will ...
-1
votes
1answer
79 views

USB Power switch

Can an Arduino power a USB device like a tablet from one of it's pins or do I need a relay? I want to essentially have the Arduino turn on and off a USB charger. Thanks
0
votes
0answers
93 views

MAX31855 gives wildly incorrect readings from the termocouple

I'm trying to hook up a termocouple to my Arduino Nano. I bought MAX31855 and connected it like this: ┌───────────┐ GND ──┤•GND ├─ Thermocouple ◇────┤ T- SO ├─...
0
votes
0answers
30 views

Arduino Nano as ISP programmer and Serial monitor

Is it possible to use an Arduino Nano or comparable as a programmer and simultaneously use it as a serial adapter? Meaning that I would be able to flash another µC (e.g. an ATmega644PA) using avrdude ...
0
votes
0answers
18 views

Arduino Nano - which battery [duplicate]

I am preparing Human IR detector based on Arduino Nano, where will be "SHD4216 Piezo Electronic Buzzer" for making as much noise as possible activated by "AM312 IR sensor". How to choose best battery ...
0
votes
0answers
112 views

Strange readings from embedded barometer on Arduino Nano 33 BLE Sense

I've been testing out the barometer (LPS22HB) on my new Arduino, and I've run into two issues with it. The first is that after an inconsistent amount of time from starting to take readings (usually ...
0
votes
0answers
119 views

Arduino Bluetooth upload problem HC-05 v4.0

I upload code into arduino nano using a self-made PCB with bluetooth using this method. I was initially using Arduino Nano (chinese Clone, the one with CH340G) and Bluetooth module HC-05 (version 3.0) ...
0
votes
1answer
206 views

SSD1306 recognized in I2C scaner, can't get it to display

The gist of my issue is in the title. I have a cheap ebay SSD1306 128x64 display which I hooked up to my arduino, and checked the wiring at least 50 times and the address is correct, the display has ...
0
votes
1answer
63 views

Arduino not writing full NMEA sentence to SD-card file

I'm currently building a small GPS-box that's supposed to track my location and write the full NMEA sentence to an sd card. (I want to pars it afterwards at my pc) I'm using the Arduino Nano and the ...
0
votes
3answers
77 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
51 views

WS2811 strip not working on NodeMCU, works fine on Nano

Sorry if this is something simple, but im scratching my head over this for a while and there are a few things that have me super confused. I have two WS2811 strips lighting up my outdoor stairs Both ...
0
votes
1answer
100 views

Arduino Nano Fried on Music Reactive Led Strip

I'm doing a project that involves an Arduino Nano, a sound detection microphone module and a RGB Led strip (individually adressable leds). I also bought an accumulator so I can connect everything ...

1
2
3 4 5
20