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/> SG: https://medium.com/@nikosmouroutis/how-to-use-atom-with-your-raspberry-pi-through-sftp-382c43176a9e
 
  
 
<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/> SG: https://github.com/fivdi/onoff
 
  
 
<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/> SG: https://tutorials-raspberrypi.de/raspberry-pi-gpio-erklaerung-beginner-programmierung-lernen/
 
  
 
<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
<br/> SG: https://randomnerdtutorials.com/raspberry-pi-web-server-using-flask-to-control-gpios/
 
  
 
=== 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
<br/> SG: https://tutorials-raspberrypi.de/raspberry-pi-nodejs-webserver-installieren-gpios-steuern/
 
  
 
=== Description of the components ===
 
=== Description of the components ===
Line 115: Line 110:
  
 
=== SG ===
 
=== SG ===
mindSat:
 
 
<br/>A small portable gadget. Which can record sensor data and give feedback to a user. Mind satisfaction for your offices days.
 
<br/>It’s hard to do small exercises, often we find excuses to not do it. Concentrated breathing can help your brain to relax, or focusing on small things can reduce stress. Using those informations to create short (~ 5min) exercises.
 
  
 
=== JL ===
 
=== JL ===
Line 126: Line 117:
  
 
=== JP ===
 
=== JP ===
 
'''Problem''': too much sitting while working in the office
 
</br>'''Idea''': adjustable desk
 
</br>'''Sensors''': on the chair, to check, if the user is sitting and how long
 
</br>'''Notification''': User gets a message after a certain time, that the desk will rise for min. 30 minutes. After that time the desk can be lowerd again, if wished. The Sensor will messures again.
 
</br>'''Gamification''': a little "stand-up-figure" will be on the desk and will stand up, if the desk is rised. Will be collapse, if the desk is lowered.
 
  
 
=== CR ===
 
=== CR ===

Please note that all contributions to Sketching with Hardware at LMU Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see My wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)