We’re rewarding the question askers & reputations are being recalculated! Read more.

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
votes
2answers
53 views

Turn on/off low current device (LED) with Arduino

I am just starting with Arduino and my first project consists in switching a LED light with Arduino. I know a relay must be use to control AC high voltage device (i.e. 240V), however, as my LED seems ...
0
votes
0answers
43 views

What kind of USB cable do I need for my Arduino NANO 33 BLE W/ HEADERS?

I have recently purchased an Arduino Nano from the main site, but it did not come with a USB cable for programming it. I have also checked out the Arduino site and there was no reference for what type ...
0
votes
0answers
33 views

Frequency Doesn't increase when Button Is Pressed

I’m trying to output a frequency that can be increased and decreased by using 2 buttons. I’m trying to first of all configure the first button (which increases the frequency). I’m trying to also add ...
0
votes
3answers
49 views

How can one reset Arduino Nano from NodeMCU?

If one connects the RESET pin on an Arduino Nano to a digital pin on a NodeMCU, will the NodeMCU be able to reset the Nano by setting said pin to LOW?
-1
votes
2answers
49 views

Do comments occupy space in compiled C++ sketch? Arduino / NodeMCU

I tend to leave old code around as comments until I am sure that my current version is stable. Just the way I like working. I am concerned that I may be unnecessarily bloating up my sketches. Do ...
0
votes
0answers
34 views

memcpy is corrupting serial output even before call

I just want to memcpy some data into a buffer, but it completely destroys my serial output. Arduino Nano Arduino IDE || VS Code with Platform.io Here the relevant declarations: uint8_t picture[4170]...
1
vote
1answer
43 views

I2C communication problem with two slaves (atlas scientific) and one Nano (official)

I'm working on a project using an arduino Nano (official) and two peripherals from Atlas Scientific (pH and DO) communicating via i2c. Everthing works fine when i use a usb alimentation connected to ...
0
votes
1answer
56 views

Arduino random LED on

I have a project which has two options No. 1 Randomly turn on one LED from a group of 6 LED (Relay Board) No.2 randomly turn on one LED from a group of 2 LED (Relay Board) The selection of the ...
0
votes
1answer
28 views

Playing Audio from SD - Get VU, or audio waveform

I am using the library SimpleSDAudio to play a song from my SD card to an op-amp later in the circuit. I would like to take a sample from the audio pin (possibly with a Analog read) to power some ...
0
votes
1answer
34 views

Everything is ready for project . I have one doubt! I am using transmitter + Arduino *Uno*..and receiver + arduino *nano* will it work?

Everything is ready for project except hardware! I have one doubt! I am planning to use transmitter of Arduino Uno and receiver of Arduino Nano. Will it work? Both Uno and Nano obey for same ...
0
votes
0answers
33 views

Arduino RGB IR Controller -> led always close to white

I use arduino nano. When i use this code the rgb light on the fan is showing the colors right int rossoPin = 11; int verdePin = 12; int bluPin = 10; void setup(){ pinMode(rossoPin, OUTPUT); ...
0
votes
0answers
35 views

I tried making a digital tachometer using an IR sensor but my lcd display is showing random characters

#include<LiquidCrystal.h> LiquidCrystal lcd(12, 11, 6, 5, 4, 3); float value = 0; float rev = 0; int rpm; int oldtime = 0; int time; void isr() //interrupt service routine { rev++; } void ...
0
votes
1answer
77 views

Using Arduino fix_fft or arduinoFFT library to filter some specific sound?

I would like to know if there is a way to filter some specific sound using FFT on arduino. For instance, there is wind sound frequency in my analysis and I want to take it off. I searched for that a ...
0
votes
0answers
42 views

Using MOSI and MISO pins for multiple devices

For the device I am creating, I am hooking up an apa102 led strip to pins 11 and 13 to control each LED. But I would also like to hookup my NRF receiver to the arduino, but I also use pins 11 and 13. ...
0
votes
1answer
86 views

LED strip brightness decreases when using multiple strips

Newbie question here. I have bought a 5V, 40A power supply to externally power up some LED strips (WS2812B). The Arduino Nano is powered by a standard USB wall charger (5V). So far I have tested with ...
0
votes
2answers
149 views

How can I program a ATmega328 au tqfp32 ( SMD ) chip? [closed]

I have some experience with the Arduino UNO , Nano , mega etc .. But today I want to upgrade my skills and knowledge to next level . So I am about to design my own PCB for ATmega328 au ( SMD ) but ...
0
votes
2answers
42 views

Reset arduino nano after disabling tx/rx

I know, i am a bit dummy sometimes and i don't know why i actually did this but here it is. I have an arduino nano and i want it to use an external power via the the Vin port using a 12V external ...
0
votes
0answers
50 views

Arduino Every 25k PWM signal

I have written a class for generating a 25khz pwm signal for the Arduino Nano. This works great (pin 9 and 10 only) on the Nano. I want to switch to Arduino Every; this code does no longer work (the ...
0
votes
1answer
32 views

How can I stop a loop when using a servo with a Key input?

How can I stop my following code using a key? Basically the code should run the servo in a loop if "t" is pressed and stop the loop if "s" is pressed. #include <Servo.h> Servo myservo; // ...
1
vote
1answer
31 views

Is the code correct? Nrf24l01

I'm am a beginner, so I'm sorry I have written this wrong. Is this piece of code correct? If not where? Transmitter: #include <SPI.h> #include "RF24.h" int* Msg, mSg, msG; RF24 radio(9, 10);...
0
votes
0answers
28 views

Not Able to get INPUT_PULLUP pinmodes to work on multiple pins

I am working with an Arduino nano, and ic2 128x32 OLED display and a 1x4 membrane keypad. Problem is that only one of the 4 pins are detecting the button press. it's not the Arduino, I already was ...
0
votes
1answer
26 views

Powering Moisture sensor via arduino pin

Can someone help me. I have this sensor I just connected it to the 3V pin of my arduino only I read online that its better to connect it to a Arduinopin for power so you can put it off when not ...
0
votes
0answers
50 views

Program uploads, but outputs flash reading error?

I'm new to Arduino, and I recently got 3 off-brand Nanos, and soldered pins for all three. Initially, none worked (I always received avrdude's errors when uploading). Based on my research, I ...
-1
votes
1answer
75 views

How come some Arduino Nano pins (D3, D4, A3, A4, A6, A7) cannot be set high?

I made a sketch to switch on all digital and analog pins, and found out several pins did not work as expected. Note: I manually put a jumper wire from each digital and analog pin (one at a time) to a ...
0
votes
1answer
117 views

Nano can't get reply from ENC28J60 Ethernet Shield

My Arduino Nano can't get a reply from my new ENC28J60 Ethernet Shield - I can't get any library examples to work. Using the UIPEthernet lib, and running the EchoServer example with logging turned up, ...
0
votes
0answers
44 views

Voice receiver arduino

I have the following situation. I would like to develop a bracelet prototype that identifies when a person is on the go and also issue a question to the person for that bracelet and get an ...
-1
votes
1answer
49 views

FS100A works when Arduino connected to PC but not when connected to Raspberry Pi

I am building a simple circuit which monitors soil humidity in a flower pot. I was able to measure it and send it from one Arduino Nano to another Nano via FS100A transmitter and receiver and ...
0
votes
0answers
27 views

Arduino Nano and neoSWserial library

So I've been playing with neoSWserial library on Arduino Nano. I've been using the example interrupt code: #include <NeoSWSerial.h> NeoSWSerial ss( 4, 3 ); volatile uint32_t newlines = 0UL; ...
0
votes
1answer
17 views

to increase the reading and writing/printing speed of data from Arduino Nano to Raspberry Pi 3B+

In my project, I have to read the input pin number(send by RPi), where 8 sensors are attached to Arduino Nano, after reading Arduino Nano send the real-time values of all sensors through serial USB ...
0
votes
0answers
15 views

Printing inputs in Serial Monitor from Two Different Transmitters [duplicate]

I'm using 3 NRF24L01 transceivers, each attached to its own Arduino Nano. Two of those transceivers are set as transmitters while the third is set as a receiver, and is connected to the computer via ...
0
votes
1answer
38 views

SPIMemory does not write always correctly

I'm using a WinBond 25Q128FVIQ (Flash 128 mbit, 3.3V) in combination with the Marzogh SpiMemory library on my Arduino Nano (also 3.3V). After using the default example, I found out what was read, did ...
0
votes
0answers
39 views

Sending Simultaneous Data from 2 NRF24L01 Transmitters to 1 NRF24L01 Receiver

I'm using three NRF24L01 transceivers, each connected to one Arduino Nano. One of the NRF24L01's is configured as a receiver, while the other two NRF24L01's are set as transmitters. Firstly, I'm aware ...
0
votes
1answer
76 views

Is the arduino nano 33 IOT schematic wrong?

As am i was copying the schematics of the arduino nano 33 IOT from the Official arduino schematic i noticed something was wrong in the schematic, specifically in the PRTV5V component Here is a snip ...
1
vote
4answers
75 views

Delay stops execution forever sometimes

I have an arduino to control an irrigation system, consisting on one pump (called "bomba" on the code) and 5 12V water valves. Each valve controls one irrigation circuit and the idea is to open each ...
0
votes
0answers
31 views

Rocket deploy system

I found a code from Astronomica Messier that allows to activate a servo from a Gyroscope MPU 6050 change in direction. I followed the wiring and uploading correctly. The thing is that the MPU is ...
0
votes
1answer
50 views

Problems / doubts on battery-powered Arduino Nano WiFi weather station I built

I've almost finished my first Arduino project and I'm realizing I might have gone a bit over my head - I'm a web programmer, I have a very basic electronics knowledge and started tinkering with ...
0
votes
1answer
37 views

Ethernet.begin() conflicts with build-in LED on Arduino Nano

I have Arduino Nano "clone" which I would like to use with Ethernet ENC28J60 shield. I have noticed that when I include/use UIPEthernet.h library, build-in LED does not work properly. I have written ...
0
votes
1answer
37 views

led chaser fill color effect

Please help. I am learning a lot about Arduino. Most all in lightning. I am a newbie. I play with nano and LED ws2812 and use fastled library. What ask is to make effect like fill effect. For ...
0
votes
0answers
21 views

can I configure NANO with a USB HOST shield

I have a NANO and want to connect it to a device. Can I do it with the Mini USB Host Shield SPI Interface For Arduino or is this just for the UNO? If I can do that, what do I need? I have little to no ...
0
votes
1answer
37 views

I2C master/slave maximum requestEvent message size

Using a NodeMCU master and an Arduino slave (Wire.h on both sides), is there a maximum message size (32 bytes?) for the answer that the slave sends from requestEvent()? If so, is there any solution ...
0
votes
2answers
31 views

Soil moisture sensor not working in “pcb”

I have a little and common application in which a sc-28 moisture sensor reads humidity levels and turns a servo (which drives a little faucet) if the soil needs water. Arduino nano is the brain. All ...
0
votes
2answers
28 views

My push button code doesn't work properly

I'm using an OLED display connected to a push button. I am trying to get my display to show two different values independently by using the push button to switch between them. Here is a snap of my ...
0
votes
0answers
64 views

Wrong serial data

I am communicating with a system serially using Arduino Nano and I am able to communicate with it except for one issue. I have two functions and I want to call them together so that I can get two ...
0
votes
1answer
42 views

My device doesn't recognize my Arduino

I'm planing to use the ESP8266 to create a web server as a start. My set up is: Arduino nano- Esp8266- Logic level converter as shown in the diagram. After I connected everything my device doesn’t ...
0
votes
1answer
71 views

Output 3.3V when setting pin to high

I would like to pass 3.3V and Ground to an component. How can I achieve such a thing? I for example would like to let a wire get 3.3V when I for example do digitalWrite(pin, HIGH). It is hard for me ...
1
vote
3answers
107 views

Arduino Nano - Strange problems

Update: The arduino works only when I connect 3.3v to reset pin. And I successfully uploaded a sketch but it stops when I disconnect 3.3v and reset. Update 2: -- Removed -- Update 3: Its ...
0
votes
0answers
69 views

DMP of MPU6050 only shows zeros and fifo is overflown

I am trying to use the dmp of the mpu 6050 with jeff rowbergs libraries. Besides I am using an arduino nano and windows 10. Also I am using the sketch "MPU6050_DMP6.ino" from with almost no changes. ...
0
votes
2answers
187 views

Arduino slave with 2 masters sharing the same I2C Bus?

Consider a scenario where two (or more) master devices (the NodeMCU's, in this case) share an I2C bus with one (or more) slave device(s), like thus: Would this be a feasible setup? In other words, ...
-2
votes
1answer
109 views

how to set buzzer on and off

I have a project that require me to use magnetic contact sensor. I will put the sensor at the door. So the idea is i want every time someone open the door, the buzzer will make a sound, but it will ...
0
votes
1answer
112 views

Two flow sensors, one ESP32, LCD and/or Arduino

I want to build a flow meter but the Gal/Min rating of something like this flow meter is too low. I am thinking of strapping two side by side with suitable plenums for In and Out. I have found some ...