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

HG-C 1100 measurement sensor

I am using two HG-C 1100 measurement sensor for measuring the width of the metal. In the top of the sensor I will be having the measurement value. The sensor is capable of measuring the dimensions ...
-1
votes
0answers
30 views

DC Motor Controller with Arduino Not Working

I'm working on building a drone with an Ardunio Nano, but the DC motors won't work. I tested the motors earlier and they definitely work. I'm following this tutorial: https://www.circuito.io/static/...
1
vote
0answers
28 views

RTClib.h problem

In Library Manager RTClib and DS3231 work somehow with older versions. RTC time can picked only once and then it give bullshit. Using newest versions screen is empty. In picture first time is right, ...
1
vote
1answer
39 views

Arduino Nano I2C OLED display 0.96 inches 128x64 pixels

I have a strange issue while trying to run the hello world code on an arduino nano connected to an OLED display. This is the code I used: #include <Adafruit_SSD1306.h> Adafruit_SSD1306 ...
-2
votes
0answers
27 views

How to make a chain data transfer from one microcontroller to another!

I am trying to create a chain data transfer where data is collected from one microcontroller to the next and then it transmits the data of the previous microcontroller which it collected and the its ...
0
votes
0answers
26 views

How to build a custom capacitive touch sensor without using the Arduino Capacitive Sensing Library? [closed]

The Arduino Capacitive Sensing Library sometimes doesn't produce very reliable results. Especially when I have code that is supposed to run on other ESP8266-based boards as well, because the GPIOs ...
1
vote
0answers
45 views

Model locomotive circuit review

I am building a model scale locomotive and therefore use Arduino for the DC motor, smoke generator, sound and lights. Can you help me with reviewing the circuit? Power comes from rechargeable ...
1
vote
1answer
39 views

How to add colour change to the strobe coding?

I have this strobe effect working. However, I would like to change the colour of the LEDs after each 'strobe sequence'. How can it be achieved? The code I am using is this one: // Basic code ...
1
vote
1answer
42 views

Adding an Interrupt to ATtiny45 with Arduino

I recently wrote a simple script to...we'll say, "flash some LED's" and uploaded it to an attiny45. In short, the script cycles through 3 LED's and turns them on for a specified frequency, ...
1
vote
0answers
27 views

SPI problem with Bitcraze PMW3901 sensors and Arduino NANO

I am currently trying to connect four Bitcraze PMW3901 sensors to an Arduino NANO, but I seem to have issues with the SPI. When I connect two sensors using the code below, it works perfectly: I am ...
-1
votes
0answers
30 views

Arduino programmer including default EEPROM values

I want to make an Arduino programmer, like the one described in https://github.com/nickgammon/arduino_sketches/tree/master/Atmega_Hex_Uploader_Fixed_Filename But I also want to write certain default ...
0
votes
2answers
992 views

I need a simple, low power, low cost wireless switch to transmit to Arduino

I'm looking for a very simple wireless, low-power, low-cost switch that can transmit a signal to an Arduino. Ideally, each transmitter would have a signature. For instance, let's say I had 4 different ...
0
votes
1answer
229 views

Arduino Nano Fried on Music Reactive Led Strip

I'm doing a project that involves an Arduino Nano, a sound detection microphone module and a RGB Led strip (individually adressable leds). I also bought an accumulator so I can connect everything ...
1
vote
1answer
747 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 ...
1
vote
1answer
105 views

How can I read this digital pin for Nano by using AVR's Atmel Studo?

How can I read digital pin 6 in AVR? I set the pin as input as follows: DDRD = B0100000; //this will set pin 6 as input But how can I now digital read this pin?: Another way of putting it: how can ...
5
votes
6answers
8k views

Arduino Micro just blinks, won't connect to PC

Edit - Sorry it's a Micro not a Nano I have a Micro board hooked up to an EasyDriver breakout using its 5V output to power the Micro. Today I plugged it in and instead of booting up like normal the ...
1
vote
1answer
48 views

What is the best way to assign pins to an LED Cube?

I have made an LED cube that is a 3x3x3 design and was wondering if there is way to make a function in the Arduino IDE where each the layers of LEDs can be represented by a list with 1 being on and 0 ...
2
votes
2answers
480 views

Wireless Bluetooth USB HUB using Arduino nano

I have the following problem/idea: I have a electronics workbench and a separate PC desk. Now I have a USB HUB on the workbench, but it doesn't properly work, because the USB-cable to the pc is too ...
1
vote
1answer
115 views

Arduino Nano IoT 33 Char Array size constraints

I would like to save data that I am receiving from API calls in a char array. The problem is the data is around 80KB however my Arduino IoT 33 has 32KB of memory. It will save data in a char array ...
1
vote
5answers
6k views

9x servo on Arduino Nano?

I saw this project with multiple servos: In Servo We Trust! Let's control 135 servos with a single Arduino! I wanted to miniaturize this project. BUT instead of triangles i will use SQUARES. :EDIT: ...
0
votes
0answers
21 views

Arduino Nano 33 BLE sense stopped working after sketch (which had a tflite model) uploaded [duplicate]

I uploaded a sketch to my arduino nano ble sense, and it had a rather simple ML model on it using tflite. I went through this post about various issues, non seems to match what I am dealing with. I ...
0
votes
1answer
57 views

Problem Using pins A4 and A5 for input and output I2C

Hardare used: Arduino nano ( old Bootloader ) Oled Monochrome Display ( 4 pins, 128 x 32 ) MPU 6050 Both display and MPU use A4 and A5 as I2C communication protocol, They interfere, as the MPU is used ...
1
vote
1answer
40 views

Arduino integration with VESC issue

I am trying to integrate the vesc with arduino and I am running a simple code to print the voltage and other data into the serial monitor. Below is the code for reference. When I chekc the output, it ...
0
votes
2answers
65 views

An array of existing arrays

I have a bunch of 3D arrays in the following form: byte lines[][4][2] { { {B00000000, B11110000 }, {B00000000, B11110000 }, {...
1
vote
1answer
39 views

how to use Nano instead of Uno3 to operate DC motors

OK I have the Logitech G29 Wheel and Pedal setup that I use for my Racing Sim. On YouTube there is a gentleman (amstudio) who has used motors on the Gas and Brake pedals to give some realism to the ...
0
votes
1answer
72 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 ...
1
vote
1answer
106 views

PROGMEM for IR command storage

I'm working on a code that is able to send raw data as IR signal to IR transmitter, the memory of arduino Nano is not enough to store the array in SRAM storage,so i'm about to use PROGMEM to store ...
0
votes
2answers
43 views

Where are these junk characters (from serial) coming from?

I currently have 2 Arduinos both hooked up to HC-12s and have successfully got them communicating. But I am now trying to be able to process the data sent across and store it as a variable so as to ...
10
votes
3answers
1k views

Why are the pin numbers of the diagrams and of the code different?

If I search Google for "arduino nano pin numbers", all results show that the pin number of D2 is 5. But that did not work. I searched for some sample codes, and they were 3 for D3 and 5 for ...
1
vote
1answer
145 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 ...
0
votes
1answer
1k views

Powering 8-channel relay correctly

Replication Steps: 595N shift register powered by arduino Each output on register connected to 1 of 8 relays in relay board Arduino programmed to loop over each 8, triggering 1 relay at a time ...
0
votes
1answer
193 views

File include error while using Arduino Nano

I am using the code below to interface the Arduino nano and android cell phone to enable serial communication through the USB port. I downloaded the filter library from GitHub https://github.com/...
2
votes
1answer
80 views

Latency in Websocket

I am using Websocket, for a communication from my mobile phone to a NodeMCU, and transmitting 4 channel, data, through 4 different Websocket Ports. the NodeMCU control code is here: // ============ By ...
1
vote
1answer
56 views

I can change value of only one register on 8-Bit Register integrated circuit (74hc273 / DM74LS273)?

First, please be patient, I'm not electronical person. I am learning Arduino and electronics for hobby and this is my fist time with integrated circuits. Situation: I'm want to extend the Arduino ...
0
votes
1answer
335 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
2answers
245 views

Multiplexing a piano keyboard with arduino nano

I'm trying to use a cheap keyboard with 37 keys as a MIDI controller by reading the multiplexed keys with an Arduino nano. The keys are grouped in six groups with a max of 8 keys per group. Which ...
1
vote
1answer
57 views

How to load scal factor external to the code?

We know that, we need calibration factors (scale factors) to read current sensor data (ACS758) to arduino. I am also using voltage reader using voltage divider circuit for my project. I need to build ...
1
vote
1answer
333 views
-1
votes
1answer
46 views

Arduino Sleep to conserve battery - How to intergrade it to existing sketch - HELP pls

My sketch below is simply using a touch sensor to activate a servo motor to go from from initial position 0 to 180 then back to 0. then I want the Adruino NANO to go to sleep to conserve some battery ...
2
votes
2answers
1k views

NRF24L01+ (TMRH20 library): Receiver gets blank data

I am working on sample Arduino project for communication over NRF24L01+ (TMRH20 library), everything is working fine with my example except one issue my Receiver gets message but that message is blank....
2
votes
1answer
226 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 ...
2
votes
4answers
2k views

Trouble with NRF24L01

I've been trying on and off to try and get my nrf24l01's working for some time and they never seem to work. Right now I'm just trying to turn a led on and off over the radio and it isn't working. ...
5
votes
0answers
74 views

nRF24L01 continuously reading closed pipe

I am testing communication between two nRF24L01 modules. The receiver is getting the transmitted message but is also continuously reading (null) data from a closed pipe? I am using the RF24 by TMRh20 ...
2
votes
1answer
104 views

DFPlayer Mini does not boot reliably after being powered down

For a low power project, I need to power up the DFPlayer Mini module, let it say something, and power it down again using an Arduino Nano (w/o power regulator and LEDs). In the idle time, the Arduino ...
1
vote
1answer
40 views

Can I re-purpose any GPIO pin to work as TX and RX in MKR1500 board

I am using a fingerprint sensor and a VESC which connects to the Arduino MKR 1500 board using TX and RX pins. Is there a way that I could re-purpose any other GPIO pins to behave the same?
2
votes
2answers
460 views

Unable to use analog pins as digital inputs

I want to use the analog pin A7 as a digital input pin. As stated in the Arduino docs the analog pins can be configured in the same way like any other digital pin. However, when trying to configure an ...
1
vote
1answer
269 views

led chaser fill color effect

Please help. I am learning a lot about Arduino. Most all in lightning. I am a newbie. I play with nano and LED ws2812 and use fastled library. What ask is to make effect like fill effect. For ...
1
vote
1answer
731 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
49 views

Issues porting capacitive touch code from Arduino to avr

I'm trying to port GreatScott's capacitive touch code to avr. From my understanding the timer is constantly generating a pulse via the TIMER1_COMPA interrupt and the circuit works when I test it ...
3
votes
1answer
87 views

Prevent flash cloning

I need a way to prevent someone from cloning code from arduino. Without protection it can be cloned with advdudees in 2 min. I'm using atmega328p chip on nano. In this state arduino acts as a ...

1
2 3 4 5
24