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
-1
votes
1answer
13 views

Can I power 25 LED via USB?

So I'm currently working on a project where I build a WordClock. To display the current time I use WS2812B LEDs which should be white when turned on. Only about 25 leds per time will be turned on, the ...
0
votes
2answers
35 views

Why do all analog pins measure the same value?

I measure 2 analog pins: A4 and A5. The A5 pin is connected to another Arduino's digital out (through a 10k resistor) which has a simple program: 5ms on and 100ms off. The A4 pin is not connected ...
2
votes
3answers
312 views

Why is Serial.write() slower than memcpy()?

I use Serial.write() to transmit 53 bytes to PC. For the time measurement I use micros() (before and after the write function). There is a delay of 1s after each transmission. The time of the Serial....
0
votes
1answer
35 views

Sampling rate of multiple analog pins on Arduino

as I checked on Arduino website, they mentioned all boards: UNO, Nano, Mini, Mega have maximum sample rate 10kHz for each analog pin. So my concern is: 1) is there any difference between sampling ...
0
votes
1answer
37 views

Arduino digital pin status not transmitting via NRF24L01 where as analog pin status is getting transmitted ,Why?

I am currently working with a project using NRF24L01 which I integrated with my Joystick so that I can make it wireless.While transmitting the information in my Joystick to the receiver only analog ...
-1
votes
1answer
50 views

Is it possible to connect Arduino to an instrument and import data from the instrument?

I purchased a coulomb meter recently. Basically, It is an instrument to measure static charge. The display is fixed and there is no way to take data from the instrument. So, I can't take continuous ...
-1
votes
1answer
23 views

Arduino didn't receive message from NRF - Communication PC -> Arduino -> NRF

I'm trying to send some data via NRF from one arduino to another. The sender receives the message via serial communication from PC and should send it via NRF. The transmitter is on Mega and the ...
0
votes
0answers
11 views

Can I use an UART RS485 board with DMX simple library?

I want to use DMX512, and found a library DmxSimple, which uses a single (non UART) GPIO pin as output (see DmxSimple.wiki. I currently use a TTL RS485 board, which does not have any TVS/polyfused ...
0
votes
1answer
31 views

How to fix when i shorted 5v to gnd accidentally (Arduino Nano)

I connected 5V to GND accidentally (connect directly, no LED, no motor). Now the LED on the board doesn't light up and power LED lights up but it is not bright. The 5V output pin is only around 1.98V. ...
1
vote
1answer
35 views

Can the Arduino (Nano) bootloader be updated via itself and the Arduino IDE or is an ISP required?

I ran into the following error with a recent Arduino IDE version (1.8.9) when trying to upload to an "Arduino Nano" clone (ATmega328P): avrdude: stk500_recv(): programmer is not responding avrdude: ...
0
votes
0answers
11 views

IRF520 max frequency [migrated]

I'm having trouble supplying 300mA to an led COB using an IRF520 MOSFET as PMW, controlled with arduino nano. What is the maximum Frequency, in which I can turn the led on and off in this setting? ...
0
votes
1answer
46 views

What is the difference between Nano 328p-au and 328p-mu?

What is the difference between Nano 328p-au and 328p-mu? Does it have to do with the updated bootloader or is it just a different board design? I want to make sure I order the correct one and I could ...
1
vote
1answer
12 views

Powering a Sim800L Module

I am trying to use a DC power supply. I am thinking whether I can use this power supply to provide power for Sim800L module. After some research, I gathered that the Sim800L module requires a max ...
0
votes
1answer
24 views

How to read a specific amount of data via serial?

I'm trying to send data via serial from my Arduino nano to my ESP. Its an integer from 1 to 4 digits so something like 0, 13, 1234, 123, ... Every thing works fine but when the data comes too fast it ...
1
vote
2answers
56 views

Arduino Nano LED not working

I am just starting with Arduino and was trying to make the LED example work. I changed the script as follows to keep the LED on: #define LED_PIN 12 #define LED_RX_SIG LED_BUILTIN void setup() { // ...
0
votes
1answer
25 views

Sim800L Uploading issues, HTTPACTION returns 0, 302, 701

I'm using the Sim800L module and the NEO6M GPS Module in combination with an Arduino nano to create a simple tracking device. I get the data from the GPS and try to upload it to my site with some ...
-1
votes
3answers
43 views

Getting “spikes” from an array of values - measure rpm using accelerometter [closed]

For a project where I intend to use an arduino and an accelerometer to get rpm of an diesel / gasoline engine i intend to use following solution. I glued an mma8453 accelerometer to a neodium magnet ...
1
vote
2answers
64 views

How to modify a created byte?

I have created a byte for 16x2 LCD. It is basically a custom character which I will have to change later. byte char[8]{ B10000, B01000, B00100, B00010, B00001, B11000, B11100 }; I want to ...
0
votes
1answer
14 views

Serial communication questions

I have to arduino's which are communicate using rx/tx. Arduino1 (A1) send data over serial to Arduino2 (A2). My questions are: 1 - If A1 do Serial.print each 50ms and A2 reading serial each 100ms ...
0
votes
2answers
89 views

How to automatically reset the NRF24L01 module

For my home-automation project I'm using several arduino nano's with each a NRF24L01+ module. Each module is able to both receive and transmit with one another. Everything seemed to be flawless for a ...
0
votes
0answers
28 views

Arduino Nano drivers

I got a Arduino Uno awhile ago and it took me awhile to set up but it worked when I downloaded the IDE. This time when I bought an Arduino Nano it doesn't pop up with the driver. Doesn't show up ...
0
votes
2answers
48 views

Compiled sketch vs text file size

OK,so this is my first program written via the Tinkercad utility. I have saved the program as a text file, and it equates to about 22K. My simple question is, when uploaded / compiled to the actual ...
-1
votes
1answer
25 views

Please help me fix this error:expected unqualified-id before 'if'|Arduino [closed]

#define inA1 4 #define inA2 5 // 4,5 DC 1 #define inB1 6 #define inB2 7 // 6,7 DC 2 #define inC1 8 // Buzz #define inL1 2 #define inL2 12 #define inL3 3 #define inL4 13 // Den led byte bluetoothByte ...
0
votes
1answer
65 views

Are my stepper motors being burnt out? What is the issue here?

I am building a mini-cnc laser engraver as shown in this intructable and this youtube video. I have built the circuit (minus the jst connector and two male pins at the top left of the board) and have ...
0
votes
1answer
42 views

External Interrupt Pins on Nano Clones

Long time lurker, first time poster here. Do the cheap Arduino Nano clones such as this one have external interrupt pins? For example, the original Nano has pins 2 and 3 usable for interrupts. Do ...
1
vote
1answer
27 views

Maximum Capacity Debugging

1. Example Check the program below for an Arduino Nano, Old Bootloader, for variable values of N. For low values (N<=1857), the program outputs "[FFFFFFFF]", For higher values (1858<=N<=...
0
votes
0answers
24 views

RTC 1307 when connected to a relay via Arduino Nano

I was posting a question but to be completely sure i did some more tweaking in the code and solved at least functionally my problem. I decided to post it anyway to have suggestions for a better ...
1
vote
1answer
50 views

Segmentation fault and huge SRAM need for Serial.println

I have written my own 'assert' since I want to use it for both Windows and Arduino. The class is called from many files (about 10). AssertUtils.h: #pragma once #define assert(expr) AssertUtils::...
0
votes
1answer
58 views

Arduino only works properly when I'm touching it

I'm working on a arduino proyect, but I encountered a problem that I dont know how to solve. The only thing I have done in the hardware part is connect the arduino nano to a power source (phone ...
1
vote
0answers
45 views

ARDUINO PROGRAM

I have a project that consists in measuring the mass of an object with a strain gauge HX711. so I found an interesting Arduino program and the editing that goes with it. but I have a problem, I ...
0
votes
1answer
71 views

Connecting multiple RS485 together

I am trying to build communication across multiple Arduino using RS485. When i am trying to connect 3 Arudino nano together using breadboard my code doesn't reach slave where as if i just if i do ...
0
votes
0answers
12 views

Arduino NRF24L01 transceiver reading trouble shooting

I bought a NRF24L01 from Amazon a few days ago but am having trouble getting readings. When ever I open my serial motor instead of a message I get a stream of "?"s I know that I did something right ...
1
vote
2answers
87 views

How to send and receive unsigned int from one arduino to another arduino

I'm trying to send some big numbers ranging from 0-62000 from one arduino to another via serial communication. I'm using unsigned int to hold values from 0 to 65535. And I'm using serial.print() and ...
0
votes
0answers
64 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
1answer
45 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
33 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
28 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
57 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
1answer
24 views

I am not able to set the correct configuration of sound module

I have been trying to make sound reactive LED lights but my sound module is detecting only very close voice the LED react only when I press it to the speaker with my hands I have tried to set the ...
0
votes
0answers
29 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
34 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
67 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
38 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
21 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
40 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
8 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() { ...
0
votes
0answers
59 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
0answers
55 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 ...
0
votes
1answer
63 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....
1
vote
1answer
39 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 ...