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
2answers
32 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
1answer
85 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 ...
0
votes
1answer
47 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 ...
0
votes
2answers
312 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, ...
0
votes
2answers
251 views

Outputting 400 mV using Arduino Nano PWM pin

I am trying to output analog voltage (400 mV) using Arduino Nano PWM pins. Is it okay to directly connect (using jumper wires) the PWM pins to the Vin+ of the INA219 current sensor? I badly need it ...
1
vote
0answers
241 views

Arduino nano (clone) with ethernet shield only works when I open up serial monitor

#include <EtherCard.h> static byte mymac[] = { 0x7A,0x69,0x69,0x2D,0x30,0x31 }; byte Ethernet::buffer[500]; static uint32_t timer; const char website[] PROGMEM = "x0201g2.cloudapp.net"; ...
0
votes
0answers
80 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. ...
-1
votes
1answer
46 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
55 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
355 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
63 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
47 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
vote
1answer
6k views

arduino nano V3 updated schematics

Does anybody know where to find an updated scematics of Arduino Nano V3? All the Nano drawings I found (even in the Arduino official site) are based on ATMEGA 168 , no one including ATMEGA 328!!! ...
1
vote
2answers
646 views

Does the reset button work when not powered?

I'm working on a project and my dad hit the reset button on my Arduino board, unknowingly. If it wasn't connected to any power source or computer, did it still reset? Do I have to upload my code to ...
1
vote
1answer
709 views

Common ground serial communication trouble SIM800L

I have a trouble when i'm using SIM800L module with common ground with combinaison with : FTDI232+ARDUINO PRO and Li-po battery. I use common ground to allow Arduino see the serial of SIM800L. I use ...
-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 ...
1
vote
2answers
244 views

MFRC522 ReadNUID example reboots unless I include a null if statement

I'm fairly new to Arduino (and C), but not to embedded electronics and programming. I'm using an MFRC522 module (the common one) with a Nano, and getting some strange results. They are on a very ...
0
votes
0answers
48 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
36 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
122 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
669 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
60 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 ...
1
vote
0answers
2k views

Sending data from Arduino w/HM10 to relay board with hm12

It all started when I tried connecting an hm10-nano to a relay board which is Bluetooth enabled. Here is my nano with the hm10 module: And here is the relay board's BT module, which looks like an ...
1
vote
2answers
78 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
2answers
440 views

Code compatibility with Arduino Due

I am currently working on a quadcopter project that involves an MPU6050 accelerometer+gyroscope module, an ultrasonic sensor and control of electronic speed controllers. I have used existing examples ...
0
votes
1answer
70 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
50 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
69 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
17 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
202 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
2answers
54 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 ...
0
votes
1answer
130 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 ...
0
votes
0answers
35 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
1answer
27 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 ...
-1
votes
1answer
45 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 ...
1
vote
0answers
809 views

How do you debug SPI connected devices?

EDIT: Changed the title to better express what I'm after. I've been dabbling in connecting two Arduino Nano 3's with the RFM69HCW breakout for the past 5 days.. but got nowhere. I've followed the ...
0
votes
4answers
945 views

Removing CH340g chip from Arduino Nano clone.. any issues?

In trying to figure out how to solve another problem with Arduino Nano clone using CH340 chip, I was just now wondering, would there be any issues if I were to simply remove the CH340 chip? As it ...
1
vote
0answers
787 views

Manchester 433MHz Nano to ATTiny85

My transmitter is a Nano, the receiver is a Tiny85. I use a Logic Analyzer to check if stuff is moving, I can clearly see data coming in at the receiver. The receiver does not 'decode' the data, man....
1
vote
1answer
30 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
33 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
59 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::...
1
vote
0answers
906 views

Arduino GY273 HMC5883L Constant Value

I have a GY-273 which has HMC5883L chip (I guess). I am trying to get data. I find a few codes and library (I don't have enough information about HMC5883L) but always all serial port screen there are ...
1
vote
0answers
124 views

Combining mysensors with SD card (on an Ethernet Shield v2)

I'm trying to combine a MySensors network with the usage of a SD card. Currently I'm working with the SD card reader on the EthernetShield v2. The NRF24L01+ chip I'm using is also using SPI but we ...
0
votes
1answer
63 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
56 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 ...
1
vote
0answers
135 views

Why does I2C On Nano Fail with LiquidCrystal_I2C library unless Nano runs at 8Mhz?

I have an Arduino Nano (running by default at 16Mhz). I am connecting a 20x4 LCD screen via I2C (using A4 for SDA and A5 for SCL). Here's the very simple code (which was previously only showing black ...
1
vote
2answers
181 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
1answer
692 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 ...
4
votes
3answers
36k views

Powering up LED strip - How many amps?

I want my Arduino to drive a LED strip. The LED strip in particular is the 3528 non-waterproof type. To power this up, I need a 12V power supply. My LED strip is going to be 5 meters. Now my ...