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
26
votes
12answers
98k 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 ...
11
votes
2answers
20k 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
68k 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 ...
6
votes
2answers
23k 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
97 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"...
3
votes
3answers
52k 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
2k 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
231 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
2k 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
2answers
4k views

Arduino I2C communication between Raspberry Pi

We are trying to communicate between multiple Arduino's (in this example a Nano and a Mega) and a Raspberry Pi. The Raspberry pi is defined as master and the Arduino's as slaves. We would also like ...
1
vote
0answers
33 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.
0
votes
1answer
147 views

Parola library and DS3231 clock

EDIT2: Well, this is the "new" code and it just displays random dots on the matrices: #include "RTClib.h" #include <MD_Parola.h> #include <MD_MAX72xx.h> #include <SPI.h> // Define ...
0
votes
0answers
240 views

Sending Simultaneous Data from 2 NRF24L01 Transmitters to 1 NRF24L01 Receiver

I'm using three NRF24L01 transceivers, each connected to one Arduino Nano. One of the NRF24L01's is configured as a receiver, while the other two NRF24L01's are set as transmitters. Firstly, I'm aware ...
0
votes
2answers
2k 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, ...
30
votes
14answers
49k 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, ...
18
votes
4answers
81k 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
9k 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
5answers
665 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
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 ...
8
votes
3answers
29k 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
33k 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
7k 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 ...
3
votes
2answers
5k 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 ...
2
votes
2answers
3k 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
1answer
1k 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
813 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
2answers
967 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
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
0answers
82 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
1answer
396 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
2answers
3k 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 ...
2
votes
1answer
763 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 ...
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
3answers
768 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
1answer
308 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 ...
1
vote
1answer
985 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
4answers
2k views

Arduino Nano Update failure - avrdude: stk500_recv(): programmer is not responding

Before I tear all my hair and teeth out, can anyone please help. I have tried googling an answer and have not found anything. My Setup: Win7 64bit Arduino 1.6.9 IDE freshly reinstalled COM14 port ...
1
vote
1answer
761 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: ...
0
votes
1answer
477 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....
0
votes
1answer
53 views

PWM Input Pins Never Receive a Value from Working Receiver?

I have a very simple sketch that's supposed to intercept the signal from an RC receiver and print the pulse duration from that channel. Sketch int PwmPin = 9; unsigned long duration; void setup() { ...
0
votes
3answers
2k views

Arduino nano stopped working

After programming Arduino Nano with the DIY Headtracker code, after trying to plug the Arduino to the receiver and some time, the LED stops flashing and now it's not recognized by the computer anymore....
0
votes
2answers
716 views

Controlling multiple fans using arduino uno

I'm kind of new on the field of Arduino. Although I have a question concerning multiple fan connection on 1 arduino PWM pin. The goal is to connect around 8 to 16 fans on 1 arduino pwm header pin and ...
0
votes
4answers
1k views

Removing CH340g chip from Arduino Nano clone.. any issues?

In trying to figure out how to solve another problem with Arduino Nano clone using CH340 chip, I was just now wondering, would there be any issues if I were to simply remove the CH340 chip? As it ...
0
votes
1answer
417 views

HTTP POST/ METHOD to Emoncms doesn't work

So Ive setup the emoncms on my server and posted the example power1:100…power3:300 JSON POST and it logged in my INPUTS. Now Im trying to send data from my arduino and it seems to post fine, but when ...
0
votes
1answer
5k views

How can I update global variable within a loop from outside the loop?

I have this code, but its not working. If I type "ReportFRQ 1" (or 0) it reports back that FrqON variable has changed but the behaviour of the loop doesnt. Basically I am trying to switch parts of the ...
0
votes
3answers
96 views

Read analog port set as output

I have a PWM analog port that is outputting a frequency, is it possible to do an analogRead on the same pin and get a correct value? If so, will reading that port disrupt the freq output on the pin? ...