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
0answers
20 views

Can we code XBee more than once?

How many times we can rewrite code in XBEE, can we write code more than one or once a code is written it cannot be overwritten
0
votes
1answer
37 views

Steppers only vibrate, not rotate with I2C

The goal of my project is to be able to control two steppers with 4 buttons. Steppers are connected to Adafruit Motor shield(the older one) which is stacked on Arduino UNO, buttons are connected to ...
1
vote
2answers
863 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 ...
3
votes
2answers
466 views

Using SD shield for extra external memory?

I am an Arduino beginner and I am planning to make a musical instrument with it. I want to add record and playback functionalities into the instrument. I figure I will have to store lots of data to ...
0
votes
0answers
50 views

how can I convert arduino nano into HID keyboard? [duplicate]

I've been working on a project since quite a long time and I've came to a task where I get arduino inputs as keyboard buttons I know that there is a library in arduino but it is only for Leonardo and ...
1
vote
0answers
80 views

Serial to wifi using arduino nano and esp8266

I am trying to configure ESP8266 from Arduino Nano through software serial, after this I am sending some data through esp8266 to a PC (server). And I am lighting 3 leds, led #1 for AT ok, #2 for ...
1
vote
1answer
53 views

powering arduino with a voltage divider to increase lifespan

I have a chinese arduino nano that I'm planning to use to open a door using a numeric keypad. My power source is 12V and I want it running 24/7. I have read that the first thing to fail on an arduino ...
0
votes
0answers
60 views

Arduino not getting reset

I need some help. Is there any way to master reset Arduino? I once uploaded a code few days back, and now (next time) I can not upload a second code.'Arduino Nano' is running that same code which I ...
0
votes
1answer
647 views

What is a safe way to power arduino nano with 7.4V Lipo battery?

I'm trying to power Arduino Nano with 7.4V LiPo battery and use it to run 2 DC motor using L293D. I have figured out how power it with the connection just like in the figure below(the diagram uses Uno ...
0
votes
2answers
333 views

Attiny85 not able to understand data from 433Mhz using VirtualWire.h

The basic plan is to have a Attiny85 pass information from a 433Mhz RF module to another chip/Arduino via I2C using VirtualWire and Wire libraries. I have been able to make this system work on their ...
0
votes
1answer
369 views

Arduino Nano joystick x2 / potentiometer

will i be able to connect up all these parts to an arduino Nano i noticed i will need to connect to the nanos v5 to the 2 joysticks and potentiometer slider if i share the voltage will it still ...
0
votes
1answer
52 views

File include error while using Arduino Nano

I am using the code below to interface the Arduino nano and android cell phone to enable serial communication through the USB port. I downloaded the filter library from GitHub https://github.com/...
0
votes
1answer
123 views

What is best way to get data from sensors if arduino is slave?

Im working on a project where i have motor controller(arduino nano) being i2c slave. Its job is to get RF24 data and control motor and at same time send data to master about motor... Currently i have ...
-2
votes
2answers
44 views

arduino didn't working properly

arduino didn't working properly. When i using a alarm program on pin 6 and a blinking led on pin 2 alarm sound beeps once and then goes down but when using only alarm program it works perfectly. I see ...
1
vote
0answers
51 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 ...
0
votes
1answer
56 views

what is welding plate?

I was looking at arduino nano boards here. Description says the arduino board is without welding plate. What does it mean for the user? If I buy this product will there be any issue? I understand that ...
0
votes
2answers
91 views

Getting error 32 in multi-master I2C sketch with library https://github.com/rambo/I2C

I am developing a multi-master scenario sketch with the https://github.com/rambo/I2C library, because this library will handle multi-master data collisions. I created a setup with two Arduino nano's ...
0
votes
2answers
318 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
1answer
73 views

Charge 14500 LiFePO4 lithium batteries from an Arduino Nano

I've recently started tinkering with Arduino, and I'm attempting to build a little 2WD robot based on an Arduino Nano. I was thinking of powering the robot using two 14500 LiFePO4 batteries, which I ...
0
votes
0answers
29 views

Can the “Arduino Create” chrome extension be used to program an arduino nano clone?

I was wondering if the Arduino Create app for the chrome browser can be used to program an atmega328 based arduino nano clone.(I need that app so that the arduino can be programmed using a chromebook)....
0
votes
0answers
427 views

I can't receive data from HC-05 on android

I would like to send ad8232 sensor data to android. The sensor data appears on the serial monitor however it doesn't appear in bluetooth terminal applications on android. Here's the code : #include &...
1
vote
2answers
127 views

Why my loop stop working

i have an arduino, an RTC (time), a DHT (humidity and temp sensor), oled screen (128x32 ; microoled 1306) and 4 relais ; all seems to work perfectly for hours, but sometime (1 or 2 per day..) ...
0
votes
1answer
373 views

Problem with SPI comms using NodeMCU v 3, Nano and SD

Recently I bought a NodeMCU 8266 v 3 (Lolin) and it works fine. I set up a Catalex SD card module (with a built-in 5-3.3V regulator) and all was good. Then I set the Lolin with an Arduino Uno and or a ...
0
votes
0answers
115 views

MPU9250 library exposing raw values

I'm looking for a library which would allow me to read the MPU9250 data without having to deal with float. So far, I have found 3 libraries: FaBo_202_9Axis_MPU9250 MPU9250_asukiaaa SparkFun_MPU-...
1
vote
0answers
532 views

Arduino nano stk500_getsync() attempt 1 of 10: not in sync: resp=0xe1

I have been building a project using an arduino nano clone. It uses the CH340 chip. It worked perfectly, and a week later it now doesnt. When I want to upload code in arduino IDE I get the error ...
0
votes
3answers
406 views

How to use the HC-05 properly?

It all started when I was working on my Arduino project, which involves an Arduino Nano, an HC05 module and a bunch of sensors (DHT 11, soil moisture and LDR) with Blynk App. Everything worked as it ...
0
votes
2answers
478 views

Measuring Lithium ion cell voltage used to power Arduino via a boost module

Can I measure lithium ion cell voltage with Arduino ADC which is used to power the same Arduino through a boost module (XL6009)? The output voltage of boost module is 9 volts.
1
vote
1answer
271 views

Nano v3 dual power source use & detection

I would like to run a Nano 3.0 from both the VIN (mains power supply 7V) and USB power (backup). I understand it selects the highest voltage and switches to VIN at 6.6V. However I am unsure of the ...
1
vote
1answer
368 views

HC-05 bridge using Arduino Nano and GNU Screen

I connect an HC-05 module to an Arduino nano with CH341 serial chip (voltage divider on RX pin). I am trying to make a bridge for a test, i.e. serial in, echo local and echo to Bluetooth and vice ...
0
votes
2answers
535 views

Rfid reader and SD card shield won't work together

I recently encountered a problem that's been bugging me for days. I want to make a project using a RFID reader and log data on an SD card with an Arduino Nano, but apparently no matter what I do, I ...
1
vote
1answer
314 views

Templated class: How to create instance and work with it?

I have created a class like this: #ifndef MyList_h #define MyList_h #include "Arduino.h" template <typename T> class MyList { public: MyList(void); ~MyList(void); void addItem(T* ...
1
vote
2answers
107 views

Arduino doesn't boot unless I short USB pin 1-2 (VCC/Data -)

I've made my own AVR programmer with an Arduino Nano V3 clone. It has been working fine, but yesterday I was trying to program a faulty board that pulled too much current. Was powering via USB and my ...
0
votes
0answers
71 views

Spurious temp readings with DHT11

I have a very simple circuit and program to read the temperature and humidity from a DHT11 sensor and an Arduino Nano. When connected to the PC all works as expected but when I switch to a battery (...
0
votes
3answers
266 views

Battery life calculation using Nano, NRF24L01+ and window magnetic reed switch

I'm trying to make my own home wireless security system. I will be using probably 3 AA batteries to power these devices. My problem is that I need to know if the batteries will be enough to power ...
0
votes
0answers
48 views

How to keep Arduino buzzer off if changes are less than 3%?

I am using the following sketch to monitor water level in a tank. It triggers the buzzer if water level crosses 99%. If the water level is at 100%, the buzzer will turn of after few seconds, but it ...
0
votes
1answer
114 views

Interfacing Aduino Nano and RDM8800

I'm attempting to use an Arduino Nano with the RDM8800 to read data from NFC tags. After soldering wires between the Nano and the RDM8800, I attempted to test these devices using code similar to what ...
0
votes
0answers
430 views

Using a 12V DC adapter to power Arduino nano, 12v Solenoid and an Hygrometer

First of all I am very novice in electronics so bare with me. I am trying to make a self watering system using arduino nano, first I tried the fly fish hygrometer module with the 5V power of the ...
0
votes
3answers
228 views

Why doesn't millis() use 1 µsec or 1 msec interrupt?

Arduino millis() does not make use of one millisecond interrupt. Instead they make use of 1,024 µsec interrupts and manipulate. Any specific reason why this was implemented this way? In one case, we ...
3
votes
4answers
1k 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 ...
0
votes
2answers
5k views

Arduino Uno versus Arduino Nano power consumption

I have both an Arduino Uno and an Arduino Nano but I can't decide which one to use for my project. My aim is to maximize battery lifetime. I have also implemented an 8-second watchdog timer to ...
0
votes
2answers
385 views

Can I measure multiple photoresistors from one pin?

I would like to make a laser sensor to detect light coming from a 650nm diode. My current idea would be to use CdS photoresistors/LDRs. I want to measure a few (4-8?) at once, where light falling onto ...
0
votes
3answers
282 views

What options do I have to get 5v on my current project?

I'm very new to arduino and have started work on my first project, a simple little web server. I'm using a NodeMCU with an sd card module and screen. The issue is that in order to power my sd card ...
0
votes
1answer
577 views

Battery life with Nano v3

Easy secret knock detector to trigger anything with only an Arduino and a few cheap components First of all I need to state that I'm new to Arduino and electronics in general. My question is about a ...
0
votes
1answer
265 views

Can we use analog input pins as a parameter of analogWrite() for PWM? [closed]

int led = A1; void setup() { pinMode(led, OUTPUT); } void loop() { analogWrite(led, 188.7); delay(100); analogWrite(led ,0); delay(100); } Like this and it works! I mean I am getting the ...
0
votes
2answers
1k views

Arduino Nano and SIM800L on Battery Power

I'm very new to Arduino and everything related but I'm highly interested to learn more. However, I've run into a problem right in the beginning. I want to build some sort of portable emergency/...
0
votes
0answers
17 views

GPIO pins behavior when controller is off [duplicate]

What are the characteristics of a GPIO pin when the controller is powered off? I assume it will not act as OUTPUT HIGH. But will it be OUTPUT LOW or INPUT? i.e., present small or high impedance to the ...
0
votes
1answer
370 views

Arduino Servo with Serial

I have an interesting problem. I want to control ESC and servo with Arduino. I'm using HC-12 to communicate with 2 Arduino and I'm using SoftwareSerial on the nano. #include <SoftwareSerial.h> ...
0
votes
2answers
2k views

Stop Buzzer after some seconds/time?

This is a "water level alarm/display" sketch using and Arduino and ultrasonic sensor. The buzzer gets on when the water level hits 100% or more. But most of the time the water level will stay @ 100%, ...
0
votes
1answer
332 views

Servo start to turn like madman with simple if statement

I tried to write a simple program. Press button 1 servo goes to position 1, press button 2 servo goes to position 2. But when I hook everything up my Servo goes full Crazy mode. It starts to jiggle ...
1
vote
4answers
925 views

How to reduce sketch size? [closed]

How to reduce sketch size? I got an error that “Sketch uses 30,044 bytes (104%) of program storage space. Maximum is 28,672 bytes.” I can't reduce function in sketch.I can't change ATmega32u4,now. ...