[RPI3] Connect to HW world

To use Raspberry Pi to control other hardware rather to work as a microcomputer, one need to connect it through GPIO port.

After connect addition HW to GPIO port, it’s a need to create a software to control it.

in order to control the PIN on GPIO port, it required a DRIVER

There are 2 main driver can be found (free + easy to use). There should have more DRIVER but it will be out of SCOPE now.

  • RPi.GPIO – Python
    • need to be superuser before able to activate this library
    • in older version, every time to run python with this library, it need to input the password
    • in RPi3, jessie, there is such a need. so, it seems easier to use
  • WiringPi

 

for RPi3, it seems that RPi.GPIO has been install out of the box.

in order to check it present and version

  • open Python IDLE
  • import to check its presence
  • if presence, run command to get its version
  • 2017-05-14-145257_618x232_scrot
  • if not presence, you can try to download it from
  • 2017-05-14-150234_969x694_scrot

 

Reference:

 

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply