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
30
votes
12answers
116k 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 ...
12
votes
2answers
23k 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 ...
13
votes
5answers
77k 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 ...
8
votes
2answers
46k 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 ...
1
vote
2answers
494 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"...
4
votes
3answers
57k 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....
2
votes
1answer
3k 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 ...
0
votes
1answer
259 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 ...
2
votes
1answer
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 ...
1
vote
0answers
48 views

Arduino Nano input voltage

Can I supply an Arduino Nano 5 V 1 A unregulated in pin 27? It has a PIR sensor, a LDR sensor and switch drive high power MOSFET trigger module connected to it.
1
vote
0answers
56 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 * ...
1
vote
1answer
168 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....
1
vote
2answers
3k 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, ...
1
vote
0answers
269 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 ...
31
votes
14answers
54k 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 ...
16
votes
1answer
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, ...
4
votes
1answer
340 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 ...
18
votes
4answers
90k 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 ...
5
votes
6answers
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 ...
6
votes
5answers
769 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 ...
4
votes
5answers
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 ...
2
votes
1answer
9k views

Button with switch timer and reset time function + LED feedback. What am I doing wrong?

Beginner here. I´ve been trying to implement a button function timer working with millis() instead of delay as I want the button to be responsive while the timer is running. So far I´ve managed to ...
2
votes
2answers
8k 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 ...
9
votes
5answers
13k 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 ...
8
votes
3answers
31k 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 ...
7
votes
1answer
37k 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 ...
5
votes
6answers
8k 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 ...
4
votes
3answers
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 ...
4
votes
2answers
7k 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 ...
4
votes
1answer
4k 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 ...
2
votes
3answers
127 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 ...
2
votes
2answers
4k views

433MHz sending not receiving

I'm trying to send data using these cheap parts. When I check the voltage on the data port of the transmitter, I see what I expect, 1.2 and 0.6 fluctuating while sending. But when I check the ...
0
votes
2answers
4k views

How do you wire a ssr relay to a arduino nano

I am trying to wire a fss1-102z 5v ssr relay to my arduino nano but i cant get it to work here is my circuit. It stays stuck on and i cant get it to turn off. Bluetooth control code char val; ...
3
votes
3answers
4k 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 ...
3
votes
1answer
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 ...
3
votes
1answer
1k views

Arduino Nano gives 7V on the 5V PIN!

I have an Arduino Nano which is Powered by an external Power supply. This is connected with VIN and GND. The voltmeter says, there are 12,12 V I have some components connected on the 5V PIN, which ...
2
votes
1answer
937 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 ...
2
votes
0answers
92 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 ...
2
votes
2answers
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 ...
2
votes
1answer
473 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 ...
2
votes
1answer
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 ...
2
votes
1answer
156 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-...
1
vote
1answer
1k 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....
1
vote
0answers
688 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 ...
1
vote
1answer
2k 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: ...
1
vote
2answers
14k views

How to know which Arduino to choose: Nano, Micro or Pro Micro?

I'm puzzled at the moment with which one to choose. Form-factor plays a significant role in my project, so I prefer the smaller boards mentioned in the title to fuller boards like the UNO, MEGA, etc. ...
1
vote
1answer
1k views

Nano clone not working over USB, no data, no power, but can power via Vin (CH340 chip? schottky diode?)

My quite new Nano clone (ATmega328P + CH340G) suddenly stopped working. Plugging it in with USB did not light up the LED(s) nor did it get detected by my machine. I looked it up, and found some how-to'...
1
vote
3answers
902 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 ...
1
vote
0answers
36 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,...
1
vote
1answer
365 views

Run different code on different type of reset in arduino nano

I would like to program the arduino such that if I reset it by disconnecting and then reconnecting the usb.. A particular led glows BUT If I press the manual reset button on my nano... I want a ...