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
2k views

Arduino Nano + RC522 + w5500 Ethernet Module

has anyone had any experience wiring up an arduino nano with an RC522 RFID module and a W5500 ethernet module? i can get each of them to work individually, but i cannot get them to work together. i am ...
3
votes
3answers
1k views

Calling I2C functions inside an ISR

I have an Adafruit 2.8" cap touch display, which has an interrupt pin (IRQ). I tried to use this with my Arduino Nano, but encountered a problem: When trying to get the touched point from the display ...
3
votes
1answer
3k views

Button with switch timer and reset time function + LED feedback. What am I doing wrong?

Beginner here. I´ve been trying to implement a button function timer working with millis() instead of delay as I want the button to be responsive while the timer is running. So far I´ve managed to ...
0
votes
0answers
216 views

Multiple Peristaltic pump control

I need to control around 60 different individual peristaltic pumps. I have not done anything on this scale before. So I would like to get advice on considerations that I may miss. My implementation ...
6
votes
2answers
536 views

Storage usage of methods compared to copied code

When you have really small snippets of code that are repeated several times in your micro controller program, is it better to write a method? I mean better in terms of performance and storage usage. I ...
1
vote
0answers
277 views

Arduino Nano Stops Working after Soldering [closed]

I recently got given a few CH340G Arduino Nano's and I tested them by uploading the blink sketch and they worked fine. However, I have soldered the provided header pins to two of them now and they ...
0
votes
1answer
107 views

Arduino nano and wemos sd shield

Is it possible use Arduino nano with wemos sd shield? If I can, how to I connect sd shield to arduino and what modification I need to do on library setting?
-1
votes
1answer
95 views

Linux IDE 1.0.6 & Nano: Problem with if statement [closed]

This is a basic battery monitor for a solar-powered control box. It keeps the solar panels tracking the sun. The Arduino monitors the voltage on the battery and turns on an AC-powered battery ...
0
votes
0answers
51 views

Should an Arduino Nano get power from analog pins? [duplicate]

I am measuring/monitoring the voltage of the 5 volt supply using the A6 pin of a Nano. Everything worked fine until I needed to occasionally toggle the power of the nano. Now when I remove the 5 volts ...
0
votes
0answers
154 views

Arduino SPI and I2C Combo [duplicate]

We are trying to communicate between 2 Arduino's (1 Nano and 1 Mega) and a Raspberry Pi. This communication works till we add an SPI Connection to our RFID Scanner (RC522). We ran into the problem ...
0
votes
1answer
87 views

'TCCR0B' undeclared

I am trying to compile the function in http://playground.arduino.cc/Code/PwmFrequency This produces a couple of errors sketch/setPwmFrequency.c:34:3: error: unknown type name 'byte' byte mode; ...
1
vote
2answers
2k views

Arduino I2C communication between Raspberry Pi

We are trying to communicate between multiple Arduino's (in this example a Nano and a Mega) and a Raspberry Pi. The Raspberry pi is defined as master and the Arduino's as slaves. We would also like ...
0
votes
1answer
290 views

Calculate power requirement for 64 rgb led ws2812b [closed]

Hi I am working on small project where I want to run ws2812b module via arduino and lipo battery. I have purchased 64 matrix for ws2812b from eBay and lipo battery with 500mah. I am looking to find ...
0
votes
2answers
497 views

Fast switching of high load using an IGBT [closed]

I want to control a high load with fast switching times (motorbike ignition coil) using an arduino. I found an IGBT that claims to be purpose built for that use case (ISL9V3040P3). This IGBT has an ...
1
vote
0answers
96 views

Combining mysensors with SD card (on an Ethernet Shield v2)

I'm trying to combine a MySensors network with the usage of a SD card. Currently I'm working with the SD card reader on the EthernetShield v2. The NRF24L01+ chip I'm using is also using SPI but we ...
0
votes
3answers
466 views

Voice recognition without module, is it possible? [closed]

I'm trying to figure out how to process a voice signal for simple purposes. Wherever I look people using or suggesting recognition modules for Arduino. What I'm wondering: is this possible to make a ...
0
votes
2answers
2k views

Arduino Nano, ESP8266-01 communication

In my last question I got the suggestion to get a voltage regulator to power my ESP8266, so I went out to buy one and in the end my ESP8266 turned on. Then I started wiring the Tx/Rx pins through the ...
3
votes
2answers
560 views

Arduino Nano problems with ESP8266

this is my first post here because I'm a bit lost at the moment. I currently have my ESP8266-01 hocked up to the Nano like this: The issue I'm having is that it won't even turn on, only when I'm ...
-1
votes
2answers
124 views

Whats wrong with my code?

Basically what i am trying to do is use an ir remote to turn an rgb on/off and have a few preset colors as well as being able to increase/decrease red/green/blue independently. I don't know much about ...
0
votes
1answer
141 views

Auto Fish Feeder

Good day, I am new to Arduino, but have made some nice projects work. I have a n issue with a Auto fish feeder. I have used a servo that I modified to run 360. I am having a issue when the Nano board ...
1
vote
0answers
463 views

Arduino GY273 HMC5883L Constant Value

I have a GY-273 which has HMC5883L chip(I guess). I am trying to get data I find a few codes and library(I don't have enough information about HMC5883L) but always all serial port screen there are ...
1
vote
1answer
81 views

How to use IRremote library with atmega8a

A few days ago I tested a circuit on a breadboard based on a ATmega8a with 1 MHz internal oscilator. It sould turn on and off a relay based on a IR code that is received and if it matches the ...
0
votes
0answers
258 views

Arduino GPS GY-NEO-6M No Sat and Time

I have a GY-NEO-6M-0-001 GPS module. I try to find location but there is no sat even if I try high location. Also, in serial port output, all date and time are zero. Here it is: FullExample.ino An ...
0
votes
0answers
82 views

R24 Incompatibility with TimerOne on Nano

I am attempting to build a sketch on a Nano which receives a regular pulsed signal from an NRF24L01+ board and uses the time-interval between pulses to generate a regular pulsed output generated by an ...
0
votes
6answers
417 views

Arduino self programming

I have noticed that some atmel chips can do "self programming" and I'm doing a hobbyist project where I need to change the "setting" of my arduino without code-reuploading through Arduino IDE. Is it ...
2
votes
2answers
174 views

Merging arduino code

I have a project where we need to create a virtual cane for blind people and it will have 3 functions: Pressure button when pressed will connect to an android phone through HC-06 Bluetooth modulo to ...
0
votes
1answer
98 views

The sensors don't send correct data

I try to make a weather station, but I don't understand why it doesn't work. I had tried to read a lot of the sensors but I doesn't find my errors. The code: #include "DHT.h" #include "...
0
votes
3answers
143 views

Breaking up for loop with ISR

I am curious if the following scenario is possible. EICRB |= (0<<ISC60)|(0<<ISC61); EIMSK |= (1<<INT6); ISR(INT6_vect) { myISR(); } void myISR() { digitalWrite(led_off, ...
0
votes
2answers
218 views

No Information obtained when using 2 x SoftwareSerial ports on Arduino Nano

I have a LoRa Click Module and Adafruit Ultimate GPS which both use Serial Communication. I wish to just check the initial tests with all the components in on the Serial Console. Hence I have ...
0
votes
2answers
447 views

How to connect Arduino Nano with ESP8266 and BMP180?

I have an issue with my application. Hardware used: ESP8266 Serial Wi-Fi Wireless Transceiver Module for IOT Robodyn Micro USB Compatible for Arduino Nano V3.0 ATmega168 CH340G SENSOR: BMP180 ...
0
votes
2answers
2k views

Arduino nano ATmega328p with CH341 won't upload

When I try to upload a sketch to an Arduino Nano, it stays stuck on uploading, and after a time it shows the following error code: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc2 ...
0
votes
0answers
165 views

Arduino to Arduino SPI connection

I am working on an Arduino nano V3.0 project in which two nanos need to talk to each other. The problem I am facing is that on nano the clock for SPI is on D13, the same pin where the on-board LED is ...
0
votes
3answers
67 views

How to embed a 5V-range Arduino-based controller in a 12V-range DC circuit?

We have an installation that provides: a common line (C), which divides into two wires; an input line (I), which carries the signal from a button (between I and C there's normally 0V, and 12V when ...
1
vote
1answer
210 views

Operating system on Atmel 328 Arduino?

Is it possible to use some sort of multitasking OS like ScmRTOS on Arduino based on Atmel 328 chip?
2
votes
4answers
410 views

Is there a way to shift through sensors

We are doing a project and have to use around 25 temperature sensors. Is there a way to shift through them on one Arduino similar to using a shift-register? It is a set of analog sensors in a fridge.
0
votes
1answer
38 views

How do i fill the second byte?

I am using I2C communications to control a AD5694RBRUZ (http://www.analog.com/media/en/technical-documentation/data-sheets/AD5696R_5695R_5694R.pdf) with my Arduino Nano. If i enter two bytes it wil ...
0
votes
1answer
244 views

Arduino Nano v3: is it possible to PCM + AltSoftSerial?

I wonder is it possible to change PCM.h 's lib use of 16-bit timer1 to another 8-bit? Now I'm getting libraries\AltSoftSerial\AltSoftSerial.cpp.o (symbol from plugin): In function `AltSoftSerial::...
3
votes
0answers
122 views

Hacking a Chinese Audio Selector Board: IRLib2 with Low Power Sleep Issue [closed]

I have an issue getting an arduino based hacked-board to sleep whilst performing ir remote commands properly. What am i hacking? Exactly this: tl;dr it's a 4 in 1 out audio selector with motorised ...
1
vote
0answers
129 views

ESP8266-01 system param error

I'm using esp8266-01 connected to arduino nano. Every time I tried to upload code to the esp8266 chip I get this error in the serial monitor: system param error 56 45 52 31 00 00 00 00 ff ff ff ...
0
votes
1answer
300 views

How do I properly convert a pointer (uint8_t* or void*) to a “normal” integer?

I'm writing a program for arduino that needs dynamic memory allocation frequently, but as I don't want the memory to get fragmented, I'm also writing a "memory handler" for it. This memory handler ...
0
votes
1answer
97 views

Can I use my Arduino nano to upload sketch in Uno's ATmega328p chip?

I can not upload sketch to my UNO directly. My ATmega16U2 doesn't work.But the Atmega328P processor still work. I have an arduino nano lying around. Can I use it to upload sketches to Atmega328P ...
1
vote
1answer
115 views

Water flow sensor unable to get readings

I connected my "arduino(nano)" to "water flow sensor" and wrote a code which simply prints the readings like 0-1023 and tested it. First i got the readings but now i'm not getting it. My code looks ...
1
vote
1answer
398 views

Powering a Nano with a 5v mini USB adaptor

I have made a simple temp sensing circuit that lights an LED when it reaches a certain point. It works perfectly when powered by a USB plugged in to the laptop but when I connect it to a 5V supply ...
2
votes
2answers
5k views

Use ESP-01 with Arduino Uno/Nano, with the ESP8266WiFi library

There is this library - https://github.com/esp8266/Arduino That provides a more user-friendly API for WiFi capabilities with the ESP8266. However, all tutorials that I found so far for this library ...
-3
votes
1answer
57 views

Can arduino nano board support bluetooth earphone and python for sound function? [closed]

sorry for disturb, i new and no basic on arduino language and board. Now i have a project on my hand, and with this arduino nano board, i have a ultrasonic sensor that will detect object, is it ...
1
vote
2answers
182 views

Xbee AT Commands failing. Something wrong with Serial? Tx commands working fine

The Xbee API library is working fine for TxRequests on my Arduino, but AT commands are failing every time. I've been at this for three days. It seems that there is some sort of conflict happening ...
0
votes
1answer
172 views

Arduino for kids toy with Battery (safe), Can Arduino overheat the Battery with long running code [closed]

I am making a learning toy which kids can play with and learn basics of programming. But i am tired of keep replacing the AA batteries as they run out in few days. So i am thinking of using ...
0
votes
1answer
744 views

using UART bridge module to have serial communication through usb port of arduino nano

This can be a silly question but I'm having a trouble with serial communication between arduino nano with other serial device. Please help me to handle it. I'm currently doing a RF communication ...
0
votes
2answers
598 views

How to dynamically allocate arrays

Question given in the title. I'm trying to dynamically allocate the size of an array on runtime on an arduino pro micro. I've tried realloc, malloc and the c++ variant delete and new without success. ...
1
vote
2answers
41 views

Can we use Arduino mini in eagle to create new custom modal

I want to learn pcb design in Eagle/Fritzing. So i was thinking of using existing amazing Arduino mini/nano in eagle and create a custom pcb which has all arduino capability and plus some components ...