[Gadget Review] Magicbit - All in one IoT microcontroller board

Поделиться
HTML-код
  • Опубликовано: 31 июл 2024
  • I have been provided with a new microcontroller board called magicbit, and I have been playing around with it using sample code.
    First of all, I would like to conclude that it is a microcontroller board that can be used quite almighty, so if you are not sure about choosing a board, I think it will be one of your choices.
    Please take a look at this video.
    -Table of Contents
    0:00 Opening
    0:22 What's Magicbit
    2:22 Try sample code
    8:27 Review
    9:15 Conclusion
    -Related Link
    Makuake (Crowd funding)
    www.makuake.com/project/magicbit
    -Introduction
    Hardware engineer
    9 years experience as a Maker
    -SNS
    Web : start-electronics.com/
    Twitter : / buonoatsushi
    #Electronics
    -Content
    First, let me introduce what magicbit is.
    magicbit is a microcontroller board developed by a startup team in Sri Lanka, which is characterized by its hexagonal shape.
    The most appealing point of this board is its expandability, as it is an all-in-one board that can be used for all kinds of crafts. The official website claims that the board can be used for more than 50 different kinds of crafts, including games, radio-controlled cars, robots, and IoT. The reason for this wide range of development is that not only are sensors, displays, and communication functions pre-installed, but the board also offers a comprehensive range of modules that can be expanded to include smartphone apps, moving robot cars, and more. There are other boards with similar concepts, such as microbit and M5Stack, but I think magicbit has a wider range of applications compared to them.
    Another point is the ease with which even beginners can start development right away. On the hardware side, as I mentioned earlier, various modules are pre-installed, so you can start development as soon as you have this one board set. The software is also well designed for beginners, with magicCode based on Scratch, a well established development software for children, and magicBlocks based on Node-RED, which is often used for IoT development and does not require programming, The environment is ready for you to start development right away. And of course, for those who want to write code, Arduino and Python development are also available to meet the needs of intermediate and advanced users. The table below compares the above features with those of microbit and M5Stack. microbit and M5Stack also have various functions, but magicbit is more substantial.
    Next, I would like to introduce some examples of playing with sample code.
    As the name suggests, Node-RED is a visual programming environment based on Node-RED, in which programs are created by connecting parts called nodes. Basically, there is no need to write text code, and you can drag and drop the nodes in the palette on the left side of the screen onto your workspace, just like building Lego. The feature of this software is that the screen UI for operation can also be easily created.
    First, let's display the usual Hello world on the magicbit display from the browser. Drag and drop text input from the dashboard in the palette and Display in magicBit, and connect them with a line. The dashboard is a collection of user interface parts that can be placed in the browser, making it easy to create a similar application. double-click text input and add a new ui_group and ui_tab. Next, select the magicbit you want to connect from among the Device IDs in Display. Now press deploy and the program will be written to the magicbit via WiFi and executed. open the Dashboard screen and type Hello world, and you will see that the instructions are also transmitted via WiFi and displayed on the display after about 1 second.
    Next, let's try using the ultrasonic sensor to display the distance on the browser. We bring three nodes from the palette, Inject, Ultrasonic, and Gauge, and connect them with a line. First, open Inject and set the payload to date and time. Payload, by the way, is an unfamiliar word, but it means something like the body of data. Then, set Repeat to "Specified time interval" and set the time interval to 1 second. That way, you can call this program every second. Next, double-click Ultrasonic, choose a device ID, and create a dashboard with Gauge. Finally, connect the ultrasonic sensor, press Deploy, and you are done. We have confirmed that the value of the Gauge changes as we move objects closer or further away.
  • ХоббиХобби

Комментарии •