{"description":"\u30e9\u30ba\u30d1\u30a4\uff15\u3067\u30b5\u30fc\u30dc\u30e2\u30fc\u30bf\u30fcSG90\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u914d\u7dda\u306f \u8d64\uff1a\uff12\u756a\u30d4\u30f3(5V) \u8336\uff1a\uff16\u756a\u30d4\u30f3(0V) \u9ec4\uff1a\uff11\uff12\u756a\u30d4\u30f3(GPIO18) \u3067\u3059\u3002 \u30b3\u30fc\u30c9\u306f from gpiozero import Servo from time import sleep servo = Servo(18, min_pulse_width=0.5/1000, max_pulse_width=2.5/1000) while True: servo.value = -1.0 #\uff080\u00b0\uff09 sleep(1) servo.value = 0.0 # (90\u00b0\uff09 sleep(1) servo.value = 1.0 #\uff08\u2026","blog_title":"\u3086\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u306f\u3044\u308d\u3044\u308d\u904a\u3073\u305f\u3044","provider_name":"Hatena Blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/slowtech/20251201/20251201195257.jpg","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fslowtech.hateblo.jp%2Fentry%2F2025%2F12%2F01%2F204834\" title=\"Raspberry Pi5\u3067\u30b5\u30fc\u30dc\u30e2\u30fc\u30bf\u30fcSG90\u3092\u52d5\u304b\u3059 - \u3086\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u306f\u3044\u308d\u3044\u308d\u904a\u3073\u305f\u3044\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","width":"100%","title":"Raspberry Pi5\u3067\u30b5\u30fc\u30dc\u30e2\u30fc\u30bf\u30fcSG90\u3092\u52d5\u304b\u3059","height":"190","version":"1.0","published":"2025-12-01 20:48:34","author_name":"slowtech","provider_url":"https://hatena.blog","url":"https://slowtech.hateblo.jp/entry/2025/12/01/204834","author_url":"https://blog.hatena.ne.jp/slowtech/","categories":["Raspberry Pi"],"blog_url":"https://slowtech.hateblo.jp/"}