As we all know raspberry motherboard CPU than Arduino MCU used in the more sophisticated. It by BGA encapsulation, and also directly above the fold on the CPU DDR memory.If not careful in doing experiments short-circuit the GPIO, the motherboard can be fatal, CPU if burned raspberry motherboard will be very difficult to repair. In view of the current hot Raspberry Pi motherboard, DFRobot launched a new generation of latest Rasperry Pi GPIO Extension Board raspberries pie GPIO adapter plate, for many customers reflected in the prototype when burned motherboard, DFRobot protection design for all IO.
- Supply 3.3v and 5v voltage output
- Bidirectional Voltage-Level Translator GPIO protection board
- Converte voltage level between 3.3v and 5v for GPIOs,SPI,I2C and Serial port
- Compatible with most of Arduino sensors as well as protecting the Raspberry Pi GPIO pins from voltage spikes and static discharge
- Directly compatible Breadboard for prototyping
- Dimension: 5cm x 4cm x 2cm
How to drive a LED using GPIO Extension Board and breadboard
Note:WiringPi includes a command-line utility gpio which can be used to program and setup the GPIO pins. You can use this to read and write the pins and even use it to control them from shell scripts. More information about wiringPi, please check http://wiringpi.com/download-and-install/
The code below will be used to drive and blink the LED every 1s via GPIO Extension board.
#this is linux shell script #blink.sh using wiringPi library PIN=6 gpio mode $PIN out while true; do gpio write $PIN 1 sleep 1 gpio write $PIN 0 sleep 1 done
Install WiringPi Library
> sudo apt-get update > sudo apt-get install git-core > sudo git clone git://git.drogon.net/wiringPi > cd wiringPi > ./build
> gpio -v > gpio readall
For more details about the Raspberry Pi Shield:Raspberry Pi Meet Arduino Shield SKU:DFR0311
Get Raspberry Pi GPIO Extension Board SKU:DFR0312 from DFRobot Store or DFRobot Distributor.
Category: DFRobot > Raspberry Pi > Raspberry Accessories
category: Product Manual category: DFR Series category: Modules category: source