Elecrow CRT45259M User Manual

Crowtail start kit for bbc micro:bit

Advertisement

Quick Links

Elecrow on-line store, make your making easier.
Crowtail Start Kit for micro:bit User Guide
The BBC micro:bit is a pocket-sized computer that can easily realize your creativity without
much electrical and coding knowledge. There are numerous possibility of creation you can dig
out by micro:bit, from robots to musical instruments. However if you want to create more things,
just 1 micro:bit is barely not enough, That's why we introduce the Crowtail Start Kit for micro:bit
to you.
The crowtail start kit for micro:bit can make you do a lot of interesting things and brings
endless possibilities to your micro:bit. The core board in this kit is Crowtail- Base shield for
micro:bit,with which you can use plenty of crowtail sensors.All of that you need to know about
Crowtail, there is no need any soldering or jump wire. We have prepared 17 species basic
crowtail modules that let you get started with micro:bit. And we also write 20 lessons to teach
you use the micro:bit with the sensors step by step. Now, let us enjoy them.
https://www.elecrow.com/

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CRT45259M and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Elecrow CRT45259M

  • Page 1 Elecrow on-line store, make your making easier. Crowtail Start Kit for micro:bit User Guide The BBC micro:bit is a pocket-sized computer that can easily realize your creativity without much electrical and coding knowledge. There are numerous possibility of creation you can dig out by micro:bit, from robots to musical instruments.
  • Page 2: Table Of Contents

    Elecrow on-line store, make your making easier. Contents Lesson 1,How to use button control LED....................3 Lesson2, Brightness Measurement......................4 Lesson3, Make a Beeping Noise.........................5 Lesson4. Motor Control..........................6 Lesson5.Motion Detection.........................6 Lesson6. Relay ON/OFF..........................7 Lesson7.Soil Moisture Detection....................... 8 Lesson8.Sound Detection.......................... 9 Lesson9.Breathing LED..........................10 Lesson10.Servo Calibrator........................
  • Page 3: Lesson 1,How To Use Button Control Led

    Elecrow on-line store, make your making easier. Lesson 1,How to use button control LED This is a easy experiment, everyone will easy handle it. Connect Crowtail- LED to the P2 interface, upload the bellow code to micro:bit, then click the button A on the micro:bit, the LED will light.
  • Page 4: Lesson3, Make A Beeping Noise

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- Light Sensor Sofware: basic.forever(() => { basic.showNumber(pins.analogReadPin(AnalogPin.P2) Lesson3, Make a Beeping Noise This Lesson teach you how to use a buzzer with Micro:bit, Connect the Crowtail- Buzzer to P1 interface, after you upload the code into the micro:bit, you will hear a beeping noise, and you can adjust the delay time to control the beeping frequency.
  • Page 5: Lesson4. Motor Control

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- Buzzer basic.forever(() => { pins.digitalWritePin(DigitalPin.P1, basic.pause(500) pins.digitalWritePin(DigitalPin.P1, basic.pause(500) Lesson4. Motor Control DC motor is a very common component in DIY, this lesson will teach you control the motor rotation.
  • Page 6: Lesson5.Motion Detection

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- MOSFET DC Motor input.onButtonPressed(Button.A, () => { pins.digitalWritePin(DigitalPin.P1, 1) input.onButtonPressed(Button.B, () => { pins.digitalWritePin(DigitalPin.P1, 0) Lesson5.Motion Detection This lesson teach you use the PIR Motion sensor to detect movement, then with other parts can do many interest application.
  • Page 7: Lesson6. Relay On/Off

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- PIR Motion Senor Crowtail- LED basic.forever(() => { pins.digitalWritePin(DigitalPin.P1, pins.digitalReadPin(DigitalPin.P2)) basic.pause(1000) Lesson6. Relay ON/OFF The relay has used in may place in our daily life, so we must to know how to use it. Connect the...
  • Page 8: Lesson7.Soil Moisture Detection

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- Relay basic.forever(() => { pins.digitalWritePin(Digita lPin.P1, 1) basic.pause(2000) pins.digitalWritePin(Digita lPin.P1, 0) basic.pause(2000) Lesson7.Soil Moisture Detection We like to raise some soil plants, but not know when and how much to watering the plants, so this lesson will teach you detect the soil moisture.
  • Page 9: Lesson8.Sound Detection

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- Moisture sensor reading = basic.forever(() => { reading = pins.analogReadPin(AnalogPin.P0) led.plotBarGraph( reading, 1023 (input.buttonIsPressed(Button.A)) { basic.showNumber(reading) Lesson8.Sound Detection In our daily life, some people like lively, some like quiet , if we use sound reasonably, it will play a huge role in the field of intelligence, this lesson will teach you detect the sound as a switch to power on one LED.
  • Page 10: Lesson9.Breathing Led

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- Sound sensor Crowtail- LED reading = basic.forever(() => { reading = pins.digitalReadPin(DigitalPin.P0) (reading) { pins.digitalWritePin(DigitalPin.P2, 1) basic.pause(2000) pins.digitalWritePin(DigitalPin.P2, 0) Lesson9.Breathing LED Control the LED with different frequency PWM wave, in the lesson we use a loner potentiometer to adjust the PWM frequency, the LED will light brighter and brighter,then light darker and darker, which is like breathing .
  • Page 11: Lesson10.Servo Calibrator

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- LED Crowtail- Linear Potentiometer value = basic.forever(() => { value = pins.analogReadPin(AnalogPin.P0) pins.analogWritePin(AnalogPin.P1, value) pins.analogSetPeriod(AnalogPin.P1, 20000) Lesson10.Servo Calibrator In this Lesson, will teach you how to use buttons to control the servo with different rotating angle, and you can view the current angle from the LED dot matrix.
  • Page 12: Lesson11.Magnetic Field Detection

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- 9G Servo angle = input.onButtonPressed(Button.A, () => { angle += - Math.max(0, 5) pins.servoWritePin(AnalogPin.P0, angle) led.stopAnimation() input.onButtonPressed(Button.B, () => { angle += Math.min(180, 5) pins.servoWritePin(AnalogPin.P0, angle) led.stopAnimation()
  • Page 13: Lesson12.Control The Mosfet As A Switch

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- Magenet switch Crowtail- LED value = basic.forever(() => { value = pins.digitalReadPin(DigitalPin.P0) (value) { pins.digitalWritePin(DigitalPin.P0, 1) Lesson12.Control the MOSFET as a Switch As MOSFET has a high speed response and high stability, we usually use it as a switch in some application, this lesson will teach you how to control the MOSFET on/off.
  • Page 14: Lesson13.Obstacle Detection

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- MOSFET basic.forever(() => { pins.digitalWritePin(DigitalPin.P0, 1) basic.pause(500) pins.digitalWritePin(DigitalPin.P0, 0) basic.pause(500) Lesson13.Obstacle Detection Smart car is the most common application in DIY, obstacle avoidance is the basic function, this lesson will teach you how to use IR reflective sensor to detect obstacle.
  • Page 15: Lesson14. Ir Distance Measurement

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- IR Reflective Sensor Crowtail- Buzzer value = basic.forever(() => { value = pins.digitalReadPin(DigitalPin.P0) (value) { pins.digitalWritePin(DigitalPin.P1, 1) else pins.digitalWritePin(DigitalPin.P1, 0) Lesson14. IR Distance Measurement If we can make some tools that can measure the distance , it sounds very interesting .This Lesson will teach you use IR to detect short distance.
  • Page 16: Lesson15.Use Microwave Detect Movement

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- 80cm Infrared Proximity Sensor distance = item = value = basic.forever(() => { value = pins.analogReadPin(AnalogPin.P0) a = value - item = 67870 distance = item - basic.showNumber(distance)
  • Page 17: Lesson16.Stairs Lights

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- Microwave sensor item = basic.forever(() => { item = pins.digitalReadPin(DigitalPin.P1) Lesson16.Stairs Lights In order to save power energy, the stair light not need light all the time, only when there are poor light and the pace of someone's footsteps, then the light will on.
  • Page 18: Lesson17.Alarm Clock

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- Sound Sensor Crowtail- LED Crowtail- Light Sensor value = basic.forever(() => { value = pins.analogReadPin(AnalogPin.P1) pins.digitalReadPin(DigitalPin.P0) (value <= || a == 1) { pins.digitalWritePin(DigitalPin.P2 , 1) basic.pause(10000)
  • Page 19: Lesson18.Anti-Theft Device

    Elecrow on-line store, make your making easier. Material: Micro:bit Crowtail- Base Shield for Micro:bit Crowtail- RTC Crowtail- Buzzer First, you should add the package: https://github.com/robotfreak/pxt-ds1307 minutes = hour = hour = Time.getTimePart(DateTimePart.Hours) minutes = Time.getTimePart(DateTimePart.Minutes) (hour == && minutes == 0) { pins.digitalWritePin(DigitalPin.P1, 1)
  • Page 20: Lesson19.Mini Fan

    Elecrow on-line store, make your making easier. Crowtail- Microwave Sensor Crowtail- Buzzer item = basic.forever(() => { item = pins.digitalReadPin(DigitalPin.P (item == 1) { pins.digitalWritePin(DigitalPin. P0, 1) basic.pause(500) Lesson19.Mini Fan When a hot day outside, if there is a mini Fan near you, maybe it is a enjoyable things, this lesson will teach you how to use use micro:bit built a mini Fan, we can use a button to control the relay to switch the Fan on or off.
  • Page 21: Lesson20.Automatic Watering

    Elecrow on-line store, make your making easier. basic.forever(() => { A = pins.digitalReadPin(DigitalPin.P0) (A == 1) { pins.digitalWritePin(DigitalPin.P1, 1) else pins.digitalWritePin(DigitalPin.P1, 0) Lesson20.Automatic Watering Beautiful flowers, green plants are what we love,but they are difficult to cultivate, we usually forget to water them. This lesson will teach you built a automatic Watering system, it will water the flower or plants which base on its moisture.
  • Page 22 Elecrow on-line store, make your making easier. item = basic.forever(() => { item = pins.analogReadPin(AnalogPin.P0) (item <= 450) { pins.digitalWritePin(DigitalPin.P1, basic.pause(20000) pins.digitalWritePin(DigitalPin.P1, https://www.elecrow.com/...
  • Page 23 Elecrow on-line store, make your making easier. https://www.elecrow.com/...

Table of Contents