This commit is contained in:
Peli de Halleux 2017-09-15 23:24:20 -07:00
Родитель 8afe8e2646
Коммит dfabd2716a
4 изменённых файлов: 14 добавлений и 2 удалений

Двоичные данные
assets/microbit_dual_switch.jpg Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 163 KiB

Двоичные данные
assets/microbit_dual_switch_wired.jpg Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 190 KiB

Просмотреть файл

@ -3,7 +3,17 @@
A [micro:bit](https://makecode.microbit.org) is a small computer, called _microcontroller_,
that can interact with other electronic devices. Aside from the onboard screen, sensors and radio capabilities, the micro:bit can control LEDs, servos or motor controllers via large hole connector on the bottom. The micro:bit is easily programmed with a [kid frienly code editor](https://makecode.microbit.org).
## micro:bit 1 input 1 output
## micro:bit MOSFET switch output
![A micro:bit dual switch with MOSFET]({{site.baseurl}}/assets/microbit_dual_switch.jpg)
### Example
The wiring below turns on a vibrating DC motor when pressing button A on the micro:bit
![A micro:bit dual switch with MOSFET]({{site.baseurl}}/assets/microbit_dual_switch-wired.jpg)
## micro:bit LED opto-isolator input
In this module, we expose 1 input pin (using a LED optoisolator) and 1 output pin (via a MOSFET relay switch). Once built, the module can safely be used with other modules, it can also drive a motor.

Просмотреть файл

@ -5,5 +5,7 @@
Deconstruction suggestion for common toys found in thrift shops
and garage sales.
> Opening and deconstructing a toy will mostly likely void any kind of warranty.
* [Game controller]({{site.baseurl}}/toys/game-controller)
* [RC car]({{site.baseurl}}/toys/rc-car)