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
40 votes
12 answers
143k 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
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
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
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
13 votes
4 answers
7k views

Does ADC conversion to a voltage rely on the actual value of the +5 V pin?

Questions: Does the conversion of the ADC count to voltage depend on the actual voltage of the +5 V pin? If yes, what is the accepted method of getting that voltage from the board? Background/...
Caribou's user avatar
  • 233
11 votes
3 answers
8k views

Why are the pin numbers of the diagrams and of the code different?

If I search Google for "arduino nano pin numbers", all results show that the pin number of D2 is 5. But that did not work. I searched for some sample codes, and they were 3 for D3 and 5 for ...
Damn Vegetables's user avatar
11 votes
4 answers
129k 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
10 votes
4 answers
16k views

Arduino Nano not responding with yellow led blinking fast

Update: I started playing with a genuine Deumilanove and exactly same problem happened to it - d13 led blinking, but avrdude says stk500_recv(): programmer is not responding I uploaded a largish ...
Boycott Russia's user avatar
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
9 votes
1 answer
40k views

Turning all LEDs on (FAST.LED)

In Fast.Led lib for arduino there is a code to turn off all leds FastLED.clear (); Is there also a shortcut to turn all LEDs ON, and with a specific color
Niles's user avatar
  • 123
9 votes
2 answers
8k views

Reading a varying voltage into Arduino

Using an Arduino Nano and a current transformer (CT), I'm trying to sense the current flowing through a 120 V 60 Hz line. Circuit CT outputs 0-1 V according to its specifications....
Nyxynyx's user avatar
  • 1,389
8 votes
6 answers
19k views

how fast does loop() run in Arduino

Hi I am using Arduino Nano to gamify my experience on Unity3D. I know that Update() in Unity3D runs every frame per second but I because I'm not an electronics guy I don't know how loop() function ...
FiftyShadesGreyAbhi's user avatar
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,115
8 votes
2 answers
4k views

Why analogue pins affect each other?

I have a sensor and it generates an analogue signal. I am reading all analogue data and sending it to my computer. uint8_t sensors[] = { A0,A1,A2,A3,A4,A5,A6 }; const int len = sizeof(sensors) / ...
erow's user avatar
  • 215
8 votes
3 answers
10k views

How can I detect a disconnected pin?

I'm trying to build a system where if a cable gets disconnected from a pin (any pin), an action is executed. I am wondering how to set this up. Can I simply wire the 5V to a pin and read its status ...
Karim Stekelenburg's user avatar
7 votes
1 answer
5k views

Two batteries sharing ground?

I need to power my arduino and 2 DC motors requiring 6V each, I want to power the DC motors with a 6V battery through the vM pin on an h-bridge and use a 9V battery to power the Arduino itself. On my ...
Kartashuvit's user avatar
7 votes
4 answers
3k views

Is there a semi-permanent way to attach wires to the Nano?

At least for prototyping, is there a semi-permanent way to attach wires to the Nano posts? And yes, usually the Nano is hanging in free space by its wires (yes I know, quick and dirty, should be ...
Chris O's user avatar
  • 329
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
7 votes
2 answers
9k views

Is there a way to upload precompiled code to an arduino?

My company is developing a programmable remote control car which is driven by an Arduino Nano. We would like a way for the user to install software updates to the Arduino, but we don't want to give ...
TheIronKnuckle's user avatar
7 votes
2 answers
553 views

Storage usage of methods compared to copied code

When you have really small snippets of code that are repeated several times in your micro controller program, is it better to write a method? I mean better in terms of performance and storage usage. I ...
Lehue's user avatar
  • 193
7 votes
3 answers
3k views

How does this Motor Circuit not ruin the Microcontroller

I came across this instructable about using no external hardware but two pwm pins to control a motor in both directions. Usually you would use an H bridge. However, ever since I have had my Arduino I ...
NULL's user avatar
  • 810
6 votes
2 answers
64k views

Arduino nano as HID Keyboard

I'm a bit of a noob in the Arduino area but I found an Arduino nano I bought a long time ago sitting on my shelf and collecting dust, so I taught "why not make a project". I game a lot of racing ...
brandon bondig's user avatar
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
900 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
6 votes
1 answer
2k views

EPS8266 ESP-01: LED manipulation seems to interfere with serial communication

I'm playing around with this udp-example. Both this and the blink-example work perfectly. Now I would like to use the LED to indicate what the ESP is currently doing, as well as reading some data over ...
user2224350's user avatar
6 votes
2 answers
1k views

Is it possible to program an ESP8266 12F using an Arduino Nano?

I just got my ESP8266, but I am unable to program it. Since it can't be connected to via USB, I was wondering if I can program it using an Arduino or perhaps use it as a shield for an Arduino Nano. I ...
Danish Ajaib's user avatar
6 votes
1 answer
286 views

Why does pulse sensor shows gaps when I move it?

I modified the serial code in this way and I don't think the gap is produced by my edit even because it made it even before: ////////// ///////// All Serial Handling Code, ///////// It's ...
Gabriele Giordano's user avatar
5 votes
6 answers
12k views

Lowest power possible in Arduino

I have googled all around and I know about some tricks to make ATmega328 not being a power hog. I am using Arduino Nano V3.0. However, I didn't find out what is the minimal consumption possible with ...
nemewsys's user avatar
  • 215
5 votes
1 answer
2k views

How to work with non-traditional UART baud rates

I am trying, unsuccessfully to communicate, using my Arduino Nano, with a custom device at a baud rate of 800 kbit/s. The Arduino code look like this: void setup() { // Put your setup code ...
user28282's user avatar
5 votes
2 answers
22k views

Arduino Uno versus Arduino Nano power consumption

I have both an Arduino Uno and an Arduino Nano but I can't decide which one to use for my project. My aim is to maximize battery lifetime. I have also implemented an 8-second watchdog timer to ...
Jyoti Raj Sharma's user avatar
5 votes
3 answers
6k views

How to use digital pin as ground?

I have recently brought an arduino nano. It has only two ground pins but I needed three for my project. Is there a way to use a digital or analog pin as ground pin? Please show me how to do it
rocky saikia's user avatar
5 votes
2 answers
27k views

How can I power an Arduino Nano with a LiPo battery, preferably 3.7v

I am a newbie to Arduino, so please bear with me. I am trying to figure out how to power an Arduino Nano with a LiPo battery. I want to use a 3.7v if possible, as my project needs to be lightweight. ...
saddlepiggy's user avatar
5 votes
2 answers
855 views

2 Arduino controller boards - 1 shared input

I'm beginning with electronics and don't have all the good reflexes yet. So here is my question: Can I do what I did here? can i do this http://www.movod-design.com/forum_img/canIDoThis.jpg Do I ...
MadCat's user avatar
  • 53
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
5 votes
1 answer
3k views

No power from Breadboard Power Supply Module

Components Breadboard Power Supply Module IM120525004 1 kOhm resistor Green LED Arduino Nano LiPo 7.4V battery LED Lights Up Fine with USB power from the Arduino LED Does Not Light Up with power ...
Cel's user avatar
  • 153
5 votes
2 answers
1k views

What will happen if I set ARef to 3.3V and try to use adc connected to 5V

What will happen, if I try to measure voltage higher than ARef? For example, my ref is 3.3V, and I try to measure 4.5V. Will it damage adc?
Etwus's user avatar
  • 153
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
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
1 answer
4k views

Why are Arduino clones cheap?

You can buy Arduino Nano v3 clones from Alibaba at the cost of roughly $2-$3. I have calculated the cost for fabricating and all the parts in the BOM for Arduino Nano V3, and it ended up costing ...
40pro's user avatar
  • 173
5 votes
2 answers
988 views

Arduino power sources

Is it safe to connect a USB input to an Arduino (Nano) at the same time as an external regulated 5V supply to its 5V pin is connected, assuming the supplies have common grounds ? Will (I hope) the ...
Robert Murphy's user avatar
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
5 votes
0 answers
565 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
4 votes
3 answers
1k views

Arduino voltage misunderstanding

For arduino nano. I set digital pins 1,2,3,4,5 to HIGH (I do this using digitalWrite(pin,HIGH) for each pin). Does this mean that 5V is being sent through each of the pins so in total there is 25V ...
Sanchez2009's user avatar
4 votes
4 answers
3k views

Using millis() to toggle an LED every 500 milliseconds

I thought the code below would toggle an LED every 500 milliseconds. But it does not work. I'm not able to catch the mistake, which must be very silly. void setup() { pinMode(3, OUTPUT); } void ...
Rajesh's user avatar
  • 171
4 votes
4 answers
2k 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); ...
OrElse's user avatar
  • 57
4 votes
3 answers
70k views

Powering up LED strip - How many amps?

I want my Arduino to drive a LED strip. The LED strip in particular is the 3528 non-waterproof type. To power this up, I need a 12V power supply. My LED strip is going to be 5 meters. Now my ...
user1584421's user avatar
  • 1,385
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
2 answers
9k views

What happens if we connect GND and +5v?

What will happen if I by mistakenly connect GND and +5v of an Arduino Nano? Is there any protection for it? Or will it get short and fry out something?
Sagnik Pradhan's user avatar

1
2 3 4 5
26