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
2answers
80 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
113 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
2answers
186 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
59 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
171 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
28 views

Arduino does not see data from nodemcu

I’m trying to send data from a NodeMCU to an Arduino nano. If I try to send data with one second delay - all working fine. But if I try to send without delay or with a delay less than one second, ...
1
vote
1answer
180 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
300 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
152 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
2k 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
344 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
324 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
62 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
229 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
64 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
0
votes
1answer
196 views

Find Elapsed Time on Serial Plotter

How do I find out the elapsed time from the serial Plotter graph? I am plotting sensor values from the Arduino Nano and would like to know the time scale on the x-axis in order to calculate settling ...
1
vote
1answer
114 views

Arduino Nano /Uno USB is not getting recognized

I have multiple Unos and Nano and recently due to some bad configuration the USBs are not getting recognised on my Mac Air Laptop. These were working models for almost 1-2 years. I used it to control ...
0
votes
1answer
222 views

How to connect a 240x320 37-pin TFT to an Arduino Nano?

I have an old TFT display (extracted from an MP5 player) and I can't figure out how to connect it with an arduino nano, pls help. here's the datasheet of the TFT: http://read.pudn.com/downloads137/...
0
votes
1answer
60 views

Can I switch from Serial to SoftwareSerial at runtime with the same baud?

I'm trying to use a GPS and the Adafruit thermal printer module with an Arduino Nano in the same project (both use baud 9600) and was wondering if I could do something like in the code below? ...
-1
votes
1answer
107 views

Need help optimizing snake game code for Arduino Nano

Here's the code: https://pastebin.com/ypWe4NZw This is the output when I compile: Sketch uses 13086 bytes (42%) of program storage space. Maximum is 30720 bytes. Global variables use 1456 bytes (71%...
0
votes
0answers
118 views

Waterproof ultrasonic sensor probe and arduino

I want to build myself a parking sensor using Arduino and I found on Ebay multiple solutions, but I was wondering, is it possible to make only the probe work with Arduino? Does anybody has an idea ...
0
votes
0answers
122 views

Is this Arduino NANO counterfeit?

Today i bought my second NANO(First one was made of Gravitech).I have some doubts that if it is a counterfeit product.I have noticed some points & they are as follows. 1)No "NANO" printed on the ...
0
votes
1answer
78 views

Two pots controlling 2 servos — odd behavior

I'm trying to control 2 servos with 2 pots. I thought I could just amend the tutorial code by adding in the extra pot on a1 and extra servo on d8 (am using a Nano). #include <Servo.h> Servo ...
0
votes
1answer
54 views

Is it correct to use a 9V 1A transformer to power my project?

I have a quick question: I have a small alarm project running on an ArduinoNanoV3 (a chinese clon). Counting sensors, actuators and the arduino itself the consumed current (theoretically speaking, ...
0
votes
0answers
284 views

Arduino Uno R3 (with Atmega 16U2) and macOS 10.11 not working

So, i have the newest Arduino IDE (1.8.5) installed and the newest release of Arduino AVR Boards 1.6.21. My OS: macOS 10.11.6. Usually I only use Nano's china clones with an CH340 USB-Serial chip, I ...
0
votes
1answer
265 views

How to connect/call to the PSTN network using Arduino?

For a few months I made an alarm for my house, it is very simple: it is based on magnetic sensors DC-1561 (for windows and exterior doors), a few PIR sensors for rooms, buttons, LEDs and (of course) ...
0
votes
1answer
391 views

Dim a led using a NPN transistor

I know there are a lot of questions about this topic, but I've tried everything and any possible guide online without success. I want dim (increase and decrease the brightness) some leds (3.5 Watt ...
0
votes
0answers
74 views

Using the Adafruit_PWMServoDriver within a function 'crashes' Arduino Nano

Just switched out an Arduino 101 for a Nano and having trouble since then. When the following function is called, the Nano stops responding or doing anything. void thumbMove() { //interupt the ...
0
votes
0answers
53 views

Multiplexing BMP180 pressure sensor on arduino nano

I am getting fluctuating values from the pressure sensor on using this code. without the multiplexer the reading is stable and accurate. //---------------------------------------------- // // ...
0
votes
1answer
48 views

Communication between 2 Bluetooth modules

I successfully connected two Bluetooth modules, HC-05 and HC-06 like on this website: http://www.martyncurrey.com/connecting-2-arduinos-by-bluetooth-using-a-hc-05-and-a-hc-06-pair-bind-and-link/ I ...
0
votes
3answers
928 views

How to receive more than 64 bytes on Arduino?

I am receiving about 90 bytes on the serial port. But Arduino has a serial buffer of 64 bytes only. Because of this limitation I am unable to receive further bytes. char c; void read_response() { ...
0
votes
1answer
100 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 ...
0
votes
1answer
117 views

Get UUID from Arduino Nano, ATmega328 [duplicate]

I need to know how to obtain the UUID from an Arduino Nano ATmega328 for a project.
0
votes
1answer
290 views

A4988 and capacitors [closed]

I’m working at a project which involves 3 stepper motors that are driven by A4988 drivers. I have read that I have to connect an 100uf capacitor in parallel with the motor power supply that goes to ...
0
votes
2answers
158 views

Arduino + nRF24L01 + ESP8266 mod

I was wondering if it is possible to connecting two Arduino boards with each other (Uno + Nano) using an ESP8266 mod on one of them and an nRF24L01 on the other board? I have seen lots of details of ...
0
votes
1answer
337 views

ToF VL53L1X sensor integrate with arduino

I have this latest version VL53L1X time of flight laser distance sensor: http://www.st.com/en/imaging-and-photonics-solutions/vl53l1x.html I study about this sensor, It says that sensor only Access ...
0
votes
0answers
37 views

Automatically detect and address module voltage on board on 3v board

Let's say I have the objective to simplify project assembly, for kids, perhaps. I have three requirements: Use industrial made, and readily available boards and modules. No development here. Extend ...
0
votes
1answer
436 views

How to write Arduino API code in VL53L1X?

I'm trying write code for the VL53L1X on Arduino, but I didn't get the VL53L1X registers. How to access them and how to measure the data in VL53L1X? Can anyone help me?
0
votes
1answer
66 views

Linking Mulitiple Arduino's

I have a project in which several Arduinos will be running independent programs. I would like to use an Arduino Mega as the main controller. It will receive input from a variety of switches, as well ...
2
votes
1answer
414 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 ...
0
votes
1answer
32 views

character on 16X2 LCD is not visible properly

i am using 16x2 LCD with arduino nano for my project. when i connect arduino nano with usb power supply from pc or any mobile changer adapter then all the character on LCD is visible properly. But ...
0
votes
0answers
182 views

Arduino-electronic voice pitch detector

I'm doing a project, which is "Electronic Voice Pitch Detector for ADHD Patients". My device for the detector can detect when there is any sound at the surrounding. And I had set the threshold value ...
1
vote
1answer
155 views

Arduino memory issue with old HP HDSP-2000 display chips

I'm running into memory issues with an Arduino Nano driving some old HDSP-2000/HDSP-2011 chips. I cannot seem to get the ASCII 5x7 array into PROGMEM and have it read properly. It's so low on memory ...
1
vote
1answer
1k views

MIFARE RC522 I2C Library

I was looking at this link on RFID I2C interface. I added the library to arduino, but in main.cpp, I see an error: In function 'void setup()': sketch_mar27a:16: error: no matching function for ...
0
votes
0answers
110 views

4x4 Keypad Interface issues

I have not used arduino until now. I thought of interfacing my 4x4 keypad. But when I press keys 1, 4, 7 and *, key values A, B, C and D are sent out to serial terminal respectively. All other keys ...
0
votes
2answers
362 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
1
vote
2answers
1k views

6 wire 3 digits 7 segment display and arduino question

Here's a brain teaser for you: I have the following 3 digit 7 segment display that has only 6 wires Experimentally I found out how it works, even though I don't understand it, but anyways every ...
0
votes
1answer
119 views

Code compatibility with Arduino Due

I am currently working on a quadcopter project that involves an MPU6050 accelerometer+gyroscope module, an ultrasonic sensor and control of electronic speed controllers. I have used existing examples ...
0
votes
1answer
385 views

Powering 8-channel relay correctly

Replication Steps: 595N shift register powered by arduino Each output on register connected to 1 of 8 relays in relay board Arduino programmed to loop over each 8, triggering 1 relay at a time ...
0
votes
1answer
682 views

Is there a way to send data from Tensorflow to Arduino via Bluetooth?

I am not sure if such a question is accepted here. If not please direct me to a more suitable Exchange. I am planning a small project involving Machine Learning using TensorFlow and Python, which ...