Posts tagged ·

arduino

·...

Gertboard ATmega IO vs. Arduino Pins

no comments

The printing on the Gertboard indicated the port and pin numbers internal to the Atmega microcontroller… However this is normally hidden from the user by the Arduino’s “wiring” library and rather than refer to (e.g.) Port B, bit 5, you’d normally refer to “pin 15″.

The mapping is fairly straightforward, but to help you connect wires to pins on the Gertboard, here is a handy table to let you see what the connections are:

See source:
https://projects.drogon.net/raspberry-pi/gertboard/gertboard-atmega-io-vs-arduino-pins/

Setup Arduino IDE serial monitor on the Raspberry Pi

no comments

The Arduino IDE does not understand names such as /dev/ttyAMA0.

One suggestion is to

sudo ln -s /dev/ttyAMA0 /dev/ttyUSB9

and restart the Arduino IDE.

This creates an alias to /dev/ttyAMA0 which the IDE may understand.

Source:
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=42&t=28908