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.
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........................
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.
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.
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.
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.
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...
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.
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.
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 .
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.
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.
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.
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.
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)
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.
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)
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.
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/...
Need help?
Do you have a question about the CRT45259M and is the answer not in the manual?
Questions and answers