2022 Developer Survey is open! Take survey.

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
2 votes
3 answers
277 views

Problems uploading with a new Nano

My first post - I am a relative newbie. I want to make a smartcontroller for my boat - I have built the electronics and written and tested a sketch for the Nano, all working totally fine. I then ...
user avatar
  • 138
0 votes
2 answers
429 views

Multiplexing a piano keyboard with arduino nano

I'm trying to use a cheap keyboard with 37 keys as a MIDI controller by reading the multiplexed keys with an Arduino nano. The keys are grouped in six groups with a max of 8 keys per group. Which ...
user avatar
1 vote
0 answers
206 views

How to change the update rate in TinyGPS++?

I am working with TinyGPS++ library and Arduino-nano and I want to change the update rate. I worked before with Adafruit GPS and uses the below code for updating it. // Set the update rate GPS....
user avatar
0 votes
1 answer
58 views

TX Pin Stays Lit After Removing Voltage Regulator

To save power, I removed the linear regulator from my Arduino Nano clone and powered it via the 5V pin from a regulated source (a rechargeable USB phone charger). However, I've noticed that removing ...
user avatar
  • 205
1 vote
1 answer
210 views

How to program Arduino manually via STK500?

I am trying to program an Arduino Nano (with an ATmega328P) from an ESP32 that is attached to its UART and the reset pin. I have to do this via the ESP, because the Arduino is supposed to run on its ...
user avatar
2 votes
0 answers
29 views

How to connect two arduinos with smartphone wirelessly

I'm working on a project that have two separate setups for Arduino, each Arduino read sensors and send data to smartphone. how to connect two Arduino then send all data to smartphone over Bluetooth?
user avatar
  • 21
-1 votes
1 answer
39 views

I get an error?

void setup() { Serial.begin(9600); pinMode(13,OUTPUT); } void loop() { if(Serial.available()>0) {s_num =Serial.read();} if(s_num=='0'){ digitalWrite(13,HIGH); delay(100); //the specified time for 0 ...
user avatar
0 votes
3 answers
106 views

Why Are My High and Low Values Not Updating Correctly During Successive Loops

I am attempting to capture the high and low temperature and humidity values, then clearing the LCD and displaying them on 2 successive screen updates. All is working correctly except that the ...
user avatar
  • 9
2 votes
2 answers
219 views

How many connections can Arduino I2C method create?

I was just learning about I2C between 2 Arduinos, one as sender and another as a receiver So I have got curiosity to know how many Arduinos can be connected to I2C connection in serial? I mean, ...
user avatar
3 votes
2 answers
164 views

Arduino Nano randomly resetting

I am currently struggling with an intermittent problem with an Arduino project. Background I am using a LabVIEW program to control a few pieces of hardware. One of them is a NEMA 17 stepper motor that ...
user avatar
  • 61
1 vote
0 answers
105 views

Errors occured when switching from Uno to Nano Every

I wrote a code that worked perfectly on an Uno. I switched everything out to a Nano Every, and now I'm getting the following errors: In file included from C:\Program Files\WindowsApps\ArduinoLLC....
user avatar
1 vote
1 answer
81 views

Turning on and off two set of LEDs with two tactile buttons

I have two sets of 4 LEDs. Set A (Led1 Led2, Led3, Led4) Set B (Led5 Led6, Led7, Led8) Both sets have its own tactile button: Tactile A, Tactile B, Tactile A, turning on the LEDs set A and tactile B ...
user avatar
1 vote
1 answer
163 views

Serial.print skips or hangs inside a "if" statement. Trying to call a function VIA serial uart

I have two microcontrollers talking to each other using serial UART pins. Now for some reason which I can not figure out why... doing a Serial.print() does not work in an "if" statement. And ...
user avatar
  • 11
2 votes
1 answer
115 views

Arduino "Maximum Power point tracker" (MPPT) Problem

I need an IV curve for a solar panel. As far I know, solar-panel and Diode IV curve pretty much the same. Here, I am using diodes(6A10-1) as a solar-panel. Where each Diode voltage drops 0.6volt. I ...
user avatar
1 vote
1 answer
182 views

Device Signature Error uploading to ATMEGA168PA

I keep getting a device signature error and can't program my Atmega168pa chip. I'm using the board from: https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json I've pasted the error ...
user avatar
2 votes
2 answers
712 views

Unable to use analog pins as digital inputs

I want to use the analog pin A7 as a digital input pin. As stated in the Arduino docs the analog pins can be configured in the same way like any other digital pin. However, when trying to configure an ...
user avatar
  • 205
2 votes
2 answers
221 views

Programming Questions / Capacitive Soil Moisture Sensor

Good day All, This is my first time posting to this forum and kind off my last resort as I would've liked to figure it out myself. I am trying to create a soil moisture probe which can be used on ...
user avatar
0 votes
1 answer
104 views

If and while statements not working

The second and third "while and "if" are not working but first "While" and "if" does work.. Am I doing something wrong? #include <DFMiniMp3.h> int sw1 = 3; ...
user avatar
2 votes
0 answers
264 views

Arduino Nano not recognized on Windows 10

For some weeks my latest dozen of Nano's isn't recognized any more by Win 10 computer: After two days of experiments I have suspicions: Is there any change in Win10 since all Arduinos now are only ...
user avatar
  • 21
1 vote
1 answer
270 views

DFplayer, Play sound when pin is high

I have a code here, from DFmini player. I have a tactile switch. when I press it on and release it will play a sound. My question is that when I press the tactile but not release it so I want it still ...
user avatar
0 votes
1 answer
703 views

Using TX/RX serial pins to communicate over USB

I'm using an Arduino Nano with an Atmega 328p. I would like to attach and use a different USB port instead of the builtin one for supplying power, serial debugging and uploading code. Currently my ...
user avatar
1 vote
1 answer
491 views

Raspberry Pi 3B+ BLE communication to Arduino Nano 33 IOT

I have an Arduino Nano 33 IOT and it uses BLE. I want it to talk to my Pi 3B+ and send all of its sensor data. I cannot figure out a way to do it using Python for the Pi and ArduinoBLE library for my ...
user avatar
0 votes
2 answers
321 views

Button and twist knob to send keystroke to PC

As a novice, I would like to create a small breadboard with 5 items on it. 3 toggle buttons, and two constant spin (ie. no stop at 360 degrees) knobs. Is then like the bottoms to send what ever key ...
user avatar
  • 113
1 vote
0 answers
49 views

Automatic water pump Trigger System - I need my code FIXED

int out = LED_BUILTIN; int strt = 3; int stp = 9; void setup() { pinMode(out,OUTPUT); pinMode(strt,INPUT); pinMode(stp,INPUT); } void loop() { while(true) { if(digitalRead(strt) == LOW) ...
user avatar
-1 votes
2 answers
993 views

Arduino Nano IOT LSM6DS3 get gyro angle in degrees

I have an Arduino Nano IOT and I want to get the angle of it using the built-in gyro but I can't seem to find any example code that does this. The default Gyro and Accelerometer example code doesn't ...
user avatar
1 vote
1 answer
105 views

Trying to use Nano Every as a sort of USB logic analyzer, but can't isolate it from "device under observation"

Here's the scenario: I have a radio that displays information on a 1602A LCD. The 1602A is plugged into a header so I can easily pull it out and instead plug in logic analyzer leads. The logic ...
user avatar
  • 121
0 votes
1 answer
62 views

Code for Degrees not

Using Audrino Nano and MKS SERVO42 42 Stepper Motor With Driver Board Closed Loop with the LCD. I have got the motor going by using the menu on board. Now able to run Code1 https://github.com/makertut/...
user avatar
  • 39
2 votes
0 answers
65 views

Fail to upload sketch when Arduino Nano is connected to breakout board

When I upload a sketch from Arduino IDE to my Arduino Nano (not yet connected to breakout board) via USB, it works. I can then plug the Nano back to the breakout board and let it do its thing. However,...
user avatar
0 votes
1 answer
135 views

Powering Arduino Components with AA in Parallel and Series

simulate this circuit – Schematic created using CircuitLab I have 6 AA batteries that I would love to power my Arduino Nano and HCSR04 ultrasonic sensor. However, for my low power application I ...
user avatar
  • 205
3 votes
1 answer
249 views

Measure audio frequency through pulse duration

Hello dear StackExchange users, i want to develop an Infrared blaster which i can plug into the headphone jack of a phone or console of choice. In order to communicate what frequency to modulate the ...
user avatar
1 vote
0 answers
43 views

Receiving half the value of Reference Voltage in AD7705?

I have a doubt in the AD7705 library AD7705 Library Link when I am declaring a reference voltage of 5 V and giving a reference voltage of 5 V to IN1+. On the serial monitor, I can see ADC conversion ...
user avatar
  • 21
1 vote
2 answers
2k views

Real Time clock module error-DS3231

This is not a code error I have been using DS3231 RTC module with battery. When I bought this module It worked perfectly now when I get it to use, The time is running perfectly. when I set the current ...
user avatar
0 votes
1 answer
87 views

Arduino to AtTiny change of pin interrupt behaviour?

I have a project which, to save on battery, is put to sleep until an interrupt pin is rising from LOW to HIGH. This works well on Arduino Nano, however the translation doesn't on the ATTiny. #include &...
user avatar
  • 167
3 votes
1 answer
317 views

How to program Esp8266 remotly via wifi?

I hope it's not a sci-fi for arduino. But I saw that dual system with two MCU can program each other via radio connection. It has been done in experimental space cube projects. It is theoretically ...
user avatar
  • 151
-1 votes
1 answer
251 views

Wiring up an ESP 01 to Nano

I've been at this for over a week now and still cant get things working. Im attempting to wire up an ESP-01 chip to a Nano to send AT commands over Serial. I've followed many different tutorials, but ...
user avatar
  • 119
1 vote
1 answer
47 views

Arduino Nano stucks on uploading [duplicate]

I'm trying to upload an simple blink sketch to my Arduino Nano, which not used for a while. As I remember, I uploaded an sketch to control RF module, at the last time I used. Now, when I connect my ...
user avatar
0 votes
2 answers
82 views

TPIC6B595 Output Unable to Allow Supplied Power to 7-segment Display

We have an Arduino Nano connected to 4 small (0.5") common-anode 7-segment displays and 2 large (3") common-anode 7-segment displays. We are trying to multiplex the displays. The larger one ...
user avatar
1 vote
1 answer
142 views

Help in personal alarm clock project, cant write time on seven segment display

I'm trying to make a type of Arduino alarm clock, which when the time I inputed is equals to the current time, a servo will turn on my lights. It basically consists of a Keypad, an RTC DS1307 and a ...
user avatar
  • 111
1 vote
0 answers
41 views

How to use a non-adafruit BMP280 sensor for continuous data outflow

please I need help with the arduino BMP280 breakout board I got from AliExpress. I’m pretty new to the arduino world, I need it for my rocket datalogger, I downloaded the adafruit BMP280 library but ...
user avatar
  • 33
1 vote
1 answer
104 views

Photoresistor help

I'm a newcomer to Arduino, trying to read analog values from a circuit with a photoresistor. I believe I am using a 1-ohm resistor The problem I am having is that my photoresistor does not seem to be ...
user avatar
1 vote
0 answers
105 views

Dual Channel Reading with 16 bit AD7705(SPI)

I want to read 2 separate voltage readings by AD7705 ADC and send the data to Arduino(Master). What is the correct program flow should I implement to get dual-channel operation working. How data will ...
user avatar
  • 21
1 vote
0 answers
118 views

Use serial communication on Sparkfun SAMD21 mini board

I am working on an economic module to be able to use serial communication with the Sparkfun SAMD21 mini development card. And I have one, the DTR (of my CH340G) do I have to connect it to the reset of ...
user avatar
4 votes
1 answer
434 views

Arduino timer interrupts for PID

I'm working on a robotics project where an arduino nano is acting as the motion controller. I'm trying to use a trapezoidal motion profile generator and PID loop to follow that profile, but I found ...
user avatar
  • 99
2 votes
3 answers
5k views

MAX30100 not working

I am unable to get the MAX30100 sensor to work It keeps throwing the following error: 16:06:32.936 -> Initializing... 16:06:32.936 -> MAX30105 was not found. Please check wiring/power. I am ...
user avatar
1 vote
1 answer
251 views

Arduino Nano and 0.96 i2c oled screen not working

When I try to scan the i2c address it stays stuck on "i2c Address Scanner" which is the first line of the code. My screen is connected with VCC-5V, GND-GND, SCL- 4.7K resistor->A5, SDA- 4....
user avatar
  • 21
1 vote
4 answers
2k views

Failed to boot VL53L0X: VL53L0X Error: -6

I am using a VL53L0X sensor in my project. It was working fine when suddenly it started to show failed to boot error. I tried debugging but of no use. I ran I2C scanner sketch and it detected the ...
user avatar
1 vote
2 answers
74 views

Is it possible to send 2 or more o/p signal at the same time?

I wanted run two motors using Cytron MDD10A Dual Channel motor driver. So my concern is based on execution of code that is done line by line, in that case when I'm driving two motors will this delay ...
user avatar
1 vote
1 answer
380 views

Can Arduino UNO permanently store a code?

I'm really new to Arduino and wanted to know if I can make Arduino a permanent controller? and could you help me with a cheaper alternative? I also wanted to know about "fuse", i read it ...
user avatar
0 votes
1 answer
265 views

Will Setting Interrupt Pin High Damage Bluetooth Module?

I want my HC05 Bluetooth Module to trigger an interrupt when it receives a signal. So I've followed suggestions from the Arduino Forum and connected the Bluetooth TXD pin to the Arduino RX Pin and the ...
user avatar
  • 205
2 votes
1 answer
181 views

Converting from Float to Int yielding weird results. What am I doing wrong?

So I am trying to take GPS data with a Neo 6M gpsmodule (that is what is covered up by the square for privacy sake) and process it by adding/multiplying to get large integers representing the GPS data....
user avatar

1
3 4
5
6 7
24