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

Problem with connecting Infineon Pressure Sensor Shield2Go to Arduino Nano

How do I connect DPS310 pressure sensor Shield2Go with Arduino Nano?
0
votes
1answer
28 views

SD writing problem

I have an Arduino code for logging sensor data, time and date. Then I store all the data in the SD card and then I will send the sensor value to another node by using Lora. but I can't write the data ...
0
votes
0answers
35 views

ethernet module works with uno, but not with nano

I use etherCard Library with ENC28J60-EDC8J60 ethernet module When plugging the "backSoon" example into an arduino UNO, everything works fine, but when i plug it into a nano, as seen in some tutorial ...
0
votes
1answer
31 views

I2C code working on Mega 2560 but not on Uno and nano

I have recently purchased this Heart rate sensor and was trying to make it work. I used this MAX30100 library I found on Github. For some reason when I use any of the given examples, they seem to work ...
0
votes
1answer
33 views

can I program a nano over SPI with another nano?

I'm fairly new to arduino, but I want to program a nano over SPI to skip the bootloader. I know I can program the nano with an uno as a programmer to do this, but I don't have an uno, but I do have a ...
0
votes
0answers
12 views

I am not receiveing what i am sending using NRF24L01

I am trying to transmit and receive the value using NRF24L01. I am sending 5 but receiving 0. The code i am using at the receiver's end is #include <SPI.h> #include <nRF24L01.h> #include &...
0
votes
0answers
27 views

How to swap ground and power for multimeter

I'm trying to create a multimeter that measures resistance and capacitance for a school project and the code must be under 30 lines. I have made both a resistance meter and a capacitance meter but the ...
0
votes
4answers
65 views

wake from powerDown to check sensor then put back to sleep

I am using an Arduino Pro Mini with various sensors. I am powering it with 2 3.7v 3400mA batteries which I recharge with a solar panel. I take a reading from the batteries and if the reading is ...
-1
votes
1answer
38 views

Taking data from main 120V 50/60Hz power

How can I take data from my house main power and reconstruct it signal? I used an transformer and an inverter amplifier to low voltage to 5 volts and read it with A0 analog pin, but I got a very ...
0
votes
0answers
31 views

PIR Sensor Gives False High in 55 Minutes (Can't find a way to solve)

I have built a system to identify motions and fire alerts. System can send a SMS in case if it's identify such alerts. System consist of two parts, Part 1: Armed and Disarmed using a PIN (Using ...
0
votes
0answers
39 views

Nothing prints in the serial monitor in Arduino - Ide

Sir, I used Arduino-Uno as programmer and Arduino-Mega 2560 as target and uploaded the below code, I was not able to view the Serial. println lines in the serial monitor, Can you please help. Thanks. ...
0
votes
0answers
26 views

433 MHz Radio Transmitter and Reciever Range Problems [duplicate]

I recently started developing an interest in tinkering with my Arduino. I bought 433 MHz Transmitters and Recievers (model number: XY-MK-5V). But when I try using them I have pratically no range: ...
0
votes
0answers
16 views

Dobly prologic with esp8266?

So i have this old 5.1 prologic thing sony hcd-451. is it possible to encode an audio stream to prologic send it to the esp and digital out it to my device? Grabbing the audio stream encoding and ...
0
votes
0answers
18 views

Cannot connect with online arduino editor but I can with Arduino IDE to an Arduino Nano

As the title says I have a Nano with CH340G and 168 that connects properly to Arduino IDE but not to Arduino online editor, it does not detect the board "Error uploading, check if the board is ...
0
votes
0answers
25 views

Issue with TTP223 capacitive buttons

I got some TTP223 to be able to trigger some inputs from an Arduino Nano thru a plastic cover without drilling anything (and hiding the buttons was cool so no one knows that there is functionality ...
0
votes
0answers
49 views

Byte not written to the memory

In the following code I'm computing crc and setting it as last (11th) byte in the array. The problem is it's sent on I2C just when I print it on the serial terminal. static constexpr uint8_t ...
0
votes
0answers
99 views

Arduino-Controlled LED Matrix issues

I am making a 20 x 15 LED matrix, and am having some super annoying problems. I was hoping you all could help me find some answers. It is very important to note that I am following BitLuni's video ...
0
votes
2answers
58 views

Powering Peltier using solar panels

I am a beginner to electronics and trying to make a portable air conditioner using a Peltier cooling pad (12V). I am planning on using a solar panel to power the Peltier and looking forward to your ...
0
votes
1answer
23 views

Sending more than BUFFER_LENGTH(32) bytes in slave answer I2C

I need to send 259 bytes as answer to I2C master read request. AFAIK there is a buffer limit of 32 bytes in Wire.h and in HW (Arduino Nano). Is there a way sending 259 byte answer, or I have to choose ...
0
votes
2answers
38 views

Audio stops playing after rtc is connected

I am trying to play a song using arduino while at the same time display time using a rtc board using the tmrpcm library. However, if the rtc board is connected no sound is played. I do understand ...
0
votes
1answer
84 views

real-time reading of a quadrature encoder at full resolution with only one interrupt on ATmega328

I want to read a quadrature rotary encoders at full resolution with only one interrupt on Arduino Nano (ATmega328). So I found out that we can use XOR to reach a full resolution: Where pin 3 ...
0
votes
0answers
23 views

Communication between arduino nano and MCP3424 over I2c pt. 2

I'm am completing a project of mine that uses an MCP3424 i2c 18bit ADC and an arduino nano to measure temperature with an NTC thermistor but am having trouble with the arduino wire library. This is my ...
0
votes
1answer
54 views

How to modify this code to simulate a binary encoder?

I have come across the following SPI slave code at this site: #include <SPI.h> char buf [100]; volatile byte pos; volatile bool process_it; void setup (void) { Serial.begin (115200); // ...
-1
votes
0answers
32 views

RF433 issue when enabling PWM

On Arduino Nano I plugged a RF 433 MHz receiver. Everything works fine until I turn on PWM on other ports. Then the RF signal gets lost. It seems to be electromagnetic interference (?) but adding an ...
1
vote
1answer
33 views

Control 4 digital outputs with one switch

I want to control 4 digital outputs (d0, d1, d2, d3) with one switch. When the Arduino starts, they should all be in state LOW. Now, after pressing the button once, d0 should get HIGH. Another push ...
0
votes
3answers
23 views

Help me get my robotic car to work?

So I recently followed a tutorial on youtube and I've assembled the car and connected all the wires. What I've done: Car Now in the video, when the guy connects all the wires, the wheels constantly ...
0
votes
1answer
19 views

Circuit with a tip120 works with a Led but, don't with a vibrator motor

I have 2 Arduino Nano's. One with RF transmitter and the other with an RF receiver of 433 MHz and both have two 3v vibration motors. I want one Arduino to send a string to the other Arduino to let him ...
0
votes
0answers
59 views

Why did it blow up?

I recently designed a PCB to hold an Arduino Nano, IMU and other components. I'm using this platform as the fly computer of a homemade drone. This is one of my first PCB designs and I'm not an expert, ...
0
votes
0answers
20 views

I get the following error when I typed the below code. “ Stray'\302” in the programme .I tried to sort it but failed

#include <Keypad.h> #include<LiquidCrystal.h> #include<EEPROM.h> LiquidCrystal liquid_crystal_display(9,8,7,6,5,4,); char password[4]; char initial_password[4],new_password[4]; ...
0
votes
1answer
88 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 ...
0
votes
1answer
91 views

Connecting Peltier module to Arduino Nano

I am a beginner to Arduino programming and started working on my first Arduino project recently to power a Peltier cooling pad. Below is the code I used and in the circuit, I connected the positive (...
0
votes
0answers
31 views

First sprintf-call works, second (identical) does not

In my current project I'm using an Arduino Nano, an RTC-Module, SD-Module and an OLED-Display to log time-values. I'm currently trying to implement following function: char *onString = (char*)...
0
votes
1answer
105 views

Menus not changing when button is pressed TFT 128 x 128

I've just followed a tutorial so that when a button is pressed it goes through a menu. Click once, next slide. Only issue is it isn't appearing on my screen at all. It has uploaded but I'm a total ...
0
votes
1answer
36 views

How to make a custom character on a TFT LCD display? (128x128)

I'm currently using the ucglib library. I'm new to arduino and I'm wanting to simply display a lcd smiley I made with the byte generator. I still have some of the original 'font hello world' stuff ...
1
vote
1answer
89 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
33 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
52 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
126 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
23 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
47 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
83 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
40 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
52 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
47 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
41 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
53 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
54 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 ...