Skip to content

Xilinx/PYNQ_Peripherals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PYNQ Peripherals

This repository contains drivers for Arduino, PMOD, Grove and Raspberry Pi peripherals supported on the recommended PYNQ-Z2 board. Each peripheral driver comes with Jupyter notebooks which show how to use it. Application notebooks can be developed solely in Python using the Python API provided for each driver. The repository also contains a command line interface tool to generate peripheral driver templates for new peripherals. Peripheral drivers are developed on-board in Plain C and the tools will export the Python API for the driver. Please refer to CONTRIBUTING.md for details on how to develop new peripheral drivers.

All notebooks in this repository are listed below:

Grove Modules

Name Link to notebook Link to module
Grove I2C ADC Notebook Click Here
Grove I2C Barometer Notebook Click Here
Grove buzzer Notebook Click Here
Grove I2C Gesture Notebook Click Here
Grove I2C IMU Notebook Click Here
Grove Thumb Joystick Notebook Click Here
Grove RGB LED Stick Notebook Click Here
Grove LED Bar Notebook Click Here
Grove Light-Gesture-Color-Proximity sensor Notebook Click Here
Grove Light sensor Notebook Click Here
Grove Line Finder Notebook Click Here
Grove I2C OLED Notebook Click Here
Grove PIR Notebook Click Here
Grove Slide Potentiometer Notebook Click Here
Grove Relay Notebook Click Here
Grove Servo Notebook Click Here
Grove Temperature sensor Notebook Click Here
Grove Ultrasonic Ranger Notebook Click Here
Grove Water_sensor Notebook Click Here

Non-Grove Modules

Name Link to notebook Link to module
Geared Motor Module Notebook Click Here 1 Click Here 2
Sparkfun Environment Sensor Notebook Click Here

Installation

To install the notebooks run

sudo pip install git+https://github.com/Xilinx/PYNQ_Peripherals.git
sudo pynq get-notebooks pynq_peripherals -p $PYNQ_JUPYTER_NOTEBOOKS

in your jupyter-notebooks folder.

Example Projects

Name Link to notebook
Plant Monitoring System Notebook
Room Control System Notebook
PYNQ Pattern Generator LED string Notebook
Voice Enabled Room Control System Notebook
Automatic Door Control and Motion Logger Notebook
PYNQ Car using DFROBOT Turtle Notebook

Contributing

Contributions to this repository are welcomed. Please refer to CONTRIBUTING.md for details on how to contribute new peripheral drivers.

License

Copyright (C) 2021 Xilinx, Inc

SPDX-License-Identifier: BSD-3-Clause