"BBC micro:bit Basic Tutorial" 03-micro:bit control analog Servos

Source: Internet
Author: User

"Required Materials"

    • BBC micro:bit motherboard x 1
    • Micro USB Cable x 1
    • Battery compartment for 2 x 7th (AAA) Batteries × 1
    • Number 7th (AAA) Battery x 2
    • Analog Servo X 1
    • Crocodile Clip x 3
    • 3 Male to male cable

"Circuit wiring Step"

    1. Disconnect the micro:bit from the computer and battery to ensure that the micro:bit is not in the power state.
    2. Wiring as shown:
      1. The servo-Brown is GND and receives the Micro:bit GND pin.
      2. The rudder is red power and is connected to the 3V pin of the micro:bit.
      3. The servo orange is the signal line, received micro:bit pin 0 pin.

"Programming The Micro:bit"

"Test the program"

    1. Download the compiled program to Micro:bit.
    2. Press A and key B respectively to observe the rotation of the steering wheel.

"View Original"

Please visit www.teachwithict.com

"Problem Contact Author"

: mengfeixiang007 (Verification information please note micro:bit)

qq:784827264 (Verification information please note micro:bit)

"BBC micro:bit Basic Tutorial" 03-micro:bit control analog Servos

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.