loading

Social bug is simple bluetooth robot which dances if there's a new notification on your phone. Facebook, Twitter and any kind of Android apps can be used to dance this bug.

To make this tiny bug you don't need many parts. BLE module, small vibration motor and power source like coin battery are sufficient. Of course to look like a bug, prepare a few steel wire and etc.

If you miss messages on phone very often, make your own dancing bug!! Though my son doesn't have a phone, he likes this too much.

Step 1: Get the Parts

  • BLE module(HM-10 or HM-11) : This is core part of social bug. BLE module communicates with phone and controls vibration motor to dance the bug. You can select HM-10 or HM-11 module. In my experience HM-10 with breakout board is most easy to make and stable. Keep in mind that your BLE module must support same features with datasheet in below link.
    http://www.jnhuamao.cn/showNews.asp?id=83
  • Vibration motor : Select small one as possible to reduce current consumtion.
  • Transistor : Prepare a transistor, KN3904. This controls the vib motor. (Do not power the vibration motor from BLE's GPIO pin. Thanks Ladvien!!)
  • Power source : At first I used coin battery(CR2032) and holder for convenience. But it lasts only 1~3 days. I recommend you to use LiPo battery and charger module.
  • 3 resistors : These are not functional part. I used it to make bug's legs. Any kind of stuff is ok.
  • 2 steel wire : for bug's feeler
  • Body plate : Any kind of plate is ok. I reused other e-bug DIY kit.
  • Etc : Wires, glue gun, soldering iron and accessories, tape and etc.
  • Android phone v4.3 or over

Step 2: Setting BLE Module

The initial mode of BLE module is 'mode-0'. This means that we can change BLE module only by wired communication(UART). We wish to do is remote control the BLE module, so we have to change mode into mode-1 or mode-2.

* HM-10 works in mode-1 and HM-11 works in mode-2(in my case). But this can be different according to your module's firmware.

To change the mode we need a FTDI module and 4-wires connection to BLE module. Solder 4 wires (if you are using breakout board, use dupont cable) and connect to PC.

Download the 'PCComAssistant' program at below link.

Launch the program, select COM port and open COM port. Type 'AT' at input area and press 'Send' button. You have to see the 'OK' response. If you have no problem, send below command.

AT+MODE1

If you are using HM-11, use "AT+MODE2". If you can see the 'OK+Set:x', mode is changed successfully.

Step 3: Make Bug's Body - 1

Attach 3 resistors to body plate. It's bug's legs.

Locate coin battery holder at opposite side. If you are using LiPo battery, connect LiPo battery to charger module's BATT+, BATT- hole. And attach at same position.

Vibration motor is bug's head. Before attach it, expand (+), (-) line long enough.

Here's another difficult stage. You have to solder 3 wires to BLE module. If you are not using breakout board you have to do the precise soldering. Anyway you need 3 wires out - VCC, GND, PIO2(or PIO3 in HM-11).

PIO2(PIO3) will be controlled from phone. And this line,PIO2(PIO3), controls vibration motor using transistor.

Step 4: Make Bug's Body - 2

Connect the lines like below.

  • PIO2(or PIO3) from BLE module ==> transistor's B(Base)
  • Battery + ==> transistor's C
  • vibration motor's (+) ==> transistor's E(Emitter)
  • vibration motor's (-) ==> battery (-)
  • BLE module's VCC/GND ==> battery (+), (-)

Set the BLE module on bug's body after wiring.

Connect feelers at head position. This make the device look more like a bug. Decorate as you wish.

Ok, now you are ready to dance it!

The last picture attached in this step is my final version. I used below parts.

  • Use HM-10 with breakout board. Though it's little bigger and consumes more power, it's much more easy to make.
  • Use LiPo battery with charging module. Coin battery last only 1~3 days in my case.
  • At first I used stick type vibration motor. But it consumes current over BLE module's output limit. Use small motor as possible. I used tiny coin type motor.

Step 5: Download Blinky App

I made 'Blinky' app for other project but you can use this for Social Bug. Download the app at:

Set the app with below guide.

  • Launch Blinky app
  • Go to 'Settings' tab
  • Select your BLE module type
  • Check 'Run in background'. This keep the background service running after app termination.
  • Select (i) icon at right top corner
  • Allow notification access permission to Blinky app. Now Blinky app can collect notifications.
  • Go to 'Message List' tab.
  • Press menu key and select 'Refresh contents'. List will be refreshed with current notification messages.
  • Click any message you want. (Facebook, Twitter or any kind of app)
  • Select 'Enable this app's message all'
  • From now on Blinky will notify to remote when there are messages which is made from app you selected.
  • Select 'eye' icon at right top corner
  • Scan you BLE module and pair with it
  • Test if your bug is dancing or not
  • To stop dancing, remove notifications.

Step 6: Test Social Bug

Linked video shows how to dance the social bug. (Turn on the caption for detailed description)

Enjoy it !!

If you made your own Social bug, please send pictures to me.

References :

fantastic i ll do soon!!!
You connect to the Arduino module ble ? What commands he gives to the Arduino ?<br><br>
<p>I didn't use any arduino. BLE module does everything to control the motor or LED.</p>
<p>but it is only with the right program for android device</p>
<p>I'd have to warn strongly against anyone making this design. All the IO pins on the CC254X, the chip at the heart of the HM-10/11, can only sink or source 4mAs. Except, the RESET and CONN pins, which can sink or source 20mA. Most small motors operate around 100-200mA.</p><p>In short, sourcing a motor like this <strong>will kill the pin, if not the whole HM-10/11</strong></p>
<p>Thanks for your advice. Is it ok to use LED instead motor?</p>
<p>Yes, simply put a 470ohm in series. </p><p>Also, you can do what you are attempting by using a transistor to drive the motor. That'd be what I do. Then the whole thing is safe. </p><p>The beginning of this post should explain:</p><p><a href="http://letsmakerobots.com/node/40237" rel="nofollow">http://letsmakerobots.com/node/40237</a></p>
wow, I make it soon
<p>I'm expecting your work. Don't forget to show your work to me.</p>
<p>Amazing! I'll have to make it soon.</p>
<p>Good luck! And show me when you have done it.</p>
Add a tiny speaker that chirps too!!! Well done!
Just use a peizo speaker.
<p>Thanks, that's good option!</p>
That's a great idea!
<p>Love it! Do you think my little solar dancing bug could be modified into a social bug? Would the tiny panel be enough to power the BLE Module and vibration motor?</p>
<p>I cannot sure but it seems not sufficient to power the bug. Try to charge LiPo battery from solar charger and power the bug with LiPo.</p>
<p>Good idea, thanks!</p>
<p>Cute bug! Thanks for sharing!</p>

About This Instructable

17,856views

271favorites

License:

Bio: This, Too, Shall Pass Away
More by GodsTale:Arduino Network Game Social Bug: bluetooth dancing robot Make wireless charging mouse 
Add instructable to: