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.
1,350 questions
0
votes
1
answer
48
views
Use of 3 synchronized PWM pins on Arduino Nano
I try to use three PWM pins on an Arduino Nano, each with 10kHz. I know that there are timer0, timer1 and timer3 but I wonder if I can combine them while ensuring all three PWM pins to be in sync and ...
1
vote
1
answer
121
views
Software serial and RS485
I have 2 Arduino Nano that will communicate in half duplex mode with transceiver using MAX485. But the master has libraries like Wire.h, uses tone() and also receives UART communication.
I'm a ...
2
votes
3
answers
6k
views
6 wire 3 digits 7 segment display and arduino question
Here's a brain teaser for you:
I have the following 3 digit 7 segment display that has only 6 wires
Experimentally I found out how it works, even though I don't understand it, but anyways every ...
1
vote
4
answers
9k
views
Arduino Nano not showing up in /dev
When I plug in my nanoatmega328 to my computer, nothing shows up in /dev as I expect it to. If I plug in my Uno, /dev/ttyACM0 shows up. I have tried several Nanos.
Linux Mint 17.2.
1
vote
0
answers
60
views
Issue reading sensor values with CD74HC4067 16 Channel Mux
I'm running to an issue when measuring my sensor outputs. Previously I've connected my sensors directly to Nano analog pins and measured fine, but I want to use more sensors so trying a mux. Any help ...
2
votes
2
answers
146
views
Problem sending serial data between Arduino and ATtiny back and forth
I am working on communication between a Arduino and ATtiny13, and I need to get this bare-bone communication to work. There is a Arduino Nano powered by USB cable from the PC, and there is ATtiny13 ...
0
votes
2
answers
194
views
SoftwareSerial.h: No such file or directory Arduino Nano + DF player
I'm looking to play songs from a DF Player mini and for that I use the SoftwareSerial.h library but my code keeps compiling an error that it's not there. In addition, the error only appears when I use ...
1
vote
1
answer
69
views
Missing data when communicating over UART
So I am working on an Arduino project and have trouble communicating over UART.
I have a SIM7600G-H 4G Module from Waveshare and hooked it up to an Arduino Nano ESP32. The connections are as follows:
...
0
votes
1
answer
428
views
Connecting microSD reader and e-paper display to Nano at the same time?
Pretty much as the question states, I'm wondering if it's possible to connect (this: https://www.waveshare.com/7.5inch-HD-e-Paper-HAT.htm ) 7.5" e-paper display that has raspberry pi HAT and an ...
0
votes
1
answer
64
views
Using Serial Port names as a variable array for looping access to same block of code
If I have multiple NODES one on each Serial port (and / or SoftwareSerial port) all of which have the same code for execution can the names of each Serial port be put into an array such that I can say:...
4
votes
1
answer
122
views
Can I use regular pins (Example: D2, A3, etc...) as serial (RX, TX)?
Python/Arduino Beginner here...
I have a DFplayer I am trying to hook to my Arduino and I want to hook it up through the regular pins instead of the RX and TX pins, but I've not been able to find ...
-1
votes
1
answer
120
views
Connecting the device to Arduino via the UART protocol
The essence of the task
I have a task to connect an external device with my arduino and transfer data to each other via the UART protocol. The external device has 4 pins (Two for power supply and RS-...
0
votes
2
answers
117
views
problem with scripts in Arduino Lab for MicroPython
I am trying to set up an Arduino Nano ESP32 so that I can code in MicroPython. I successfully installed Arduino Lab for MicroPython and flashed the firmware onto the device, but when I try to run the ...
3
votes
2
answers
10k
views
Difference between the Nano and the Nano every
So I wondered what the difference between the Nano and the Nano every is and why the Nano every is so much cheaper than the Nano.
I'm new to the microcontroller business and I would like to know what ...
0
votes
0
answers
87
views
Cannot get Arduino Nano with CH340 chip to keep working
I have a bunch of Arduino Nano boards with the CH340 chip. When I want to upload code to a board, it sometimes works the first time, sometimes it doesn't. Afterwards, it mostly doesn't work anymore.
...
0
votes
2
answers
148
views
Connected the 3.3v output and the 5v output together
I accidentally connected the 3.3V output and 5V output to the same connection. How bad is that and what issues could that cause?
I was busy with making my first project which uses a module which runs ...
0
votes
0
answers
45
views
Cannot ping a host unless I use parseIP from Ethercard
I'm trying to write an Arduino sketch which pings multiple hosts and switches some RGB LEDs to indicate the status of the devices on my network. This question is a followup of ParseIP in the EtherCard ...
1
vote
1
answer
379
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
494
views
ESP32-CAM infinite boot loop
I am currently using an ESP32-CAM with an OV5460 camera, and I am interfacing it with my computer using an Arduino Nano. I am trying to run a camera web server using the Arduino example code. I have ...
0
votes
1
answer
143
views
Pushbutton firing somewhat randomly
I have a circuit which consists of a pushbutton and 2 relays.
The power supply is driven either over USB, where the circuit seems to work fine, or powered by a linear regulator board I've knocked ...
-1
votes
1
answer
148
views
RTC DS1307 gives random and incorrect time value [closed]
The RTC module can output the hours as 165, and the minutes as 165. This is some random number that is different every time. Everything works fine, but at random times I get this. Maybe once every ...
1
vote
6
answers
6k
views
Watchdog on Arduino Nano does not recover
I'm trying to add a watchdog on an Arduino Nano, for my code, and I'm following the code in this manual exactly, but after the amount of time for not resetting the watchdog, it resets but does not ...
2
votes
2
answers
472
views
Why do the LEDs affect analog input?
I'm working for a project to control an RGB LED Strip using a microphone or sound sensor with the Arduino Nano. I'm using 5050 RGB LED Strip with around 120 LEDs, and I control them using a simple ...
-1
votes
2
answers
142
views
I need more free memory on my Arduino. What can I do if I don't want to use float? [closed]
I realize that using float results in loading all or at least parts of the floating point library, which consumes a significant amount of memory.
How can I avoid using float?
3
votes
2
answers
1k
views
I need compact code to fit in memory
I feel a little like I am back in 1975 trying to fit my code in 4K of RAM.
I am writing some code for an ATTiny88, and the code is starting to get big, relatively speaking. I need to save every byte ...
1
vote
1
answer
93
views
ParseIP in the EtherCard library does not parse an address twice
I'm trying to modify the pings example from the EtherCard library so I can ping multiple hosts. The end result should be a small device which monitors other devices on my network.
Here is the modified ...
2
votes
2
answers
7k
views
Arduino slave with 2 masters sharing the same I2C Bus?
Consider a scenario where two (or more) master devices (the NodeMCUs, 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, ...
-1
votes
3
answers
219
views
Arduino Nano timer drifting
https://youtu.be/oVZgFsWsKPM][1]
I'm a beginner in Arduino. I made a 12-hour common cathode 7-segment clock. I made a 7-segment display with LEDs, using Arduino Nano.
If I use a long period of 1,000 ...
0
votes
1
answer
215
views
Trouble Programming ATTINY1616 with Arduino Nano via UPDI: No Communication
I'm trying to program a board I designed with an ATTINY1616. The schematic is shown in the photo. I'm trying to connect an Arduino Nano. +5V and GND are shared, while the UPDI pin is connected to the ...
2
votes
1
answer
376
views
Multiple Arduinos connected to one display
I have one display screen, and 5 Arduino Nanos. They are checking to see if passwords in a text file hash to a specific hash, then display it on the screen when found.
Since they aren't all sending ...
0
votes
1
answer
64
views
Compiling issues with included library MX1508 for Billy Bass build
Thank you for considering my question.
I have been learning Arduino so I can teach coding basics to my son. I came across a fun project to interface bluetooth with an old singing Billy Bass so he can ...
1
vote
1
answer
1k
views
MP3-TF-16P only works while connected to serial monitor
I am building a project with Arduino Nano and the component in the subject, which, as far as I understand, can be assimilated to a DFPlayerMini (not sure if it's the same thing or it's just a cheap ...
0
votes
1
answer
177
views
Arduino seems to be reading incorrect analog I/O. Am I doing something wrong?
I am using an ATTiny88 to measure temperature using a 470 ohm thermistor attached to port A3 on the Arduino.
The thermistor is attached in series with an 1870 ohm resistor connected to Vcc. At room ...
-1
votes
1
answer
103
views
Reasons for an ATmega328P Nano SuperMini USB-C board not being recognized by a PC/Mac? [closed]
I recently got two of these ATmega328P Nano SuperMini USB-C boards but none of them is being recognized by my PC or Mac.
I'm using the old bootloader setting in the Arduino IDE 2.3.6, CH340 drivers ...
1
vote
1
answer
92
views
Arduino Nano ADC input selection
The maximum ADC sample rate for the '328p, using the default prescaler of 128, is given as roughly 10000 samples per second. Maybe I've missed it, but I can't see whether that is the total rate for ...
2
votes
1
answer
89
views
Troubleshoot/Diagnose Arduino circuit
I've built the attached circuit with the following changes:
I used Arduino Nano.
I used 10K pot.
12V is connected to VIN pin (instead of RAW).
The Arduino was connected to the PC by USB for the use ...
2
votes
1
answer
107
views
Stepper control using Pot over bluetooth (HC-05)
I have intermediate-level Arduino experience but it's been a few years... and, I would like to be more confident in a plan before ordering all the parts. So, basically, this is theoretical. The design ...
1
vote
0
answers
79
views
FS1000A transmitter and MX-RM-5V receiver not working
I'm new to Arduino development. I use Arduino Nano v3 ATmega328P (Old Bootloader). I assembled 2 small boards, one of which is a transmitter with three buttons, and the second is a receiver with three ...
6
votes
3
answers
75k
views
Arduino nano as HID Keyboard
I'm a bit of a noob in the Arduino area but I found an Arduino nano I bought a long time ago sitting on my shelf and collecting dust,
so I taught "why not make a project". I game a lot of racing ...
0
votes
1
answer
86
views
Connecting two Arduinos via BLE 5.0
I have this issue where I'm transmitting sensor data from Nano Sense Rev 2 (transmitter) board to Nano 33 BLE rev 2 (receiver). The receiver keep failing to detect and connect to the transmitter and ...
-1
votes
1
answer
124
views
avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
I'm working on a linux machine with avrdude and avrgcc. NOT using Arduino IDE.
I'm using Arduino Nano 33 SENSE REV2 BLE, trying to upload a sample blink .c program and getting this error.
This is the ...
1
vote
2
answers
154
views
Controlling a stepper using PIR and Hall effect sensor
I'm trying to make a box that revolves around a pivot point using a NEMA17 stepper motor. The idea is straightforward: US1881 Hall effect sensor will change state based on magnets on the base of the ...
2
votes
0
answers
266
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 ...
0
votes
2
answers
152
views
The same code in succesive order with different results, bright onboard led vs dim of the same led, Arduino Nano Every
The code below has a normal bright led on the 5th pin of port F while those on port B, 0, 1, 2 are dimmer. Even if you hold down one button and a moment later simultaneously press another button while ...
1
vote
2
answers
100
views
Translating PIC PWM settings to ATMega328P
I'm trying to get some C code that runs on a PIC18F, working on an Arduino '328P. It uses an 8-bit timer, PWM, and a LUT to generate sine waves. I hope to get it going using Timer2 on a Nano.
The PIC ...
2
votes
2
answers
11k
views
Power supply for Seeeduino Xiao
The Seeeduino Wiki claims that it can run on 3.3V/5V. It doesn't specify if it can step down higher voltages. I am looking to power the XIAO using a battery. It usually uses a USB-C cable which can ...
0
votes
1
answer
337
views
Incorrect reading from DHT22 (on a Nano board)
I have rigged two different DHT22 sensors to an Arduino Nano board. Both temperature readings are more or less comparable but they produce very different humidity readings.
The sensors are:
Sensor No....
-2
votes
1
answer
66
views
you need to create a tachometer, but not with a hall sensor, but with a photoresistor and an LED
I'm sorry, could you help me create this arduino-based device? you need to create a tachometer, but not with a hall sensor, but with a photoresistor and an LED. The value should be transmitted to the ...
0
votes
2
answers
155
views
Arduino Nano ESP 32 board (ABX00083) SD library not working
I am working on a simple code to write data to a MicroSD card using Arduino nano ESP32 (ABX0083) and Df robot SPI MicroSD card module(DFR0229). I am not able to write to the SD card. I get the error ...
34
votes
14
answers
58k
views
Most compact method of powering Arduino from wall socket
There are a lot of methods to power an Arduino from a large range of voltages:
USB cable from PC or from a phone charger or an USB hub
step down converters
step up converters
switching power supply
...