Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 359

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.

2 votes

Arduino self programming

You can write to the non-volatile memory of the microcontroller and then read it again during setup. Another (perhaps simpler) option is to have an external eeprom chip in a socket to hold the setti …
ratchet freak's user avatar
4 votes

How to use digital pin as ground?

There is no need to separate grounds, you can connect all grounds together. In fact they are connected together on the board itself.
ratchet freak's user avatar
3 votes

how fast does loop() run in Arduino

the instructions between the end of loop() and the next run of it are a ret, jmp and a call. You can consider the main function to be effectively: void main(){ init(); while(1) loop(); } …
ratchet freak's user avatar
0 votes

Breaking up for loop with ISR

Turn the loop into a state machine instead. Wrap the entire loop body in a switch. Every time you have a delay(t); make it a target for a case label and replace it with startTimeout = millis(); c …
ratchet freak's user avatar
1 vote
Accepted

How to dynamically allocate arrays

serial.println doesn't work that way. Or more precisely + with string literal and an int does not create a concatenated string. Instead it treats the string literal as a char* and then does pointer ar …
ratchet freak's user avatar
3 votes

Calling I2C functions inside an ISR

The better way to do it would be to set a volatile flag in the ISR and handle that in the main loop. This relies on you making sure the main loop never blocks so the flag can be check often. volatil …
ratchet freak's user avatar
0 votes
Accepted

Arduino Nano + RC522 + w5500 Ethernet Module

If both modules use SPI then they should each have a separate pin connected to the slave select. This lets you select which module you are talking to every time you start a communication. If the modu …
ratchet freak's user avatar
0 votes
Accepted

Rfid reader and SD card shield won't work together

SD cards (or really their breakout boards) don't tend to obey the rules with regards to SPI. In particular the MISO pin isn't set to high impedance when the slave select is not selected. You can fix …
ratchet freak's user avatar
3 votes

Interrupts Problem with Flow sensor

A lot of peripheral libraries requires interrupts to be enabled, especially when they use timing or the I2C/SPI pins. Instead of disabling interrupts for the majority of the sketch, what you want to d …
ratchet freak's user avatar
2 votes

Connecting two Arduinos via I2C while I2C Pins A4/A5 are already in use

You can make the nanos use software I2C to isolate those I2C buses from the UNO's I2C bus. Then have the UNO be the master on it's own bus, requesting the data when needed. Though if you go for softw …
ratchet freak's user avatar