Micro:bit Introduction – Microcontrollers | Part 2

micro:bit introduction lesson

A microcontroller (MCU – microcontroller unit) is actually a chip design to perform some operations according to the given instructions. It is a small computer on a single IC (integrated circuit). A microcontroller consists of four basic components. In this tutorial, you will learn, how to use a microbit. (Micro:bit Introduction lesson – Part 2)

Micro:bit Introduction Lesson

The micro:bit (BBC Micro Bit) Hardware is based on an ARM-based embedded system. It designed by the BBC (British Broadcasting Corporation)for use in Computer education. It’s a single-board microcontroller. This board has the basic features of a computer. Further, it contains sensors also.

Micro:bit Introduction – Microcontrollers | Part 1

Coding the micro:bit module

You can use any editor for coding. In this tutorial, I will use MakeCode online editor. Coding can be easily done by connecting blocks. Or you can use programming languages like JavaScripts, Python, etc.

micro:bit introduction lesson

Other editors: https://microbit.org/code/

Microbit Introduction Lesson – Music Block

#Play Tone – Play Middle C for 1 beat

microbit part2

Simulation: https://makecode.microbit.org/_hqacz5cwxDse

#Play RingTone – Play Tone

Micro:bit Programming Part 2

Simulation:https://makecode.microbit.org/_LFhXj5RfADq9

#Start Melody – To play Melody

Micro:bit Programming Part 2

Press A button

Simulation: https://makecode.microbit.org/_VA4EsthacJCh

#Stop Melody – To Stop Melody

Micro:bit Programming Part 2

Press A button First, then Press B

Simulation: https://makecode.microbit.org/_VVCLXL5W4THA

#Music On

Micro:bit Programming Part 2

Press A button

Simulation: https://makecode.microbit.org/_6qg6fWVdvW7x

#Set Tempo – To set the tempo

Micro:bit Programming Part 2

Press A button

Simulation: https://makecode.microbit.org/_dMh2fjbDcHL1

Microbit Introduction Lesson – Radio Block

#Radio Send Number and Show Received Number

Micro:bit Programming Part 2

Simulation: https://makecode.microbit.org/_dEVHdaLXvXsa

#Radio Send Value and Show Received Value

Micro:bit Programming Part 2

Simulation: https://makecode.microbit.org/_VJc1RwPHdiKp

#Radio Send Strings and Show Received Strings

microbit part2

Simulation: https://makecode.microbit.org/_h6xHTE4TEf8r

#Radio Set micro:bit Group

microbit part2

Simulation: https://makecode.microbit.org/_Lq26JFJohU4a

Microbit Introduction Lesson – Variable Block

#Create a Variable

microbit part2

#Set a Value and Show value

microbit part2

Simulation: https://makecode.microbit.org/_WdwiPT8VK8K7

Sources : 
https://pixabay.com/ (images)

Hello Friends,

I hope this post (Micro:bit Introduction – Microcontrollers | Part 2) will help you to learn something, If you enjoy my work then please share my posts with your friends and anyone who might be interested in programming and web developing. Please don’t forget to subscribe to my mailing list.

If you had any problem with this post, please do mention it in the comment section or contact me.

Like CtechF Facebook fan page: https://www.facebook.com/ctechf

What is Python?

Python is a scripting language and that is used for creating engineering-analysis tools, web development (server-side), software development, system scripting, and animation software. It designed by Guido van Rossum and first released in 1991. It’s an interpreted, High-level. General-purpose language. Python runs on Windows, Mac OS, and Linux.

Python Tutorial: Introduction for Beginners (Part 1)
Python Tutorial: Introduction for Beginners (Part 2)
Python Tutorial: How to Connect MySQL Database in Python
Python Tutorial: Python GUI Programming (Tkinter)
Python Tutorial: Send Emails Using Python
Python Tutorial: Django Tutorial for Beginners
Python Tutorial: Parsing command-line arguments

How to be a Programmer

What is HTML?

HTML (HyperText Markup Language) is developed by Tim Berners-Lee. An HTML document that can be displayed through a web browser is called a web page. HTML is not a computer language it’s a markup language.

For more information: HTML Tutorial: Introduction for beginners (Basic)

What is PHP?

PHP: Hypertext Preprocessor is a general-purpose server-side script language. it designed for web development. It designed by Rasmus Lerdorf in 1994 and first released in 1995. PHP is free to download and use. It can contain text, HTML, JavaScript, CSS and PHP code. it runs on Windows, Linux, Mac OS and etc… PHP can do many things such as generate dynamic web pages, manage data in your database, control user access, etc… PHP 7 is much faster than the previous versions. In this tutorial. You will learn to install and run PHP on Windows pc.

For more information
PHP 7 Tutorial: Introduction for Beginners (Basic)
PHP7 Tutorial | Part 2 – GET, POST and Cookies
PHP7 Tutorial | Part 3 – MySQL and PHP

What is SQL?

SQL (Structured Query Language) is a standard language for storing, managing and retrieving data in databases. SQL was developed at IBM by Donald Chamberlin and Raymond Boyce. and first released in 1991. SQL became a standard of the ANSI (American National Standards Institute) in 1986.

For more information: SQL Tutorial: Introduction for beginners (Basic)

What is Java?

Java is a general-purpose, open-source and free programming language. It originally developed by Sun Microsystems in 1995 and more than 3 billion devices run Java. It is used to creating Desktop applications, Mobile applications, Web applications, Web servers, Games, and more. Java works on a variety of platforms. such as Windows, Mac, Linux and more. Java is easy to learn and simple to use.

Java Tutorial: Introduction for beginners (Basic)
Java Tutorial: Introduction for beginners – Part 2 (Basic)
Java Tutorial: Most Popular Java IDE in 2019
How to install IntelliJ IDEA on Windows (2019)
Java Tutorial: How to connect a MySQL database and Java
Java with MySQL: Database Connectivity and Examples

Liked it? Take a second to support CtechF on Patreon!

Leave a Reply

33 Shares
Share
Tweet
Share
Pin
Share