Try to express Birthday Balloon on Twitter

Try to Express Birthday Balloon on Twitter

What’s this?

When it’s your birthday, you can see balloons in your profile page on Twitter. I tried to expres this “Birthday Balloon.”
I used Google Calender’s date because there is unfortunately no Twitter API to get someone’s birthday.


  • obniz x1
  • power supply for obniz x1
  • DC Motor x1
  • display monitor x1
  • balloons x2-4
  • disposable chopstick x3
  • cardboard and paper, etc
  • (3D printer)



Prepare balloons, a box for balloons and an image taken after profile page on Twitter.

Connect a DC Motor to an obniz. Then, connect the obniz to a power.

obnizDC Motor

Put threads to balloons and make a device to wind up the threads. This device is composed of disposable chopsticks, 3D printed parts and a tire part in AI Robot Kit which can combine an DC Motor with.

Additionally, make a box to fix the device behind the display monitor using cardboard box.

You have completed Hardware part. This will work like below video.


When it is your birthday, which you registered on Google Calendar, IFTTT call webhook to trigger obniz Event. To make the system, this page is really helpful.

First, save below “Program” to your repository and make obniz Event to run the program. “WebApp to run” is the program. You need to take a note of “Endpoint” URL.

Second, make IFTTT Applet to call webhook to trigger the event. Fill in entry fields as shown in the image below.

Finally, register your birthday on Google Calendar. you have to include “誕生日” character string.

It’s finished.


<!doctype html>
    <meta charset="UTF-8">
     <script src=""></script>
    <script src="" crossorigin="anonymous"></script>

let obniz = new Obniz("OBNIZ_ID_HERE");
const WINDING_TIME = 7000;

obniz.onconnect = async function () {

    let motor = obniz.wired("DCMotor", {forward:0, back:1});

     if (typeof req === "object") {

        if(req.body.birthday) {

         await obniz.wait(WINDING_TIME);



     if (typeof done === "function") {