博文

Robit: Smart Car Light

图片
Our Goal Make smart car light with the light sensor and LED on robit. Material Needed 1 x  Robit 1 x Mbot Car Background Knowledge Light Sensor Light sensor generally refers to a device that senses the energy of light from ultraviolet light to infrared light and converts the light energy into an electrical signal. It is mainly composed of photosensitive elements, and is mainly divided into four types: ambient light sensor, infrared light sensor, solar light sensor and ultraviolet light sensor. It is mainly used in the fields of car body changing electronic applications and intelligent lighting systems. The light sensor on Robit is an  ambient light sensor ,which indicates the strength of ambient light by numbers. Hardware Connection The light sensor onboard is connected to P10 port on micro:bit. Two rainbow LED onboard are connected to P12 port on micro:bit. Software Microsoft Makecode Programming Step 1 Click  Advanced  in the co

Small Cute Crystal Battery Holder for BBC micro:bit-You can't miss it!

图片
Introduction This is a battery box specialized for micro:bit. You can place two AAA batteries into the battery holder, switch on and then it will supply power to micro:bit via PH2.0 connector. Parameters Packing List 1 x Exclusive Crystal Battery Box Comparison Note: For a bigger battery box, you can buy  2xAA Battery Holder with cover  or  2xAA Battery Holder without Cover .

Elecfreaks Bit Family

图片
The year of 2018 is almost half gone. Let's look back and see our new products during this period. Sonar:bit Guess what's this? This is a frog-like ultrasonic module. It is the most lovely board you've ever seen. The two eyes in the front are for ultrasonic sending and receiving. You can fix this module on your smart cars and use it to measure distance or avoid barriers. It is so much fun! Edge:bit This is a good protect for your micro:bit golden finger. We design this module with the aim to help those who want to do thousands of micro:bit experiments or tests. With this protection, your micro:bit is not naked any more. It is well protected and greatly prolongs its life span. Robit Robit is a perfect companion for your smart cars like mBot. You can plug in your micro:bit on the top and connect with two stepping motors(or 4 DC motors) at the same time. This module is quite powerful to drive your smart cars! Ring:bit Can you figure out its difference

Getting started with the micro:bit and MicroPython

图片
In this tutorial, we take our first steps with MicroPython on the micro:bit by creating a simple dice that uses random number generation triggered by gesture control, all in 9 lines of code! What is MicroPython? Put simply: Micro Python is an implementation of Python 3 for microcontrollers. MicroPython includes a small subset of the Python standard library, but it is optimised to run on microcontrollers rather than microprocessors. MicroPython was created by Damien George and the first board to support the language was a crowdfunded board called PyBoard. What is micro:bit? The micro:bit is a microcontroller board created by the BBC (British Broadcasting Corporation) in partnership with 29 companies (ARM, CISCO, Code Club, Microsoft, Python Software Foundation.) The goal of the partnership was to create a platform for children to learn with and the various partners provided expertise in software, hardware, manufacturing and producing content to support the micro:bit

Computational Thinking for Educators

图片
I was asked for our school’s latest INSET day to devise a half-hour session which I would repeat during the day for all teaching staff on the fairly loose topic of sharing good practice / sharing our classroom activities. Now I was fairly sure that 30 minutes was not going to be long enough for me to introduce much interesting in the way of Computer Science or code for a group of teachers who had never experienced it before, so I began to think about what I could deliver. My thoughts turned to some of the Computational Thinking lessons we do with our students as they are accessible and don’t require the use of a computer. The fact that I was going to deliver a session on sharing good practice from my teaching and that it would not involve any tech other than a projector and presentation, would no doubt come as a shock to some of my colleagues! So I began to look at the different resources we use with our KS3 students and also had a look through the Google Computational Thi

Snake on the BBC micro:bit

图片
The BBC, in their first digital literacy project since the 1980's, recently gave Year 7 students (aged 11-12) in the UK a tiny single-board computer called the  micro:bit . It has a 5x5 grid of LEDs, two buttons, plenty of sensors, and not much memory (16K) or processing power (16 MHz). Thankfully, that's still plenty enough computer to have some fun with. Playing snake on the micro:bit To me, the 5x5 LEDs looked like they might display a small game of Snake. All I had to do was figure out the input. I originally used the accelerometer to control the snake by tilting the device, but it lacked the speed and precision of a good Snake game. What I really wanted was a way to move the snake in four directions using the two A/B buttons. If you know binary, you'll know that two on/off values gives us four possible combinations. Of course, one of the combinations is off/off meaning no buttons are pressed. For this case, I decided it was most natural to have the snake c

Micro:bit snake game with MU

图片