Offline Coding activities for Kids aged 5 to 8. Now in a Book format
Robotics learning奇迷影视ntrollerRobotics projects

Writing your first python program with 奇迷影视ntroller and Havi MicoPy

Last Updated on 27/02/26
introduction-to-奇迷影视ntroller.jpg

getting started guide for microcontroller

A challenging question posed by curious Vaikunth to Sneha led to a wonderful (and much needed) discussion and debate between kids. Which finally resulted in a wonderful explanation about Microcontrollers for kids, by their teacher.

This blog brings microcontrollers into action. I mean we will discuss…

1. How to give power supply to a microcontroller?
2. How to connect basic sensors and output elements with a microcontroller?
3. How to program and which programming language should be used for microcontroller?

And for us a microcontroller means 奇迷影视ntroller. True, there are popular microcontrollers like Raspberry Pi, Arduino, Microbit and ESP32. Then what’s special about the 奇迷影视ntroller?

奇迷影视ntroller is specially designed for kids of age 10 years onwards. Key benefits for 奇迷影视ntroller are:

– No soldering and no jumper wires required.
– Great built quality.
– Supports python language as well as arduino C++.
– Built with ESP chipset, gives it more power then arduino.
– Inbuilt wi-fi and bluetooth.

All these together makes 奇迷影视ntroller a perfect microcontroller for kids and adults alike.

This blog provides a step by step explanation of building your first project with 奇迷影视ntroller.

Power supply for the 奇迷影视ntroller

There are two power supply plugs in the 奇迷影视ntroller.
1. One on the main board (white board)
2. The other on microchip

奇迷影视ntroller power supply

And you need to provide power supply to both.

connected data cable & usb cable with 奇迷影视ntroller

1. When you are programming, connect your laptop/PC usb port with the plug on the microchip, using USB data cable.
2. Connect the plug which is on the main board with the power bank or charger pin or usb port of your computer.

Connected 奇迷影视ntroller with the laptop

3. When you are not programming, but executing your project, you need to keep giving power to the microchip and main board both, either through a power bank or a charger pin or a computer.

奇迷影视ntroller

Writing your first program on 奇迷影视ntroller

Open Havi MicoPyin your browser. Havi MicoPy is a free online python editor for microcontrollers.

Havi micopy

Find the USB icon at the top right corner and click on it.

connect 奇迷影视ntroller through micopy

You will see a dialogue box showing available devices. Click on your 奇迷影视ntroller board and click the button connect.

奇迷影视ntroller micopy connection

奇迷影视ntroller micopy

The USB icon at the top right corner turns green.

havi micopy conneted controller message

If you are using your board for the first time, you will see the following three files in the file explorer on the left side.

1. boot.py – keep it as it is, nothing to be done with this file.
2. havi.py – keep it as it is, nothing to be done with this file.
3. main.py – you write your program in this file. In other words, all your code should be in this file.

files in 奇迷影视ntroller

A controller can have only one copy of each of these files at a time.

Let’s write a first basic program to make your LED blink at a specific time interval.

Prepare the circuit first.

Either create a new main.py or use the existing one, and copy the following code in that.

from havi import ports
import time
led1 = ports.output1()
while True:
led1.value(1)
time.sleep(1)
led1.value(0)
time.sleep(1)

Click the save button at the top left corner.

save files in havi micopy

Click the run button at the top left corner and you will see your LED linking. YOU DID IT!

havi micopy run

Backup of your code

When you are preparing to write another program for your 奇迷影视ntroller, you definitely would want to keep a backup of your existing code. You can do this in following ways:

1. Rename the main.py, that means your current code, to something else, for example smart-dustbin-project.py
2. Then create a new main.py file by clicking the + sign in Havi MicoPy. Give it name main.py

micopy new file create

micopy new file create 2

3. But remember that keeping files for backup in a microcontroller is not an ideal way, in fact it’s risky. You may lose your code.
4. So you should keep a backup of your files by keeping a copy in your PC or cloud storage like google drive.

That’s how you write and execute the programs in 奇迷影视ntroller and make a variety of STEAM projects in robotics, IoT, AI and various other disciplines.

Keep creating.

Liked this article? Share with your friends

We send a weekly newsletter that covers useful resources and insights about Creative Play. Toys, Games, DIY Projects, Sports, Music, Robotics, Art, STEAM, 亚欧中文字幕久久精品无码…No spam, just useful content.


    We send a weekly newsletter that covers useful resources and insights about Creative Play. Toys, Games, DIY Projects, Sports, Music, Robotics, Art, STEAM, 亚欧中文字幕久久精品无码. No spam, just useful content.



      0
      0
      Your Cart
      Your cart is empty
      Calculate Shipping
      Apply Coupon