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
1answer
32 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 ...
0
votes
1answer
40 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
23 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 ...
0
votes
1answer
22 views

is there any way to create some IA with Arduino?

is there any way to create some IA 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
27 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
12 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
37 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
31 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
71 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
vote
0answers
28 views

Interfacing Arduino nano ,adxl335 ,nrf24l01

I'm trying to make a project with this conection diagram but I don't think it's correct , and my adxl sensor died . Can you help me with a modified one ?
1
vote
2answers
60 views

I need a good battery reccomendation

I have simple project composed of an Arduino Nano, a HC-05 module, and a small toy DC motor controlled using a L293D driver, I want to be able to power this circuit entirely using a battery, here is ...
-1
votes
1answer
24 views

Arduino RTC SD Card problem

I am using a script on an Arduino to record BME280 data onto an SD card and to display it on a lcd display. To have a valid time stamp I am also using a DS3231 RTC module. I set the time succesfully ...
1
vote
0answers
28 views

Hello I am working on getting a pwm signal with arduino nano, I am new to Arduino and i need it for a project [closed]

I want it so that When I apply 1v to analog input i get a pwm signal of 50% duty cycle. When I apply 2v to analog input i get a pwm signal of 80% duty cycle. Can someone tell me the code on how to do ...
1
vote
0answers
15 views

Updating mysql data using SIM900 and Arduino

Thanks in advance for your kind support. I am not an expert but have little understanding of concepts and trying to integrate various things to get some useful projects for my purpose. I want to ...
0
votes
1answer
21 views

First Project (auto garden)

I've been tinkering for quite a while and I'm looking to try out an arduino to control an automated small garden project for growing seeds. I've never done any coding before and am looking for some ...
1
vote
1answer
41 views

DS3218MG Servo - Not working with power supply

I'm trying to run my DS3218MG Servo Motor with an external power supply and my arduino nano. I'm using the following code: #include<Servo.h> Servo Myservo; int pos; void setup() { Myservo.attach(...
1
vote
1answer
31 views

Thermistor returns correct value on Arduino Nano, completely fails on Arduino Uno Wifi Rev 2?

I am completely baffled. When I wire the thermistor into my Nano, everything reads completely fine. Then when I switch to the Uno Wifi Rev 2, I get negative numbers -40 to -80 when I was reading 24 on ...
0
votes
0answers
5 views

Do hold keys block other threads? [migrated]

I'm using pyserial to communicate with my arduino. I'm using Pyqt as an GUI. I've implemented a worker thread that listens on the serial port: class Worker(QObject): finished = pyqtSignal() ...
1
vote
1answer
59 views

what voltage level is a digital low for the interrupt mode LOW?

I am learning about interrupts and one of the interrupt modes is LOW which triggers anytime the pin is a digital low. Can someone tell me what voltage that is for an Arduino nano? I did a google ...
1
vote
1answer
43 views

How to use pyserial to write two separate message?

I'm using pyserial to communicate with my arduino. I set up the connection and everything works fine. Now I have these two writing commands: pyserial.write("conn".encode()) pyserial.write(&...
2
votes
0answers
17 views

nRF24L01 +pa +lna link does not communicate

I’m trying to create a link between two nRF24L01 units. Each nRF24L01+-based module (purchased) is connected to Arduino Nano on a custom-designed PCB. The printed wiring is per the hardware ...
2
votes
1answer
30 views

Arduino nano KiCad symbols

Can anyone explain me the difference between the symbols for Arduino nano in KiCad? Is there any important difference at all? All of them seem to have all basic pins.
0
votes
0answers
17 views

want to get data from one IMU and Arduino simultaneously using I2c communication

I want to get data from an other Arduino and IMU using I2c communication and wrote a code given below but it is not working for me , #include<Wire.h> // Define Slave I2C Address #define ...
0
votes
2answers
49 views

Strange behavior from uint32_t, acting like signed int (Nano clone)

I'm having trouble with these variables. As you can see they're uint32_t type, so they should have a maximum value of 4 million or so, but they're rolling over and going negative at 32,767 like a ...
2
votes
1answer
42 views

Controlling op amps amplification ratio by arduino

Is there any option how to control amplification ratio of operational amplifier by some logic signal which can be produced by arduino? I am talking about some clasic op amp like lm356 or ui741 in ...
0
votes
2answers
51 views

LEDs always dim with arduino nano

so I'm making an animated LED brake light using arduino nano, similar to this: https://www.youtube.com/watch?v=d5Ohzg3JKq0&ab_channel=IMEEMADE I have 18 channels, with differet amount of series ...
1
vote
0answers
39 views

How can I store a value of 1000 over to EEPROM of Arduino Nano?

I need some of your feedback and guidance. In my prototype project powered by Arduino Nano(Space Constraint), it will operate continuously until it reach a maximum of 100 hours. Once it reached 100 ...
1
vote
0answers
24 views

Having trouble compiling in VsCode when including arduino libraries. (Win10)

I recently switched over to Visual studio code and away from the arduino IDE though I am a novice at both. When using VSC and the neopixel library and sample code(strandtest) containing animations ...
0
votes
1answer
45 views

Stable amplitude of amplified signal

Is there any circuit with opamp where can be (by arduino) set constant output amplitude which doesn't depend on input signals amplitude?
1
vote
0answers
31 views

How to modify this code to control a stepper with buttons

I want to change this code to use 2 buttons instead of the pot. I use this code for one motor but I need another motor that uses buttons instead of a pot. I started to modify it, I commented out some ...
2
votes
2answers
96 views

Getting different numbers after sending an unsigned int 8-9 times between Arduinos via Serial

I am trying to transfer unsigned int values between 2 Arduinos. When sending 61805 for the first 8-9 times, I am getting 61805. But after then after these numbers: 61937 28013 61937. Sender's code: ...
1
vote
1answer
19 views

how to use Nano instead of Uno3 to operate DC motors

OK I have the Logitech G29 Wheel and Pedal setup that I use for my Racing Sim. On YouTube there is a gentleman (amstudio) who has used motors on the Gas and Brake pedals to give some realism to the ...
1
vote
0answers
23 views

Is there any way to do real time voice communication via bluetooth on arduino?

Is there any way to send and play voice between two arduino projects which has connected via blutooth modules. 1st device ( sender ) : has microphone and bluetooth module to send voice. 2nd device ( ...
1
vote
1answer
44 views

Compiling Assembly Script in External EEPROM to Arduino Code

I'm working on a simple game console, and I'm planning to use a cartridge system using an EEPROM. I know that you can read and write data from an EEPROM, but can you compile the data into executable ...
0
votes
2answers
61 views

random() Function isn't random at all

I'm using the random() to generate random coordinates for coins in a simple game console. The problem here is that the random() function is not generating random numbers, since the coin is at the same ...
1
vote
0answers
48 views

Which NANO is replica and which is Original one? What is the difference [closed]

I'm newbie to Arduino and I recently bought two Nano, but they are different with each other. (I just burned the usb diode so I made it straight with red cable) The right one in fist picture has a ...
0
votes
1answer
33 views

Building a vu meter

I am building a vu meter with 2 5v neopixel rings 2 pots a headphone jack and a arduino nano will 5 volts 1 amps cut it or do I need more power FYI I'll be powering it via a DC jack once I get it ...
1
vote
0answers
69 views

Random artifacts on SSD1306 OLED screen

I'm having a really strange problem with my screen. It's connected in i2c to my Arduino Nano and I'm using a rotary encoder to navigate through a menu. At startup everything is fine, but when I change ...
0
votes
0answers
20 views

U8glib+ 7-pin SSD1306 gives moving text without explicitly specifying in code

This is my code. #include <U8glib.h> U8GLIB_SSD1306_128X64 u8g(12, 11, 8, 9, 10); void clear_screen(); const int pageCount = 1; int p; void (*pages[pageCount])() = {clear_screen}; int duration [...
1
vote
0answers
20 views

Help Convincing Wiimote a Nano is a WiiMotion Plus

I want to replace the outdated gyro in a wiimotion plus with a BNO055. Based off what I've read from wiibrew, and im currently trying to get the wiimote to recognize the nano as an extension over I2C. ...
1
vote
0answers
38 views

TFT Screen & ATMEGA168

I have a Arduinio nano and a ATMEGA168. I'm using the ST7789 library. The sample code which comes with the library runs perfectly and runs the display when using the Nano, but the same code does ...
-1
votes
1answer
26 views

[SOLVED]Normalization not working on input buffer. How to solve this?

I wrote a piece of code that takes input from a sensor which is called the World Famous Pulse Sensor from Analogue Pin 1 and stores it in an Array with 127 elements then finds the largest in it, ...
0
votes
0answers
65 views

drifting serial readings

I have a python script that continuously reads the serial port for digital thermometer reading. After a period of time, the serial reading will drift by 10+ degrees in some cases. I let it run, I ...
1
vote
0answers
34 views

two adafruit neopixel loops

i'm making a device that's kind of based on Russian roulette. I have 5 LED's that are normally white, and when you press the button one of the LED's is marked red. After some tinkering I figured out ...
0
votes
1answer
19 views

How to you initialize a reset on a sht30 digital thermometer?

I have a sht30 that will output correct temperature readings for about 5 min and then will drift off. So I'm trying to hit the reset every few seconds to keep the readings accurate. I am on a nano ...
1
vote
1answer
138 views

Exception in thread “main” java.awt.AWTError: Can't connect to X11 window server using 'localhost:1.0' as the value of the DISPLAY variable

I have tried everything on this url https://stackoverflow.com/questions/10165761/java-cant-connect-to-x11-window-server-using-localhost10-0-as-the-value-of-t session output: root@whale:/home/kermit# ...
1
vote
1answer
32 views

Incorrect DateTime value constructed

I'm working on alarm clock project using Arduino Nano (v 3.0, clone) and RTC module ZS-042 (containing DS3231 and EEPROM AT24C32). The intention is to load the hours and minutes from EEPROM on start-...
1
vote
0answers
63 views

Using AccelStepper to move a set distance while a button is held down

I'm working on a project and using a nema 23 stepper motor and driver. Need to be able to move the stepper 1/32 rotation when I press a button. I need a small delay so I have time to release the ...
1
vote
0answers
46 views

HX711 arduino Scale offset drift

I am working around with HX711 ADC and a 5kg load cell, it seems the HX711 library is some sort of mystery no one wants to reveal! Please someone explain me, I promise to keep the secret ;) Anyone ...

1
2 3 4 5
23