Most Popular

1500 questions
8
votes
1 answer

Two batteries sharing ground?

I need to power my arduino and 2 DC motors requiring 6V each, I want to power the DC motors with a 6V battery through the vM pin on an h-bridge and use a 9V battery to power the Arduino itself. On my breadboard I have a dedicated power line and…
Kartashuvit
  • 83
  • 1
  • 3
8
votes
4 answers

ATtiny85. How do I burn a bootloader? What is the process?

I want to use all six I/O pins of an ATtiny85, that means also using the reset pin as an I/O pin, however, I found out that if I disable the RESET pin, I can no longer program the ATtiny using an ISP programmer. However, I found out that there are…
Calin
  • 243
  • 1
  • 3
  • 9
8
votes
3 answers

Make an Arduino board act as both a usb storage device and a keyboard?

I am making an interface project that, when plugged into a computer, shows up as both usb flash storage and can type like a keyboard when some physical buttons on the board are pressed. I have seen projects that do one or the other, but not both at…
teasub
  • 81
  • 1
  • 2
8
votes
3 answers

softwareserial between arduino uno and esp8266

I have an Arduino UNO and HUZZAH ESP8266 module. I need to send data between Arduino UNO and ESP module via Software Serial. Right now I have the ESP module write data and Arduino UNO display data, but not working. When I run the Arduino UNO and…
Marquinio
  • 183
  • 1
  • 1
  • 6
8
votes
1 answer

How to generate hardware interrupt in mpu6050 to wakeup arduino from SLEEP_MODE_PWR_DOWN mode?

I am using Arduino UNO and has kept in SLEEP_MODE_PWR_DOWN mode & want it to wakeup using MPU6050 hardware INT pin (which should send a signal when MPU is in motion). I have used the article…
bandejiya
  • 307
  • 1
  • 4
  • 12
8
votes
6 answers

Over-the-air upgrades?

I'd like to be able to upgrade software on an arduino without physically touching the device or stringing a cable. Can it be done? Will pick wireless protocol that makes that easiest.
Johannes Ernst
  • 181
  • 1
  • 4
8
votes
5 answers

When Raspberry Pi is preferred over Arduino

We are doing some projects in class. One of my friends is doing a weather and humidity station using raspberry Pi with a couple of sensors and LCD. I have a little experience in Arduino. So I asked her, why doesn't she do it using an Arduino? She…
Meenie Leis
  • 203
  • 2
  • 7
8
votes
2 answers

Performance of internal vs external resistors

Is there any significant performance trade-off between buttons wired with the internal vs external pull-up/down resistors? I see a lot of tutorials demonstrating the use of external resistors when wiring a simple button, like this and this. But…
Cerin
  • 1,688
  • 2
  • 28
  • 44
8
votes
2 answers

Arduino IDE fails on Fedora with arduino-builder error "Parameter 'tools' is mandatory"

The arduino-builder app when invoked directly with parameter --tools /usr/bin works, but the IDE fails with the error in the title for any sketch (including the Blink example). I've tried adding things to preferences.txt…
goldilocks
  • 381
  • 3
  • 13
8
votes
3 answers

Are there any reasons to pick Nano over Micro?

Nano is from 2008, and micro from 2012. Micro seems better on every parameter, in particular in having a better (I think) microcontroller, ATMega32u4, over ATMega328P. However, all the shops I've checked out, both local and online, sell the Nano,…
Mads Skjern
  • 1,135
  • 3
  • 13
  • 23
8
votes
3 answers

Arduino ESP8266 direct/fast control of the digital pins

How does one control a digital pin directly avoiding the slow digitalWrite or digitalRead?
qubit
  • 370
  • 1
  • 4
  • 11
8
votes
1 answer

What good designs are available for Geiger counters using an Arduino?

Are there any good circuit designs for Geiger-counter projects using an Arduino? If so, what Geiger-Muller tubes should I choose to detect different types of radiation?
sempaiscuba
  • 1,042
  • 9
  • 21
  • 32
8
votes
6 answers

how fast does loop() run in Arduino

Hi I am using Arduino Nano to gamify my experience on Unity3D. I know that Update() in Unity3D runs every frame per second but I because I'm not an electronics guy I don't know how loop() function runs on Arduino. Does it depends on number of CPU…
8
votes
2 answers

Power supply voltage confusion

I just ran into this article: Arduino: What adapter?. It says that the external power supply should be 9-12V. That really surprises me, since my Arduino Uno can also be powered via USB, which is 5V. Later he talks about a 9V pin. But I can only see…
Mads Skjern
  • 1,135
  • 3
  • 13
  • 23
8
votes
2 answers

Burning sketch with I2C

Not a pure Arduino question really. I'm actually using a standalone ATmega168. So far I've been using AVR-ISP programmer (working from AVR Studio) to program the chip. After everything is done, the chip will be covered and I will only have access to…
tsf144
  • 243
  • 1
  • 9