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

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
14 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 ...
0
votes
0answers
16 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 ...
0
votes
0answers
32 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
31 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
33 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 ...
0
votes
0answers
30 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
33 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
28 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
17 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
42 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
0answers
14 views

Some SIM800L commands do not work

I'm working on a simple project using the SIM800L and the arduino nano. Since the SIM800L requires up to 2A, I've tried a variety of different power solutions in order to provide enough current (...
0
votes
0answers
37 views

Arduino nano freezes after running for hours or day

I have designed a project to drive stepper motor using DRV8825 module and controlled by Arduino Nano. First, I used an Arduino Uno R3 to control the driver. Everything ran perfectly as expected. but ...
-1
votes
0answers
24 views

Arduino Pro Micro with SD card

I have Arduino Pro Micro and I want to use an SD card reader with no voltage regulator (since SD card reader with no voltage regulator is small). My project is small so I can't use the SD card module ...
0
votes
3answers
57 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
31 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
25 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
57 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
31 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
17 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
58 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
37 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
0answers
48 views

How to control which led will light up in matrix?

Can I decide which LED to light up in matrix? I'm using I2C method and 74154, 74134 and inversor for my project. Through trial and error I can only light up all my LEDs. I need help with x axis and y ...
0
votes
0answers
38 views

Why is my thermocouple always returning 0?

This sketch should read the temperature from a thermocouple through SPI, but instead it always returns 0 no matter what temperature the sensor is at. I know the sketch is not complete, but I dumbed it ...
0
votes
1answer
49 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
42 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
19 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
39 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
84 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
71 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
37 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
25 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
103 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
61 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
52 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
47 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 ...
0
votes
1answer
49 views

Arduino sketch not uploading to Arduino Nano [duplicate]

Port is detected and selected but sketch is not uploading to it. I am getting error: avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53 Copyright (c) 2000-2005 Brian Dean, ...
0
votes
1answer
52 views

Can't write to serial immediately from PC to Arduino nano via pl2303 usb to ttl converter

Goal: I am trying to send some characters to Arduino through serial from PC via a Prolific PL2303 USB to TTL converter(Chinese clone). I have wrote a simple sketch(attached bellow) which should ...
3
votes
2answers
140 views

Could I Connect many Arduino Nano boards together?

I want to know if I could connect many Arduino Nano boards together (Example : 10 boards ) , Also i want to know if there is any problem in Communication between them using I2C , could this affects ...
0
votes
1answer
23 views

Unable to receive data when using multiple SoftSerial on Arduino Nano

I am trying to use several (four) software-based serial ports to talk to different peripheral hardware. However, I am unable to receive data through the SoftSerial when using more than one software ...
0
votes
0answers
50 views

Sending data with SoftI2CMaster causes LCD to turn off

I am currently trying to use the library SoftI2CMaster to send data to an I2C LCD screen from my arduino nano using pins D2 and D4. The SoftI2CMaster scanner program detects my display, but whenever I ...
0
votes
1answer
38 views

Arduino OBD connection

I am using this code on a arduino nano and works fine. #include <LiquidCrystal.h> LiquidCrystal lcd(8, 9, 4, 5, 6, 7); // select the pins used on the LCD panel #include <OBD2UART....
2
votes
1answer
119 views

How to connect an Elegoo Nano to a Raspberry Pi and program it?

I own an several Elegoo Nanos and a Raspberry Pi. I would like to connect an Elegoo Nano to the Pi and upload nanpy onto the board and control it's GPIO pins. I have plugged the nano into the Pi and ...
1
vote
1answer
55 views

Flickering LED when servo moves

I just got to play around with Arduino lately so I'm really new on this stuff and sorry for the grammar error. I got a work where I need to turn the LED on all the time, my plan is to add a slow fade ...
0
votes
1answer
51 views

Determining direction from IMU accelerometer data

I am learning how to integrate sensors on arduinos and read their data. My ultimate purpose is to place the IMU on a robot and use it in determining the robots location in an environment. Using the ...
-2
votes
1answer
43 views

How to power an arduino nano [closed]

I am trying to power an Arduino nano connected to an LCD screen. I want it to work without connecting it to a computer. Please let me know if the connections aren't clear in the photos. I have a 5&...
0
votes
0answers
35 views

Fastest communication between two arduinos wirelessly

So there are several options including radio frequency and Bluetooth but both seem slow. I need a wireless way to communicate between two arduinos. The values i need to send don’t matter i will choose ...
0
votes
3answers
44 views

Read analog port set as output

I have a PWM analog port that is outputting a frequency, is it possible to do an analogRead on the same pin and get a correct value? If so, will reading that port disrupt the freq output on the pin? ...
0
votes
1answer
136 views

Problem Uploading to the Arduino Nano board [duplicate]

]2I am using an Arduino Nano board. It has an ATmega 328P processor. For running the codes I use Arduino 1.8.6 Software. The issue is that when I am uploading my sketch to the board it shows me the ...