As members of the Montreal Startup ecosystem and newly members of the hacker community, we have been to a lot of events like startup weekends, conferences, and have been confronted to the inconvenience of having to configure WiFi access with complicated and/or long passwords. So we wanted to come up with a solution to make the experience of connecting to a WiFi hotspot less tedious, hassle-free, and more automated.

What it does

Say an event-organizer identifies the visitors, who register for his event, with their phone number. Now the visitors information are stored with their phone number in a database. Visitors use our app which connects to the database and verify them by querying their phone number. Then upon arriving at the event a bluetooth receiver detects their device and automatically exchange the wifi password to our smartphone app and connects them to the event WiFi hotspot.

How I built it

We used a Raspberry Pi as a bluetooth receiver and wifi hotspot. Our app communicate with the RPi through Bluetooth serial communication. Anytime a user enter the bluetooth receiver range, the app pairs with the receiver and sends an ID (here a phone number) via serial communication. The receiver (here the RPi) then checks the online database (IBM Bluemix Cloudant API) that this ID is registered in the database (IBM Bluemix Cloudant) and then sends back the hotspot SSID and the WPA passphrase to the app. The app then initiates a connection to the WiFi with the acquired credentials. It all goes on in the background without user interaction. Except when the user opens the app during the event, he needs to accept Bluetooth activation first.

Challenges I ran into

Making the Raspberry Pi behave as hotspots was really tricky, interfaces kept conflicting for a while. We also really struggled to understand the serial communication between the Android app and the Raspberry Pi through bluetooth.

Accomplishments that I'm proud of

This event was great for all of us. We pushed through our comfort zones, and decided to take on challenges that we were unfamiliar with, such as hardware hacks, and connecting them through android apps. The thing we are especially proud with is how much progress we have made in just 24 hours.

What I learned

We learned a lot about Bluetooth protocol and stack. We also learned quite a bit about network bridges, wireless specs. And last but not least, we learned that hackathons are also about socializing and not just hacking/coding as I first thought.

What's next for MiFi

We think MiFi has the potential to be more than a hack, and to evolve into an actual product. It makes it easy for both event-organizers and visitors to respectively share and access WiFi hotspots. Also MiFi could be used in co-working spaces, schools, office etc. There's no limit to the applications of MiFi in real life!

+ 37 more
Share this project: