https://github.com/simonemoreware/sg90_raspberrypi
Come utilizzare un servomotore SG90 su Raspberry Pi
https://github.com/simonemoreware/sg90_raspberrypi
Last synced: about 1 year ago
JSON representation
Come utilizzare un servomotore SG90 su Raspberry Pi
- Host: GitHub
- URL: https://github.com/simonemoreware/sg90_raspberrypi
- Owner: SimoneMoreWare
- Created: 2022-07-24T12:53:11.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-24T12:56:42.000Z (almost 4 years ago)
- Last Synced: 2023-04-24T16:11:15.588Z (about 3 years ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SG90_raspberryPi
Come utilizzare un servomotore SG90 su Raspberry Pi
Il pinout del servo motore è il seguente:

Materiali da utilizzare:
* Raspberry Pi
* Servo motore SG90
Il diagramma di collegamento è il seguente (per il mio servomotore), attenzione guardate il datasheet del vostro servo motore, quasi sicuramente dovete tenere a mente quello riportato qui sopra:

# Cosa fare prima
Digita nel terminale prima di eseguire lo script python il seguente comando
`sudo pigpiod`
Per maggiori info leggi questa [guida](https://gpiozero.readthedocs.io/en/stable/api_output.html) ufficiale riguardante questo problemi.
# [Codice](https://github.com/SimoneMoreWare/SG90_raspberryPi/blob/main/sg90.py)
# Video
https://www.youtube.com/watch?v=4nLq3LlqXfA