Most Popular
1500 questions
16
votes
6 answers
Arduino: How to get the board type in code
I want to write a sketch that can be compiled on different Arduino boards.
I want to display on the PC which board is currently connected.
This means that the user connects the PC via USB cable to the Arduino/Teensy board in which runs my sketch and…
Elmue
- 481
- 1
- 3
- 10
16
votes
6 answers
How do I resolve "avrdude: stk500_recv(): programmer is not responding"?
Whenever I try to program my Arduino UNO Rev.3, I'm seeing the following error
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not…
Evan Carroll
- 445
- 1
- 6
- 16
16
votes
4 answers
Program an ATMega328P and use it without Arduino board
I'd like to use an ATMega328P for my project, I hope to do it without the Arduino board.
I know with the Arduino IDE and an Arduino board I can program the microcontroller. However, would it be possible once I've programmed and debugged the…
George
- 169
- 1
- 1
- 4
16
votes
2 answers
Yún boot from SD card
I have an Arduino Yún, and it only has 16mb flash onboard for the Linux. I was wondering of it is possible to put a bootloader on the flash that uses the sd card as a rootfs? i want to be able to do more projects on it than those that can fit in 16…
TheDoctor
- 3,469
- 1
- 21
- 39
15
votes
3 answers
Why is the regulator very hot?
We have an LED strip connected to output 6 and is powered by the Uno board itself. Shouldn't be drawing too much current, only have 10 elements on the LED strip. While this LED strip is connected to the Uno, I noticed that the regulator is getting…
Chris O
- 339
- 4
- 13
15
votes
4 answers
My code seems to be a train wreck
I am new to programming and I thought a simple project to do would be to create an ammo counter.
I have been troubleshooting this code for several hours now, and can not figure out why my code is riddled with errors. Below is my program. Please give…
pvGuy
- 183
- 1
- 9
15
votes
2 answers
Powering Arduino with Solar Panels
Clearly, an Arduino can be powered with solar panels.
What is the most optimal configuration?
Can you recharge and discharge at the same time?
Is LiPO the best battery cache technology, or is there something more durable out there, for fielded…
0xF2
- 542
- 2
- 8
- 19
15
votes
2 answers
What are the fundemental differences of different Bluetooth modules for beginners?
I'm a beginner to microcontrollers and electronics, albeit not really to computers and programming.
Starting out with the Arduino, I came to a point whereby I'm really interested in getting my prototype to talk to a mobile device or a computer to…
Phil
- 455
- 2
- 4
- 12
15
votes
6 answers
How do I erase the memory of the Arduino Uno?
I'm just a tinkerer learning Arduino with my son and I was surprised that when I plugged the USB cord back in to the Arduino the program was still running and I thought to myself, "it's a good thing I didn't just blow anything up."
So, what's the…
Peter Turner
- 311
- 1
- 2
- 7
15
votes
8 answers
Arduino Newbie: Solderless Breadboard Alternate
I am completely new to arduino. I have created a circuit using solderless breadboard. But obviously the connections are lose or not as good as a soldered solution. So I was wondering since I am new to circuits too, what is the easiest
Saad Bashir
- 289
- 2
- 3
- 7
15
votes
2 answers
Assembly on the Arduino: IO registers
Question: What registers do I use to access the IO on the Arduino Uno when I am using assembly for programming?
Background: I was interested in practicing my assembly language skills on the Arduino (I thought it would be easier to turn LEDs on/off…
apnorton
- 533
- 1
- 5
- 22
15
votes
1 answer
Arduino IDE #ifdef
I use my Arduino IDE to either upload my sketch to a Arduino or ATTiny or ATmega328. As you know each device can have a different pinout. Does the Arduino compiler support ifdef, depending on the board I am connected to?
For example
#ifdef Attiny85
…
PhillyNJ
- 1,178
- 3
- 10
- 20
15
votes
1 answer
What is an ICSP pin?
What is an ICSP pin? I have read that it is an AVR and a tiny programming header for the Arduino, but what is an AVR and what does an ICSP pin do?
SpaceMonk
- 353
- 2
- 4
- 8
15
votes
3 answers
Can tx and rx pins on the uno be used like regular digital pins?
The uno has digital pins marked 0-13.
0 is marked as rx and 1 is marked as tx.
Can these two pins be used as regular digital pins if i am short of digital pins?
c_breeez
- 349
- 1
- 3
- 9
15
votes
2 answers
Controlling Floppy Disk Drive with Arduino
I am having problems controlling a 3.5" Floppy Disk Drive with an Arduino Uno.
I have the floppy disk drive powered with a computer power supply that is switched on, and the Arduino powered by my computer's USB. I have cut apart the ribbon of a…
jeffctown
- 153
- 1
- 1
- 6