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
0
votes
0answers
11 views

Wiring multiple TFT Display to Arduino

I have multiple TFT LCD Displays and one Maixduino and I just want to show some text on each display separately.(fps doesn't matter because there is a static text or numbers on the screen). Is it ...
0
votes
1answer
40 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 ...
1
vote
0answers
48 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 ...
1
vote
2answers
70 views

Trouble with code. Events, smoothing. Im a noob [closed]

Background: I have been working with my kid on our first Arduino project for the last 2 months. The learning curve remains steep, but we are having fun. We are working on a UV meter to test sunscreen. ...
0
votes
0answers
61 views

Arduino restarting after script finishes only when using VIN pin

Not sure if the term "restarting" is the correct term here. I have a set up similar to this: The only difference being instead of an arduino mega, its an arduino nano, and its powered off ...
0
votes
0answers
8 views

Transmit beeps from Arduino through FM transmitter circuit [migrated]

I am trying to create a simple Arduino parking sensor that sends the warning beeps to the car radio using FM transmitter circuit. I searched different FM circuits and found many of them that use a ...
1
vote
1answer
57 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 ...
2
votes
2answers
32 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. ...
1
vote
1answer
22 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. ...
0
votes
0answers
32 views

Post request of Webhooks not working as expected

I have a problem with my Arduino Nano 33 IoT, and a POST request to the IFTTT service Webhooks. What I would like to do is to get sensor data and save it to a .txt file in OneDrive file with IFTTT, ...
0
votes
1answer
47 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 ...
1
vote
2answers
49 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 ...
0
votes
1answer
61 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 ...
0
votes
1answer
27 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?
1
vote
1answer
39 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 ...
1
vote
0answers
29 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 ...
1
vote
0answers
34 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, ...
1
vote
1answer
32 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 ...
-1
votes
2answers
44 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 ...
1
vote
1answer
49 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 ...
2
votes
1answer
55 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 ...
1
vote
0answers
17 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 ...
2
votes
0answers
28 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 ...
0
votes
0answers
44 views

Sending an Array using nRF24L01

im currently trying to setup a wireless Controller using 2 Arduinos that communicate with 2 nRF24L01 Modules. Unfortunately one Arduino died while testing something and therefore I can't test if the ...
1
vote
1answer
40 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 ...
0
votes
2answers
54 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 ...
-1
votes
1answer
118 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 ...
0
votes
1answer
31 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 ...
1
vote
1answer
58 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 ...
1
vote
1answer
48 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 ...
0
votes
1answer
58 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 ...
1
vote
1answer
97 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, ...
1
vote
0answers
41 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 (...
1
vote
0answers
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 ...
1
vote
0answers
41 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 ...
1
vote
1answer
63 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 ...
1
vote
0answers
53 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, ...
1
vote
1answer
52 views

Arduino Nano I2C OLED display 0.96 inches 128x64 pixels

I have a strange issue while trying to run the hello world code on an arduino nano connected to an OLED display. This is the code I used: #include <Adafruit_SSD1306.h> Adafruit_SSD1306 ...
1
vote
0answers
48 views

Model locomotive circuit review

I am building a model scale locomotive and therefore use Arduino for the DC motor, smoke generator, sound and lights. Can you help me with reviewing the circuit? Power comes from rechargeable ...
1
vote
1answer
51 views

Adding an Interrupt to ATtiny45 with Arduino

I recently wrote a simple script to...we'll say, "flash some LED's" and uploaded it to an attiny45. In short, the script cycles through 3 LED's and turns them on for a specified frequency, ...
1
vote
0answers
38 views

SPI problem with Bitcraze PMW3901 sensors and Arduino NANO

I am currently trying to connect four Bitcraze PMW3901 sensors to an Arduino NANO, but I seem to have issues with the SPI. When I connect two sensors using the code below, it works perfectly: I am ...
10
votes
3answers
2k views

Why are the pin numbers of the diagrams and of the code different?

If I search Google for "arduino nano pin numbers", all results show that the pin number of D2 is 5. But that did not work. I searched for some sample codes, and they were 3 for D3 and 5 for ...
0
votes
3answers
74 views

Where are these junk characters (from serial) coming from?

I currently have 2 Arduinos both hooked up to HC-12s and have successfully got them communicating. But I am now trying to be able to process the data sent across and store it as a variable so as to ...
0
votes
1answer
66 views

Problem Using pins A4 and A5 for input and output I2C

Hardare used: Arduino nano ( old Bootloader ) Oled Monochrome Display ( 4 pins, 128 x 32 ) MPU 6050 Both display and MPU use A4 and A5 as I2C communication protocol, They interfere, as the MPU is used ...
1
vote
1answer
65 views

I can change value of only one register on 8-Bit Register integrated circuit (74hc273 / DM74LS273)?

First, please be patient, I'm not electronical person. I am learning Arduino and electronics for hobby and this is my fist time with integrated circuits. Situation: I'm want to extend the Arduino ...
-1
votes
1answer
54 views

Arduino Sleep to conserve battery - How to intergrade it to existing sketch - HELP pls

My sketch below is simply using a touch sensor to activate a servo motor to go from from initial position 0 to 180 then back to 0. then I want the Adruino NANO to go to sleep to conserve some battery ...
5
votes
0answers
163 views

nRF24L01 continuously reading closed pipe

I am testing communication between two nRF24L01 modules. The receiver is getting the transmitted message but is also continuously reading (null) data from a closed pipe? I am using the RF24 by TMRh20 ...
3
votes
1answer
108 views

Prevent flash cloning

I need a way to prevent someone from cloning code from arduino. Without protection it can be cloned with advdudees in 2 min. I'm using atmega328p chip on nano. In this state arduino acts as a ...
1
vote
0answers
47 views

No communication between two stations that include Arduino Nano and nRF24L01

I'm struggling to establish a link between two Arduino Nano using nRF24L01 (the module that contains PA and LNA). I assume I made a coding mistake (May be in the setup method?), and I need help in ...
2
votes
1answer
102 views

Programming ATMega4809 via Atmel-ICE with Hex File from Arduino IDE - why doesn't the code loop / work?

Background I am programming a 40-pin ATMega4809 (datasheet) using ATMEL-ICE programmer. I'm simply using the Atmel Studio to upload a HEX file to the chip. I generate the HEX file using the Arduino ...

1
2 3 4 5
24