Microbit Remotable Dog Toy Using Kitronik MOVE Kit

by tofumaker in Circuits > Microcontrollers

1315 Views, 3 Favorites, 0 Comments

Microbit Remotable Dog Toy Using Kitronik MOVE Kit

IMG_2872.jpg

Trying to make a toy for my dog, I want the toy attract my dog and movable. I decided to use the micro:bit MOVE mini kits provided by Kitronik since micro:bit is able to connect with bluetooth, I can control the toy with my phone or tablet (for Android system only).

Aims:

  • Create attractive dog toy with light effect.
  • Make the toy able to hold dog treats.
  • Program the toy to move automatic.
  • Allow the toy control by remote.

Here's my dog playing with the remote-control artifact:

Equipment Required

IMG_2863.jpg

Parts needed

Tools needed

  • phillips screwdriver
  • scissors double sided tape

Remote app: https://play.google.com/store/apps/details?id=com.kitronik.blemove

Both hex files needed are included in the discussion about the code. Alternatively you can see both scripts at the following links;

Move automatic: https://www.kitronik.co.uk/blog/drawing-move-mini-...

Remote by Bluetooth app: https://www.kitronik.co.uk/blog/adding-bluetooth-r...

Headlight LED flashing: https://www.kitronik.co.uk/blog/automatic-headligh...

Build the :MOVE Mini

Follow the manual to build the :MOVE mini buggy: https://www.kitronik.co.uk/pdf/move-mini-instructi...

or this Product Showcase of how to assembling the :MVOE mini buggy:

Add Dog Treat Tray to the MOVE Mini

IMG_2855.jpg
IMG_2857.jpg
IMG_2859.jpg
IMG_2860.jpg
I add this tray to contain treats, it is small and easy removable. The shape of bone I used before is too big and scary my dog a little bit.
  1. Cut the top of the water bottle.
  2. Stick the plastic tray on the MOVE mini with double sided tape
  3. put your dog's favor treat in the tray

Program the Toy to Move Automatically

step3 auto with red and white flash.JPG

Using Makecode to program the toy

This code is for automatically move with or without LED lights flashing: https://makecode.microbit.org/_KrufXRXMD55o

Red flashlight animation when press Button A:

No light when press Button B:

The code is generalize from: https://www.kitronik.co.uk/blog/drawing-move-mini...

Adding Bluetooth Remote Control to the Toy

steps bluetooth remote control.JPG
IMG_2870.jpg
IMG_2868.jpg
IMG_2867.jpg
IMG_2869.jpg

This code allow you control the toy with an Android device: https://makecode.microbit.org/_5kk6P0Hu9AbH

Smile face show up after micro:bit connect to your device, arrows show when you control the toy with the app code generalize from: https://www.kitronik.co.uk/blog/adding-bluetooth-...

You can download the remote app (for Android only) from: https://play.google.com/store/apps/details?id=com....

Pairing Micro:bit With Android Device

IMG_2871.jpg

Follow the steps from this tutorial to pairing your micro:bit with your device and app (Android only):

Add Decoration (optional)

IMG_2873.jpg

You can decorate your toy with more dog treats.