Some more circuit diagrams; better check these are accurate - I haven't
had time to wire them up and test them!
This commit is contained in:
Dave Jones
2016-02-13 00:45:22 +00:00
parent 0978b4c459
commit d090b03679
29 changed files with 32113 additions and 3 deletions

BIN
docs/images/led_button.fzz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 276 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 280 KiB

BIN
docs/images/motor.fzz Normal file

Binary file not shown.

BIN
docs/images/motor_bb.pdf Normal file

Binary file not shown.

BIN
docs/images/motor_bb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

4596
docs/images/motor_bb.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 280 KiB

BIN
docs/images/rgb_led.fzz Normal file

Binary file not shown.

BIN
docs/images/rgb_led_bb.pdf Normal file

Binary file not shown.

BIN
docs/images/rgb_led_bb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

4539
docs/images/rgb_led_bb.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 291 KiB

View File

@@ -103,6 +103,8 @@ Run a function every time the button is pressed::
Button controlled LED Button controlled LED
===================== =====================
.. image:: images/led_button_bb.*
Turn on an :class:`LED` when a :class:`Button` is pressed:: Turn on an :class:`LED` when a :class:`Button` is pressed::
from gpiozero import LED, Button from gpiozero import LED, Button
@@ -132,6 +134,8 @@ Alternatively::
Traffic Lights Traffic Lights
============== ==============
.. image:: images/traffic_lights_bb.*
A full traffic lights system. A full traffic lights system.
Using a :class:`TrafficLights` kit like Pi-Stop:: Using a :class:`TrafficLights` kit like Pi-Stop::
@@ -230,6 +234,8 @@ See `Push Button Stop Motion`_ for a full resource.
Reaction Game Reaction Game
============= =============
.. image:: images/reaction_game_bb.*
When you see the light come on, the first person to press their button wins! When you see the light come on, the first person to press their button wins!
:: ::
@@ -348,6 +354,8 @@ Using :class:`LED`, :class:`Buzzer`, and :class:`Button` components::
RGB LED RGB LED
======= =======
.. image:: images/rgb_led_bb.*
Making colours with an :class:`RGBLED`:: Making colours with an :class:`RGBLED`::
from gpiozero import RGBLED from gpiozero import RGBLED
@@ -383,7 +391,7 @@ Making colours with an :class:`RGBLED`::
Motion sensor Motion sensor
============= =============
.. image:: images/motion-sensor.* .. image:: images/motion_sensor_bb.*
Light an :class:`LED` when a :class:`MotionSensor` detects motion:: Light an :class:`LED` when a :class:`MotionSensor` detects motion::
@@ -402,7 +410,7 @@ Light an :class:`LED` when a :class:`MotionSensor` detects motion::
Light sensor Light sensor
============ ============
.. IMAGE TBD .. image:: images/light_sensor_bb.*
Have a :class:`LightSensor` detect light and dark:: Have a :class:`LightSensor` detect light and dark::
@@ -476,7 +484,7 @@ Run a function when something gets near the sensor::
Motors Motors
====== ======
.. IMAGE TBD .. image:: images/motor_bb.*
Spin a :class:`Motor` around forwards and backwards:: Spin a :class:`Motor` around forwards and backwards::