Skip to main content
37 votes
Accepted

How do interrupts work on the Arduino Uno and similar boards?

TL;DR : When writing an Interrupt Service Routine (ISR): Keep it short Don't use delay () Don't do serial prints Make variables shared with the main code volatile Variables shared with main code may ...
Nick Gammon's user avatar
  • 38.4k
6 votes
Accepted

How to power my Arduino mini using wall socket?

I have connected the Relay and IR receiver directly to the Arduino mini. Pin 10-14 are used for the relays Ins and PWD 3 for IR output. I hope you don't mean that you have connected the coils of ...
Enric Blanco's user avatar
  • 2,114
2 votes

Ping IP address using ESP8266 connected to Arduino

This answer does not answer your question, but it implements the device you are describing. Unfortunately I don't have enough reputation to comment, so I will post it as an answer. As people said ...
3244611user's user avatar
2 votes

Store floats in and reading them from flash

I realize that the OP asked about a single value, but I thought I'd add info on retrieving from an array. const float pmdata[] PROGMEM = {1.0, 2.0, 3.0}; then retrieve thusly: float val = ...
dlchambers's user avatar
2 votes

How to power my Arduino mini using wall socket?

The Arduino website says you should not power your Arduino Mini with more than 9 volts. Warning: Don't power the Arduino mini with more than 9 volts, or plug the power in backwards: you'll ...
RCBV's user avatar
  • 31
2 votes

Error while uploading the sketch for Arduino Mini

On Uno and other boards with USB on board, for flashing the IDE resets the Atmega to bootloader, sending signal over USB. Mini has not an build in USB and you connected it with an USB to TTL cable. ...
Juraj's user avatar
  • 18k
2 votes
Accepted

Send an multidimensional array of values from one arduino to another through serial port

Use two for loops to send the multidimensional array, and two for loops to receive the multidimensional array. Sending: int a[3][4] = { {0, 1, 2, 3} , {4, 5, 6, 7} , {8, 9, 10, 11} }; ...
Michel Keijzers's user avatar
1 vote

Can not burn arduino pro mini 8 MHz bootloader with usbasp

The problem was related to crystal. When I changed to another crystal (different part number), it worked.
adeel asif's user avatar
1 vote
Accepted

Synchronizing an internal frequency to an external one

You could use the input capture feature of Timer 1 to timestamp the edges of the reference input signal. This way you can compute the period of the input relative to the CPU clock, compare to the ...
Edgar Bonet's user avatar
  • 43.3k
1 vote

Arduino Pro Mini PWM issue

Thanks to comments I received from several people here I quadruple checked the wiring and eventualy found the problem. My recent Arduino Uno tests were done on a breadboard, but I had the Pro Mini ...
Aleš Kovářík's user avatar
1 vote

SIM7600 A-H not responding directly when connected through pins

The SIM7600 UART interface works with 1.8 levels: I'm guessing that the AND board has a level shifter from 3.3 to 1.8 to work with the 7600. Since your Arduino Por Mini is a 5V board your UART levels ...
Gusprez's user avatar
  • 11
1 vote

SIM7600 A-H not responding directly when connected through pins

Is your issue resolved? If not... I'm using the same module and having the same problem. Jump the resistors on the R and T pins on the module, they seem to be introducing high impedance on the line. ...
Neko3's user avatar
  • 11
1 vote

Communication with sensor KMX63 in I2C

I finally found where the problem was, i had made a error on the reading of the schematic of the evaluation board. I thought that the pin J1-9 was already wired in intern but it was wrong. I wired it ...
Maxence Ginet's user avatar
1 vote
Accepted

Cannot use radio transmitter after switching to LowPower library

I've never tried this, but if you are putting the Arduino to sleep I would expect it to cut power to the devices (does it?) if it does then after a 30 minute sleep I would expect the devices to come ...
Code Gorilla's user avatar
  • 5,637
1 vote

Why is Arduino Pro Mini not powering this LED?

This was my mistake. I had attached the Arduino to the breadboard by pushing in the provided pin strips, and then putting the mini on top of those, assuming that since the pin was through the hole and ...
Don's user avatar
  • 43
1 vote
Accepted

using pull-up resistors with A-star 32u4 on putput pins?

You always should use a resistor. Simply the following schematic should be used. The resistor value can be calculated as follows: (V + Vfwd = I * R) => R = (V + Vfwd) / I V is 5.0 V Vfwd is the ...
Michel Keijzers's user avatar
1 vote

Clamping 9-volt input to 8-volt?

I would make sure first that their claim ofb8v max is right. Look up the datasheet for the regulator and go from there. If you have to go with 8v max, put a diode or two, or an led in serial should ...
dannyf's user avatar
  • 2,770
1 vote

Programing a Mini 05 without a USB-to-serial converter

You can use the Mega. The only reason for "removing the chip from the board" is to disable it so it doesn't respond to the serial data - you can also disable it by just connecting the RESET pin to GND....
Majenko's user avatar
  • 105k
1 vote
Accepted

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

From https://www.arduino.cc/en/Main/FAQ#toc8: I want to design my own board, what should I do? The reference designs for the Arduino boards are available from their specific product pages. They're ...
per1234's user avatar
  • 4,178
1 vote
Accepted

Can't upload to Arduino Mini via Arduino USB 2 Serial Converter

The Arduino USB 2 Serial converter was defect (even though brand new). I bought a cheaper (7 Euro) FTDI to USB and I can now upload.
Ariel Weinberger's user avatar
1 vote

Qduino Mini bricked?

Ok strange, just after posting this the qduino decided to flash a different light on me so I try to upload again and it works... So apperantly just by keeping the qduino connected for some time it ...
Tristan Andersen's user avatar
1 vote
Accepted

How to use setModemRegisters in RF24

ModemConfig * config is a pointer to a ModemConfig struct. You need to create a ModemConfig struct, populate it then pass a pointer to it in the call to the setModemConfig() function. Something like ...
KennetRunner's user avatar
1 vote

Programming an Arduino Mini 05

Try to reset manually just after compiling end
user30878's user avatar
  • 112

Only top scored, non community-wiki answers of a minimum length are eligible