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
1answer
98 views

Negative currentmA and Shuntvoltage

Why is my INA219 current sensor gives a negative currentmA and Shunt voltage? My sensor is connected in a glucose test strip connector. The current is from a glucose biosensor? Is it possible that my ...
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
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 ...
1
vote
2answers
118 views

Memory problem? dtostr() and strcat()

I've been dealing with this for quite a while now and searching all over for answers.. I'm trying to put together two floats into a char*. Separated by a ",". This is the code I'm working with. #...
0
votes
1answer
582 views

Problem with Pulse Sensor signal

I'm making alarm with input from pulse sensor. When it detect high heart rate then it send a text message. Everything works fine when i am using potentiometer (as input) for simulating triggering SMS. ...
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
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
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
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 ...
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
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 ...
-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 ...
1
vote
1answer
44 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
67 views

HC-05 connecting to Arduino

I have been looking through StackExchange, and searching on the web and cannot find an answer to my issue. Setup: Arduino Nano 168 HC-05 VERSION:3.0-20170601 I am trying to connect my Android phone ...
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 ...
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
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
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
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
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
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
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
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
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
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
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
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 ...
-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 ...
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); // ...
0
votes
1answer
2k views

Emulating a generic Mifare USB peripheral device with RFID-RC522

Hardware Dev Board: Arduino Nano V3.0 Module: RFID-RC522 13.56 MHz Cable: USB A - USB Mini B Configuration Physical Code /* * -------------------------------------------------------------------...
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
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, ...
-1
votes
3answers
176 views

How to generate .a and .so files to add in arduino project

I know to make a library on arduino ide with source codes, but I cant send my source code to another users who want to use my lib. So I need to make a library with precompiled=true info at library....
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
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
1answer
28 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
65 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
151 views

how to write an int to RFID tag and when read then store that in an array

The writing code is from the MFRC522 Example below: I have added an array to store the value but it does not store it as the same value written to it in the writing. instead it stores it as byte ...
0
votes
1answer
35 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
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 ...
7
votes
2answers
6k views

Is there a way to upload precompiled code to an arduino?

My company is developing a programmable remote control car which is driven by an Arduino Nano. We would like a way for the user to install software updates to the Arduino, but we don't want to give ...
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 ...