Barrier 自動電閘 @STEM II 12 models

single micro:bit model from pack

fischertechnik

Product Description

 

Barriers are located in front of many parking lots or parking buildings. They open when a car drives up and close again after the car drives through.   Have you ever wondered how the barrier knows when a car is standing in front of it and it needs to open?

 

Task 

At the beginning the barrier should be closed. Then when the light barrier is interrupted, the arm moves up.  After 3 seconds it should close again.

 

 

See online guide with micro:bit coding samples for the Barrier model.

See micro:bit coding with input and output guides here.

 

This is a specially discounted package - delivered in a clear plastic bag.  

Each pack comes with the bonus fischertechik storage base (box 250 x 186

I/O board for micro:bit 

micro:bit pins extension board, designed specially to take advantage of  fischertechnik's unique,  flexible red and green round plug cable connections. By design, the I/O board rubber legs slot into the fischertechnik black base-plate grid securely.

 

 

 

The price below is for 1 model out of the 12 models STEM II pack.  If you want to build all 12 models, order the full STEM II pack instead.

 

  • All model parts can be reused and recycled for other projects and student's creative pieces.    fischertechnik is made in Germany with quality and precision.
  • No soldering.  Ideal for all ages, promote problem solving, changes on the fly as debugging and adjustment can be done instantly.    All works can be done to perfection as even the smallest adjustment can be accommodated, thanks to the complete range of mechanical/structural and electronic blocks offered by fischertechnik.
  • One of the 12 models of STEM 2.   You can now order it on its own for easy whole class lesson, without needing to pick and sort building blocks every time.  

 

Part 1 - micro:bit block commands used in the Barrier Model

To achieve fluency and competency in micro:bit coding, you really need to get a thorough understanding of each of the block catagories to be used in the Barrier Model (see part 2 below for the full code).    Fortunately, all the reference guides are available on the BBC micro:bit web site for you to get a deeper and more comprehensive understanding and mastery.

Through every fischertechnik STEM II model (12 of them), you can learn, practise, build fluency and confidence in coding.

The Barrier Model used the following micro:bit blocks.  You can click to lean more about each of the block catagories.  The links bring you directly to the respective part of the BBC micro:bit reference document site, where live codes are included for you to understand, try, and download:

 

 

Part 2   The "live" Barrier Code  - Understand, Edit and Download

  The following code has used all the mentioned blocks in Part 1 above.    

 

Comments In English, click the " ? " on block to find out the comment (meaning) of the block code.

  • If you read this page on a computer with wider screen size, you will be able to see the micro:bit simulator that is fully clickable.
  • If you cannot see the code, such as on a mobile phone, please  click this link instead.
  • Click   to open the code on the micro:bit website for further editing and modification.
  • Click   to download this code to your micro:bit for immediate use or to save on your computer.     

 

 

 

Connector No. Description
Outputs 8

8 x light/LED

4 x DC motor

- 600mA per output
- 6 - 9 V
    Inputs 6

    5 x analog/ digital

    1 x digital

    - signal up to 5V

     

    I2C 1 1 x connector (SCL, SDA)
    5V 1

    1 x sensor power supply connection

    (6-9V power supply)

    3.3 V 1 1 x sensor power supply connection
    Battery 1 1 x battery (6 - 9 V) min 4.5 V
    Power Supply 1 1 x universal power adaptor ( 6 - 9 V) min 4.5 v