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 vote
1 answer
267 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
1 answer
117 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 ...
  • 33
1 vote
2 answers
96 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
1 answer
233 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
1 answer
57 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. ...
  • 21
0 votes
1 answer
37 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 ...
  • 103
1 vote
1 answer
92 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?
  • 79
1 vote
1 answer
330 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
1 answer
114 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 ...
  • 79
1 vote
1 answer
121 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
1 answer
143 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
2 answers
105 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
0 answers
54 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 ...
  • 111
0 votes
1 answer
307 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 ...
  • 111
1 vote
1 answer
48 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
1 answer
238 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
2 answers
119 views

Can I wire LEDs without resistor with an Arduino like this?

There are four red LEDs and an Arduino in the picture. Each LED has a forward voltage of 2 V. My friend says that just digitalWrite(9,HIGH) will make the LEDs light without resistor and they won't be ...
2 votes
1 answer
542 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 ...
  • 131
1 vote
0 answers
110 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
0 answers
50 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
1 answer
43 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 ...
0 votes
2 answers
448 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); ...
  • 3
1 vote
0 answers
48 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 ...
  • 123
0 votes
1 answer
104 views

Arduino Nano: MAX30102 and memory problems

We are making a simple pulse oximeter device with an Arduino Nano and a MAX30102 sensor. The problem is the SpO2 reading and processing algorithm of the MAX30102 library literally does signal ...
1 vote
1 answer
48 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 ...
  • 123
3 votes
1 answer
117 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:...
  • 71
2 votes
1 answer
158 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". ...
  • 133
1 vote
1 answer
78 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
1 answer
140 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 ...
  • 11
1 vote
0 answers
116 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
0 answers
80 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 ...
  • 31
1 vote
0 answers
49 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 ...
0 votes
2 answers
151 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
1 answer
65 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
0 answers
121 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
1 answer
54 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 ...
  • 11
2 votes
1 answer
94 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 vote
2 answers
120 views

Delay coding not working as expected

Added second attempt at bottom of code, Please check it, works with out lag time but never turns Vacuum off? This project is pretty well explained in the code description. My main problem is I need a ...
  • 39
1 vote
0 answers
95 views

Project doesn't work after 2 - 3 times, requires frequent turning off and on

I am new to Arduino and I am working on a project. This project inspired me and I tried doing it. The following code was provided in the description: int maxPeople = 5; // maximum number of people ...
  • 113
1 vote
0 answers
52 views

can we use TCRT5000 sensor instead of IR proximity sensor?

I am planning to make a human following robot which requires two IR proximity sensors. I already have two TCRT5000 sensor. Can I use it instead of it?
1 vote
1 answer
223 views

How to show the distance in decimal use sensor TF-Luna Lidar or more specific value

I want to ask about TF-Lunar Lidar, I've written code to know the distance in cm by reading the array data, right now I need some help about how to read the data so it can be showing the more specific ...
1 vote
1 answer
143 views

Why is my Arduino Nano's buzzer clicking?

EDIT: I'm so sorry but the clicking wasn't coming from the Arduino but from the piezo buzzer! I was wrong and I'm so sorry for misguiding you! I recently bought an Arduino Nano so that I could ...
  • 33
1 vote
3 answers
1k views

How to implement Arduino NANO as a RS-232 to USB adapter (Or do I need a Arduino Mega?) For 3D printer comms

I have a PC upstairs running my 3D printing slicer program (Simplify 3D). In the basement, I have several USB-enable 3D printers. My PC upstairs has a USB-to-RS-232 serial adapter. The serial side of ...
0 votes
1 answer
118 views

Can i use PL2303 USB to TTL Serial Converter Module send keystrokes using Arduino nano?

If I can, which library to use (an example code will be great). Here is the module:
1 vote
2 answers
218 views

Would someone provide an example of extracting data from a char array?

I have tried so many things now that I am just confused. I am not understanding the way char arrays work. I can't get the date and names extracted. And when I use just strings, I jam up the memory. ...
  • 21
1 vote
0 answers
71 views

Nano 33 BLE Sense LED flashing 3/5 slow/fast after upload

I'd successfully got my Nano 33 BLE Sense to read accelerometer data and subject to there being a difference between current and last readings, to send this via the EasyTransfer library to an XBee ...
  • 41
1 vote
1 answer
112 views

Substring: What is causing my output to be truncated?

I suspect that I might be using too many resources, because of the strings, but I am new to Arduino, so not sure where I am going wrong. Any help would be appreciated. What it should do when complete:...
  • 21
1 vote
1 answer
761 views

Multiple Wire.write() not working for Arduino Nano I2C

Code for Master #include <Wire.h> void setup() { Wire.begin(); Serial.begin(9600); } void loop() { Wire.beginTransmission(9); Wire.write('c'); Serial....
  • 11
1 vote
1 answer
709 views

Problems with Hardware Serial (UART) on Nano 33 BLE Sense

my new Nano 33 BLE Sense arrived today. I'm working on a project to send data from the the Nano via an Xbee S2C module to a receiver module connected to a Nano 33 IoT. I had the project working ...
  • 41
1 vote
0 answers
51 views

How do you know what to call the digital pin your using? changing the sensor pin your using

I downloaded a water flow sketch and got it working on a bread board using an Uno, and a LCD shield. I what to make it on perf board using a Nano, and an NOT I2C LCD. I soldered it all up, got "...

1 2
3
4 5
25