Let's Make Robots!

Optaros GeekBell

Ring the receptionist voip phone when button is pressed

Hi all,

This is a project I worked on for the company I work for Optaros.

We moved to a new shiny office and my boss asked me if we could do something more ... special instead of the usual wireless bell going "ding-gong".

I came up with the idea of using a Raspberry Pi with a button and a wifi dongle, which when the button get's pushed rings the receptionist's desk phone. Then she can pick up and talk to whoever is at the door, eventually to go open it.

Boss says cool let's do it :)

So I got a Pi, some styroboard and me printer and started on it.

First I needed Linux running on the thing, I messed around trying to use Gentoo to get a kernel + rootfs for a while but it took way too long so I tried archlinuxarm for a while, which worked for initial tests but it's bloated and unoptimized.

In the end I have settled for buildroot which is a great set of scripts and makefiles to creeate a very custom and sleek rootfs + kernel. Even better someone worked on it before : https://github.com/nezticle/RaspberryPi-BuildRoot Good job man ;)

In less then 3 hours compiling on my quad core I had a nice custom Linux to base on, which booted right away.

It runs using less than 32 Mb of RAM, 200Mb of SD (without any clean up), and it's real fast :D

One problem with the Pi is that it has audio output but no input.

To solve that I added an old usb conference speaker in the mix which besides the mic it has it's own amplifier.

The problem was that plugging both the wifi dongle and speaker in the Pi made it reset due to power draw.

To fix that I needed a powered hub ... which I could not get cheap and fast. However I found lots of unpowered ones so I got one of those and just added power :)

Next was the SIP client which should call the VoIP Phone of the reception.

Initially I have written one in Python based on the PJSIP library wrappers ... however I had all sorts of troubles keeping the audio connection up. Now that I think about it, the problem was probably in the settings I used .

Anyways I switched to C after finding some samples coming with the library source, hacked my own little app together and had the Pi calling a Phone :D

Now all I had to do was to read the GPIO pin where the button is connected and start the call once pushed. I used wiringPi for that: https://projects.drogon.net/raspberry-pi/wiringpi/

Software working I needed a way to power the thing, I looked into some batteries, did some math and came to the conclusion (thanks Antonio and others in shoutbox) that even using a 90aH car battery it would still not be enough to keep the thing running trough a week :/

It was pretty clear I would need a cable trough the wall in the door way. For a while things stalled as the building managers did not allow us to drill holes, but in the end we managed :)

Once this was done, the only thing remaining was a case for the thing and I thought that buying one would do no justice so I made it using my cool tool BumbleBee.

I used Styrofoam board for the panels and printed the corners, the button, and the speaker + microphone cover. And what came out is in the pictures.

A look inside:

From Optaros GeekBell

Deeper look:

From Optaros GeekBell

Top with button:

From Optaros GeekBell

Vid?? --- here http://youtu.be/dPM3HUaPy8I

From Optaros GeekBell



PS: Sorry for the bad picture quality ... it's as far as my phone gets :/ 


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


That is one cool door bell! I'd even say "an advanced one" ))) Also it's cool BB has some job to do! :)

How is Canada?

Excelent! :)

Parts are easily accessible! Yesterday spent 160$ on stuff )

Weather is not that bad so far -10-ish which is okay with me :)

Wait, what? Isotope is in Canada? Where?

Oh, and this is a great project TH! Love it!

Yeah! Moved from LMR Europe devision to LMR North America one :)

I;m in Calgary.

...I think we're moving offtopic here :) If anyone is interested, come here and let's not clog TH's page! :)

Very kewl. Definitely HackaDay worthy. I wonder, did you ever consider wireless power?

... however pushing 900mA though seemed not doable especially since I don't know shit about radio and stuff.

I love it RL!

Great idea and sweet looking case.