[PYTHON] What I felt at Yahoo! Hack Day 2019, it became easier to develop if I prepared it before the hackathon

Introduction

I participated in Yahoo! Hack Day 2019 for the first time.

It was difficult to develop for 24 hours in a row, but It was a good memory to receive the wakuwaku Award (Judge's Special Award) from Mr. Wakuwaku.

Made in Hack Day 2019

MOGbee

We have created ** MOGbee **, a cute charger that pulls off smartphones from modern smartphone addicts and notifies them of the hindrance to family unity.

File (1).jpg

Click here for the 90-second presentation video (https://youtu.be/HNjXZwRTybU?t=11594)

Configuration diagram of MOGbee

MOGbee is a mechanism in which LEDs and servo motors operate by connecting a smartphone to a Raspberry Pi via wifi.

mogbee_constract.001.png

This article is for those who are thinking of doing Raspberry Pi work at the hackathon (and future servants), and summarized what they should have prepared before going to the hackathon and what they should prepare in the future.

⭐ What I thought was good to prepare

Octopus foot outlet

Electricity is required for Raspberry Pi work. Even one person needed ** 6 ** (Mac, Raspberry Pi, smartphone x 2, wifi, display) power supply, so it seems that there is nothing better than that. This time, in addition to the octopus foot outlet, I also brought a USB power distributor that I bought recently, so it was solid.

wifi router

Wifi is often prepared in hackathons, but it is difficult to connect if there are many participants, and in the worst case, your terminal may be divided into multiple networks ...

Especially for those who use Raspberry Pi, not being able to connect with ssh becomes a life-and-death problem, so it was very reassuring both communicationally and mentally that there was a router that could be connected reliably.

The recently contracted wifi at any time has been active in unexpected places. (It's not a stemmer)

☔ I regret that I should have prepared

Remote debugging environment from PC to Raspberry Pi

You can't use GPIO to illuminate the LED without moving it on the Raspberry Pi. However, it is overwhelmingly more efficient to develop while using the IDE on a familiar PC. This time, I developed it on a PC → push to GitHub → move to the front of Raspberry Pi → hit the pull command with Raspberry Pi.

So, I regret that I should have set remote Development of visual studio code. (I haven't applied it to my favorite pycharm, so I can't remote develop orz) Or, considering that ssh does not connect, I wanted to make a tool that Raspberry Pi automatically pulls. If it's the end of the year, why not make open source?

[Added on 2020/01/18]

I made a CD tool for Raspberry Pi! ~~ (I made it at the end of the year, but I wrote an article on 1/18 too much) ~~ https://qiita.com/tiwasa/items/bba672f65d1ded116dbe

Regular Raspberry Pi img backup

The 24-hour development time was long and tiring. Meanwhile, if you destroy the contents of the Raspberry Pi with the remaining 4 hours, the time that your teammates worked hard and the sleeping time that you returned will all become water bubbles. I thought it would be better to make a plan in advance when to make a backup.

I wanted to start the server automatically, and when I wrote a command in /etc/rc.local just before the end of development and restarted it, the feeling of sickness was not good for mental stability.

at the end

It was great to be able to participate in Hack Day! Even though there were more than 70 groups of participants, it was fun just listening to the announcements made by creative hackers who didn't have ideas.

In particular, the presentation by "Popippopipipiriropirirupupupupupupippo", who won the Happy Hacking Award, left a strong impression on me. I also want to give a presentation with a science gag someday. When I visited Mr. Torisoba Bento's booth, he talked about his commitment to the accuracy with which potatoes follow human faces. I was happy to feel that I was doing the best hackathon.

I want to participate again next year! !!

Recommended Posts

What I felt at Yahoo! Hack Day 2019, it became easier to develop if I prepared it before the hackathon
The case that the installation of pip became easier before I knew it
[At Coder] What I did to reach the green rank in Python