Skip to content

Wrapper for running basic Arduino libraries on Raspberry Pi

Notifications You must be signed in to change notification settings

AllexVeldman/ArdPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArdPi

Wrapper for running basic Arduino libraries on Raspberry Pi

Initially created for using the RC552 NFC Reader/writer library for Arduino on the Raspberry Pi running Raspbian.

To enable SPI on Raspbian:

Run sudo raspi-config and enable SPI in the advanced menu.

Add these to your program: hardwareSerial Serial; hardwareSPI SPI;

You're good to go.

Remember to run your program using sudo, the GPIO and SPI need root access.

Pinout:

  • MISO GPIO9
  • MOSI GPIO10
  • CLK GPIO11

Examples:

  • CS GPIO8
  • RESET GPIO25

About

Wrapper for running basic Arduino libraries on Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages