Editing Raspberry Pi
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 59: | Line 59: | ||
<br/> HW: https://www.raspberrypi.org/help/noobs-setup./ | <br/> HW: https://www.raspberrypi.org/help/noobs-setup./ | ||
<br/> JW: https://www.raspberrypi.org/documentation/installation/noobs.md | <br/> JW: https://www.raspberrypi.org/documentation/installation/noobs.md | ||
− | |||
<br/> SF: The simple three-step wizard we talked about: https://www.raspberrypi.org/software/ | <br/> SF: The simple three-step wizard we talked about: https://www.raspberrypi.org/software/ | ||
Line 67: | Line 66: | ||
<br/> CR: https://fedoramagazine.org/raspberry-pi-zero-gpio-fedora/ | <br/> CR: https://fedoramagazine.org/raspberry-pi-zero-gpio-fedora/ | ||
<br/> HW: https://webnist.de/raspberry-pi-zero-gpio-pins-ueber-den-desktop-steuern/ | <br/> HW: https://webnist.de/raspberry-pi-zero-gpio-pins-ueber-den-desktop-steuern/ | ||
− | |||
<br/> SF: With the gpiozero library you will by default want to reference the pin number as in GPIOx where x is the pin you define in software. Example: LED(5) in software; connect to GPIO5 on the Pi Zero header. (see also: https://gpiozero.readthedocs.io/en/stable/recipes.html#pin-numbering) | <br/> SF: With the gpiozero library you will by default want to reference the pin number as in GPIOx where x is the pin you define in software. Example: LED(5) in software; connect to GPIO5 on the Pi Zero header. (see also: https://gpiozero.readthedocs.io/en/stable/recipes.html#pin-numbering) | ||
Line 81: | Line 79: | ||
<br/> CR: https://learn.sparkfun.com/tutorials/raspberry-gpio/all | <br/> CR: https://learn.sparkfun.com/tutorials/raspberry-gpio/all | ||
<br/> HW: https://mjrobot.org/rpi-gpiozero/ | <br/> HW: https://mjrobot.org/rpi-gpiozero/ | ||
− | |||
<br/> SF: What state does your input pin have by default? With gpiozero, you can configure the pin to be pulled up (pull_up=True) or pulled low (pull_up=False). If you pull up, you can only change the state by connecting the pin physically to GND. If pulled low, you can only change the input state by connecting it to 3.3V. (see also: https://gpiozero.readthedocs.io/en/stable/api_input.html). By default, the pin is pulled up. If you always define the state explicitly in your code, you might make it easier for yourself to debug the code. Example: Button(15, pull_up=True) | <br/> SF: What state does your input pin have by default? With gpiozero, you can configure the pin to be pulled up (pull_up=True) or pulled low (pull_up=False). If you pull up, you can only change the state by connecting the pin physically to GND. If pulled low, you can only change the input state by connecting it to 3.3V. (see also: https://gpiozero.readthedocs.io/en/stable/api_input.html). By default, the pin is pulled up. If you always define the state explicitly in your code, you might make it easier for yourself to debug the code. Example: Button(15, pull_up=True) | ||
Line 90: | Line 87: | ||
<br/> HW: https://hackaday.io/project/173322-controlling-gpio-outputs-using-a-web-interface-wit | <br/> HW: https://hackaday.io/project/173322-controlling-gpio-outputs-using-a-web-interface-wit | ||
<br/> JW: https://www.youtube.com/watch?v=c6FOpPXbLjs | <br/> JW: https://www.youtube.com/watch?v=c6FOpPXbLjs | ||
− | |||
=== Restful API === | === Restful API === | ||
Line 96: | Line 92: | ||
<br/> CR: https://docs.dataplicity.com/docs/control-gpios-using-rest-api | <br/> CR: https://docs.dataplicity.com/docs/control-gpios-using-rest-api | ||
<br/> HW: https://www.youtube.com/watch?v=JZfevVG-VuA&list=PLLIDdNg0t5ceg3mI3vn0YJocJ4ndMtM98&index=4&t=0s | <br/> HW: https://www.youtube.com/watch?v=JZfevVG-VuA&list=PLLIDdNg0t5ceg3mI3vn0YJocJ4ndMtM98&index=4&t=0s | ||
− | |||
=== Description of the components === | === Description of the components === | ||
Line 115: | Line 110: | ||
=== SG === | === SG === | ||
− | |||
− | |||
− | |||
− | |||
=== JL === | === JL === | ||
Line 126: | Line 117: | ||
=== JP === | === JP === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== CR === | === CR === |