Zedomax DIY 113 – Build a bluetooth controlled Holloween Hovercraft party light!

[DIY 113]

Do it yourself !

Zedomax Hovercraft Version 3 – Asteroid II

Build a bluetooth controlledHolloween Hovercraft party light!

http://zedomax.com/diy/113/max_holloween.gifhttp://zedomax.com/diy/113/jackie_holloween.gif

http://zedomax.com/diy/113/zedomax_diy_113_1.gif

[gv data=”C3v3uWwIGXQ”][/gv]

Okay, the other day we made a cool hovercraft, today we will add a bluetooth module and a embedded computer to make it spin!

Parts List:

Parts from original hovercraft. (Yes, you need to make the hovercraft first…)

2 CUBLOC CB220 modules

2 CB220 Proto Boards

2 Acode-300 Bluetooth Modules

2 Pushbuttons

2 LEDs

2 I/O Cell Relays

2 5V to 3.3V regulator (for ACODE-300, I got mine off an XPORT Dongle…)

2 DC Jacks

1 9V Battery

1 AAA Battery

2 330Ohm Resistors

3 10K Resistors

1 Creativity

1 Concentation

HOWTO

First, you will need to make some circuits. You need make a transmitter module and a receiver module for your hovercraft.

Here’s what the ACODE-300 Module’s pinouts look like:

You basically need to make a circuit for the ACODE-300, which we did this before with wireless LCD, you can refer to this link

You can download the full schematic here:

Asteroid II Bluetooth Trasmitter & Receiver

After you make the trasmitter and receiver, you should have something like this:

Transmitter:

Receiver (to put on the hovercraft) :

Okay, this should take you about 1 hour for the Transmitter and 1 hour for the Receiver.

Once you are done making it, make sure to setup your ACODE-300 modules to 115200 bps and they are connecting.

Before putting your ACODE-300 on your trasmitter and receiver, set them up using the software below and the ACODE Interface Board:

Insert your ACODE-300 module as shown
above to the interface board. Also connect a serial cable and
DC power (between 5 and 12V) to the interface board.

Run the PromiWIN4.0_Setup(En).exe installer program and install
Promi software, which we will use to link the two ACODE-300 wireless modules.

PromiWIN4.0_Setup(En).exe Download

The default baud rate for ACODE-300 is set at 9600 bps. So Just
click OK, and you should be able to see the following screen:

Now we are ready to set the device to a faster baud rate.

Change the Operation Mode to MODE3, Baud rate to 115200bps and
set the device name to device 1 as shown above.

If you get the message Configuration has been applied, you are ready to go.

Unplug your ACODE-300 module from the interface board and plug it back into your trasmitter.

Power ON your study board and your ACODE-300 should start
blinking the LED like above every 1-2 seconds.

Now take your ACODE-300 module from your receiver and
plug it into the interface board and run Promi program again.

Once you are connected, change the Operation Mode to MODE1, Baud
rate to 115200bps and set the device name to device 1? as shown above.

After applying the above settings, Click on Connection(out) and press Search .

You should be able to find the device 1, the ACODE-300 module on the study board.

Now, select the device 1 and click on Connect .

You should see both LEDs of ACODE-300 turn on continusly once
you get this message:

(LEDs continuously ON)

When LEDs are lit up like above, the ACODE-300 modules are
connected and a straight RS232 serial connection has been
established. It s as if a serial cable has been connected
wirelessly.

Now unplug the ACODE-300 module from the interface board and
plug it back into your receiver module:

Now when you power ON both trasmitter & receiver and you should see both LEDs light ON as shown in above picture.

Now open up your CUBLOC Studio and compile and download the transmitter program to the transmitter andthe receiver program to the receiver.

Click here to Download Transmitter Program

Click here to Download Receiver Program

Now take your new party light to your friend’s next party and start groovin!

Cool Pics of transmitter fitting in my hand:

Taking it Further…

Well, I’ve built a very simple protocol, actual here’s the whole code for the transmitter:

Const Device = CB220

#define DEBOUNCE_RATE 10

Input 0

Input 1

On timer(DEBOUNCE_RATE) Gosub CheckKey ‘Set at 200ms

Opencom 1,115200,3,10,10

Dim key0 As Byte, key1 As Byte

Do

Loop

CheckKey:

key0 = In(0)

key1 = In(1)

If key0=1 And key1=1 Then

Debug “Both Keys Pressed”,Cr

Putstr 1, “B”

Elseif key0=1 Then

Debug “Right Key Pressed”,Cr

Putstr 1, “R”

Elseif key1=1 Then

Debug “Left Key Pressed”,Cr

Putstr 1, “L”

End If

Return

And the code for receiver:

Const Device = CB220

Output 14

Output 15

Dim Command As Byte

Dim Length As Byte

Opencom 1,115200,3,3,3

On Recv1 Gosub Get_Command

Out 14,0

Out 15,0

Do

Loop

Get_Command:

Length=Blen(1,0)

If Length>0 Then

Command=Get(1,1)

If Command=Asc(“L”) Then

Debug “Left Button Pressed”,Cr

Out 14,1

Delay 200

End If

If Command=Asc(“R”) Then

Out 15,1

Delay 200

Debug “Right Button Pressed”,Cr

End If

If Command=Asc(“B”) Then

Out 14,1

Out 15,1

Delay 200

Debug “Both Button Pressed”,Cr

End If

End If

Out 14,0

Out 15,0

Return

Basically, all I did was to limit number of receive buffer and send buffer using Opencom() to prevent case of overflow and just use three letters, L, R, and B. L is for Left, R is for right, and B is for both buttons. You could probably see that you can build much more complex code on top of this.

Here’s schematic of I/O Cell Relay and ACODE Data spec sheet for reference:

I am thinking of a hover-bot next…I think I can just put some sensors and make it roam around on it’s own now, no more controlling it, got to give it freedom to think on its own… 🙂

Happy Holloween!

< 🙂

If you are having any trouble with above app, please e-mail max@zedomax.com

If you have any cool apps you’d like to share or want some kind of DIY, please e-mail to max@zedomax.com

We do accept free samples for DIYs, please email max@zedomax.com 🙂

14 Responses to Zedomax DIY 113 – Build a bluetooth controlled Holloween Hovercraft party light!

  1. Pingback: Zedomax DIY 113 - Build a bluetooth controlled Holloween Hovercraft party light! | zedomax.com - blog about emerging technologies, diy, gadgets, and more!

  2. max says:

    should be halloween…oops…

  3. max says:

    hmmm…. i really need to go out more…
    less time in front of computer, more time riding my moto…

  4. Pingback: darrellsrevenge.com » Blog Archive » DIY: Hovercraft - Halloween Edition

  5. Pingback: GADGET Blog » Build a bluetooth controlled Holloween Hovercraft party light

  6. Pingback: EveryDigg » Blog Archive » Build a bluetooth controlled Holloween Hovercraft party light

  7. Dave says:

    SEND ME MORE INFO I GOT ONE FOR YOU CONTROLLED B.T. 3D HOLOGRAPHIC LIGHT IMAGE so ppl wont think your crazy talking to your self any more instaed they will see the person your on the phone with if You Wish to Display them in Real Time Mode If intrested Serious Investors Only!…..To ProLogicCustoms@aol.com

  8. Pingback: Mexico501 » Blog Archive » Build a bluetooth controlled Holloween Hovercraft party light

  9. Pingback: The Digg Effect - Search for Diggs or get Dugg » Build a bluetooth controlled Holloween Hovercraft party light

  10. Roberto says:

    eu queria que se possivel me mande o esquema , pois eu so estou vendo ele ampliado e não em um tamanho reduzido. por favor me envie robertosntomartins@gmail.com

  11. Roberto says:

    você vende esse circuito pronto eu tenho interesse em compra e estudo uma proposta de comprar ate em grande escala me envie robertosntomartins@gmail.com

  12. mauricio says:

    donde se consigue el modulo acode 300, colombia, mauricioporras@yahoo.com
    thanks

  13. soufiane says:

    Hi!
    it’s a great work ,thank you very much ,

    can you help me?
    i am an engineer in electronics , My final year project is about Bluetooth to USB dongle ;can you help me in programming part , i am using PIC 18F4550 ,with UART and a Bluetooth Module ;
    I don’t know how to do the interfacing and how to write the Firmware

    Thanks so much louchenes@gmail.com

  14. Rey says:

    hi,

    I m Rey

    I want you to send me the full ¨PCB Multisim

    & the programme which allow to do the bluetooth functionne

    THanks in advance

    Farhan18@hotmail.fr

Leave a Reply

Your email address will not be published.