Contents
- 1. Why should we learn "tools" and "languages"?
- 2. The three types of "key tools" you will be introduced to in this chapter
- 2.1 BIPES: The "Central Control Panel" of the Graphical World
- 2.2 Python: The "Hidden Skill" When Building Blocks Are Insufficient
- 2.3 MicroPython: The "Bridge" Connecting Hardware and Code
- 3. Key Learning Points of This Chapter
- 4. Learning Suggestions — For Young Makers Who Study in Earnest
In the previous chapters, we have learned a great many things that are "tangible and perceptible to the senses":
- Use sensors to let programs perceive the world
- Use actuators to make the program react
- Use communication to enable devices to "talk" to each other
But you may have vaguely sensed one thing: a truly powerful system relies not just on modules, but on the combination of "tools + programming languages".
In this chapter, we will take one more step forward from the "building blocks" level.
1. Why should we learn "tools" and "languages"?
First, let's think about a real-world problem:
When it comes to cooking the same dish, some people:
- just follow the recipe step by step
- while some people can modify the recipe, adjust the cooking heat and add their own creative touches on their own
What's the difference?
👉 It all comes down to how well you master the tools and how proficient you are at using the language.
The same applies to smart hardware and programming:
- Graphical building blocks can help us get started quickly
- Programming languages enable us to build things that are more complex and more reliable
- Auxiliary tools that enable us to debug, record, connect to networks, and expand functionality
So the objective of this chapter is very clear:
It is not about changing the gameplay, but about upgrading capabilities.
2. The three types of "key tools" you will be introduced to in this chapter
2.1 BIPES: The "Central Control Panel" of the Graphical World
In your previous studies, you have already used the blocks of BIPES extensively.
But you may not have realized that BIPES is not just a place to "piece together programs", it can also:
- Manage project information
- Display the data on the IoT tab
- Record and view data changes locally
In this section, we will focus on mastering: 👉 how to "manage and keep visible" a project using BIPES.
2.2 Python: The "Hidden Skill" When Building Blocks Are Insufficient
Some logic can be rather convoluted to write using block-based coding, for example:
- Complex Judgment
- Exception Handling
- Special Algorithm
At this point, Python is like a multi-tool.
You don't need to write a lot of code from the start, but you do need to know this:
- How to run Python in blocks
- How to handle situations where the program might go wrong
- How to get the execution result of Python code
The goal of this section is: to help you become confident and proficient in using Python, rather than being intimidated by it.
2.3 MicroPython: The "Bridge" Connecting Hardware and Code
What is MicroPython?
One-sentence takeaway: It is "Python that runs on a development board".
- Blocks will eventually be translated into MicroPython
- Python instructions are ultimately executed by MicroPython
Learning MicroPython is not about getting you to write low-level code right away, but rather to help you understand that:
- How Programs Actually Run on hardware
- Why some operations require initialization
- Why do some errors directly cause the program to stop
This will save you from many unnecessary detours in your subsequent advanced learning.
3. Key Learning Points of This Chapter
After completing this chapter, you should be able to:
- Understand what the "invisible yet critical components" of a complete project are
- Be able to use the tool blocks of BIPES to manage and display data
- know when to use block-based coding and when to bring in Python
- Gain a "comprehensive understanding" of MicroPython and no longer find it mysterious
📌 This chapter is more of a transitional chapter that takes you from being a "novice" to a "skilled maker".
4. Learning Suggestions — For Young Makers Who Study in Earnest
- Don't rush to master everything at once; start by achieving comprehension and editability
- The key focus of the Python section is to understand its uses, not to memorize syntax
- For tool-related content, it is recommended to refer to it in combination with the projects you have worked on before.