DIY Interactive Robot Using REKA:BIT With Micro:bit
by Alhamed in Circuits > Microcontrollers
570 Views, 1 Favorites, 0 Comments
DIY Interactive Robot Using REKA:BIT With Micro:bit
![DIY Interactive Robot using REKA:BIT with micro:bit | Tutorial for Beginners](/proxy/?url=https://content.instructables.com/FES/5OGF/KTODHIXP/FES5OGFKTODHIXP.jpg&filename=DIY Interactive Robot using REKA:BIT with micro:bit | Tutorial for Beginners)
Let's build an interactive robot! 🤖
Not the kind that talks to you per se, but the kind that goes all happy when you start to tickle it! In short, a humanoid Tamagotchi!. 🦾
Curious but can't imagine it? Then come join me and learn how to build it using a REKA:BIT! ✨
Components and Tools
![Screenshot (178).png](/proxy/?url=https://content.instructables.com/FOW/8RIK/KTODHJ2K/FOW8RIKKTODHJ2K.png&filename=Screenshot (178).png)
![Screenshot (179).png](/proxy/?url=https://content.instructables.com/FOH/Z5A6/KTODHJ2L/FOHZ5A6KTODHJ2L.png&filename=Screenshot (179).png)
Electrical Components Required:
- 1x REKA:BIT board with MicroBit v2 (Notice we're using MicroBit v2 in order to work with its sound & touch sensors)
- 2x Servo motors attached to ice cream sticks
- 2x TT Motor + Wheel Kit
- 1x Potential Meter 10K
- 4x LED
- 4x Resistors (the resistance value can be ranged from 100Ω to 2kΩ)
- 3x Grove to female cable
- 6x Male to male wires
- Battery holder
Tools Required:
- Breadboard
- Cardboard
- Hot Glue Gun
- Scissor
- Cable ties
All listed components can be found on Cytron Technologies' website!
Use Cardboard to Make the Robot Body
![Slide1.JPG](/proxy/?url=https://content.instructables.com/FL1/G9Z3/KTODHQQY/FL1G9Z3KTODHQQY.jpg&filename=Slide1.JPG)
![Slide2.JPG](/proxy/?url=https://content.instructables.com/F5G/WBPO/KTODHQQZ/F5GWBPOKTODHQQZ.jpg&filename=Slide2.JPG)
![Slide3.JPG](/proxy/?url=https://content.instructables.com/FL0/UIOH/KTODHQR0/FL0UIOHKTODHQR0.jpg&filename=Slide3.JPG)
![Slide4.JPG](/proxy/?url=https://content.instructables.com/FZK/EULN/KTODHQR1/FZKEULNKTODHQR1.jpg&filename=Slide4.JPG)
![Slide5.JPG](/proxy/?url=https://content.instructables.com/F6Z/NUHQ/KTODHQR2/F6ZNUHQKTODHQR2.jpg&filename=Slide5.JPG)
- Cut cardboard to the dimensions shown in figure 1, (Note: you can print the robot template by clicking here!)
- Use the glue gun to attach the side parts as shown in figures 2, 3.
- Attach the breadboard holder as shown in figure 4. and make sure to leave a little space for the ease of wire connection as shown in figure 5.
Connection
![Slide1.JPG](/proxy/?url=https://content.instructables.com/F94/Y1SZ/KTPSXAI4/F94Y1SZKTPSXAI4.jpg&filename=Slide1.JPG)
![Slide2.JPG](/proxy/?url=https://content.instructables.com/FZA/9ULT/KTPSXAI5/FZA9ULTKTPSXAI5.jpg&filename=Slide2.JPG)
![Slide3.JPG](/proxy/?url=https://content.instructables.com/FSP/JZ59/KTPSXAI6/FSPJZ59KTPSXAI6.jpg&filename=Slide3.JPG)
- The first grove port of REKA:BIT will be connected to the potentiometer, as shown in figure 1
VCC => 3v3 pin
GND => GND pin
OUTPUT => Pin 1 (P1) - Connect LEDs to the breadboard, as shown in figure 2
where:
The long leg (Anode) should be connected to the output pin.
The short leg (Cathode) should be connected to a resistor, and the resistor will be connected to the ground pin.
After that, connect the female wires that coming from the grove port to the male wires on the breadboard. - Connect both servo motors to the servo ports number 1 and 2
- Connect the DC motors to their terminals
In the end, your connection should be similar to figure 3
Attach Components to Cardboard
![Slide1.JPG](/proxy/?url=https://content.instructables.com/FQH/8ZZ7/KTPSXE2H/FQH8ZZ7KTPSXE2H.jpg&filename=Slide1.JPG)
![Slide2.JPG](/proxy/?url=https://content.instructables.com/FHC/HFVM/KTPSXE2I/FHCHFVMKTPSXE2I.jpg&filename=Slide2.JPG)
![Slide3.JPG](/proxy/?url=https://content.instructables.com/FC5/FVWC/KTPSXE2J/FC5FVWCKTPSXE2J.jpg&filename=Slide3.JPG)
![Slide4.JPG](/proxy/?url=https://content.instructables.com/FO4/R8PC/KTPSXE2K/FO4R8PCKTPSXE2K.jpg&filename=Slide4.JPG)
![Slide5.JPG](/proxy/?url=https://content.instructables.com/FFO/RFKK/KTPSXE2L/FFORFKKKTPSXE2L.jpg&filename=Slide5.JPG)
![Slide6.JPG](/proxy/?url=https://content.instructables.com/FCX/HUHT/KTPSXE2M/FCXHUHTKTPSXE2M.jpg&filename=Slide6.JPG)
![Slide7.JPG](/proxy/?url=https://content.instructables.com/FVU/MM2B/KTPSXE2N/FVUMM2BKTPSXE2N.jpg&filename=Slide7.JPG)
![Slide8.JPG](/proxy/?url=https://content.instructables.com/F73/SKCX/KTPSXE2O/F73SKCXKTPSXE2O.jpg&filename=Slide8.JPG)
![Slide9.JPG](/proxy/?url=https://content.instructables.com/FPH/A2TV/KTPSXE2P/FPHA2TVKTPSXE2P.jpg&filename=Slide9.JPG)
![Slide10.JPG](/proxy/?url=https://content.instructables.com/F93/URXL/KTPSXE2Q/F93URXLKTPSXE2Q.jpg&filename=Slide10.JPG)
- Insert the potentiometer in the middle
- Place the breadboard over the cardboard piece
- Attach servo motors
- Place DC motors on the bottom sides
- Attach REKA:BIT and fix it using cable ties
- Insert the caster wheel into a piece of cardboard and place it at the bottom
- Place the battery holder over the cardboard piece
- Make the circuit connection as shown in the previous step
- Attach the ice cream sticks to servo motors
- Close the top side with a cardboard piece
Code
![microbit-screenshot (2).png](/proxy/?url=https://content.instructables.com/FKL/ZYUX/KTPSXF3E/FKLZYUXKTPSXF3E.png&filename=microbit-screenshot (2).png)
Now, connect the MicroBit to your device and open MakeCode editor to start programming.
- Add REKA:BIT extension and follow the code block in the picture above
- After completing the code block, download it and compile it over REKA:BIT
You can also view and edit the code by clicking here!
Well Done!
![Screenshot (206).png](/proxy/?url=https://content.instructables.com/FO8/RTO0/KTPSXFDR/FO8RTO0KTPSXFDR.png&filename=Screenshot (206).png)
Awesome! the interactive robot is ready to go.
Turn on REKA:BIT and enjoy having fun with it.
Don't forget to show your cool robot to your friends!
Have a good day, Maker :)