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
14 votes
1 answer
28k views

What's the difference between all the Software Serial Libraries? Which one is Arduino Nano compatible?

There are so many Software Serial Libraries, what are the differences between them? And which one I can use with my Arduino Nano? For my Arduino Nano I need one Hardware Serial Port and one Software ...
William Roy's user avatar
40 votes
12 answers
144k views

Arduino Nano uploading gives error: avrdude: stk500_recv(): programmer is not responding

I have a Arduino Nano (Sainsmart) that I'm trying to upload a sketch to. Under the Arduino IDE, the device selected was Arduino Nano w/ ATmega328. However uploading the sketch gives me the error ...
Nyxynyx's user avatar
  • 1,389
14 votes
5 answers
87k views

How to change baudrate of ESP8266 (12e) permanently?

IMPORTANT: DO NOT USE AT+IPR=9600! (see update) I have an ESP8266 12E module that communicates at 115,200 bauds. Since I use it with an Arduino Nano with SoftwareSerial things get messy. So I found ...
mvermand's user avatar
  • 359
5 votes
0 answers
568 views

nRF24L01 continuously reading closed pipe

I am testing communication between two nRF24L01 modules. The receiver is getting the transmitted message but is also continuously reading (null) data from a closed pipe? I am using the RF24 by TMRh20 ...
PyNZ's user avatar
  • 111
1 vote
2 answers
1k views

Convert comma-delimited Arduino String of hex values to array of bytes

My apologies if this is a naive question. How do I convert a String which has hex values to a byte array that has those hex values? This: String s = "0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff"...
Amir's user avatar
  • 31
11 votes
4 answers
130k views

avrdude ser_open() can't set com-state

When trying to upload the blink sketch to my (unofficial) Arduino Uno, I get the following error: avrdude ser_open() can't set com-state for "\\.\COM3" I have programmed this Arduino before using ...
rozzy's user avatar
  • 213
5 votes
1 answer
1k views

Switching a Solenoid Using Arduino's 5V Output?

I'm a bit stumped on how to switch on a solenoid using a transistor using my Arduino Nano's 5v Output. The solenoid runs on 12V, so I used an NPN transistor to connect the 12V source to the solenoid ...
I Like's user avatar
  • 205
4 votes
3 answers
63k views

Arduino Nano v3.0 with ESP8266

I am attempting to connect and use an ESP8266 board with my Arduino nano v3.0 and I am not have much luck. I have read a bunch of tutorials and articles, the most recent is http://elektro-blogger....
Yonkee's user avatar
  • 141
3 votes
1 answer
4k views

Does SoftwareSerial use hardware timer?

I'm asking this because I'm using a timer to generate a 38KHZ signal to drive an IR diode, and I also need to use SoftwareSerial to talk to an HC-12 radio using serial communication. The code I'm ...
user29356's user avatar
2 votes
2 answers
6k views

Arduino slave with 2 masters sharing the same I2C Bus?

Consider a scenario where two (or more) master devices (the NodeMCU's, in this case) share an I2C bus with one (or more) slave device(s), like thus: Would this be a feasible setup? In other words, ...
tony gil's user avatar
  • 362
2 votes
2 answers
2k views

NRF24L01+ (TMRH20 library): Receiver gets blank data

I am working on sample Arduino project for communication over NRF24L01+ (TMRH20 library), everything is working fine with my example except one issue my Receiver gets message but that message is blank....
Akshay's user avatar
  • 193
2 votes
1 answer
3k views

What could make an LCD stop working permanently after being connected for 5 seconds to Arduino?

I was using a 20x4 LCD connected to Arduino Uno via a common I2C adapter board. Everything was working perfectly, including the LCD. I had it running like this for a couple of days without any ...
Jerry's user avatar
  • 533
1 vote
0 answers
562 views

What kind of USB cable do I need for my Arduino NANO 33 BLE W/ HEADERS?

I have recently purchased an Arduino Nano from the main site, but it did not come with a USB cable for programming it. I have also checked out the Arduino site and there was no reference for what type ...
pythonNovice's user avatar
0 votes
1 answer
312 views

4WD rover not moving

I am trying to make a 4WD vehicle. I have uploaded the code, all connections are OK and I have used L298N and HC-05. But when running the Bluetooth app, the motors do not rotate. I tried with both an ...
Aryan Dhall's user avatar
33 votes
14 answers
57k views

Most compact method of powering Arduino from wall socket

There are a lot of methods to power an Arduino from a large range of voltages: USB cable from PC or from a phone charger or an USB hub step down converters step up converters switching power supply ...
vlad b.'s user avatar
  • 719
20 votes
4 answers
104k views

What is the maximum power consumption of the Arduino Nano 3.0?

What is the maximum power consumption (in mW) of the Arduino Nano 3.0, when it is running in its default state (at 16MHz, no LEDs removed) and powered by an external regulated 5V supply so it bypasses ...
Nyxynyx's user avatar
  • 1,389
16 votes
1 answer
20k views

Arduino Nano no serial port for MacBook Air 2013

Problem I have an Arduino Nano connected via a USB cable (Type A to Mini Type B) to my MacBook Air (Mid 2013 Model). The PWR LED is on while the arduino is connected. Opening the Arduino software, ...
Mecha's user avatar
  • 391
10 votes
6 answers
18k views

Setting serial number on CH340 USB-Serial device

Reading http://playground.arduino.cc/Linux/Udev there appears to be a way to write out to a FTDI USB-Serial EEPROM to set a given SerialNumber, allowing you to identify a given nano/other arduino to ...
jvc26's user avatar
  • 255
8 votes
3 answers
33k views

Are there any reasons to pick Nano over Micro?

Nano is from 2008, and micro from 2012. Micro seems better on every parameter, in particular in having a better (I think) microcontroller, ATMega32u4, over ATMega328P. However, all the shops I've ...
Mads Skjern's user avatar
  • 1,125
7 votes
1 answer
39k views

Arduino Nano not visible in Serial Ports (Mac OS)

I have used by Arduino countless times over the past few years and only after installing an update to Mac OS Sierra did the device stop showing up under the Serial Ports. Now only tty-bluetooth shows ...
jctwood's user avatar
  • 81
6 votes
2 answers
35k views

Max current of Vin and 5V pin on Arduino Nano

What is the max current of the Arduino Nano's Vin (30) and 5V (27) pins?
Morgoth's user avatar
  • 177
6 votes
5 answers
902 views

Arduino-based mains frequency monitor

I'm looking to put together a simple mains frequency monitor based on the Arduino platform. The mains here are 250 V @ 50 Hz, but obviously these fluctuate slightly, which is the whole point of the ...
Ozzah's user avatar
  • 193
5 votes
6 answers
10k views

Using / calibrating pH sensor module

I've bought this sensor module board to link to an Arduino nano: http://www.ebay.com/itm/For-Arduino-Liquid-PH-Value-Detection-detect-Sensor-Module-Monitoring-Controller/321764233326 I assumed the ...
Jasper's user avatar
  • 115
5 votes
2 answers
9k views

How to measure the supply voltage of Arduino without using an analog pin

I'm using Arduino Nano to measure temperature with a 10 kohm thermistor and a voltage divider. My problem is I'm getting only 4.2V on the 5V pin. The power is supplied via a USB cable from a desktop ...
dixhom's user avatar
  • 151
5 votes
4 answers
9k views

Arduino Micro just blinks, won't connect to PC

Edit - Sorry it's a Micro not a Nano I have a Micro board hooked up to an EasyDriver breakout using its 5V output to power the Micro. Today I plugged it in and instead of booting up like normal the ...
asawyer's user avatar
  • 259
4 votes
2 answers
7k views

Arduino Nano - programmer is not responding

I cannot seem to upload the simple blink program to my Arduino Nano. I keep getting the message: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in ...
Revils's user avatar
  • 161
4 votes
3 answers
3k views

Problem with serial driver for CH340G board

I bought a USB Nano V3.0 ATmega328 16M 5V Micro-controller CH340G board For Arduino and tried it with Arduino 1.6.6 on my MacBook Pro running OS X 10.11.1 The USB serial could not be seen. I searched ...
Milliways's user avatar
  • 1,645
4 votes
1 answer
5k views

Precision voltmeter using Arduino

I am newbie, I need to measure precise voltage in range 0.00-0.80V, two digits precision. The voltage will not be greater than 1V-1.2V. I wonder if I need divider or not, I am sure that voltage ...
solderingiron's user avatar
3 votes
1 answer
274 views

How do you get 2 PWM pins to inversely bitbang at 25 KHz on a Nano?

I need 2 PWM pins to oscillate at 25 KHz but they need to oscillate inverse to each other. When one is high, the other must be low and vise-versa. I want to do this with a Nano.
Curtis's user avatar
  • 151
3 votes
2 answers
3k 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 ...
Hussam Mj's user avatar
3 votes
5 answers
3k views

Arduino Nano with CH340 reboots on OS X El Capitan

I installed OS X El Capitan beta on my Macbook. Now my Nano-sized Chinese Arduino operating on CH340 chip reboots the laptop when USB is unplugged. While plugged, it works fine, I can upload sketches ...
Sergey Snegirev's user avatar
3 votes
1 answer
2k views

PWM multiplexing on Arduino nano

simulate this circuit – Schematic created using CircuitLab Its a simple project. I am trying to drive 3 RGB LEDs using Arduino Nano. Since Arduino Nano does not have 9 PWM pins, the only ...
duck's user avatar
  • 1,258
2 votes
2 answers
1k views

Arduino Nano problems with ESP8266

this is my first post here because I'm a bit lost at the moment. I currently have my ESP8266-01 hocked up to the Nano like this: The issue I'm having is that it won't even turn on, only when I'm ...
Fantasia's user avatar
2 votes
1 answer
1k views

Interrupts Problem with Flow sensor

#include <Wire.h> //I2C lib #include <LCD.h> #include <LiquidCrystal_I2C.h> // LCD lib LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); const int pot_pin = A0; const ...
sapphire's user avatar
2 votes
1 answer
1k views

ESP8266 disconnects after relay switch

the aim of the project I'm working on is to water my bonsai automatically, depending on numerous sensor inputs. So basically I have Arduino Nano with huminity and light sensor, a relay to switch the ...
mayor_Burns's user avatar
2 votes
4 answers
3k views

Trouble with NRF24L01

I've been trying on and off to try and get my nrf24l01's working for some time and they never seem to work. Right now I'm just trying to turn a led on and off over the radio and it isn't working. ...
Jake Blocker's user avatar
2 votes
0 answers
118 views

Can't reprogram Arduino on protoboard (perfboard), but could program the same circuit on breadboard

So I have a circuit that works well when it's on a breadboard and without removing any pins I'm able to upload sketches, but for some reason when I transition it to a protoboard I can no longer upload ...
auphynne's user avatar
  • 125
2 votes
3 answers
984 views

How can I use my Arduino sketches on my Raspberry Pi IDE?

I have installed the Arduino IDE 2:1.0.5 on my Raspberry Pi3 under Raspbian and am using a cobbler breakout which provides a nice breadboard. On that breadboard I have installed an Arduino Nano to do ...
SDsolar's user avatar
  • 1,165
2 votes
1 answer
436 views

Change Interrupts on the ATTiny 88

I am working on a project that requires a number of I/O pins for various purposes. I chose the ATTiny88 because it has plenty of GPIO pins, and is relatively inexpensive. Here is the updated code per ...
Leslie Rhorer's user avatar
2 votes
0 answers
1k views

Arduino Every 25k PWM signal

I have written a class for generating a 25khz pwm signal for the Arduino Nano. This works great (pin 9 and 10 only) on the Nano. I want to switch to Arduino Every; this code does no longer work (the ...
HixField's user avatar
  • 135
2 votes
1 answer
578 views

Risks of ftdi_eeprom? - TX always high after flashing

I flashed an Arduino Nano compatible with ftdi_eeprom and the following config: vendor_id=0x0403 # Vendor ID product_id=0x6001 # Product ID max_power=0 # Max. power consumption: value * 2 ...
moestly's user avatar
  • 347
2 votes
1 answer
984 views

Can't get "Burn Bootloader" working - Arduino Nano

This is a follow up from a previous question. I have one Nano working perfectly (I think) (Nano A) and another one (Nano B) which seems to be working but has no bootloader. So I am trying to use Nano-...
Rob W's user avatar
  • 138
2 votes
2 answers
9k views

Arduino Nano with Mac OS Yosemite 10.10

I have an Arduino Nano and I’m trying to use it with Mac OS Yosemite (10.10). However, I’m having issues with the data transfer between the computer and the device. The Arduino is powered (LED is ...
Rohan's user avatar
  • 135
2 votes
3 answers
527 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 ...
Rob W's user avatar
  • 138
1 vote
0 answers
161 views

How do I measure the analog PPG signals from my Arduino Nano that's wired up to the Heart Rate 3 Clicker

I'm trying to find a code that would take the PPG signals from the MIKROE-2036 Heart Rate 3 Clicker and process the information through the Arduino Nano to find a person's Oxygen Saturation. Basically,...
Carlos Ayy's user avatar
1 vote
0 answers
62 views

Combining sketches

I have two codes for my to sensors and they work separately. However, I need to combine them in one program please can you help? The pulse code /* PulseSensor Starter Project and Signal Tester * ...
Mayada Yusuf's user avatar
1 vote
1 answer
245 views

Substring: What is causing my output to be truncated?

I suspect that I might be using too many resources, because of the strings, but I am new to Arduino, so not sure where I am going wrong. Any help would be appreciated. What it should do when complete:...
E_Ja's user avatar
  • 21
1 vote
3 answers
3k views

USB FT232 driver on M1 mini

I've scored a couple Nanos with FT232RL chips but can't see them on my brand new M1 mini. Can someone point me at how to determine whether v11.1 supports this USB chip? It appears that the device is ...
Jay's user avatar
  • 11
1 vote
3 answers
2k views

Interface a mobile phone's finger print scanner with arduino

Is it possible to salvage a fingerprint scanner from an old and dead smartphone and use it with Arduino? I am not talking about writing an android program and send data to Arduino over Bluetooth or ...
Anmol's user avatar
  • 11
1 vote
1 answer
3k views

Can the Arduino (Nano) bootloader be updated via itself and the Arduino IDE or is an ISP required?

I ran into the following error with a recent Arduino IDE version (1.8.9) when trying to upload to an "Arduino Nano" clone (ATmega328P): avrdude: stk500_recv(): programmer is not responding avrdude: ...
handle's user avatar
  • 141