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
vote
0answers
34 views

Is there any way to do real time voice communication via bluetooth on arduino?

Is there any way to send and play voice between two arduino projects which has connected via blutooth modules. 1st device ( sender ) : has microphone and bluetooth module to send voice. 2nd device ( ...
1
vote
1answer
54 views

Compiling Assembly Script in External EEPROM to Arduino Code

I'm working on a simple game console, and I'm planning to use a cartridge system using an EEPROM. I know that you can read and write data from an EEPROM, but can you compile the data into executable ...
0
votes
2answers
92 views

random() Function isn't random at all

I'm using the random() to generate random coordinates for coins in a simple game console. The problem here is that the random() function is not generating random numbers, since the coin is at the same ...
1
vote
0answers
48 views

Which NANO is replica and which is Original one? What is the difference [closed]

I'm newbie to Arduino and I recently bought two Nano, but they are different with each other. (I just burned the usb diode so I made it straight with red cable) The right one in fist picture has a ...
0
votes
1answer
55 views

Building a vu meter

I am building a vu meter with 2 5v neopixel rings 2 pots a headphone jack and a arduino nano will 5 volts 1 amps cut it or do I need more power FYI I'll be powering it via a DC jack once I get it ...
1
vote
0answers
140 views

Random artifacts on SSD1306 OLED screen

I'm having a really strange problem with my screen. It's connected in i2c to my Arduino Nano and I'm using a rotary encoder to navigate through a menu. At startup everything is fine, but when I change ...
1
vote
0answers
26 views

U8glib+ 7-pin SSD1306 gives moving text without explicitly specifying in code

This is my code. #include <U8glib.h> U8GLIB_SSD1306_128X64 u8g(12, 11, 8, 9, 10); void clear_screen(); const int pageCount = 1; int p; void (*pages[pageCount])() = {clear_screen}; int duration [...
1
vote
0answers
22 views

Help Convincing Wiimote a Nano is a WiiMotion Plus

I want to replace the outdated gyro in a wiimotion plus with a BNO055. Based off what I've read from wiibrew, and im currently trying to get the wiimote to recognize the nano as an extension over I2C. ...
1
vote
0answers
48 views

TFT Screen & ATMEGA168

I have a Arduinio nano and a ATMEGA168. I'm using the ST7789 library. The sample code which comes with the library runs perfectly and runs the display when using the Nano, but the same code does ...
-1
votes
1answer
27 views

[SOLVED]Normalization not working on input buffer. How to solve this?

I wrote a piece of code that takes input from a sensor which is called the World Famous Pulse Sensor from Analogue Pin 1 and stores it in an Array with 127 elements then finds the largest in it, ...
0
votes
0answers
69 views

drifting serial readings

I have a python script that continuously reads the serial port for digital thermometer reading. After a period of time, the serial reading will drift by 10+ degrees in some cases. I let it run, I ...
1
vote
0answers
37 views

two adafruit neopixel loops

i'm making a device that's kind of based on Russian roulette. I have 5 LED's that are normally white, and when you press the button one of the LED's is marked red. After some tinkering I figured out ...
0
votes
1answer
42 views

How to you initialize a reset on a sht30 digital thermometer?

I have a sht30 that will output correct temperature readings for about 5 min and then will drift off. So I'm trying to hit the reset every few seconds to keep the readings accurate. I am on a nano ...
1
vote
1answer
315 views

Exception in thread “main” java.awt.AWTError: Can't connect to X11 window server using 'localhost:1.0' as the value of the DISPLAY variable

I have tried everything on this url https://stackoverflow.com/questions/10165761/java-cant-connect-to-x11-window-server-using-localhost10-0-as-the-value-of-t session output: root@whale:/home/kermit# ...
1
vote
1answer
42 views

Incorrect DateTime value constructed

I'm working on alarm clock project using Arduino Nano (v 3.0, clone) and RTC module ZS-042 (containing DS3231 and EEPROM AT24C32). The intention is to load the hours and minutes from EEPROM on start-...
1
vote
0answers
95 views

Using AccelStepper to move a set distance while a button is held down

I'm working on a project and using a nema 23 stepper motor and driver. Need to be able to move the stepper 1/32 rotation when I press a button. I need a small delay so I have time to release the ...
1
vote
0answers
80 views

HX711 arduino Scale offset drift

I am working around with HX711 ADC and a 5kg load cell, it seems the HX711 library is some sort of mystery no one wants to reveal! Please someone explain me, I promise to keep the secret ;) Anyone ...
0
votes
2answers
112 views

Programming AT24C16 EEPROM with Arduino Nano

I have been trying to program an AT24C16 EEPROM and have set up a circuit as per the attached image. I have been using the following Arduino code: #include <Wire.h> #define disk1 0x50 /...
1
vote
0answers
43 views

Interrupts aren't working unless Serial.flush() is called first. Why? [closed]

I have a robot that has encoders attached to the motors, and I use interrupts to detect pin changes and count the number of pulses (ticks) from the encoder. I have the robot run the motors until a ...
1
vote
1answer
211 views

How to put Arduino Nano in low power sleep mode (<0.05mA)

I'm trying to put an Arduino Nano in low-power mode using this guide: Arduino Low Power - How To Run ATmega328P For a Year On Coin Cell Battery. The article suggests 3 things: use the Low-Power ...
0
votes
1answer
40 views

I am making heated socks with adjustments by Nano and want to extend batterty life?

I want to set a temperature and have Nano turn on for 2 minutes then off for 2 minutes and repeat using the same temperature originally set and have the ability to change temperature settings and do ...
2
votes
0answers
27 views

When is following code is dumped into Arduino NANO the output is not as expected after few trials

I'm a beginner of Arduino programming, when I dumped the following code into Arduino NANO board, at the first the output is as expected. But After few trials the 16*2 LCD display is getting off and ...
0
votes
0answers
66 views

Audio Amplifier won't work on Arduino Nano

I am using an Arduino Nano with these speakers and these audio amplifiers. I've tested these both on an Arduino Uno, and I've tested the Nano with other sketches and on that pin, and they both work. ...
0
votes
3answers
533 views

USB FT232 driver on M1 mini

I've scored a couple Nanos with FT232RL chips but can't see them on my brand new M1 mini. Can someone point me at how to determine whether v11.1 supports this USB chip? It appears that the device is ...
1
vote
0answers
41 views

Arduino Serial Communication possible with IDE 1.8.5 but not with IDE 1.8.13

I have the following problem: I am working with an Arduino Nano 33 IoT and a second serial interface via sercom0. The code is just taken from this tutorial: http://www.getmicros.net/serial-...
1
vote
0answers
46 views

HC-05 voltage divider

I am currently testing a small Arduino Nano project (schematic below) and have encountered issues when communicating between a HC-05 Bluetooth module and the Arduino. I am using a simple LED bulb ...
2
votes
1answer
60 views

Why are characters with value above 127 “padded” with 1s to be 16 bits long, while ones with values 0-127 aren't?

I am using the Arduino IDE to run and monitor, with an Arduino Nano clone. This code shows what I mean by the question: char foo = 127; char bar = 128; Serial.println(String(foo, BIN)); Serial.println(...
1
vote
0answers
54 views

Sync audio with color and brightness of RGB strip with aux input or mic

I need to make an RGB music sync ledstrip (a normal strip, not one with addressable LEDs). I only need to change the brightness and color in sync with the input through the aux port. If this is not ...
1
vote
0answers
60 views

Sketch runs on Uno but not on Nano? [closed]

I am very new to the Arduino world but have come up against a problem. I wish to use two Nano clones to TX & Rx a 433Mhx setup. I have copied over a simple sketch (1 for Tx, 1 for Rx) to do this ...
2
votes
2answers
59 views

If condition for switch not working as expected

I am trying to write a simple program to control one LED with two switches. If any of the switches is pressed, I want to turn the LED on. My LED however is always ON even when none of the switches are ...
0
votes
3answers
61 views

I have made a Nano send 4 pot values to an Uno please help with code

Happy New Year! So I have made a Nano send 4 pot values to an Arduino Uno over serial but I have a problem: I don't know how to separate these values. Here's the code: Master: int Pot = A0; ...
1
vote
1answer
56 views

Can arduino nano drive two circuit

I am building a robot snake with a bunch of servos and ov7670. As I see, ov7670 operate with 3.3v and servos needs 5v. I will use Lipo battery for servos for this I need to connect ground pin of ...
1
vote
2answers
112 views

Arduino freezing frequently

I'm using an Arduino Nano for programing an automatic hand sanitizer that has a thermometer. But after running for some time the board freezes and only restarting can solve the issue. While checking ...
1
vote
0answers
64 views

IRremote sending only works once with Arduino Nano

I am trying to control a receiver, wich is not working. I believe i have to send the code at least three times... but after the first time the IR Led stays off. I am using the Arduino Nano with the ...
0
votes
1answer
51 views

7 segment 4 digit not showing numbers 2,3 and 0

https://www.instructables.com/Using-a-4-digit-7-segment-display-with-arduino/ I used this link to make my circuit and I used this code also but some numbers like 2,3 and 0 doesn't display correctly.
1
vote
0answers
155 views

Arduino Nano Every Vin 5V fixes I2c problems

I had problems with connecting my devices via I2C. The "requestfrom" constantly hanged and the endtransmission sometimes gave NACK responses. After disconnecting the devices from 12V and ...
1
vote
1answer
242 views

SIM800L module on Arduino nano

I am trying to get Arduino nano and SIM800L module working together. I provided the module with the recommended external voltage of 4.0V (documentation states 3.6V - 4.2V) transformed via LM2596. The ...
3
votes
1answer
1k views

How Do I Control the Onboard LEDs of My Arduino Nano 33 BLE Sense?

I picked up my Arduino Nano 33 BLE Sense for the first time in a while and ran the classic "Blink" sketch to make sure it was alright. After slight usage, I wanted to play with the onboard ...
0
votes
1answer
52 views

Conflicting pins between the PCM library and speaker and the NRF24L01

The PCM library uses pin 11 and the NRF24L01 also uses pin 11. I am using an Arduino nano, and don't know if there is any way to change the pins of either the speaker or the transceiver. https://...
0
votes
1answer
148 views

Sending 4 analog values from one arduino to another with I2C

I have modded a cheap drone controller to output its joystick values to an Arduino Nano. I made it to output its 4 pot values using I2C to another Arduino don't ask why. So my problem is that I need ...
3
votes
0answers
56 views

Keypad - Speaker - Interference

I am trying to build a system, that plays specific audios (.wav files) from a SD-Card, according to the key combination that has been pressed. I am using: 4x4 Membrane 4 Ohm Speaker MicroSD Card ...
3
votes
1answer
222 views

Extend program space by getting rid of bootloader on NANO

I just have a complex program that runs on a NANO. Now when I use my printlns for debugging I am running out of memory. I read about using a programmer to get rid of the bootloader that uses 2K space ...
0
votes
1answer
298 views

Troubleshooting WS2812b LED strip with toggle on/off button

I have a very rudimentary setup with an arduino nano, an LED strip, a pushbutton and a resistor. I was trying to use the pushbutton as a toggle, using this code #include <stdio.h> #include <...
-1
votes
2answers
59 views

Problem understanding how to program DS3231 RTC

I need to send a pulse to an Arduino at every one hour. I don't need day, month, year etc. I just want a pulse from DS3231 at every 1 hour through the square wave pin. https://github.com/...
0
votes
1answer
97 views

The PCM libary won't work on an Arduino Nano

I'm using the PCM(http://highlowtech.org/?p=1963) library on the Arduino nano, I'm plugging the speaker(https://www.amazon.com/gp/product/B07WZP4QFK/ref=ox_sc_act_title_3?smid=A2O4FZXIRZDLHA&psc=1)...
1
vote
0answers
60 views

Arduino Nano IOT 33 port won't show up

I run my Arduino Nano IOT 33 after double clicking the reset button and it works fine. However, as soon as I upload code to it, I cannot open the serial, see the port, or connect my blynk app to it. ...
1
vote
0answers
67 views

Unable to correctly read CSC GATT data with ArduinoBLE on a Arduino Nano 33 IOT

I've set up a Nano 33 IOT as a central device and I'm attempting to read the data from a Cycling speed and cadence BLE device. The spec for the CSC Gatt service I want is: https://www.bluetooth.com/wp-...
3
votes
0answers
133 views

nRF24L01+ problem with receiving response

I'm sending currently data from a Raspberry to an Arduino, but I have a problem with receiving response from the Arduino back to the Raspberry: Sent the message: ['H', 'i', '.', '.', 'A', 'r', 'd', '...
2
votes
1answer
156 views

Trouble obtaining values from Nextion screen to Arduino

Currently I have a setup running an Arduino BME 280 sensor and a 4.3" Nextion screen. What my program does is sent all the calculated values from the BME to numbers and progress bars in my ...
1
vote
1answer
53 views

How the light brightness stays constant when we increase the frequency of stroboscope

Well I am trying to make a Stroboscop. I found this code at blow: and tried. It works normally. But if I increase the RPM so decrease the "strobeDelay" time, the brightness of the LEDs goes ...

1 2
3
4 5
24