Herunterladen Inhalt Inhalt Diese Seite drucken

Velleman VMM502 Bedienungsanleitung Seite 14

Micro:bit tinker kit
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen
  • DE

Verfügbare Sprachen

  • DEUTSCH, seite 82
Now, drag and drop the block
Off to ON.
Finally, drag and drop the block
If motion is detected by the PIR sensor, the light is triggered (the LED will light). Else, the light is
turned off.
When complete, we compile the programme to generate a .hex file. Click on the download button and
save the .hex file to the
micro:bit.
Plug the micro:bit into the USB port via the micro-USB cable. Then, drag and drop the .hex-file (from
the
Downloads
Voilà! You have created a simple smart light. Walk into the room and let it light!
8.3
Project 3 – Simple Alarm Box
Sound the alarm box!
1
micro-USB cable
2
micro:bit
3
crash sensor
What do I need?
1x micro:bit
1x micro-USB cable
1x BoB
1x crash sensor
1x OLED
1x LED
2x female-female jumper wires
V. 01 – 17/01/2019
toggle LED at pin
toggle LED at pin
Downloads
folder (C:\downloads). This .hex file is ready to be uploaded to the
folder) onto the micro:bit
VMM502
P0 Off next the
then
P0 Off next to the
Removable device
to upload the programme.
4
BoB
5
LED
6
OLED
14
logic. Set pin P0 to P1 and set
else
logic. Set pin P0 to P1.
©Velleman nv

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis