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 current distribution (v0.82.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 DuinoBot\0.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 current distribution (v0.82.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 DuinoBot\230.RandomNumberBuzzer
  4. Open RandomNumberBuzzer.mbqc

Fritzing circuit included
The Fritzing circuit for this example is included in the doc subdirectory on the example's folder.


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:
  • DuinoBot\60.RepeatBuzzerBeep\RepeatBuzzerBeep.mbqc
  • DuinoBot\70.BuzzerAndVariable\BuzzerAndVariable.mbqc


4. Servo (incremental position)
Get the code
The code for this example is included with Minibloq's current distribution (v0.82.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 DuinoBot\300.ServoIncrementalPos
  4. Open ServoIncrementalPos.mbqc

Get the Fritzing circuit
The Fritzing circuit for this example is included in the doc subdirectory on the example's folder.


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 current distribution (v0.82.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 DuinoBot\310.FiveLEDs
  4. Open FiveLEDs.mbqc

Get the Fritzing circuit
The Fritzing circuit for this example is included in the doc subdirectory on the example's folder.


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 DuinoBot\360.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\10.AnalogSensorAndFading
  4. Open AnalogSensorAndFading.mbqc

Get the Fritzing circuit
The Fritzing circuit for this example is included in the doc subdirectory on the example's folder.


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 current distribution (v0.82 Beta). You can open them with the File->Examples menu:
  • DuinoBot\90.RepeatMotorsFwdRev
  • mobileRobot\100.MotorAcceleration
Get the Fritzing circuit
The Fritzing circuit for this example is included in the doc subdirectory on the example's folder.


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 current distribution (v0.82.Beta). You can open it with the File->Examples menu:
  • DuinoBot\120.AnalogSensorAndMotor
Get the Fritzing circuit
The Fritzing circuit for this example is included in the doc subdirectory on the example's folder.


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 current distribution (v0.82.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 DuinoBot\130.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 current distribution (v0.82.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 mobileRobot\50.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 DuinoBot\290.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