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

Better gsm/gprs module for arduino

Please help me to choose module, all I need is only stable gprs connection. My system will once in 5-10 minutes send data to the server. I found modules as sim800, sim900, a6, a7. but which of them ...
-1
votes
0answers
16 views

how can i restrict serial monitor values upto only 10 readings [closed]

i am trying to code for ultrasonic sensor, i could get the values of the distance in serial monitor but i want only 10 serial monitor readings I have tried 'while' loop and 'for' loop but i am not ...
1
vote
1answer
44 views

How to use H3LIS331DL 3-Axis Linear Accelerometer with arduino to detect Harsh braking of vehicle

I am a newbie here, Recently I was working with H3LIS331DL 3-Axis Linear Accelerometer I²C Mini Module Here is code for the X, Y, Z-axis. #include <movingAvg.h> #include <...
0
votes
0answers
13 views

Power Arduino uno/nano and SIM800L from single 3.7V LiPo battery [closed]

I'm trying to power Arduino Uno/Nano (I have both, but mainly tried on Uno) and SIM800L at the same time with single 1200mAh 3.7V LiPo battery. Is it even possible? The problem is that SIM800L needs ...
0
votes
1answer
20 views

DC Motor Control L298N

I am trying to control the speed of two motors using L298N. I use "Arduino Nano ATmega 168". I change the analogWrite between 0-255 but I cannot see any difference. When I assign it to something like ...
0
votes
0answers
20 views

To update GPS after every 30seconds using NeoGPS and NeoSWSerial Libray

I am using Adafruit Ulitimate Breakout GPS module and NeoGPS and NeoSWSerial Library. Now I want the GPS to update in 30seconds once (1time in 30seconds).After it is updated I want to check the ...
0
votes
0answers
15 views

CNC Shield V4+ Arduino Nano+ HC06 [closed]

Is CNC V4 supplying 5V to the Arduino Nano? I don't need the USB because I'm using HC-06 to control one motor. If I use just one 12V PSU it will power the Nano as well?
0
votes
1answer
21 views

Arduino Nano/Uno and js sketch compiling/uploading from browser

I need to compile generated source code in js runtime then upload it to my device. Compiling: I have found arduino-cli Uploading: There is only avrgirl but it doesn't work in browser. What should ...
-1
votes
0answers
23 views

Switching between Arduino

I am using irf540n to switch on and off 2 arduinos with one Arduino but it's not working. I connected them is by using 2 irf540n connecting each 'source' to common ground.....'drain' to ground of each ...
-1
votes
0answers
17 views

How to store SMS received by SIM800L into a String variable. (MY CODE ISN'T WORKING)

#include <SoftwareSerial.h> String incoming_char; SoftwareSerial gsm(9,10); // RX, TX void setup() { Serial.begin(9600); Serial.println("Testing GSM SIM800L"); gsm.begin(9600); gsm....
1
vote
0answers
34 views

Problem burning bootloader to ATmega chip using nano/uno

I designed a custom PCB that has the chip, an oscillatorm, decoupling capacitors, and all other connections for the ATmega along with the rest of my circuit. I followed all steps in the tutorial for ...
0
votes
1answer
35 views

Arduino Nano IoT Power Consumption

I am trying to reduce the power of my Arduino Nano IoT. I would like to run it using a battery over a longer time period. I thought this would be possible when putting it to sleep most of the time. ...
0
votes
1answer
20 views

Powering ESP8266 module from arduino nano

I'm just starting up with arduino and i have few simple questions. Why shouldn't i power ESP8266 WiFi module directly from arduino nano 3.3V rail? There are bunch of tutorials explicitly avoiding ...
0
votes
0answers
16 views

Upload sketch in multiple arduinos

How do I upload sketches in multiple arduinos from one supervisor Arduino using UART , cd4051 for Rx and TX separately and reset pin low
0
votes
0answers
34 views

Arduino nano with 128x64px OLED freezing

I have an arduino nano, MCP3424 i2C ADC and a 128x64px i2C OLED display. The function is quite basic; the arduino receives information from the ADC and prints it to the screen as described in the code ...
0
votes
1answer
18 views

Sim900a AT+HTTPREAD does not get fully answer

changed the firmware on SIM900B try to send get request http://dummy.restapiexample.com/api/v1/employee/1 AT+HTTPACTION=0returned +HTTPACTION:0,200,98 but, when I try to read (AT+HTTPREAD or AT+...
0
votes
2answers
36 views

need at least 5 volts but 3.7 lithium polymer battery does not supply enough Voltage

I am building a device using an Arduino Nano, an OLED display and infrared thermometer sensor. I want to make it rechargeable so I am using a 1 cell lipo battery and a tp4056 circuit protection board, ...
0
votes
2answers
57 views

need to compare if a byte is less than 80 hex

I am using an infrared sensor called OTI301. In its data sheet it says that in order to obtain object temperature and ambient temperature values I need to extract the binary information from the ...
1
vote
1answer
60 views

What pins can be used for chip select (CS, CC) on the Arduino nano every?

I’ve checked the nano’s tech specs but I can’t seem to find any information regarding it. I’ve tried setting it to pin 26 (digital output)
0
votes
0answers
21 views

To stop the geared DC motor based on the number of rotation

I am doing a small project in which I need to stop rotating the dc geared motor based on its number of rotation (in my case I need only 2 rotation), after two rotation it should stop rotating. I am ...
0
votes
1answer
22 views

Arduino how can I search for missing library header files

How can I search for blank library header files (ie. .h files).
0
votes
1answer
35 views

How fast should I be able to write to AT45DB321D flash memory?

I checked the AT45DB321D datasheet and it says it operates at either 66 MHz oder 33 MHz. Both of these speeds are higher than what an Arduino Nano supports (my google fu fails me here, but according ...
0
votes
0answers
17 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
32 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
42 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
41 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
35 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
15 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
74 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
37 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
43 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
27 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
17 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
20 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
28 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
109 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
62 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
35 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
40 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
87 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
26 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
56 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
1answer
37 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
24 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
60 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
21 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]; ...