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
3
votes
1answer
29 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.
0
votes
1answer
37 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
96 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 ...
3
votes
0answers
31 views

NRF24 and Arduino Nano Every usage

Im building an RC car project and using 2 NRF24's for communication. I own an Arduino Uno, Nano and Nano Every. The NRF's work great with the Uno and Nano in any combinations but using a Nano Every ...
2
votes
1answer
49 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....
0
votes
1answer
41 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
20 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 ...
0
votes
0answers
44 views

How to make walkie-talkie with LoRa module?

well I am trying to make a walkie-talkie with this LoRa module. I need your help recording and sending the audio. I found a tutorial from this link and using RF24Audio library. But library works with ...
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
34 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
47 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
31 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
25 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
21 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
52 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
0answers
29 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
61 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
40 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
51 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
19 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
24 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
30 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
47 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
66 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
48 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 ...
2
votes
1answer
279 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 ...
1
vote
0answers
35 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; ...
1
vote
0answers
38 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 ...
2
votes
1answer
23 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
0answers
32 views

8 Touch Screen Displays with single custom Microcontroller Board [closed]

I want to build a project like this but with touch screens. So that I can drag the moving text all across different touch screens from one to another. I want to know what would be your approach to ...
0
votes
2answers
35 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
vote
0answers
31 views

Mesure sensor voltage by 328p and OP Amp in parallel

I am designing a circuit to measure the temperature via a thermistor via the ADC pin on a 328p and I am looking for some advice. As a failover I am also using an OP Amp as a comparator, to see whether ...
1
vote
0answers
20 views

Arduino Nano. Max30102 and memory problems

We are making a simple pulse oximeter device with nano and max30102 sensor. The problem is the spo2 reading and processing algorithm of the max library litterally does signal processing on arduino ...
1
vote
1answer
36 views

Custom 328P-AU board not responding via ICSP

I created a custom PCB based on a 328P. The design is mainly based on the Arduino Nano schematic (3.0). The boards have arrived some days ago, and I can't get avrdude to recognize them via USBASP (or ...
3
votes
1answer
103 views

Anyone know why my pushbutton is always returning HIGH?

Been trying to figure this out for a couple hours, despite how ridiculously simple it should be. I have no idea why it's always returning 1, even when i'm pushing the button. Fritzing sketch: My code:...
0
votes
0answers
22 views

Connecting multiple HC-05(Master) to my Computer system( Slave) [duplicate]

I am trying to send data from 4 different Arduinos,using the HC-05 Module to a computer system, is it possible to connect this computer system to multiple HC-05 at a time, if not what bluetooth ...
2
votes
1answer
71 views

Nature of the voltage reference instability of internal 1.1V reference of ATmega328P (Nano)

The ATmega328P data sheet in table 29-11 on page 324 notes that the internal 1.1V reference (VBG) may vary between 1.0V and 1.2V. In this answer this is called "not stable or accurate". ...
1
vote
1answer
51 views

How can i draw an electronic diagram of this?

I need help to draw a diagram of this picture the project include an Arduino nano, dht11 sensor, power module IRF520, 12V power supply and a fan
1
vote
1answer
97 views

Measuring the battery level powering the arduino

I would like to power my arduino nano with a 9V battery, but I would also like to measure the voltage of the battery to know its charge level. Can I use the MAX471 Voltage Current Sensor module by ...
1
vote
0answers
37 views

Serial monitor and plotter coming up blank

I'm looking to calibrate a load cell and for some reason, when I open both the serial monitor and plotter, they both come up blank. My plotter is set to the corresponding 9600 baud, however, this ...
2
votes
0answers
69 views

Arduino freezes if I do NOT do Serial.println() at least TWICE

Hii I have a big project, and found this when I tried to remove all the test code. To summarize: I have a variable that I use as a buffer for string operations called char internalbuffer[32] declared ...
1
vote
0answers
32 views

SD Card Library interferes with Adafruit

Im currently working on a datalogger that uses oled i2c displays and current sensors. Both of them uses adafruit libraries. To write the data, im using arduino's sd library, but somehow, the sd ...
1
vote
0answers
48 views

Once I have a working project that I want to commercialize - how do I proceed? [closed]

I am working on a small Arduino project that once successful I think about commercializing (in my case, its a smart tag, but asking in general). The question is - what is the next step? how do I get a ...
0
votes
2answers
67 views

Is there a way to make the RESET pin work in the inverse?

Is there a way for me to have this work the opposite way? I have one cable with an alligator clip hooked up to the reset pin and another hooked up to ground. When I clip them both together, the board ...
1
vote
1answer
30 views

HG-C 1100 measurement sensor

I am using two HG-C 1100 measurement sensor for measuring the width of the metal. In the top of the sensor I will be having the measurement value. The sensor is capable of measuring the dimensions ...
1
vote
0answers
30 views

What is the best way to cut power from an Arduino nano without actually unplugging it? [closed]

I’m looking to create an alarm system (which is basically just a sound played from a speaker that is triggered when a magnetic Reed door switch is broken). However, as this is part of an installation, ...
1
vote
0answers
29 views

Is it possible to upload a private root certificate to an Arduino Nano33?

I'm trying to connect an Arduino Nano 33 to an mqtt broker with TLS authenticaton on the broker side. To do that I need my Arduino board to have access to the the root certificate. My understanding is ...
1
vote
0answers
33 views

Project organization and Arduino board for bee-hives monitoring

I'm new about Arduino and also about the electronic world... I'm a software developer. I need to put in place a project to monitor my bee hives. I have multiple hives in two different places (one with ...
1
vote
1answer
35 views

How to add colour change to the strobe coding?

I have this strobe effect working. However, I would like to change the colour of the LEDs after each 'strobe sequence'. How can it be achieved? The code I am using is this one: // Basic code ...
2
votes
1answer
48 views

Arduino does not boot when SPI lines are loaded

i connected an Arduino Nano to an external SPI Flash using THIS tutorial (russian) and the SPIMemory library. While accessing the Flash works well, i have encountered the following issue: The Problem: ...

1
2 3 4 5
24