Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
24 views

NRF24 vs commercial RC transmitter [on hold]

I was looking for a suitable RC transmitter with over 6 channels. A friend suggests me that I make one myself using Arduino and the NRF24 2.4GHz radio modules. I would like to follow this ...
0
votes
0answers
26 views

code for OLED display suddenly crashes arduino Nano

Today i've been playing with my monochrome oled 128x64 adafruit screen. I've got it connected using SPI. Previously today i had no problems att all and i was able to print messages and variables on ...
0
votes
0answers
33 views

Double precision floating point operations using Arduino

Today we were programming something in university which dealt with really large numbers (even larger than unsigned long) and we had to create a code that broke the numbers into an array and performed ...
0
votes
0answers
38 views

LED turning on late

I am using an Arduino nano and an ESP8266. I have burnt an Arduino, but when I send a request to the Arduino LED, it takes some time to turn ON. Here is my code: #include <SoftwareSerial.h> ...
0
votes
1answer
29 views

SSD1306 allocation failed when adding a constant

I am trying to get this code working: #include <Button.h> #include <SPI.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #include <RTClib....
0
votes
1answer
47 views

Does UNO and Nano have the same pins?

Do Arduino Nano Atmega328p have the same pins as Arduino/Gizduino Uno Atmega328p?
0
votes
1answer
14 views

Arduino Nano Midi to cv convertor interesting issue

I created the circuit in this schematic on protoboard, and the code, https://github.com/elkayem/midi2cv I use a dual opamp and a single dac, because i only need note and velocity. The opto i use is, ...
0
votes
1answer
42 views

Arduino Uno: avrdude: stk500_recv(): programmer is not responding

I have an original Arduino Uno board purchased directly from the official arduino website. I have used it successfully with IDE v1.8.5 on my Windows 10 laptop for various projects in the last 6 months....
0
votes
0answers
26 views

Differing behaviour from Arduino Nano when plugged into laptop vs power source

Well here's a weird one. I'm monitoring a mic on an analog pin of an Arduino Nano and using the variation in voltage to control and LED. When plugged in to my Laptop (USB 3, 500ma available, the ...
1
vote
4answers
159 views

How to blink led and run another code at same time?

I had written a code to calculate rpm of the motors using IR sensor and Arduino nano and displaying it on OLED . With that I want an LED to blink always. Here is the code what I did: You can skip the ...
1
vote
2answers
128 views

Arduino NANO hardware SPI not working

I have an Arduino NANO clone and a 2.4" ILI9341 TFT display. The VCC and LCD pins of the display are connected to the 5V pin of the board. The GND to the GND. All the logic pins are connected to ...
1
vote
2answers
73 views

Nano damaged. Power LED OK. USB Detected. No Sketch upload. No Program running

seems i damaged one of my Nanos. i have to say i am new to Arduino and have basic electronik skills and i realized after shopping via amazon that the Nanos i have are clones with CH340G. never the ...
0
votes
1answer
21 views

My SIM800L isn't working in England. Alternative board for new EE/T-Mobile 3G PAYG SIM?

EDIT: I live in the UK, and I've read some articles just now that this module never worked after 2017 in the USA because it needs "a two frequency network"?, and support for 2G(phased out in America?)....
0
votes
1answer
34 views

MPU6050 Calibration [closed]

Why does the MPU6050 IMU sensor not require calibration? I've used other gyro sensors on RC helicopters that required calibration at boot. Also, how does it know what its neutral position is ...
0
votes
0answers
39 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
votes
2answers
50 views

Distance measuring utilizing (1 or 2) Arduino Nano's

I would like to develop a small-distance measuring device that will be primarily used in indoor scenarios to measure a distance with cm accuracy (mm if possible). The device would be in a small form ...
0
votes
2answers
48 views

How do I choose a battery to power my Arduino Nano project?

I was wondering if anyone would be willing to teach me how to logically choose/calculate which battery I should/can use to power my Arduino nano project (so I don't have to keep it connected to my ...
0
votes
2answers
55 views

How to read a PWM OUTPUT PIN value?

How to get a pwm pin value that is in pinMode OUTPUT? How to get a digital OUTPUT PIN value: #define pin 3 void setup() { pinMode(pin, OUTPUT); Serial.begin(9600); } void loop() { delay(...
0
votes
1answer
29 views

Intermittent jittering servo

I'm controlling a Hitech HS-625MG servo from a 10k slider via a Nano. For a while the motion tracks the slider position even when moved quickly. Then, for no reason I can find, it will stop following ...
0
votes
1answer
31 views

vk2828u7g5lf GPS module over SoftwareSerial

So my goal was simple. Trying to get a GPS speed, and show it on a display (later use it to control a stepper motor). I am using the vk2828u7g5lf GPS module from Banggood, which after days of ...
-1
votes
0answers
20 views

Accelerometer triggers Siren

I have already deigned modeled and created a PCB for a bag alarm project i am trying to make, other people have created bag alarms before, but they are just too complicated for this job. I am using ...
-1
votes
0answers
41 views

Arduino Uno powered by 9v battery gives ticking noises (Otto Robot)

I built an Otto robot based on an Arduino Nano board and powered it with a 9 V block battery and everything worked as intended. I'm currently recreating the project with a group of kids, but we only ...
0
votes
1answer
39 views

FreeRTOS Timer Use

I use Timer1 on an UNO to generate a 38KHZ signal for IR communications. It all works as expected. BUT, I need to convert the code to run as a task under FreeRTOS, and can't seem to find any details ...
0
votes
1answer
35 views

Button that gives an Input, Has a small delay — then gives another [closed]

I'm pretty new to the Arduino scene, and my question will likely be solved simply by some more experienced fellows. I'm trying to create a code for a switch/ button that when you press it, it ...
-1
votes
0answers
54 views

Flickering issue with powering WS2812B LEDs

Hello I'm having a flickering issue with my WS2812B LEDs, I know that it's obviously something that I have done incorrectly and to rule one possible issue out that it cannot be the Arduino code as it ...
0
votes
1answer
46 views

How would I go about powering addressable RGB LED light strip? [Arduino Nano] [closed]

The addressable RGB LED I have is WS2812B. I plan on controlling the LEDs via an Arduino nano. I have a total of 188 LEDs to supply power to. Would I require anything between the addressable RGB LED ...
0
votes
1answer
32 views

I can't make more than one arduino gas sensor work at the same time

I'm doing a school project in which I need to track different kinds of gases, the problem is I can't read more than one sensor at the same time, I'm using four sensors (mq5, mq7, mq8 and mq135) and ...
0
votes
1answer
32 views

Resetting I2c Address - MLX90614

I was using my MLX90614 IRTherm sensor flawless and bought two more. I have connected two sensors serial with pull-ups to SDA --> A4 and SCL --> A5. After digging the internet I found out that I ...
0
votes
2answers
60 views

could not convert 'digitalWrite(8u, 1u)' from 'void' to 'bool'

I am trying to make some LED lights to turn on when i flick a switch on my RC crontroller. I will connect the signal wire from RC controller to pin 8. The plan is: if i flick the swich, the LED's (pin ...
0
votes
3answers
88 views

WatchDog on Arduino Nano - does not recover

I'm trying to add a watchdog on an Arduino Nano, for my code, and I'm following exactly code in this manual, but after the amount of time for not resetting the watchdog- it resets but does not reboot. ...
1
vote
3answers
35 views

Do I need the Ground and 5 V pin connect to Led?

I am building an ambilight. So I bought a 3 pin LED Strip which I power with the USB hub from my TV. Next step is to connect it to the Arduino Nano. Is it OK when I only use the dataport from the ...
0
votes
2answers
27 views

Arduino Nano- Programer not responding after upload WDT

I followed an example link for WDT. Code was copied as is, and uploaded to Nano successfully. Now- when I wish to upload another code, I get an error message saying avrdude: stk500_recv(): programmer ...
0
votes
1answer
59 views

Nano & Ethernet will not write to PushingBox on a workplace network (but will at home)

I have a Nano+ENC28J60 and I'm using Pushingbox which I have setup to write data to a GoogleDrive spreadsheet which works perfectly at home. However when I take it to my workplace it no longer works. ...
0
votes
1answer
35 views

Help with simple gradually brighter flickering led

im a newcomer for arduino and sorry for any grammar error. So what im trying to do is replicating a flickering effect found on spacecraft thruster when they about to take off where the fire bursting ...
-1
votes
2answers
60 views

ATmega328, arduino nano v3 code error saying insufficient ram memory [closed]

the code error says this and im not sure what to do please i need urgent help :(` // Easy bluetooth controlled scrolling text // by Yoruk for Instructable // 26 02 15 : first code // 03 03 15 : ...
0
votes
1answer
24 views

TimeAlarms stops working when using setSyncProvider(RTC.get) DS1307

Been working on this project for some time now, like title states when I un-comment setSyncProvider(RTC.get) in the setup the program fails to get any of the Alarm.timerOnce to run. I have been stuck ...
0
votes
1answer
93 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
1answer
49 views

Pull-down resistor value for interrupts

I wonder how to calculate pulldown resistor to make interrupt work? I need to connect 5 buttons to A0 and get pressing event via interrupts. Using different resistors, finally, I made work only 4 ...
0
votes
1answer
50 views

Nano V3 values “overwritten” randomly

When I assign a global var to a certain value inside an if-block it has been changed to another value in the next statement. Somehow the address of the var is overwritten by some other process. It ...
0
votes
1answer
47 views

I2C communication is not working

I have been working on my project but I get an error and I need some advice or correction. I use I2C method to communicate between master and slave. I've got two questions: I send 7 inputs (from ...
-1
votes
1answer
21 views

TinyDuino radio connection

I am currently running a project with 2 TinyDuinos and 2 TinyShields 433MHz Radio (SI4432) in order to pass 3 axes (x , y ,z) from one to the other from long distance. I have tried to concat the ...
0
votes
1answer
42 views

Bending pins of HC-SR04 [closed]

I got a question regarding the ultrasound sensor (HC-SR04) connecting to the arduino. I have a project, and the space is really tight, so i will have to bend the pins of the HC-SR04. Is this okay to ...
0
votes
1answer
148 views

HTTP POST/ METHOD to Emoncms doesn't work

So Ive setup the emoncms on my server and posted the example power1:100…power3:300 JSON POST and it logged in my INPUTS. Now Im trying to send data from my arduino and it seems to post fine, but when ...
1
vote
2answers
86 views

Elegoo Nano timer prescaler problem

I am trying to use Timer2 on an Elegoo Nano to produce a "tick" interrupt every 10uS. My plan was to set Timer2 to CTC mode with a /8 prescaler (to get a timer clock of 2MHz from the 16MHz chip clock) ...
-1
votes
2answers
39 views

Using external battery for motor [closed]

i have a little project going on, where i want to connect vibration motors to an arduino. I found this, with example code but also found other tutorials wish use a capacitor for the motor. What is the ...
1
vote
1answer
34 views

Krida 4 ch ac dimmer triac fails to initialize from an Arduino

None of my channels initialize. I suspect a driver issue, but I have tried 2 different libraries. I have this device: Krida 4 channel connected exactly like: GND - > GND VCC -> 5V SYNC -> ...
0
votes
2answers
126 views

Connecting two Arduinos via I2C while I2C Pins A4/A5 are already in use

I have the following problem: Since the BH1750 Sensor only supports two different I2C adresses, but i need to use 6 of those sensors, i wanna use 3 arduinos, 2 nanos, 1 uno and send the data from the ...
1
vote
1answer
63 views

nrf24l01+ contradicting itself?

I have recently bought a few of these chips on boards along with some "adapter boards" which supposedly regulates the 5v to propper 3.3v with the required capacitors. So power supply shouldn't be a ...
3
votes
1answer
67 views

EEPROM size limitation issue

I am creating a test program with Arduino Nano where I can save network and password. Here is my code to start with: void SaveNetwork(String ssid, String pass){ String com = ssid + "~" + pass; ...
1
vote
1answer
64 views

My Arduino Fingerprint Sensor FPM10A is not working with an Arduino Nano with Atmega168 processor

I recently bought this Arduino Fingerprint Sensor FPM10A from Aliexpress. So, when I connected it with my Arduino Nano and uploaded the 'enroll' example and opened the serial monitor. The fingerprint ...