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
2answers
736 views

Battery solution Nano 33 iOT

Since the Nano 33 boards are quite new right now, I haven't found any details on how to hook one up with batteries. I'm pretty daft when it comes to electronics (I'm a software man), and I read that ...
0
votes
2answers
42 views

Arduino Nano burns with ESP-01 in parallel

So I have an Arduino Nano powered in parallel with an ESP-01 (for the ESP there is an extra LM1117-5.0 voltage regulator in series). +12V ---------+---------+ | | ...
1
vote
0answers
132 views

ESP32 HCI command for setting BLE TX Power

Does anyone know if there's an HCI command for setting the TX and the advertising power for BLE on an ESP32? I have a Nano 33 IoT and a MKR 1010, and it has its power set annoyingly low for ...
0
votes
0answers
15 views

HM-10 doesn't respond to Arduino

I'm using Arduino Nano R3(old bootloader) and Serial(hardware serial). Arduino -> HM-10 5V -> 5V GND -> GND RX -> TX TX -> RX with (1k/2k voltage divider) Code is below #include <Arduino.h&...
2
votes
2answers
170 views

I2C - Confusion

It's not often I ask a question. This one has me a little stumped though. Scenario: I have an 328PB (internal 8mhz), it speaks to a multiplexer on Wire1 (the PB's second IC2 - Minicore lib). The ...
0
votes
2answers
30 views

Push Button to Drive Power to Servo

I am currently doing a project for a class which uses a few other components such as an LCD, a servo, and such. I want to use a button which acts as a circuit breaker on the Vin of the servo in which ...
0
votes
0answers
32 views

Strange cyclic errors in analogRead on Nano

I am trying to build an emergency shutdown of a gas valve based on the output of a smoke detector. It basically measures the voltage on the buzzer of the smoke detector, and if high enough, changes ...
0
votes
2answers
175 views

Weird sound when modulating the pulse width on Arduino

I'm trying to generate a pulse width modulated sound using Arduino Nano. But it generates the weird sound unlike my expectation. Here's my code: class Phasor { public: Phasor(const float ...
0
votes
0answers
49 views

Arduino IDE gives error a1 is not declared

#include <LiquidCrystal.h> LiquidCrystal lcd(A0,A1,A2,A3,A4,A5); in this code the error given by IDE is 'A1' was not declared in this scope. So whats the problem please help
-1
votes
1answer
237 views

Need to know what USB cable to get for Arduino Nano-33-BLE-Sense [duplicate]

I have recently purchased an Arduino Nano-33-BLE-Sense with Headers and wrongly assumed that it would come with a USB cable with it. I was searching the online store for the cable but the only cable ...
0
votes
0answers
121 views

MPU9250 with Arduino Nano and Arduino Nano 33 BLE

I am trying to read sensor data from two MPU9250s with both one Arduino Nano and a Arduino Nano 33 BLE using SPI. As for the Arduino nano, I was successful to acquire the sensor data and output it in ...
0
votes
1answer
60 views

Arduino stops working when servo makes a few rotations

The sketch rotates servo back and forth with buttons. When I rotate servo MG 995/996R 2-4 times Arduino stops working. Its voltage step-down transformer switches from ~9V to ~3.7V which is not enough ...
0
votes
1answer
85 views

What is the difference between a Hall effect sensor and an inductive one? [closed]

From what I have read, when placed within a magnetic field, a current will flow in both sensors. My goal is to use this kind of sensors to guide a robot thanks to an existing automower loop wire, ...
0
votes
1answer
42 views

Blew my Arduino. Did I wire this correctly?

Hi, I am currently doing a project and it seems that I may have blown my Arduino Nano (or maybe not). The power LED of the Nano was still on and I believe the L pin blinks once every time I press the ...
0
votes
3answers
200 views

Interface a mobile phone's finger print scanner with arduino

Is it possible to salvage a fingerprint scanner from an old and dead smartphone and use it with Arduino? I am not talking about writing an android program and send data to Arduino over Bluetooth or ...
1
vote
3answers
73 views

How can I make my arduino start when a magnet is sensed, and stay running until the application determines it was to shut down

My thought was to use a magnetic reed switch to turn on the arduino. But how do I keep it running if the magnet is moved? The idea is that the application will determine when it is ok to shut off ...
0
votes
2answers
171 views

Using an Arduino Nano to program (as ISP) a standalone 328p

I uploaded the ArduinoISP sketch to an Arduino Nano to use it as a programmer for other chips. It worked successfully to program an ATtiny45, I did the usual wiring between them, and added a 10uF ...
-1
votes
2answers
62 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
71 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
34 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
68 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
50 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
37 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
62 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
198 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
39 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
43 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
47 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
52 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
284 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
85 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
93 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 ...
1
vote
2answers
814 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
53 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
162 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
35 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
38 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
57 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
32 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
125 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
443 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 ...
1
vote
2answers
249 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
58 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
89 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
66 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
133 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
196 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 2 3 4 5 19