Difference between revisions of "Arduino"

From ThorstensHome
Jump to: navigation, search
(Next step)
(Questions)
Line 50: Line 50:
 
* why does the thing (I guess it is a turnable resistor) not fit into the Arduino board?
 
* why does the thing (I guess it is a turnable resistor) not fit into the Arduino board?
 
* what is the name of the one board and the other board?
 
* what is the name of the one board and the other board?
 +
* why are the ports on the Arduino some labeled with a tilde ~ others not: RX0, TX1, 2, ~3, 4, ~5, ~6, 7, 8, ~9, ~10, ~11, 12, 13?
  
 
= See also =
 
= See also =

Revision as of 10:26, 3 June 2012

I got an Arduino Uno for my birthday. Documentation is poor, here I try to get it working.

Contents

What it is

When I got the Arduino Uno I did not know what it is. Here is how it looks:

Arduino-all-200.png

The documentation just says "Thanks for supporting Arduino", that it is open-source, environmentally friendly and has limited warranty.

SUSE Linux 12.1x64

  • use a computer with SUSE Linux 12.1x64. If you do not have it, use a virtual machine.
  • download the software
  • unpack it
tar xvzf Downloads/arduino-1.0.1-linux64.tgz 
  • call arduino:
cd arduino-1.0.1/
./arduino 
  • select file -> examples -> basics -> blink -> upload
  • you see the LED on the Arduino blinking

FedOrA

trying with avrdude

  • use a computer with FedOrA 16 x32. If you do not have it, use a virtual machine with a 20 GB harddisk
  • connect the arduino to USB
  • open a console
  • enter
yum install uisp avr-binutils avr-gcc avr-libc
yum install avrdude
  • Now I try to erase the device, but it does not work:
avrdude -c stk500v2 -P /dev/ttyACM0 -e -p atmega128
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
maybe the -p atmega128 is wrong

trying with Arduino's software

./arduino
  • select file -> examples -> basics -> blink -> upload
  • get an error "port com1 not found"
  • now as root it worx!

Next step

Reading http://arduino.cc/en/Tutorial/Tone3 I get Arduino is for controlling attached electronics like speakers. So I get this board and make traffic lights.

Questions

  • why do the LEDs have legs with a differing length?
  • why does the thing (I guess it is a turnable resistor) not fit into the Arduino board?
  • what is the name of the one board and the other board?
  • why are the ports on the Arduino some labeled with a tilde ~ others not: RX0, TX1, 2, ~3, 4, ~5, ~6, 7, 8, ~9, ~10, ~11, 12, 13?

See also