Examples

1. Blink
This example is like the "Hello World" of physical computing:
Get the code
The code for this example is included with Minibloq's distribution (v0.8.Beta). You can find the code easily:
  1. Click on the the
  2. File->Examples menu.
  3. In the open file dialog, go to the folder Arduino_Seeed_DuinoBot_Maple\10.Blink
  4. Open Blink.mbqc
 
See it in action


2. Buzzer (random notes)
Get the code
The code for this example is included with Minibloq's distribution (v0.8.Beta). You can find the code easily:
  1. Click on the the
  2. File->Examples menu
  3. In the open file dialog, go to the folder Arduino_Seeed_DuinoBot_DuinoBot.Kids\80.RandomNumberBuzzer
  4. Open RandomNumberBuzzer.mbqc

Get the Fritzing circuit
You can download the Fritzing circuit from this link.


Parts list
  • 1x 5 to 9V (small) buzzer without oscillator.
  • 1x Breadboard.
  • 1x Arduino™ compatible board.
  • Cables.
These parts can also be found in kits like the SparkFun Inventor's Kit for Arduino.


See it in action


3. Other buzzer examples
The following programs (also deployed with the current Minibloq's version) works with the same circuit as the "ramdom notes" example. You can open them with the File->Examples menu:
  • Arduino_Seeed_DuinoBot_DuinoBot.Kids\70.RepeatBuzzerBeep\RepeatBuzzerBeep.mbqc
  • Arduino_Seeed_DuinoBot_DuinoBot.Kids\90.BuzzerAndVariable\BuzzerAndVariable.mbqc


4. Servo (incremental position)
Get the code
The code for this example is included with Minibloq's distribution (v0.8.Beta). You can find the code easily:
  1. Click on the the
  2. File->Examples menu
  3. In the open file dialog, go to the folder Arduino_Seeed_DuinoBot_DuinoBot.Kids\170.ServoIncrementalPos
  4. Open ServoIncrementalPos.mbqc

Get the Fritzing circuit
You can download the Fritzing circuit from this link.


Parts list
  • 1x standard servo (like this, for example).
  • 1x Breadboard.
  • 1x Arduino™ compatible board.
  • Cables.
These parts can also be found in kits like the SparkFun Inventor's Kit for Arduino.


See it in action


5. Five LEDs
Get the code
The code for this example is included with Minibloq's distribution (v0.8.Beta). You can find the code easily:
  1. Click on the the
  2. File->Examples menu
  3. In the open file dialog, go to the folder Arduino_Seeed_DuinoBot_Maple\30.FiveLEDs
  4. Open FiveLEDs.mbqc

Get the Fritzing circuit
You can download the Fritzing circuit from this link. 


Parts list
  • 2x standard 5mm red LEDs (other colours can be used).
  • 3x standard 5mm yellow LEDs (other colours can be used).
  • 5x 330 Ohms 1/8W resistors.
  • 1x Breadboard.
  • 1x Arduino™ compatible board.
  • Cables.
These parts can also be found in kits like the SparkFun Inventor's Kit for Arduino.


See it in action


6. Analog sensor and blinking
Get the code
To get the code you will need to:
  1. Click on the the
  2. File->Examples menu
  3. In the open file dialog, go to the folder Arduino_Seeed_DuinoBot_Maple\80.AnalogSensorAndBlinking
  4. Open AnalogSensorAndBlinking.mbqc
Please note that this circuit and code can be also be used for the AnalogSensorAndFading example, deployed with Minibloq:
  1. Click on the the
  2. File->Examples menu
  3. In the open file dialog, go to the folder Arduino_Seeed_DuinoBot_Maple\40.AnalogSensorAndFading
  4. Open AnalogSensorAndFading.mbqc

Get the Fritzing circuit
You can download the Fritzing circuit from this link. 


Parts list
These parts can also be found in kits like the SparkFun Inventor's Kit for Arduino.


See it in action


7. DC motor with H-bridge examples

Get the code
The following examples are deployed with Minibloq's distribution. You can open them with the
File->Examples menu:
  • Arduino_Seeed_DuinoBot_DuinoBot.Kids_Maple\20.RepeatMotorsFwdRev
  • Arduino_Seeed_DuinoBot_DuinoBot.Kids_Maple\30.MotorAcceleration
Get the Fritzing circuit
You can download the Fritzing circuit from this link. 


Parts list
  • 1x small DC motor like this (Be careful: don't use motors bigger than those that can be managed by your H-bridge IC and your control board.)
  • 1x H-bridge IC like the L293D or the SN754410 (Note: If you use the SN754410 you may need to add fast clamping diodes, such as the UF4007 -the L293D already have internal clamping diodes-.)
  • 1x Breadboard.
  • 1x Arduino™ compatible board.
  • Cables.
These parts can also be found in kits like the SparkFun Inventor's Kit for Arduino.


See it in action



8. DC motor, H-bridge and sensor
Get the code
This example's code is very simple, and is deployed with Minibloq's distribution. You can open it with the
File->Examples menu:
  • Arduino_Seeed_DuinoBot_DuinoBot.Kids_Maple\40.AnalogSensorAndMotor
Get the Fritzing circuit
You can download the Fritzing circuit from this link. 


Parts list
  • 1x small DC motor like this (Be careful: don't use motors bigger than those that can be managed by your H-bridge IC and your control board.)
  • 1x H-bridge IC like the L293D or the SN754410 (Note: If you use the SN754410 you may need to add fast clamping diodes, such as the UF4007 -the L293D already have internal clamping diodes-.)
  • Trimpot 10K with Knob, like this.
  • 1x Breadboard.
  • 1x Arduino™ compatible board.
  • Cables.
These parts can also be found in kits like the SparkFun Inventor's Kit for Arduino (except for the H-bridge).


See it in action


9. IR remote control + DuinoBot.Kids
Get the code
The code for this example is included with Minibloq's distribution (v0.8.Beta). You can find the code easily:
  1. Click on the the
  2. File->Examples menu
  3. In the open file dialog, go to the folder Arduino_Seeed_DuinoBot_DuinoBot.Kids\120.IRBuzzer
  4. Open IRBuzzer.mbqc

Parts list

See it in action




10. IR controlled N6 robot
Get the code
The code for this example is included with Minibloq's distribution (v0.8.Beta). You can find the code easily:
  1. Click on the the
  2. File->Examples menu
  3. In the open file dialog, go to the folder Arduino_Seeed_DuinoBot_DuinoBot.Kids\150.IRRemoteRobot
  4. Open IRRemoteRobot.mbqc

Parts list

See it in action


11. Selecting blocks in a Multiplo conveyor belt
Get the code
To get the code you will need to:

  1. Click on the the
  2. File->Examples menu
  3. In the open file dialog, go to the folder Arduino_Seeed_DuinoBot_DuinoBot.Kids_Maple\70.ConveyorBelt
  4. Open ConveyorBelt.mbqc

Parts list
This example can be built with a construction kit, such as the Multiplo TechBox from RobotGroup.


See it in action