Posts Tagged ‘slu’

A month ago while browsing at ebay I came across this Bluetooth Audio Receiver and its on sale so I gave it a shot. At first it is a little difficult because all literature available are all in chinese, but luckily I found a readable manual. The exact model of this module is BLK-MD-SPK-D. I found out that there are several models and they look the same.Bluetooth Module

Finally when it arrived, I quickly made a breakout board to test its functionality, and it turned out it sounds great and its stereo. Eagle library and manual can be downloaded from the link below for those who need it.

Breakout Board

Eagle Files and Manual Download Link Click Here

This is my new mobot board for testing newer mobots specifically using the Anito Board based on PIC16F877a. This board is an arduino compatible that can also be used with standard arduino board. It includes a motor driver, a port  for Bluetooth, and a 5 channel Line Tracking Sensor.

PCB Files can be downloaded here:

I’ve been in digital electronics for a while, so I decided to combine my knowledge with analog electronics. This project is a modular amplifier based on LM3886 50W monolithic amplifier from National Semiconductor configured as non-inverting amplifier. The preamplifier and tone control module is based on TDA7313 digital controlled preamplifier via I2C with PIC16F88.

The Amplifier Module

The circuit is based on Jim George Six Channel Mixer and Amplifier configured as non inverting amplifier with a gain of 23.

Tone Control Module

The TDA7313 schematic is based on the datasheet, with the addition of a 7809 regulator. I added the regulator since the other modules are working on different voltage level so any accidental voltage input will not destroy the unit.

Controller Module

The Microcontroller is a PIC16F88 using internal oscillator, with 3 buttons for menu and navigation and a 2×16 LCD for display, like the other module, an onboard regulator is on board.

Actual Modules

LM3886 Amplifier Modules

TDA7313 Tone Control

Microcontroller, LCD and Buttons

Demo Video

Project Files in PDF and hex file for MCU can be downloaded from here

During the college days, we were thought how to use the 8051 microcontroller, as a student our biggest problem is how to burn our hex file to our chip. Until these days, this is still the problem of students in my school so I came up with an idea making a simple programer using my Gizduino (Arduino clone in the Philippines) lying around and writing a simple C# application to process the hex file. The 89s52 is the most common available in our place and the good thing is it can be programmed via its SPI port without needing high voltage to enter programming mode.

Programming the chip is not that difficult, we just need to issue series of commands as stated in the datasheet, the c# app will parse the hex file and what the gizduino will do is just to translate it to SPI commands, then voila we have our 8051 programmed in no time. The prototype is done using my general purpose digital trainer.

The Atmega 328/168 in the arduino is overkill for these purpose, I will port this later to a smaller and cheaper microcontroller.

The fun part Testing!

The Microchip Pickit2 is one of the most hobby friendly PIC programmer in the market. It lets you program the chip within MPLAB and the most important feature is its USB connectivity. I used a JDM based programmer which confines me of programming with my desktop until I had my PIKIT2, version of the original pickit2. At work I am using a PICSTART plus programmer which annoys me because I cannot do on the fly update on the development board because I always have to remove the IC from the board then put it in the programmer back to the board so I made this quick simplified pickit2 from the parts I have.


The original pickit2 requires a  680uH inductor and a 20Mhz clock, but I only have a 220uH inductor and a 12Mhz crystal so i gave it a try. I programmed the PIC18F2550 with the PICSTART within MPLAB, to use the 12Mhz crystal the PLL prescaler selection bit must be modified to divide by 3. This version of the pickit2 is a strip down version intended for hobbyist and students that do not require the progammer to go feautres, also DO NOT use this pickit2 version on 3.3V PICs since the part for adjusting target VDD is also taken out.

I tested it with another PIC18F2550 and voila! this programmer works like a charm even with a 12Mhz crystal and a 220uH inductor on the VPP circuit. This programmer was also tested with PIC16F628A, PIC12F609 and PIC10F202 without problems.


The firmware of the PIC used in the programmer can be found on Program Files\Microchip\MPLAB IDE\PICKit2\PK2V023200.hex. The JDM programmer can also be used to program the PIC18F2550 for the first time, just dont forget to change the PLLDIV to divide by 3 when using a 12Mhz crystal, but when a 20Mhz crystal is used no need to changed anything on the PICkit2 firmware.

Getting started with mobile robots, we definitely need a platform where we can fit the electronics of our robot and make it move. In this tutorial we will be making a cheap mobile robot platform from a toy commonly called as tumbling car here in the Philippines. It can be bought almost anywhere specially on Chinese discount stores at 40-50 pesos.

The Materials:

2 – Tumbling car

1 – Small screwdriver

1 – Side Cutter or small saw

1 – Super glue


Let’s get started:

First, unscrew the top cover by removing the two screws at the bottom side of the toy

Toys with top cover removed

Next, remove the wheels opposite the motor and the gearbox as shown

Trim down the shaft for proper alignment

Put super glue all around on one of the cars


Align and put them together

You may add a plastic or metal link for more strength and ruggedness against bumps like the one shown below

Wait for the superglue to dry and voila!, you now have a less than 200 Pesos robot platform in less than 30 minutes

A few months ago, members of conceptualize a Filipino Version of Robot Wars the D-Wars –>> Filipino Version of Robot Wars, open to students, enthusiast hobbyist and everyone else who is interested. Thus, I came up building my own autonomous sumo bot later I named Nemesis.


Processor: PIC16F628 at 8Mhz

Sensors: 2 E-gizmo IR Proximity Sensor Kit for enemy detection

2 IR reflective  Sensors for line detection

Powersource: 4x AA for Motors

1x9V for processor and sensors

Motors: Tamiya TwinGearbox Motors 204:1 Gear Ratio

Motor Driver: L293D

Front IR  Sensor Testing

Bottom IR Sensor Testing

The software is still in the infant stage and still many things to add specially on how it will attack its enemy.