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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

1
vote
1answer
4 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 ...
0
votes
0answers
13 views

MAX7219 cascade issue

I have six daisy chained MAX7219 connected to an Arduino nano. The thing is that all of them turn on and display the desired results but only the data on the first two is retained. The other four go ...
1
vote
1answer
19 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
15 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
22 views

Issue with Bluetooth communication

I started a project using two Arduinos (Nano) and HC-05 modules. For now it is a very simple circuit with a switch on the slave controlling an LED on the master. The Arduinos and modules were setup ...
0
votes
0answers
24 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
21 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 ...
1
vote
1answer
64 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
19 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
24 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 ...
-1
votes
0answers
20 views

Getting ESP8266WiFi.h for Arduino [duplicate]

How do you get ESP8266WiFi.h? I followed the instructions here https://github.com/esp8266/Arduino and in Board Manager installed version 4.2.4 of package esp8266 by ESP8266 Community but #include &...
0
votes
2answers
41 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
27 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
32 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
0answers
23 views

Why does HC-06 slows dows to a halt when involving both Serial.print and Serial.read?

I'm working on a project that has to output MPU9250 data through bluetooth (because through a microSD card was a total failure). For that I'm using an Android device (Samsung J5) and a app called ...
0
votes
1answer
14 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
28 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
17 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
23 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
16 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
31 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
89 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
52 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
20 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
34 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
32 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
723 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
43 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
240 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
19 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
79 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
19 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, ...
0
votes
0answers
40 views

Arduino button trigger coding

I am trying to write a simple coding to change the color of an RGB LED using a push button trigger. I just need the the pin output to change when the button is pressed. I would like to do this using ...
0
votes
1answer
25 views

HEF4094 with 12v Vcc

Using old NXP HEF4094BP shift register chips, for the reason of fixing some old hardware. These chips were popular in the 90's because they could accept 3-15V VCC and directly drive series+parallel ...
0
votes
2answers
53 views

Read pc volume percentage?

is there a way to read the current pc volume? This is going to be a part of a project that I have in mind that is essentially reading curent pc volume value and giving it an RGB value (green=>30, ...
-1
votes
1answer
39 views

How to track a pressure sensor from analog inputs? [closed]

I am a beginner with arduino. I have been researching pressure sensors composed of 2 conductors that sandwich a layer of velostat. My understanding is the velostat when compressed creates resistance ...
0
votes
1answer
70 views

Why does Arduino Tone example with 8 ohm speaker make USB port fail?

I'm using an Arduino Nano and attempting to run the basic sample program at: https://www.arduino.cc/en/Tutorial/toneMelody When I build the circuit they way they show (extremely simple) using an 8 ...
1
vote
0answers
43 views

Why does I2C On Nano Fail with LiquidCrystal_I2C library unless Nano runs at 8Mhz?

I have an Arduino Nano (running by default at 16Mhz). I am connecting a 20x4 LCD screen via I2C (using A4 for SDA and A5 for SCL). Here's the very simple code (which was previously only showing black ...
0
votes
1answer
87 views

Arduino Nano off 9V : is there any change to output?

I'm building a test circuit on an Arduino Nano that consists of a simple 220 Ohm resistor and an LED on pin D2 which is routed back to GND (ground). It's as simple as this: It's running a very ...
0
votes
1answer
15 views

Arduino does not see data from nodemcu

i have a question for you. Im trying to send data from my nodemcu to arduino nano. If i try to send data with delay one second - all working fine. But if i try to send without delay or delay <...
0
votes
1answer
43 views

RGB LED strip inverted PWM

This bug/stupidity-of-myself/problem is killing me: I'm have created an RGB strip controller that cycles through the additive-rgb-color spectrum while turning a potentiometer. I have a pot hooked up ...
0
votes
1answer
73 views

How to send int[][] as a byte array through Serial

I have int arr[50][2]; and I need to send it through Serial. But I don't know how to do it. is it possible?
0
votes
1answer
58 views

Connecting and using ESP8266 wifi

My ESP8266 has stopped working. The red power light comes on and the blue TX light is on solid. Here's what I did. Connecting ESP8266 -> Arduino nano VCC, CH_PD, RST -> 5V (external supply) TX -...
0
votes
1answer
205 views

OneButton with pins A6 and A7

I noticed that OneButton library does not work with pins A6 and A7 (with A1 and A2 it works good) on my Arduino Nano. Is it because A6 and A7 are Analog only? There is possibility to make them work ...
0
votes
1answer
64 views

Set avrdude transfer baud rate in Arduino IDE

I just got an Arduino nano (from arduino.cc, not a knock-off), and have issues uploading sketches. It refuses to upload, with the error message "programmer is not responding". Some searching led to ...
4
votes
2answers
182 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?
0
votes
1answer
40 views

Trying to read the current position of a flex sensor and store it as a variable? NANO ATmega328p

I am trying to write a code to read the current position of a flex sensor when a button is pushed and use that data to pulse a piezo. I set it up to read the flex sensor and to alarm when it gets 100 ...
0
votes
0answers
51 views

Counting pulses of a signal between 2 pulses of another signal

I set an Arduino Nano to read the time between 2 pulses of a signal (kind of rotary encoder) to get and display an rpm value. I've done this using interrupts. Now I'd like to add a second (kind of) ...
0
votes
1answer
35 views

How to program a Arduino Nano(Bricked) with a working arduino nano

I corrupted my bootloader on one arduino, luckily I had a spare lying around. Please help as there is not a single tutorial to help my exact state