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
2
votes
1answer
262 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
31 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
37 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
21 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
31 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
26 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
27 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
18 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
34 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
98 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
20 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
67 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
89 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
30 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
31 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
63 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
29 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
27 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 ...
0
votes
0answers
31 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
43 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
2answers
89 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 ...
1
vote
0answers
74 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 ...
1
vote
0answers
21 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
1answer
54 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
0answers
45 views

How can I read data from power analyzer with arduino NANO through rs485

well I have this power analyzer. And I want read data with Arduino NANO, through rs485 here is product and here is the register table of this device. I am using boud rate 9600, no parity, slave 1 ...
1
vote
1answer
81 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 ...
1
vote
3answers
537 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
1answer
33 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:
0
votes
2answers
46 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. ...
1
vote
0answers
22 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 ...
1
vote
1answer
48 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:...
1
vote
1answer
291 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....
1
vote
1answer
225 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 ...
1
vote
0answers
42 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
votes
1answer
41 views

Arduino inspiration device [closed]

I seen a video on a instapration device using a e ink screen and a nano, i has the quotes in a array how do I randomize the quotes that show up? and I want to be able to send quotes from my phone
2
votes
1answer
43 views

Why AnalogRead shows value (395) when its on HIGH State ? why not shows 1023 when its high State

I Took a output from ESP8266 and Connected it with Arduino Nano Analog input A0 i use BLYNK app to on/off D0 pin in ESP8266 , and i connected ESP8266 D0 pin with Arduino Nano A0 analogPin. when ...
1
vote
1answer
67 views

connect USB keyboard to Arduino using clk and data wires

Edit: What I'm looking for is some kind of library which could be used with an arduino to read the HID protocol output from the Data+ and Data- cables of the USB. ========== If I cut the cable of a ...
1
vote
0answers
27 views

Reading ground signal from circuit

I am trying to detect whether a signal is high or low from an ESU LokSound 5 decoder for HO locomotives. My idea was to use one of the auxiliary pins used to drive an LED (AUX 3 in my case). The ...
1
vote
3answers
62 views

Is there any way to create some AI with Arduino?

Is there any way to create some AI with Arduino?. The question is just that. I would like to give some intelligent (explore the house, trigger alarms, etc) to a rover but I dont have so much ...
1
vote
2answers
31 views

How to change Windows 10 Device Manager so Arduino NANO COM3 can operate on COM4

The Arduino ATmega328 NANO uses COM3 on my WINDOWS 10 computer, but COM3 is NOT available. QUESTION: Please explain in detail how I can change this Arduino NANO to operate on COM4
2
votes
0answers
16 views

Arduino NRF24LO1

I have a problem with transmiter (Arduino uno) and receiver (Arduino nao). When I am trsmiting that I receive that: An this is my code for receiver #include <SPI.h> #include <nRF24L01.h> #...
1
vote
0answers
62 views

Code for Heart Rate Detection using PPG Sensor

I am using the "MIKROE Heart Rate 3 click" PPG sensor (https://www.mikroe.com/heart-rate-3-click) and an Arduino Nano (https://store.arduino.cc/usa/arduino-nano) to find heart rate ...
1
vote
0answers
26 views

How to use an Arduino along with a PPG sensor to find respiration rate [duplicate]

I am working on a project where I am trying to determine respiration rate through an Arduino Nano and a MikroE Heart Rate 3 Click device. I have been working on this for a few months, reading ...
1
vote
0answers
34 views

How do I measure the analog PPG signals from my Arduino Nano that's wired up to the Heart Rate 3 Clicker

I'm trying to find a code that would take the PPG signals from the MIKROE-2036 Heart Rate 3 Clicker and process the information through the Arduino Nano to find a person's Oxygen Saturation. Basically,...
2
votes
3answers
100 views

Create a dead zone for joystick

I'm trying to create a dead zone so the joystick will turn the motor off completely when in the center position. It's much too sensitive and will start the motor if barely touched. How could I fix the ...

1
2 3 4 5
24