{"repo":"wallysalami/tkgpio","free":true,"listed":false,"github":"https://github.com/wallysalami/tkgpio","clone":"git clone https://github.com/wallysalami/tkgpio.git","description":"A Python library to simulate electronic devices connected to the GPIO on a Raspberry Pi, using TkInter.","language":"Python","stars":99,"topics":["raspberry-pi","tkinter","education","python"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"tkgpio A Python library to simulate electronic devices connected to the GPIO on a Raspberry Pi, using TkInter. About Due to the Coronavirus outbreak in 2020, students enrolled in my Microcontroller course could not use the laboratory. So I decided to build a Raspberry Pi circuit simulator, to make remote class activities possible. And it works pretty well! The main goal here is to enable students to use the same APIs that control physical devices connected to the GPIO, but interacting with a GUI instead. I'm not worried about creating a realistic electronic simulation. Since we were already using Python to program on Raspberry Pi, I've built the interface with TkInter. Some libraries (like gpiozero) allowed me to easily mock the devices in the GUI. In other cases, I had to reimplement the API inside the library – but since I can temporaraly add folders to Python's PATH, import commands keep working exactly as the original ones. TkGPIO currently supports the following devices: - Some gpiozero components (more coming soon) - LED / PWMLED - (Active) Buzzer - DC Motor - Servomotor - Push Button - Toggle Switch - Distance Sensor (HC-SR04) - Light Sensor (LDR) - Motion Sensor (HC-SR501) - Potentiometer (via MCP3xxx chip) - LCD display (reimplementing Adafruit CharLCD API) - Only message and clear methods are supported for now (more coming soon) - Infrared emmitter (reimplementing py irsend API) - Infrared receiver (reimplementing python-lirc API) TkGPIO also supports labels with te","default_branch":null,"files":null,"tree":[],"storefront":"/r/wallysalami","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wallysalami/tkgpio/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}