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

Arduino Nano 33 BLE sense stopped working after sketch (which had a tflite model) uploaded [duplicate]

I uploaded a sketch to my arduino nano ble sense, and it had a rather simple ML model on it using tflite. I went through this post about various issues, non seems to match what I am dealing with. I ...
0
votes
0answers
44 views

Why does the Arduino influence this two-tone siren?

I'm building a small alarm for my garage door consisting of a transmitter/receiver pair, both based on an Arduino Nano combined with a HC12 module. The receiver triggers a two-tone siren circuit, ...
10
votes
3answers
1k views

Why are the pin numbers of the diagrams and of the code different?

If I search Google for "arduino nano pin numbers", all results show that the pin number of D2 is 5. But that did not work. I searched for some sample codes, and they were 3 for D3 and 5 for ...
0
votes
2answers
38 views

Where are these junk characters (from serial) coming from?

I currently have 2 Arduinos both hooked up to HC-12s and have successfully got them communicating. But I am now trying to be able to process the data sent across and store it as a variable so as to ...
0
votes
1answer
51 views

Problem Using pins A4 and A5 for input and output I2C

Hardare used: Arduino nano ( old Bootloader ) Oled Monochrome Display ( 4 pins, 128 x 32 ) MPU 6050 Both display and MPU use A4 and A5 as I2C communication protocol, They interfere, as the MPU is used ...
-1
votes
0answers
32 views

Why is the IR sensor not working with a 9V supply?

I have an Arduino nano and I was using an adjustable switching supply to power it. I'm running a stepper motor controlled via infrared. The IR code was running fine when powered via USB, but when I ...
1
vote
1answer
54 views

I can change value of only one register on 8-Bit Register integrated circuit (74hc273 / DM74LS273)?

First, please be patient, I'm not electronical person. I am learning Arduino and electronics for hobby and this is my fist time with integrated circuits. Situation: I'm want to extend the Arduino ...
0
votes
0answers
31 views

Arduino MKR Wifi 1010 with Thingsboard Knob Control [closed]

I would like to request for any example to retrieve data from Thingsboard knob control to Arduino MKR wifi 1010 and vice versa. I am having trouble finding ways to get response.
-1
votes
1answer
41 views

Arduino Sleep to conserve battery - How to intergrade it to existing sketch - HELP pls

My sketch below is simply using a touch sensor to activate a servo motor to go from from initial position 0 to 180 then back to 0. then I want the Adruino NANO to go to sleep to conserve some battery ...
5
votes
0answers
64 views

nRF24L01 continuously reading closed pipe

I am testing communication between two nRF24L01 modules. The receiver is getting the transmitted message but is also continuously reading (null) data from a closed pipe? I am using the RF24 by TMRh20 ...
1
vote
0answers
22 views

Arduino nano connected to raspberry pi with external power causes display blackout [migrated]

I am trying to prototype a circuit involving an Arduino nano, using a raspberry pi (on which I am typing this question). I have connected the nano to a 9V DC power supply via its Vin pin, with GND ...
1
vote
0answers
48 views

Issues porting capacitive touch code from Arduino to avr

I'm trying to port GreatScott's capacitive touch code to avr. From my understanding the timer is constantly generating a pulse via the TIMER1_COMPA interrupt and the circuit works when I test it ...
3
votes
1answer
84 views

Prevent flash cloning

I need a way to prevent someone from cloning code from arduino. Without protection it can be cloned with advdudees in 2 min. I'm using atmega328p chip on nano. In this state arduino acts as a ...
1
vote
0answers
39 views

No communication between two stations that include Arduino Nano and nRF24L01

I'm struggling to establish a link between two Arduino Nano using nRF24L01 (the module that contains PA and LNA). I assume I made a coding mistake (May be in the setup method?), and I need help in ...
2
votes
1answer
40 views

Programming ATMega4809 via Atmel-ICE with Hex File from Arduino IDE - why doesn't the code loop / work?

Background I am programming a 40-pin ATMega4809 (datasheet) using ATMEL-ICE programmer. I'm simply using the Atmel Studio to upload a HEX file to the chip. I generate the HEX file using the Arduino ...
1
vote
0answers
194 views

Battery supply vs laptop supply [duplicate]

Setup: I have wired up the arduino, motor and battery as shown. (12 and 5 of L293D are not connected to anything) D11,D10...D6 means that those pins on the L293D are connected to digital pins 11-6 on ...
1
vote
0answers
26 views

Is it possible to control android accessibility with arduino nano?

I am trying to build an ACC device. when a button is pressed the changes should be made via android accessibility mode. I am using arduino nano, and I don't know how to control android using arduino.
2
votes
1answer
80 views

DFPlayer Mini does not boot reliably after being powered down

For a low power project, I need to power up the DFPlayer Mini module, let it say something, and power it down again using an Arduino Nano (w/o power regulator and LEDs). In the idle time, the Arduino ...
1
vote
1answer
76 views

arduino nano with lora only runs once if connected to battery

this code works perfectly if connected with usb cable. but as soon as i connect my Arduino nano with battery (two 18650 batteries in series connected to VIN) it runs loop only once. it sends only 0 to ...
1
vote
0answers
71 views

NRF24L01 receiver flooded with data packets

Following this tutorial I attempted making an NRF transmitter and receiver using an Arduino Nano. On the transmitter side I used the following code: // SimpleTx - the master or the transmitter #...
4
votes
3answers
1k views

Arduino voltage misunderstanding

For arduino nano. I set digital pins 1,2,3,4,5 to HIGH (I do this using digitalWrite(pin,HIGH) for each pin). Does this mean that 5V is being sent through each of the pins so in total there is 25V ...
2
votes
0answers
40 views

Low Power, SD Card module and SCK

in order to minimise power consumption in a project using the Arduino Nano, I need to set pin D13 to HIGH after using it as SCK for transferring data to an SD card module (I use the SD.h module. I ...
4
votes
1answer
47 views

How do you get 2 PWM pins to inversely bitbang at 25 KHz on a Nano?

I need 2 PWM pins to oscillate at 25 KHz but they need to oscillate inverse to each other. When one is high, the other must be low and vise-versa. I want to do this with a Nano.
1
vote
1answer
45 views

AW9523B I2C on Arduino Nano

I'm testing the AW9523B IO expander with an Arduino Nano. I can't get the device to be recognized. Using I2C scanner to find all attached I2C devices. I've connected AW9523B to the correct pins to the ...
2
votes
2answers
114 views

Arduino Pull-Down Resistors

I'm building what I thought was a simple Arduino Nano project... right up until it caught fire! I am a long-time reader of stack exchange and I always find the answers to my questions somewhere on ...
2
votes
1answer
88 views

How to fade LED in a defined time using FastLED

I'm using FastLED library, Arduino Nano and 5 addressable LEDs (WS2812B). I'd like to create the sequence in the image attached. (all in white color for example) I know how to turn ON each LED every 0....
1
vote
3answers
77 views

Can I pass data from an Arduino Nano to a Websocket Server via USB?

I have an Arduino Nano, and a local Java WebSocket server (ws://localhost:8888) run by a .jar file on my computer. I'm wondering if it's possible to send data (text, numbers etc.) from the Arduino ...
1
vote
1answer
40 views

Arduino Nano not recognized by Mabook Pro M1

I am new to Arduino and I have ran into an issue. When I first tried to plug the arduino nano (after market, from ebay) into my computer (Macbook pro M1), nothing happened. Then I downloaded the ...
1
vote
1answer
39 views

Can’t send string from arduino to processing via hc05

I’m trying to send and receive data from my laptop to arduino nano via hc05 Bluetooth for a rocket flight computer. For some reasons which I don’t know, I can send data from processing software using ...
1
vote
2answers
44 views

How to hook up a HC-06 to Arduino Nano

So I have an arduino nano hooked up to hc-06 however every diagram of the hookup wires shows some kind of resistors (1K and 2K, rather high resistances to ignore), and I completely overlooked them. I ...
1
vote
1answer
68 views

unbrick Nano RP2040 connect using Uno

I think I have bricked my Nano RP2040. How do I unbrick using a Uno or Mega? I found instructions for using another Nano, but only have the one.
1
vote
1answer
35 views

Arduino randomly stops sending data to python over serial

I want to send commands to Arduino over USB Serial from my python program and Arduino should send back received command to make sure data wasn't lost. However Arduino randomly stops sending data back. ...
0
votes
1answer
27 views

Unable to get readings for "Motor with Encoder"

I've posted to the DFRobot forum, who makes the FIT0186 motors, but no one seems to be replying there. So, excuse the copy pasting. It's probably an issue with the motor/encoder, but perhaps it has ...
1
vote
1answer
38 views

Can I re-purpose any GPIO pin to work as TX and RX in MKR1500 board

I am using a fingerprint sensor and a VESC which connects to the Arduino MKR 1500 board using TX and RX pins. Is there a way that I could re-purpose any other GPIO pins to behave the same?
1
vote
1answer
85 views

Arduino NANO clone not detected by computer

I recently purchased 5 Arduino Nano clones and on my Windows PC they were all working fine. I then gave one to a friend and after installing the CH34OC driver on his Mac he was able to program a ...
1
vote
1answer
39 views

Arduino integration with VESC issue

I am trying to integrate the vesc with arduino and I am running a simple code to print the voltage and other data into the serial monitor. Below is the code for reference. When I chekc the output, it ...
1
vote
1answer
66 views

Sending Data Between Arduino Nano and D1 Mini

I am sending data from Arduino Nano to D1 Mini, Transmitter is Arduino Nano Transmitter Code: #include <DES.h> #include <SoftwareSerial.h> SoftwareSerial link(2, 3); // Rx, Tx DES des; ...
0
votes
1answer
47 views

Pass Byte Array to Char and Send to a Separate Arduino

I am trying to send data between Arduino Nano and D1 Mini (ESP 8266 Module) My Code as below in Nano which will be the transmeting , #include <DES.h> #include <SoftwareSerial.h> ...
0
votes
2answers
55 views

Arduino Serial Monitor Input 3DES Encryption

I am trying to 3DES encryption using Serial Read, Found this 3DES Sample code in Github, #include <DES.h> DES des; void setup() { Serial.begin(9600); Serial.println("Hello!"); } ...
1
vote
0answers
23 views

MQ-4 Sensor working fine with Beetle Bluno BLE but not with Arduino Nano 33 BLE

I have an MQ-4 sensor connected to a Beetle Bluno BLE that seems to work fine, however, when I change the board to an Arduino Nano 33 BLE, the sensor doesn't seem to work well (I get an arbitrary ...
0
votes
1answer
28 views

5v pin not outputting any voltage in Arduino Nano ble 33

I bought an Arduino Nano ble 33 but when I try to power my MQ-4 and MQ-8 sensors, these don't turn on at all, they do turn on if I switch to the 3.3V tho. Is there anything special that I need to do ...
1
vote
1answer
36 views

How to properly send bytes between RPI and Arduino over I2C while using ISR without IOerrors?

I have a I2C connection between an RPI 3B+ and Arduino Nano. I want to send a key and a corresponding value byte, and the arduino does something with that inside a timed ISR. Which works. But I get ...
0
votes
1answer
66 views

How to sue Arduino Nano to control Stepper motor with Firmata

I have a stepper motor and at present it is controlled by a sketch all working fine. I need now to add it to a Win32 app to control it in circuit with existing Servo Motor. The servo Motor is working ...
1
vote
2answers
72 views

Can i wire leds without resistor with arduino like this?

There are 4 red leds and an arduino in the picture. Each led has forward voltage 2V. My friend says that just digitalWrite(9,HIGH) and the leds will light without resistor and won't be burnt. Is this ...
0
votes
1answer
51 views

5V adressable led strip

im planning on using an around 17M adressable led strip controlled by arduino, and plan on putting it in car, so i would be stepping down the 12/14V to 5V, basically i need to know how many amps and ...
3
votes
1answer
295 views

Can’t set duty cycle to 0% with custom PWM

I'm trying to control a heating element with PWM with an Arduino Nano, but the problem is even if I set the duty cycle to 0 it gives a tiny spike. I want to generate a square wave of 1Hz and that's ...
2
votes
0answers
38 views

Arduino MPU error

This is my code - // Basic demo for accelerometer readings from Adafruit MPU6050 #include <Adafruit_MPU6050.h> #include <Adafruit_Sensor.h> #include <Wire.h> Adafruit_MPU6050 mpu; ...
2
votes
0answers
39 views

Motor response is lagging

I've got a DC motor connected to an Arduino Nano, L298N H-Bridge and a 12v Power supply. I'm trying to make it respond to incoming MIDI data a bit quicker. Right now, it seems awfully slow, and lags ...
3
votes
1answer
26 views

Touch Sensor and Potentiometer - Need some help

I'm using an Arduino Nano with a capacitive touch sensor and a potentiometer. I'm trying to get my code to differentiate between three different program states. One is when my touch sensor is NOT ...
1
vote
2answers
60 views

Invalid use of void expression (how to use function pointer with input)

I'm defining an attachinterrupt and I'm running into an error. The line in question is: void setup() { attachInterrupt(digitalPinToInterrupt(stallsense1), changedirection(1), RISING); ...

1
2 3 4 5
24