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
0 answers
15 views

NRF24L01 modules fail to stay connected. Work intermittently

I am trying to get the NRF24 Modules to work but all I get is short lived moments of when it works. I am using the transmitter to send signals to the receiver, which in turn sends a signal to the ...
user avatar
-1 votes
1 answer
34 views

Does an 5V 2.1 A will fit for this Led Schema?

Hello I would like to create an Arduino protoype with Led WS2182B. I currently have Arduino NANO (not UNO, like in this schema) 65 Led WS2182B = Which gives me 3.9 Amp of suply for full brighness (65*...
user avatar
-1 votes
0 answers
21 views

Automatic Motor Servo Rotation according to Tachometer Optocoupler H21A3 Sensor

I have a project to make an automatic valve using optocoupler as tachometer sensor and motor servo via Arduino Nano. I have some problem like how to made motor servo rotated manually if the tachometer ...
user avatar
0 votes
0 answers
16 views

Can't pair two HC-05 (Master - Slave)

I want to connect two HC-05 modules, one master and one slave. So to that I need to access 'AT Commands'. Theoretically, I just needed to upload an empty code, and then connect the module to the ...
user avatar
0 votes
0 answers
24 views

Motherload of errors while trying to upload arduboy2 program

I wanted to make a arduboy as I dont really want to pay 80$ when I already have the parts for one so I made my own on a perf board and installed arduboy 2 6.0 and opened the breakout example and ...
user avatar
  • 11
0 votes
1 answer
30 views

TVout characters don't line up

I am messing around with the Arduino TVout library and I have created some multi-character tiles (I don't know what else to call them). Just to start out, I created a simple X that spans across 4 ...
user avatar
  • 13
0 votes
1 answer
67 views

A bug with multiple IR detectors

I have a device power by arduino nano atmega328. The idea of this HW is to detects dropped seed (corn, oil bean etc.) and to count it. I wrote initial code, but id does not work in an expected way. it ...
user avatar
0 votes
1 answer
55 views

USB-C to USB-C cable Arduino is not responding even not powered by this cable

Hi I want to connect arduino NANO to my laptop with Type-C (USB-C) ports (on below image left side [4] and other side 3). Now I bought a USB-C to USB-C cable, because it appeared to be the right tool, ...
user avatar
  • 205
-1 votes
1 answer
40 views

How To Repeat a the specific Code in Void loop() No Of Times

Hello Friends i Am creating a dc motor controller (for leg extension machine) which moves motor between two points specified by two potentiometers and as a feedback third potentiometer is used my code ...
user avatar
1 vote
1 answer
21 views

How to receive data from Xbee in AT mode on Arduino Nano

I need to print data on the Arduino serial monitor received from the Xbee in AT mode. I have searched on most forums and have not found anything on how to do this. I have my Xbee tx connected to ...
user avatar
1 vote
0 answers
38 views

Nema 17 stepper motor speed problem

This code is quoted from here. May I know how to increase the speed of the NEMA 17 stepper motor further? I tried to increase the step speed to 2000rpm but it does not even work. It only works for ...
user avatar
0 votes
0 answers
68 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 ...
user avatar
  • 183
1 vote
1 answer
55 views

Weird SoftwareSerial behaviour with Arduino nano when multiple SoftwareSerial objects are configured

So I have been stuck with this for quite some days now and am really unable to put my finger on what's wrong here. Any help would be great. Try not to list down the disadvantages of SoftwareSerial, I ...
user avatar
  • 111
2 votes
1 answer
158 views

Arduino Nano Atmega328P not sleeping with either <LowPower> or <avt/sleep.h>

I'm working on a battery powered Arduino Nano project. I really need it to save power for hours on end, so I turned to Arduino LowPower Library and avr/sleep.h to do the job. However, whatever I do, ...
user avatar
  • 123
2 votes
1 answer
75 views

Can you write c code in arduino ide?

So i know that the native arduino language is written in c/c++, but does that mean that i can write pure c code in the arduino ide, or that i have to use the arduino specified language? I’m new to ...
user avatar
  • 21
0 votes
1 answer
69 views

Arduino Nano BLE 33 default example sketch `USBHID>Keyboard` makes the Arduino unusable

How the problem started I was playing around with using the Arduino Nano BLE 33 as a keyboard, and stumbled upon the USBHID>Keyboard sketch which I got via the default suggestion from the Board ...
user avatar
1 vote
1 answer
44 views

Servo keeps resetting position when there is no difference in received value?

So I'm working on a code that basically receives x and y coordinates and stores them in a variable. Whenever a coordinate is received, it goes through a conditional statement to store them in a ...
user avatar
1 vote
0 answers
38 views

Arduino Nano Ble Sense stopped working suddenly

My Arduino Nano 33 BLE Sense stopped working suddenly a while after uploading firmware for an ML project. I've used my board for several ML projects and it worked like a charm. I can't find the board ...
user avatar
2 votes
1 answer
69 views

ATMega328p internal comparator problem - ISR(ANALOG_COMP_vect) not firing

After being introduced to this code on github, and exploring electronoobs tutorial I was compelled to try and recreate it with the Arduino Nano, and using the A0-A3 analog comparator inputs. Currently,...
user avatar
  • 163
0 votes
1 answer
66 views

Could I put an arduino in series with a battery charger?

recently in one of my projects I have wanted to make battery powered. I was wondering if I could connect the charger to the battery and the battery to the Arduino without blowing it. The battery is ...
user avatar
2 votes
1 answer
157 views

Using CD74HC4067 16-Channel Analog Multiplexer Demultiplexer is not working as expected

I am working on a project that needs multiple digital signals and I am considering the CD74HC4067 (on a break-board) to work as a multiplexer. More specifically i am trying to build a keypad with ...
user avatar
1 vote
1 answer
86 views

Sending analog sensor data to laptop at 1kHz via USB

I am reading analog sensor data using Arduino nano, and the required sampling rate is around 1kHz. I am using the AnalogReadSerial example provided by Arduino with a delay of 1ms, so I am expecting to ...
user avatar
2 votes
2 answers
62 views

Read & Write to EEPROM

I need to implement EEPROM Read & Write functionality to my project. I've been learning how to use the EEPROM on the last few days, however I'm struggling to Read & Write Strings to EEPROM. ...
user avatar
1 vote
1 answer
29 views

RF Keyfob single button code

I'm making a project where a 2 channel RF keyfob (433Mhz) controls an led using arduino nano. As for the hardware everything works and I have tested it with the example decoder code and it works fine. ...
user avatar
  • 123
0 votes
1 answer
50 views

Arduino nano standalone - pcb to be manufactured

Using EasyEDA I've designed a standalone Arduino nano and plan to have a small PCB manufactured by jlcpcb. I've used the Nano's user manual as a reference for the PCB; within this scope I've used the ...
user avatar
1 vote
2 answers
55 views

Why is my SPI clock voltage lower at higher frequencies?

I measured that the SPI-Clock of my Arduino Nano in my project didn't reach near 5V. So I quickly tested with a new one, nothing attached except a (mydaq) scope. I measured the SPI clock: 2.5 V @ 8 ...
user avatar
0 votes
1 answer
64 views

A strange bug in my Arduino ALU

I have discovered a strange error in my Arduino. It's not in the code. I think it's a hardware bug in the ALU of the microcontroller, maybe in clone only. So there is a variable called feedLimit and ...
user avatar
0 votes
1 answer
33 views

Controlling Arduino through python

How to set the registers of Arduino through python code to vary the sampling rate of Arduino? Can we control Arduino through python?
user avatar
  • 21
1 vote
1 answer
45 views

Insufficient RX signal delta when using MKR RS485 + Nano, but not Mega

I'm having an issue where an arduino Mega has been used to communicate with an RS485 bus, using an MKR shield [1] as a breakout board. When I build it with a Mega, the system works fine. I've torn ...
user avatar
1 vote
0 answers
41 views

Error compiling arduino sketch to seeduino xiao for RF24 Module

I am trying to get 2 rf24 modules talking to each other. This is my first real arduino project so bear with my ignorance please. I could get them to work with 2 arduino nano but, when trying to ...
user avatar
  • 11
1 vote
0 answers
40 views

Relay switch problem: Arduino Nano with a 312 PIR sensor

I am working with a 312 PIR sensor with an Arduino Uno Nano. When sensing motion Port 13 goes High for Time_A (10 minutes). If I then press a push button on the Arduino board it takes Port D2 LOW, ...
user avatar
  • 11
1 vote
1 answer
76 views

`time.sleep` in python script reading serial output causes erratic behavior

I am attempting to control the position of my computer's cursor using a potentiometer hooked up to my arduino nano. The arduino is running the following code: int potPin = 3; // select the input ...
user avatar
-1 votes
2 answers
47 views

reading strings from multiple Arduinos

So I have 5 Nanos all trying to crack a password, the idea is each one has one fifth of the list so they can test 5 at a time, then when it is found, I want it to be displayed on a screen I have, the ...
user avatar
1 vote
1 answer
65 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 ...
user avatar
2 votes
1 answer
251 views

Space taken by Global Variables

Using Nano's for small programmes I get compilation reports about the amount of space taken by global variables. On a typical progamme it says something like Sketch uses 16316 bytes (53%) of program ...
user avatar
1 vote
0 answers
31 views

LightBlue to Arduino connection log does not display serial monitor printed data

I'm writing code so that, every time a hall monitor senses, my code additively measures 5 liters of volume as it prints each detection. Then, this data is sent via Bluetooth to a phone. (This is for a ...
user avatar
2 votes
0 answers
31 views

How to input delay and increase volume measurements with hall sensor detection

I'm writing code so that, every time a hall monitor senses, my code additively measures 5 liters of volume as it prints each detection. Then, this data is sent via Bluetooth to a phone. (This is for a ...
user avatar
1 vote
1 answer
49 views

I am trying to add a countdown to my Arduino code but it does 0 days, 04:09:36 instead of starting at 7 days

The code I use probably has a math problem since an Arduino can only count a 16 bit integer. This problem is with the WeekDelay() function. The project is for an Aerogarden. It pumps water into the ...
user avatar
0 votes
2 answers
61 views

Arduino Nano: Send a few bytes over Serial with as little delay as possible

My scenario is the following: I have a few buttons connected to an Arduino Nano, which is connected to my PC over Serial. Now I want to send a few bytes whenever a button is pressed, to be interpreted ...
user avatar
-1 votes
1 answer
120 views

I have been having a lot of trouble adding a countdown to a piece of code [closed]

This is the code. The /// are where I added the countdown. Unfortunately the countdown only goes down 9 seconds. What I want it to do is go down the full 24 hours. I have been trying to fix this error ...
user avatar
0 votes
1 answer
34 views

Bootload from a Nano to an ATMega328 without a crystal

I have a program to load from a Aduino Nano as ISP to a ATMega328p chip that will have an internal clock at 16M, but I don't have a crystal handy. Is there a way I can not have to buy a crystal? What ...
user avatar
  • 167
1 vote
1 answer
68 views

Using 4-digit 7-segment display on Arduino Nano

I want to merge two projects: a "Don't touch your face" hat for Nano and a 7-segment 4-digit display for Uno. I tested both independently and they work. I added an RGB LED to the first, so I ...
user avatar
1 vote
1 answer
217 views

How to debug "No device found on cu.usbserial, An error occurred while uploading the sketch"

I am testing a project on Arduino Nano. I copy-paste the code on the Arduino IDE and click "Upload". I see: No device found on cu.usbserial-<unique id> An error occurred while ...
user avatar
0 votes
1 answer
65 views

Procedure for changing frequency of Nano or similar

I need to get interrupts at one of three specific rates: 1920, 2000, and 2400 per sec, at a fairly high precision (~10 ppm). I've asked about this on Electronics but I think here might be more ...
user avatar
  • 221
1 vote
1 answer
288 views

Keyboard.h not found on Arduino nano

I am trying to use keyboard on my Arduino nano, but i get this error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'? As per the answer in Keyboard.h not found, ...
user avatar
1 vote
0 answers
44 views

Can I use AREF to supply a circuit, when in internal mode? (Nano)

When analogReference(INTERNAL) is set (1.1V), can I use the AREF pin to supply a circuit? E.g. like this: AREF —— R1 —— button switch —— A4 —— R2 —— GND where A4 is configured as analog input (...
user avatar
  • 111
1 vote
0 answers
51 views

SoftwareSerial fails to receive on Nano but works with Uno [duplicate]

I have built a circuit board that includes a BLE module and an oxygen sensor that has a UART. Writing arbitrary data to the BLE works fine, but for some reason every configuration of SoftwareSerial I ...
user avatar
1 vote
0 answers
53 views

Store files in AT45DB161D SPI chip to use them from arduino

I am new to this concept but I am wondering if it is possible to store some files on the AT45DB161D dataflash chip. these files must be read by Arduino. I know that I should use a file system and I ...
user avatar
  • 11
1 vote
1 answer
105 views

Correct usage of SPI with ISR

My Arduino needs to do: Run ISR as many times as possible/ as fast as possible. Occasionally receive data over I2C. Output data over SPI in ISR. My question is regarding SPI and ISR. The ...
user avatar
1 vote
0 answers
69 views

RTClib.h problem

In Library Manager RTClib and DS3231 work somehow with older versions. RTC time can picked only once and then it give bullshit. Using newest versions screen is empty. In picture first time is right, ...
user avatar

1
2 3 4 5
24