STARTER GUIDE www.magicbit.
Welcome to the world of Magicbit Magicbit is a feature rich, easy to use and cost effective platform made for everyone. The inbuilt functionalities of Magicbit provide a unique advantage for users to learn and practice a wide range of application areas such as robotics, programming, Internet of Things(IoT) and electronics. Magicbit is an innovation ecosystem with hardware, software, mobile app, content, community and partners.
Index Background................................................................................................... 01 Programming Magicbit.................................................................................. 02 Magicbit Layout............................................................................................. 03 Magicbit Modules.......................................................................................... 05 Important...............................................
Background 01 Magicbit Core is a tiny programmable computer which takes inputs from the environment, process them and drive outputs according to the programmed logic. You can find dozens of these type of tiny programmable computers in washing machines, Televisions, Microwave ovens and many more devices. These tiny computers are mostly either microcontrollers or system on chips (SoC). There are three main components of a system (even for us humans) Inputs, Output and Processor.
Programming Magicbit 02 Magicblocks.io is an IoT platform to create IoT projects in minutes for both beginners and experts magicbit.cc/magicblocks Age 12+ Arduino is C/C++ based language with a large community all around the world with lot of free resources magicbit.cc/arduino Age 12+ MicroPython MicroPython is a programming language compatible with Python 3. It's a smart way to start learning Python magicbit.
Magicbit Front Potentiometer Rotate to change a value Battery Connector Plug the battery holder Crocodile Clip Holes Attach crocodile clips Push Buttons Digital inputs for Magicbit 03 Buzzer Play sounds LDR Light sensor OLED Display 128x64 pixel display Expansion Port More connectivity options
Magicbit Rear 04 Micro USB Connect to computer & Power Magicbit Reset Button ESP32 Module Brain of the Magicbit Flash Button Need for programming Motor Driver Connect 2x Motors LED Indicators Module Connectors Plug modules
Magicbit Modules 05 Motion Sensor Proximity Sensor RGB LED Detect the motion of a human or an animal Identify close objects without contact Create a combination of Red, Blue & Green lights Digital Signal Range :5m Digital/Analog Signal Range :5cm Neo Pixel Black Ext Module Blue Ext Module Connector to plug the soil Moisture and ultrasonic sensors to Magicbit Connector to plug the servo motor to Magicbit Tilt Sensor Detect the incline or motion of an object Digital Signal
Magicbit Modules 06 IR Receiver IR Emitter Temp.& Humi.
Important 07 Recommended for age 8 years and above. Magicbit is operated with a Voltage of 3.3V and should be handled with care to avoid any damage to user and the device. Following batteries can be used based on your battery holder selection. 1x 18650 Li-ion battery 3x AA Alkaline Battery Modules should be plugged to connectors aligning the logo printed on the sensor module with the display side on Magicbit.
Getting Started 01 Connect the Magicbit to the computer via USB cable. 02 When using for the first time, Magicbit self-check program will run on the device displaying different features. 03 Download and install Magicbit upload tool with drivers https://magicbit.
Magicblocks.io Visual code builder Block based programming or visual coding is a popular concept to develop solutions with ease. Magicbblocks.io is a cloud based IoT software which can be used to program Magicbit and develop solutions. Even a novice in programming can use this to develop a solution following a logical sequence to connect the blocks. Powered by Node-RED Magicblocks.io was developed based on Node-RED open source framework.
Setup Magicblocks 10 Sign Up & Login Visit https://magicblocks.io and click signup to register as a new user. When you fill & submit the basic details, you will get the activation link via email. Click on the link in the email to activate the account. Once activated, you can login to the account in magicblocks.io START PLAYGROUND Click on "Start Playground" after login. Playground is the workspace to create logic using different functional blocks.
Configure Magicbit 11 STEP 1 : Login to Magicblocks account and open the Device Manger tab STEP 2 : Click on button and new device dialog will popup STEP 3 : Add a Name and keep other fields with default values. Click on save changes STEP 4: Click on the configure button and refer to the below instructions 1. Upload magicblocks firmware using the uploader 2. Add your WiFi network SSID (name) and password 3. Connect to Magicbit WiFi network and wait for a beep sound 4.
Playground 12 The playground is a hosted instance of a customized version of the open source, Node-Red . On the left you will find the palette with all the blocks. Once you have created your program, the Deploy button on the top right corner will be used to update and save all your changes. Blocks or Nodes Blocks are the basic units of creating logic. There are many blocks for different functions in the palette. Blocks can be added to the workspace by dragging them from the palette.
Magicblocks Interface Palette Sidebar Workspace Playground Create logic using visual programming 13
Magicblocks Interface Device Manger Add, edit, configure & view hardware devices Dashboard Create dashboards to visualize data 14
Hello Magicbit Display text on Magicbit Your first project, OLED, Inject node Level : 15 Time : 30 mins Say hello to your Magicbit. You can display any text on your Magicbit display. STEP 1 : Power up your Magicbit using USB cable and get connected to Magicblocks cloud. Check page 11 to configure Magicbit for Magicblocks. STEP 2 : Open playground and drag following blocks to workspace from the block pallet. Inject block is used to input data to another block.
16 STEP 3 : Connect Inject block with Display block using a wire. Drag your mouse from small square on Inject to small square on Display block. Drag from here to display block STEP 4 : Click Deploy button to apply all changes. You can see the blue color dot on blocks disappearing after correctly deployed. STEP 5 : Once above steps are completed, you will see a connected mark under the Display block. Click switch (small square) at the left side of Inject block to see the Magic.
Smart Light 17 Control a LED through internet Control the onboard LEDs on Magicbit via internet. Try different patterns with colors. STEP 1 : Power up your Magicbit using USB cable and get connected to Magicblocks cloud. Check page 11 to configure Magicbit for Magicblocks. STEP 2 : Open playground and drag following blocks to workspace from the block pallet. Add two Inject blocks to workspace. Change Payload to boolean and set true for one block and false for other block.
STEP 3 : 18 Connect Inject blocks to Digital out block using wires and Deploy. Click on inject block switches to see magic. Activity Try to work with other LEDs and blink a LED Hint : Try repeat property in Inject and a Trigger Block Do you know? LED (Light Emitting Diode) is an electronic component which emits light when electricity is passing through it. You need to use a resistor to limit the current through a LED. Digital Output - In digital electronics a pin can take a value such as High or Low.
Light Meter 19 Display light level on a dashboard Develop web based Dashboards with Magicbit to display sensor or input values. STEP 1 : Power up your Magicbit using USB cable and get connected to Magicblocks cloud. Check page 11 to configure Magicbit for Magicblocks. STEP 2 : Open playground and drag following blocks to workspace from the block pallet. Inject block to trigger Analog In block in every one second. Set Repeat interval to 1 second. Analog In block reads analog input from Magicbit pins.
Click on edit icon at Group property to assign a group. On next 20 window click again on edit icon to set a Tab. Provide a name for Tab and click Add button. Then provide a name for Group and click Update button. Click Done to complete dashboard setup. STEP 4 : Click Deploy button to apply changes. Open dashboard on main sidebar menu. Cover LDR by hand to see the magic. Dashboard Activity Add different dashboard widgets such as chart and text to view light level. Try to turn on a LED when dark.
Weather Station 21 Monitor Temperature & Humidity Develop web based Dashboards with Magicbit to display sensor values from different modules. STEP 1 : Power up your Magicbit using USB cable and get connected to Magicblocks cloud. Check page 11 to configure Magicbit for Magicblocks. STEP 2 : Open playground and drag following blocks to workspace from the block pallet. Inject block and set Repeat interval to 1 second. Two gauge blocks from dashboard blocks. Set Range from 0 to 100.
Two DHT11 blocks to read sensor values. Open 22 properties and set Device ID , Pin to 32 & Mode to Temperature in one block and Humidity in other block. STEP 3 : Connect Temperature & Humidity sensor module port with pin 32. STEP 4 : Click Deploy button to apply changes. Open dashboard on main sidebar menu. View temperature and humidity values on gauges. Activity Change gauge types from properties and add chart widgets. Add Light level to the dashboard.
Talking Bot 24 Text to Speech Try audio playing with Magicbit in different solutions such as text to speech. STEP 1 : Power up your Magicbit using USB cable and get connected to Magicblocks cloud. Check page 11 to configure Magicbit for Magicblocks. STEP 2 : Open playground and drag following blocks to workspace from the block pallet. Digital In block reads digital input from Magicbit pins.
23 play audio block playbacks audio from the input text payload switch block act as a conditional logic block. Set value rule to 0. STEP 4 : Connect blocks and click Deploy button to apply changes. Press right push button on Magicbit to see the Magic Activity Try again without switch block. Change template with diffrent text and observe. Do you know? Method in Digital In and Analog In blocks gives option to get data from Magicbit. When Poll option selected you need to request data from those blocks.
What is Next 25 You have just started doing some magic with Magicbit. There are thousands of projects you can do. Here are some simple project ideas. Smart dustbin Plant watering Distance measuring Pet feeder Theft detector Personal assistant Water level monitoring Game console Ultrasonic radar Musical instrument IR Remote Smart AC controller Automatic night light Color Detector Counter Follow our website, Youtube channel and Hackster.io channel to learn more about new projects of Magicbit.
Supported Platforms Magicbit is supported by most ESP32 compatible platforms Cloud Platforms Blynk Arduino Cloud Thingsboard Microsoft Azure Google Cloud Platform Thinger.io Thingspeak ESP Rainmaker Amazon Web Services TOIT - blynk.io - create.arduino.cc - thingsboard.io - azure.microsoft.com - cloud.google.com - thinger.io - thingspeak.com - rainmaker.espressif.com - aws.amazon.com - toit.io Programming C# ESP-IDF BIPES (Block Python) JavaScript - nanoframework.net - espressif.com - bipes.net.
Magicbit Pinout TX RX 03 26 27 12 02 04 SCL 22 SDA SCL 01 13 14 SDA 21 15 GND 5V M2- 3.3V M2+ 05 M1- All pins support PWM except pin 5 1,3,5,16,17,18,21,22 pins doesn't support analog in function When WiFi is enabled, Analog in working only for pin 32 to 39 Max input voltage for any pin is 3.3V / battery connector is 4.2V 2,4,5,12,15 are strapping pins. learn more at magicbit.cc/pinout M1+ 21 22 3.3V GND MPWR GND 5V 5V 26 VBAT 33 3.3V 3.
Magicbit Plus Our Products 27 Magicbit Plus includes pluggable sensor modules to connect with Magicbit easily. Magicbit Pro Magicbit Pro includes Magicbit Core and pluggable sensor modules to explore creativity with technology Magicbot Magicbot is a robotic platform developed to plug the Magicbit and program to learn the basics of robotics such as line following, obstacle avoiding and Bluetooth & WiFi controlling.
Magicbit is an innovation platform and a STEM tool made for Internet of Things (IoT), Robotics, Electronics & Programming. It's a great tool to explore creativity with technology. Magicbit was created to make innovation with technology easy for everyone. Whether you are a kid trying to blink a LED or you are an expert working on your next complex IoT project, Magicbit is a perfect tool to solve any problem with innovation.