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.

Filter by
Sorted by
Tagged with
0
votes
0answers
209 views

Basic communication with nrf24l01 between nodemcu and arduino nano

I spent the last two days to find a way to set up a basic communication between a nodemcu amica and an arduino nano with a nrf24l01 module; all of this without success.. Here the code uploaded on my ...
0
votes
2answers
1k views

How do I choose a battery to power my Arduino Nano project?

I was wondering if anyone would be willing to teach me how to logically choose/calculate which battery I should/can use to power my Arduino nano project (so I don't have to keep it connected to my ...
0
votes
1answer
48 views

Basic if endif not working and I'm puzzled

I got this small code I'm trying things on for like an hour. int receivers = 0; #if defined(PPM_RECEIVER) receivers++; #endif And I just cannot get it working, It keeps returning a "'receivers' ...
0
votes
2answers
79 views

Arduino nano / uno analog pin

I'm working on a project where I need 7 analog pins. I read the datasheet of Ardnuino Uno : 6 analog pins available. So I decided to use an arduino mega with 16 analog pin available. Then I saw the ...
0
votes
0answers
42 views

Resistance measurement using loop resistance technique

Im trying do a circuit to measure resistance between Neutral and ground, for this I tried ohm law method i.e., to obtain R = (V/I). Voltage is known value 25 Vac, Current value is measured using ...
1
vote
0answers
60 views

Arduino UNO R3 clone acting as Arduino Nano

I just got a bunch of Arduino Uno R3 (ATmega328P + CH340).In arduino IDE when i'm selecting board as Arduino UNO then i'am getting this error avrdude: Version 6.3-20171130 Copyright (c) 2000-...
0
votes
0answers
76 views

how to name master and slave with UART and Serial event

I am trying to implement some small program using below code, now this code works fine and I'm getting data to the slave. But I have more than one slave, so now I'm not sure how to send the Address of ...
0
votes
1answer
62 views

exit status 1 'mySerial' does not name a type

I just can't make it work for some reason. I tried #include <SoftwareSerial.h> and I tried #include "SoftwareSerial.h". Can someone help me? #include <SoftwareSerial.h> SoftwareSerial ...
0
votes
0answers
31 views

ESP8266 accepts commands but returns nothing

I've been struggling for a couple of days now with the module ESP8266. I have tested it already with another Arduino (RX-RX / Tx-TX) and I could send some test commands and receive the corresponding ...
0
votes
1answer
118 views

Arduino Hardware serial pins with RS485

I tried asking a question in my earlier post - SerialEvent with RS485 communication it helped me understand Hardware serial and Software serial but i had few more questions for which i started this ...
0
votes
0answers
28 views

Connecting arduino with MATLAB

I installed Octave support package for Arduino and it is listed in the packages installed when pkg list command is run.But when the command "a= arduino('COM8')"; is run,"error: serial: Error opening ...
0
votes
0answers
148 views

Long Press/Short Press with a timer

I'm new with arduino, If anyone has some time to look at this code an help me It would make me very happay :) I would like to modify the code so I If short press is made LED would power on and ...
0
votes
0answers
157 views

Proteus - How to Debug Invalid Opcode?

While running a program compiled in the Arduino IDE 1.8.5 and then using the .ELF file inside LabCenter Proteus 8.0, for an Arduino Nano ATMEL Mega 328P, for a code involving the use of the ...
2
votes
0answers
8k views

UART from Arduino to NodeMCU

I'm trying to connect an Arduino nano to a NodeMCU 1.0 via the hardware UART, in order to send information one way from the Arduino to the NodeMCU (and from there to the network). I'm connecting the ...
0
votes
0answers
10 views

Arduino and SIM800L receiving message not working

I have following code for receiving the SMS, it does receive the garbage value when I sent SMS to module. #include <SoftwareSerial.h> SoftwareSerial mySerial(5, 4); char msg; void setup() { ...
2
votes
0answers
489 views

Arduino nano clone problem with interrupt on falling edge on pin 2

I've s 1Hz square wave coming from a DS1307 SQW/OUT pin going into pin2 on the Nano that is set up as input with internal pullup enabled. I've set up the interrupt on falling edge but I can't get the ...
0
votes
0answers
338 views

SerialEvent with RS485 communication

I am not expert in Arduino programming but i can understand lit bit, while doing review i came across two sets of programs one using serialEvent and one with RS485 library, Now my problem is with ...
0
votes
1answer
139 views

NRF24L01+ (TMRH20 library): Receiver gets blank data

I am working on sample Arduino project for communication over NRF24L01+ (TMRH20 library), everything is working fine with my example except one issue my Receiver gets message but that message is blank....
0
votes
0answers
424 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
50 views

Applying 5v to analogWrite Pin

I am controlling a motor with an Arduino Nano, that motor is controlled by Cytron MD-10c motor controller. i want to wire a momentary switch in parallel with the analog output PIN from the Arduino ...
0
votes
3answers
2k 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/...
1
vote
1answer
42 views

Morse Interpreter-Microphone Problem

I am working on a morse interpreter. I can now use light-sensor and a regular key as input device and want to add a mic to the system. I recieve the input convert it to text and show it on nokia 5110 ...
0
votes
0answers
258 views

Programming POV Display for Arduino

I can maybe work through a php/sql and css/html method of making a website to convert an image to code, but that is currently a time consuming method (which i will be taking the challenge if doing ...
0
votes
0answers
34 views

Arduino Nano v3 not being detected at any COM ports

My Arduino Nano v3 is not being detected anymore at any COM ports in Arduino IDE 1.8.9. There are 4 LEDS onboard; RX, TX, Power and L. The first 3 LEDS are always on. The L one stays off. After some ...
0
votes
2answers
775 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
340 views

RS485 Slave doesn't receive any message

I am trying to follow below design to communicate with 2 Arduino Nano, using the example shared here https://github.com/RalphBacon/RS485-Serial-Data-Transmission. When i look at data my slave never ...
0
votes
0answers
47 views

Coin Recognition from Parallel Coin acceptor to Arduino

I have one project to do where I have one big problem and I need your help. At this stage, it is not a problem for me to write Arduino program for a money receiver who has an impulse output. But the ...
0
votes
0answers
35 views

Morse Interpreter-(Problem on giving output with LCD Nokia 5110)

I am working on a project where my goal is to give an input from the key(button) with Morse alphabet and project it on an LCD screen and on the second phase I will also be adding a microphone system ...
-1
votes
1answer
189 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 ...
0
votes
2answers
41 views

How many Amps can a Nano Arduino hold for LED project

I'm really new at this, and here is my doubt. What if I need to light 120x WS2812B (5v)LEDs (link: LEDs) using an Arduino Nano? if it takes 60 mAh each pixel, the total amount needed should be around ...
0
votes
2answers
4k views

Arduino Nano, ESP8266-01 communication

In my last question I got the suggestion to get a voltage regulator to power my ESP8266, so I went out to buy one and in the end my ESP8266 turned on. Then I started wiring the Tx/Rx pins through the ...
-1
votes
2answers
207 views

How to power Arduino nano and LED strip?

I am making a project that uses an Arduino nano and a sound detector module to power a 1m LED strip. I got the idea from this video and I am not sure how to power it. My LED strip flashes for a split ...
0
votes
0answers
115 views

Arduino uno and Nano as master and slave [duplicate]

please help me!! I'm using two arduino (uno and Nano) as master and slave. I wants to control 3 servo which are connected on Nano (slave) by uno (master). Uno have 3 push buttons on it to control ...
0
votes
1answer
63 views

I have a problem with my nano arduino and the nrf24l01 as receiver

Hello I have a problem with my nano arduino and the nrf24l01 as receiver . I'm trying to upload my code to my board, but it say that my code have this mistake: Receiver:45:10: error: void value not ...
0
votes
1answer
2k views

Void value not ignored as it ought to be

im trying to build an rc plane using arduino nano and nrf24l01 as receiver but im having some issues in the code it has error on the line done = radio.read(joystick,sizeof(joystick)); which says ...
0
votes
2answers
233 views

Is it possible to connect miband2 and arduino nano (?)

I want to make an IOT project using an Arduino nano and I need heart rate sensors. I I have a miband2. So, is it possible to connect them ?
-1
votes
2answers
59 views

Problem of repetition

I have encountered a problem concerning the repetition of the program that means it executes once (since the sensor passes to 1 it calculates 5 seconds (the sensor is still at 1) after the lamp is lit)...
0
votes
0answers
32 views

BLUETOOTH MODULES Arduino

I am new to the world of electronics so please forgive me if I ask stupid questions. I would like to ask if there is a difference between Bluetooth Modules that state: "for Arduino" as well as those ...
0
votes
0answers
17 views

Can i connect my arduino nano in pin27 in 5V 2A as supply voltage? [duplicate]

I have solar charge controller and it has a usb port 5V 2A. Can i connect my arduino nano in pin27 in 5V 2A as supply voltage?
0
votes
0answers
11 views

Can I customize RF24Network message.type and where would it be referenced?

I've been out of touch with arduino's and i'm exploring networking a bunch of arduino nano's together using the RF24Network library. All sorts of sensors attached to different nano's. Some will have ...
0
votes
1answer
43 views

Help with coding Arduino Nano to run fan through slide switch at specific intervals

I’m trying to use Arduino Nano to run my 5 V PC fan, which, I know it sounds crazy, it’ll be mounted on a piece of Tupperware that’ll control the airflow through it via the fan. However I have no ...
0
votes
0answers
48 views

Lost with Nano and i2c

I've been struggling with some code that was failing to "begin()" any devices on my i2c bus. I've uploaded a scanner program from arduino playground which lists the addresses of any i2c modules found. ...
0
votes
0answers
30 views

Arduino Nano input voltage

Can I supply an Arduino Nano 5 V 1 A unregulated in pin 27? It has a PIR sensor, a LDR sensor and switch drive high power MOSFET trigger module connected to it.
0
votes
1answer
116 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
1answer
523 views

Arduino Nano 3.0 CH340G clone cannot upload sketch from Arduino IDE [duplicate]

I connected my brand new Arduino Nano 3.0 clone with CH340G and installed the drivers. It detects in Device Manager as USB-SERIAL CH340 (COM6). Under the Tools menu, i selected the correct board, the ...
0
votes
1answer
29 views

How can I scan for a HIGH signal on digitalRead during the main loop, while running other things?

I'm working on a program which listens for certain bytes on serial through an if/then/elseif ladder. I want to also check if a pin (say, A15) has been given a HIGH state, by another Arduino with ...
0
votes
1answer
78 views

Using Arduino Mega with multiple HC05 Modules as masters, communicating to multiple HC05 Modules as slaves, each connected to separate Arduino

So I have not actually experimented with the HC05 Bluetooth Module yet, but I have read up about it and watched some videos. From what I understand, you cannot use one module (master) to communicate ...
0
votes
1answer
82 views

Can I daisychain multiple Arduino Nanos to a single USB port (specialized purpose)

I need to have several Nanos on one USB port. They will have separate power, so power constraints won't be a concern. I need them all to go through the same serial port. They will never get anything ...
0
votes
0answers
162 views

i2c code hanging - tried all connections

I'm trying to connect a TCA9548a breakout to my nano (also tried using an uno), but it can't recognise it - using the i2c scanner it just hangs on 'scanning...' I've tried everything suggested in ...
0
votes
0answers
26 views

ZS-040 Bluetooth module is undiscoverable

My bluetooth module is connected to arduino nano using voltage delimiter (to get 3.3V) exactly as its said in this article. I connected it to my phone and was able to communicate with it through ...