The CodeyBot Review

The codeybot is a Makeblock product that was launched on kickstarter and is a wheeled robot that is targeted towards education and experimentation. It can be programmed using the mBlocky app downloadable from the Play store as well as the App Store. It can also be controlled using a limited set of voice commands as well as using the Phone’s accelerometer. The most interesting thing about this robot is the fact that it can balance on two wheels and can dance and play music.

As backer no1 on kickstarter, I got my hands on the bot and did an unboxing video here.

The codeybot is built intelligently and the guts are quite well placed. I would have liked to see the connector description somewhere but thats ok since I did a teardown of the turret and then the bot which I will cover in the next post.


The app seems a bit cluttered with all the functionally crammed into one screen but can work if you have an iPad or android tablet.


The mBlocky app is clean and works well out of the box


The fun begins when you have two of these and can convince a friend to play laser tag with you. You get an assortment of weapons and two codeybot paired together can be hours of fun together.


We will be sharing the details of the codeybot and turret teardown in the next post so please like and subscribe the video on youtube and if you have any suggestions of comments, feel free to put them the in the box below.
Thanks and happy hacking.

BBC Micro Bit – A Line Following Robot Part 1

The BBC Microbic is a small ARM based, user friendly, micro controller targeted towards computer education in the UK. It has been developed by the partnership of a long list of organisations including Microsoft, Element14, Nordic, NXP and many more. (Click here for the wikipedia link)

Continue reading “BBC Micro Bit – A Line Following Robot Part 1”

[RPi Rover] Another Raspberry Pi Robot – Episode 2 – Starting Python

Raspberry Pi Rover


In the last post, I described the hardware part for our robot which uses the Seeed Studios GrovePi+ since I am yet to receive my kit. In this post, I talk about the software part and making the robot move. Lets see what we can do. Continue reading “[RPi Rover] Another Raspberry Pi Robot – Episode 2 – Starting Python”

[RPi Rover] Another Raspberry Pi Robot – Episode 1 – The chassis


I have experimented with Raspberry Pi Robots in the past but I wanted to make a generic Robot that you can use practically. This series is about making a Robot using scrap and as many things as you can find in the house and then make it useful and solve a problem. In this post I start by making the chassis. Continue reading “[RPi Rover] Another Raspberry Pi Robot – Episode 1 – The chassis”

Seeedstudios Groove Pi+ Pre-Review Part 1


SeeedStudios has their own system of prototyping hardward called Grove which uses four pin connectors to connect sensors, actuators and subsystems together to a central controller which can be arduino based or MSP430 based. Recently, they have introduced an interface to the Rapberry Pi called the grovepi+ which is a Raspberry Pi Hat with an Atmega328P which allows the RPi to take advantage of the grove widgets. I was one of the people who got their hands on one of the pre-review units in a Kit form and I decided to do a little something with it. In this article I will go through the basic kit and it’s contents and my first impressions since this is the first time I am using the Grove System. I had a few preconceptions and I will discuss my experience with the kit so far along with a project plan I have going. Lets go! Continue reading “Seeedstudios Groove Pi+ Pre-Review Part 1”

Final Summary “Forget What?” Project: An IOT based home automation system with a budget!: Part-2

Minion Bot


My previous post was a textual summary of work done and I just could not shrink it more. In this post I continue by providing demo videos for the project. I try to explain the working and internals without actually tearing down the modules. For that most of my posts in the past have been short in number but long in text and serve the purpose of a teardown. I am focusing primarily on demonstrating the system in order to give a better understanding of the working and application. Continue reading “Final Summary “Forget What?” Project: An IOT based home automation system with a budget!: Part-2″

Motor Driver Test on an Arduino


There are prolly a billion tutorials for this and mine is prolly not the best but I am writing it anyways. Here is a piece of arduino code that can be used to test if your motor driver is connected correctly.


I am assuming that the motor driver L293D or L298 has been connected such that the Enable pin is high by default i.e. connected to VCC. In the next tutorial I will put up a circuit like how I think should be done. None the less, the direction 1 pin is connected to 12 pin of the Arduino and direction 2 pin is connected to 13 pin of the arduino.

The Code

The code is as follows:

*	\file		motorTest.ino
*	\author 	Inderpreet Singh (
* 	\license	GPL2(see license.txt)
*	\section 	Description
*	\section	HISTORY
*	v1.0
*        \description  This arduino firmware is used to test L293D motor Drivers
*                      Change the Motor driver pins at the beginning and the rest
*                      will work automatically.
* I put a lot of time and effort into our project and hence this copyright 
* notice ensures that people contribute as well as each contribution is 
* acknowledged. Please retain this original notice and if you make changes
* please document them along with your details.
* The latest copy of this project/library can be found at: 
// ----------------------------------------------------------------------------
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;

// L298D Pins
int D1=12
int D2=13
//int D3=
//int D4=
//int E1=
//int E2=

// Direction Routines
void motorStop(void){

void motor1CK(int t){
  digitalWrite(D1, LOW);
  digitalWrite(D2, HIGH);

void motor1ACK(int t){
  digitalWrite(D2, LOW);
  digitalWrite(D1, HIGH);
// the setup routine runs once when you press reset:
void setup() {                
  // initialize the digital pin as an output.
  pinMode(D1, OUTPUT);     
  pinMode(D2, OUTPUT);

// the loop routine runs over and over again forever:
void loop() {
  motor1CK(5);               // Rotate motor Clockwise for 5 seconds
  motor1ACK(5);              // Rotate motor Anticlockwise for 5 seconds

copy and paste the code in the arduino IDE and upload. Test and lemme know.


The Poorman’s Robotics: Sensors

TSOP1738 as sensor with 55 based 38 khz Pulse generator

Sensors 101

 A sensor doesn’t necessarily mean sight. Some times a sensor is able to pick up much more information like temperature, light, color, velocity, acceleration, inclination, altitude, depth, pressure etc. Depending upon the quantity to be measured and the environment where it will be measured, the sensors will vary. The basic principle however remain the same. Balanced whetstone, conversion techniques etc all are used even in the most advanced sensors. I won’t go into the history of things since I expect that my readers have already read the books. I will however explain some basics and assembly of sensors at a more practical level.

Continue reading “The Poorman’s Robotics: Sensors”