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
1answer
55 views

I2C master/slave maximum requestEvent message size

Using a NodeMCU master and an Arduino slave (Wire.h on both sides), is there a maximum message size (32 bytes?) for the answer that the slave sends from requestEvent()? If so, is there any solution ...
0
votes
2answers
42 views

Soil moisture sensor not working in “pcb”

I have a little and common application in which a sc-28 moisture sensor reads humidity levels and turns a servo (which drives a little faucet) if the soil needs water. Arduino nano is the brain. All ...
0
votes
2answers
34 views

My push button code doesn't work properly

I'm using an OLED display connected to a push button. I am trying to get my display to show two different values independently by using the push button to switch between them. Here is a snap of my ...
0
votes
0answers
65 views

Wrong serial data

I am communicating with a system serially using Arduino Nano and I am able to communicate with it except for one issue. I have two functions and I want to call them together so that I can get two ...
0
votes
1answer
69 views

My device doesn't recognize my Arduino

I'm planing to use the ESP8266 to create a web server as a start. My set up is: Arduino nano- Esp8266- Logic level converter as shown in the diagram. After I connected everything my device doesn’t ...
1
vote
1answer
144 views

Output 3.3V when setting pin to high

I would like to pass 3.3V and Ground to an component. How can I achieve such a thing? I for example would like to let a wire get 3.3V when I for example do digitalWrite(pin, HIGH). It is hard for me ...
1
vote
3answers
128 views

Arduino Nano - Strange problems

Update: The arduino works only when I connect 3.3v to reset pin. And I successfully uploaded a sketch but it stops when I disconnect 3.3v and reset. Update 2: -- Removed -- Update 3: Its ...
0
votes
0answers
122 views

DMP of MPU6050 only shows zeros and fifo is overflown

I am trying to use the dmp of the mpu 6050 with jeff rowbergs libraries. Besides I am using an arduino nano and windows 10. Also I am using the sketch "MPU6050_DMP6.ino" from with almost no changes. ...
0
votes
2answers
752 views

Arduino slave with 2 masters sharing the same I2C Bus?

Consider a scenario where two (or more) master devices (the NodeMCU's, in this case) share an I2C bus with one (or more) slave device(s), like thus: Would this be a feasible setup? In other words, ...
-2
votes
1answer
252 views

how to set buzzer on and off

I have a project that require me to use magnetic contact sensor. I will put the sensor at the door. So the idea is i want every time someone open the door, the buzzer will make a sound, but it will ...
0
votes
1answer
268 views

Two flow sensors, one ESP32, LCD and/or Arduino

I want to build a flow meter but the Gal/Min rating of something like this flow meter is too low. I am thinking of strapping two side by side with suitable plenums for In and Out. I have found some ...
-1
votes
1answer
91 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 ...
1
vote
2answers
76 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
392 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
79 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
59 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
54 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 ...
0
votes
0answers
69 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
42 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
227 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
1answer
1k 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
118 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
41 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
135 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
141 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
56 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
71 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
18 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
344 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
45 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
55 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
92 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
106 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
184 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
32 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
37 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
69 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
71 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
64 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
1k 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
14 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
340 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
292 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
57 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
115 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
50 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
62 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
32 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
34 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
84 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 ...

1 2 3 4 5 19