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
32 views

Nano V3 values “overwritten” randomly

When I assign a global var to a certain value inside an if-block it has been changed to another value in the next statement. Somehow the address of the var is overwritten by some other process. It ...
0
votes
1answer
35 views

I2C communication is not working

I have been working on my project but I get an error and I need some advice or correction. I use I2C method to communicate between master and slave. I've got two questions: I send 7 inputs (from ...
-1
votes
1answer
12 views

TinyDuino radio connection

I am currently running a project with 2 TinyDuinos and 2 TinyShields 433MHz Radio (SI4432) in order to pass 3 axes (x , y ,z) from one to the other from long distance. I have tried to concat the ...
0
votes
0answers
14 views

L293d driver problem

I'm trying to build a gesture controlled robot. Using: Arduino nano Encoder and decoder (HT12E and HT12D ) RF Transmitter and receiver L293D motor driver While I running the code in the serial ...
0
votes
1answer
28 views

Bending pins of HC-SR04 [closed]

I got a question regarding the ultrasound sensor (HC-SR04) connecting to the arduino. I have a project, and the space is really tight, so i will have to bend the pins of the HC-SR04. Is this okay to ...
0
votes
0answers
18 views

Read ID Remote Control - IC Ev1527

I would like to read the ID (unique) of a remote control with Arduino. For this purpose, I would like to be able to use a remote control with Ev1527 chip (fixed code for each remote control, something ...
0
votes
1answer
39 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 ...
1
vote
2answers
52 views

Elegoo Nano timer prescaler problem

I am trying to use Timer2 on an Elegoo Nano to produce a "tick" interrupt every 10uS. My plan was to set Timer2 to CTC mode with a /8 prescaler (to get a timer clock of 2MHz from the 16MHz chip clock) ...
0
votes
2answers
28 views

Using external battery for motor [closed]

i have a little project going on, where i want to connect vibration motors to an arduino. I found this, with example code but also found other tutorials wish use a capacitor for the motor. What is the ...
1
vote
1answer
22 views

Krida 4 ch ac dimmer triac fails to initialize from an Arduino

None of my channels initialize. I suspect a driver issue, but I have tried 2 different libraries. I have this device: Krida 4 channel connected exactly like: GND - > GND VCC -> 5V SYNC -> ...
0
votes
2answers
74 views

Connecting two Arduinos via I2C while I2C Pins A4/A5 are already in use

I have the following problem: Since the BH1750 Sensor only supports two different I2C adresses, but i need to use 6 of those sensors, i wanna use 3 arduinos, 2 nanos, 1 uno and send the data from the ...
1
vote
1answer
49 views

nrf24l01+ contradicting itself?

I have recently bought a few of these chips on boards along with some "adapter boards" which supposedly regulates the 5v to propper 3.3v with the required capacitors. So power supply shouldn't be a ...
3
votes
1answer
43 views

EEPROM size limitation issue

I am creating a test program with Arduino Nano where I can save network and password. Here is my code to start with: void SaveNetwork(String ssid, String pass){ String com = ssid + "~" + pass; ...
1
vote
1answer
29 views

My Arduino Fingerprint Sensor FPM10A is not working with an Arduino Nano with Atmega168 processor

I recently bought this Arduino Fingerprint Sensor FPM10A from Aliexpress. So, when I connected it with my Arduino Nano and uploaded the 'enroll' example and opened the serial monitor. The fingerprint ...
0
votes
1answer
42 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
41 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
91 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
0answers
23 views

HC - 05 Bluetooth module gets disconnected after 8 commands

Maybe I am facing one of the most weirdest problems ever. I have made an Android controlled robot using Arduino Nano and HC05 and uploaded the code. The code was not successfully uploaded but the ...
0
votes
1answer
16 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
0answers
35 views

Sending data with SoftI2CMaster causes LCD to turn off

I am currently trying to use the library SoftI2CMaster to send data to an I2C LCD screen from my arduino nano using pins D2 and D4. The SoftI2CMaster scanner program detects my display, but whenever I ...
0
votes
1answer
29 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
70 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 ...
0
votes
0answers
31 views

Stop phone charging using Arduino

I am developing an automated test tool for Android phones. For this, I need to know how to stop the charging capability of android phones whenever it is connected to the PC via USB. I need to do this ...
1
vote
1answer
41 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
29 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 ...
0
votes
0answers
39 views

SIM800L module with Elegoo nano CH340

I'm trying to connect my SIM800L module to an arduino nano copy named Elegoo nano CH340. I have been trying to use a series of codes to test the functionality of the module mainly for sending a ...
-2
votes
1answer
41 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
34 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
41 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
82 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 ...
0
votes
0answers
37 views

Cannot load to Nano when in situ on PCB

Background I have an Nano v3.0 clone using an ATmega328 chip. My simple circuit drives a 7-segment LED via digital outputs D2 to D9, in response to a 0-5 V voltage on analog input AO and ...
0
votes
0answers
31 views

WS2812B and APA106

So ive used the WS2812B before for a propeller clock but now i want to use Apa106 and im not sure about how frequencies of the board and led correlate so in the answer of if i can use the apa106 led ...
-1
votes
1answer
58 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
62 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
13 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
34 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
48 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
23 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
75 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
51 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
49 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
24 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
32 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
164 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
47 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
30 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
33 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
25 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
83 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
20 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)