Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
66 views

Arduino sketch not uploading to Arduino Nano [duplicate]

Port is detected and selected but sketch is not uploading to it. I am getting error: avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53 Copyright (c) 2000-2005 Brian Dean, ...
0
votes
1answer
60 views

Can't write to serial immediately from PC to Arduino nano via pl2303 usb to ttl converter

Goal: I am trying to send some characters to Arduino through serial from PC via a Prolific PL2303 USB to TTL converter(Chinese clone). I have wrote a simple sketch(attached bellow) which should ...
3
votes
2answers
195 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 ...
0
votes
1answer
30 views

Unable to receive data when using multiple SoftSerial on Arduino Nano

I am trying to use several (four) software-based serial ports to talk to different peripheral hardware. However, I am unable to receive data through the SoftSerial when using more than one software ...
0
votes
1answer
48 views

Arduino OBD connection

I am using this code on a arduino nano and works fine. #include <LiquidCrystal.h> LiquidCrystal lcd(8, 9, 4, 5, 6, 7); // select the pins used on the LCD panel #include <OBD2UART....
2
votes
1answer
165 views

How to connect an Elegoo Nano to a Raspberry Pi and program it?

I own an several Elegoo Nanos and a Raspberry Pi. I would like to connect an Elegoo Nano to the Pi and upload nanpy onto the board and control it's GPIO pins. I have plugged the nano into the Pi and ...
1
vote
1answer
67 views

Flickering LED when servo moves

I just got to play around with Arduino lately so I'm really new on this stuff and sorry for the grammar error. I got a work where I need to turn the LED on all the time, my plan is to add a slow fade ...
0
votes
1answer
68 views

Determining direction from IMU accelerometer data

I am learning how to integrate sensors on arduinos and read their data. My ultimate purpose is to place the IMU on a robot and use it in determining the robots location in an environment. Using the ...
-2
votes
1answer
46 views

How to power an arduino nano [closed]

I am trying to power an Arduino nano connected to an LCD screen. I want it to work without connecting it to a computer. Please let me know if the connections aren't clear in the photos. I have a 5&...
0
votes
0answers
39 views

Fastest communication between two arduinos wirelessly

So there are several options including radio frequency and Bluetooth but both seem slow. I need a wireless way to communicate between two arduinos. The values i need to send don’t matter i will choose ...
0
votes
3answers
52 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? ...
0
votes
1answer
173 views

Problem Uploading to the Arduino Nano board [duplicate]

]2I am using an Arduino Nano board. It has an ATmega 328P processor. For running the codes I use Arduino 1.8.6 Software. The issue is that when I am uploading my sketch to the board it shows me the ...
-1
votes
1answer
89 views

Relay Module for water pump [closed]

I want to switch on/off my water pump by using arduino nano, I have 2 channel relay module. Is this module safe for controlling pump? Specifications pump: power = 746 watt (1HP) single phase, voltage =...
0
votes
1answer
69 views

Cannot get Serial working

I've bought a module which should communicate via serial RX/TX. The module and code are described here: https://www.dfrobot.com/wiki/index.php/Weather_Station_with_Anemometer/Wind_vane/Rain_bucket_SKU:...
0
votes
1answer
26 views

How to connect Mg995 and arduino nano since nano can only output 40mA at max?

Datasheet for Mg995 shows: Current draw at idle 10MA No load operating current draw 170MA Stall current draw 1200MA Maximum current that an arduino nano can output is 40mA. So, what ...
1
vote
0answers
51 views

HC-05 and cheap Nano clone not powering on

I have a HC-05 module which works absolutely fine with an Arduino Uno. Because I need to reduce the size of it, I tried using an Arduino Nano. After correctly wiring it up to the Nano, sometimes the ...
0
votes
1answer
62 views

setting output analog/digital pin to ground

So I need to automaically eject a CD from a Blu-Ray drive, I have a wire welded on the drive's card that if manually connected for a split second (pulse) to the ground of that same card on the drive, ...
-1
votes
1answer
26 views

Want an idea for line followers robot? [closed]

I am working on a line follower (using Arduino) which can be able to solve all type of loop. My question is which algorithm is the best for my robot, which can solve loop or maze? Expectations:- it ...
1
vote
2answers
154 views

Connecting Arduino Arduino to MOSFET

I want to use my Arduino Nano to control a 12V peristaltic pump via a BDX33c N-Channel MOSFET. The pump has a maximum current draw of 1,4 A. The Arduino (via VIN) and the pump are powered by a 12V ...
1
vote
2answers
59 views

How should you predict the battery size required for a project?

I am using an Arduino nano along with an ESP8266. The nano is connected to an OLED display and a keypad. The ESP8266 uploads the data entered from the keypad onto a server. I wish to make the device ...
-1
votes
1answer
127 views

esp8266 and arduino pro mini [closed]

I have few sensors. Temperature sensor (DHT22), flow rate sensor, rpm optical tachometer sensor and a rgb led. I want to use adafruit IO to get values of these sensors and change the colour of the ...
1
vote
1answer
66 views

How can I power a NeoPixel ring and strip through Arduino MKR1000?

I currently have a MKR1000 which is connected to 1 ring with 8 neopixels, 1 strip with 20 neopixels, 1 microwave sensor, 1 speaker, 1 rotary encoder. I am running the NeoPixel positive and negatives ...
3
votes
1answer
2k 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 ...
0
votes
0answers
93 views

Arduino & MCP2514 CAN bus

Trying to get this working, initially just to view and capture messages on the CAN bus in a Peugeot 407. Started with this: https://github.com/coryjfowler/MCP_CAN_lib/blob/master/examples/...
0
votes
0answers
36 views

Keep battery pack awake and run motor every 6 hrs

My circuit is a Nano that runs a watchdog timer code to keep it asleep and wake it every 6 hours to run a small dc motor for 5 minutes and then go back to sleep. The watchdog timer code works great ...
0
votes
1answer
30 views

Rc car which returns to middle when left or right button is not pressed

Hi i am currently working on a school project , my only problem is that i want my RC car to return to middle direction (which i have set to 66 in the servo motor) when the left or right button is not ...
2
votes
1answer
164 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
votes
1answer
22 views

checking the line for the content of the word [closed]

I have such string: engine:255b How i can check is there a word (engine) in the line? And how i can got int 255? Please, help me)
-1
votes
1answer
30 views

Controlling servo via serial port without any delay [duplicate]

I have such code: void setup() { Serial.begin(9600); } void loop() { } void serialEvent() { while (Serial.available()) { Serial.println(Serial.readString()); } } When I send there ...
0
votes
2answers
382 views

Send AT commands to ESP8266 from Arduino Nano serial monitor

I have an Arduino nano and an ESP8266-01. The first thing to do seems to be to send AT commands via the serial monitor and see the replies. ESP connect as follows: GND GND GPIO2 not ...
0
votes
1answer
36 views

How to stop extra LEDs from lighting in LED cube

So I build LED cubes and the way I have it programmed is I use an analog pin for the ground layers and set them to high when i want an led on that layer lit up. So lets say I wanted the following LEDs ...
1
vote
1answer
53 views

Software Gate on a PWM port

I'm using a PWM port and outputting a freq. Is it possible to pulse the PWM port using software to simulate a pulse gate. For example, I'd like to output a freq of 111hz, but would like to gate that ...
0
votes
1answer
156 views

Text send via HC-05 is broken up by first character on the receiving end?

On the receiving end, I have an mit app inventor app which acts like a client. In arduino, I check for connection status and do a serial write to send the text. The code for that is below: #include ...
0
votes
0answers
13 views

EZ-Link break out issue

I keep getting this error "not in sync: resp=0x00" when I try to upload sketch to a arduino nano. I followed this tutorial https://learn.adafruit.com/introducing-bluefruit-ez-link/arduino-programming ...
0
votes
1answer
73 views

Accidentally shorted 5V to GND on Arduino Nano, can I reuse the ATmega328p?

I've shorted 5V to GND and the Arduino Nano (CH340 clone) stopped working (power LED light is dimming). The board had a burning smell, and I also checked if other Arduini on the same USB port worked ...
0
votes
0answers
245 views

Rc-Switch Receiver Code not receiving anything

Hi so I'm Having Problems on my receiver code which uses the RC-switch.h library, The transmitter code is OK and it prints the corresponding values on the serial monitor but the receiver code doesn't ...
0
votes
0answers
29 views

Virtual Wire transmitter code

I'm Having problems on my virtual wire transmitter code. when i press one button the backward button is continuously being pressed even when im not pressing it. Here is the code // TRANSMITTER CODE #...
0
votes
0answers
79 views

Servo.h and ServoTimer2.h difference

So i'm trying to code a servo motor to turn left when a button is pressed and turn right if another button is pressed i already have a code for it on the servo.h library but it has a problem with the ...
1
vote
1answer
240 views

Rc car controller using the RC-switch library

simulate this circuit – Schematic created using CircuitLab (Newbie in arduino) Hi so i have a project which involves creating an rc car which uses the 433Mhz rf module and an arduino nano with ...
1
vote
4answers
316 views

9x servo on Arduino Nano?

I saw this project with multiple servos: In Servo We Trust! Let's control 135 servos with a single Arduino! I wanted to miniaturize this project. BUT instead of triangles i will use SQUARES. :EDIT: ...
0
votes
1answer
63 views

Which transistor I should use to switch 12V 0.8A? [closed]

I am have circuit with Arduino NANO and I need to control air valve, which is powered with 12 Volts and 0.8 Amper. Problem is that Arduino NANO is powered with 5 volts. I want to use transistor to ...
0
votes
1answer
21 views

How to connect both MicroSD module and MPU9235 power in an arduino

I'm really new at electronics and wiring, so please be kind. Coding is my stuff, but I'm trying to learn something here. I'm working with a project to store the movements of a skateboard through a ...
0
votes
1answer
111 views

Generate single pulse from timer 1 in arduino nano

i have a code that shot a single pulse from pin D5 timer 0 (based on josh levine code), it works fine. the code is below #define OSP_SET_WIDTH(cycles) (OCR0B = 0xff-(cycles-1)) void osp_setup(uint8_t ...
0
votes
1answer
57 views

Arduino Fried? Power is being delivered to Arduino but COM not found

When i connect my arduino nano to windows 10; the arduino nano is powered on (the "POW" led is on and not blinking; none of the others are on) but it doesn't show up on my computer. It used to but I ...
4
votes
1answer
814 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 ...
-2
votes
1answer
92 views

How does Arduino memorize the last bytes from Bluetooth HC-05?

I have made a home automation project. Description: Light on, off through HC-05 Bluetooth module and my Android app. The problem is when the power is gone, the system stops, that's OK. After that, ...
1
vote
4answers
571 views

Writing analog voltages on analog pins of Arduino

Can we write a analog voltage to analog pins A0-A7 of the Arduino Nano (for example)? As in: pinMode(A3, OUTPUT); analogWrite(A3, 200);
0
votes
0answers
27 views

My arduino nano stops working after a short time with no obvious provocation

I have an arduino nano setup with a screen using the setup from the liquid crystals library "hello world" example, it works for a minute but then everything goes blank on the screen and the lights on ...
0
votes
1answer
332 views

`.readFileCounts()` not working on DFPlayer mini module

I just played around using a MP3-TF-16P module, aka DFPlayer mini. The library and the examples I used as a basis can be found here. My current setup contains a button (NC, normally closed), which is ...
0
votes
0answers
36 views

Grounding analogue signals through ads1115

Quick question - I have some pretty expensive gas flow sensors outputting a 0-5V signal, which need at least 2.5 KOhms minimum load. Can I connect them to the Adafruit ADS1115 breakout (ADS1115 chip, ...