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
29
votes
14answers
45k 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 ...
19
votes
13answers
79k 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 ...
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, ...
15
votes
4answers
69k 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 ...
13
votes
4answers
5k 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/...
11
votes
2answers
16k 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 ...
9
votes
5answers
57k 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 ...
9
votes
5answers
8k 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
2answers
2k 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) / ...
8
votes
2answers
7k 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....
7
votes
3answers
25k 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
4answers
2k 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 ...
7
votes
3answers
6k 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 ...
7
votes
4answers
10k 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 ...
7
votes
1answer
29k 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 ...
7
votes
2answers
6k 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 ...
7
votes
2answers
542 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 ...
7
votes
3answers
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 ...
6
votes
2answers
943 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 ...
6
votes
1answer
269 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 ...
5
votes
1answer
1k 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 ...
5
votes
6answers
10k 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 ...
5
votes
5answers
10k 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 ...
5
votes
5answers
529 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 ...
5
votes
2answers
705 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 ...
5
votes
2answers
633 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?
5
votes
1answer
2k 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 ...
5
votes
1answer
1k 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 ...
5
votes
6answers
8k 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 ...
5
votes
2answers
10k 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 ...
5
votes
1answer
3k 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 ...
5
votes
2answers
778 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 ...
5
votes
6answers
5k 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
4answers
2k 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 ...
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
3answers
35k 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 ...
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 ...
4
votes
2answers
1k views

Does Nano not get sufficient power via USB?

I have an Uno, and I can play all I want with it, just using a USB cable. Then I got two Nano clones, and they both show the same behavior: When I connect it to the USB cable (which leads to my PC) ...
4
votes
1answer
3k 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 ...
4
votes
1answer
16k 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
4
votes
2answers
147 views

Absolute noob looking for troubleshooting help

My 10-year-old son went to a "Robotics Camp" and came home with a non-functional Arduino robot. I figured it shouldn't be too much trouble to get it working. He swears he had it operating at the camp, ...
4
votes
1answer
271 views

Problems running several Arduinos off of one HC-05 Tx pin

TL;DR: Multiple Arduinos listening to a single serial rail are burning out my HC-05's TX pin. Arduinos are leaking voltage onto the signal rail. How do I stop, or isolate that to keep from burning out ...
3
votes
2answers
6k views

Use ESP-01 with Arduino Uno/Nano, with the ESP8266WiFi library

There is this library - https://github.com/esp8266/Arduino That provides a more user-friendly API for WiFi capabilities with the ESP8266. However, all tutorials that I found so far for this library ...
3
votes
2answers
3k 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?
3
votes
3answers
4k views

Best Header for Arduino Nano

I would like to be able to create permanent projects with my arduino Nano but be able to remove the nano in order to use it in other projects. The arduino Nano has 30 pins so I would be looking for ...
3
votes
1answer
2k 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 ...
3
votes
2answers
1k views

Weird output from chained 74HC595 shift registers

EDIT 4/2/18: The Arduino tutorial schematics have been corrected! See https://github.com/arduino/Arduino/issues/6433 for that issue. I have a project where I am trying to load a 16-bit number onto an ...
3
votes
2answers
13k 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?
3
votes
2answers
2k views

How to use a Bi-color matrix led 8x8 with 24 pins?

I've just buy this 8x8 LED matrix WLG M20088A/BEG and I'm trying to light all the LEDs in one single color (green) but I don't understand how the 24 pins work for this specific model. I know that ...
3
votes
2answers
972 views

Could I Connect many Arduino Nano boards together?

I want to know if I could connect many Arduino Nano boards together (Example : 10 boards ) , Also i want to know if there is any problem in Communication between them using I2C , could this affects ...