When away from home, there is nowhere to take a quick nap other than the uncomfortable floors. I wanted to create a product for napping that is more portable, useful, and convenient than the big neck and head pillows.

What it does

The Porta-Nap is a device that lets you sleep anywhere at any time. It attaches your sweatshirt strings to your belt loops so your sweatshirt can support your head when you take a nap. The Porta-Nap makes napping as convenient as possible so you can take a comfortable nap in any chair!

Additionally, it comes equipped with an NFC chip, which can be used to quickly set an alarm or do various other tasks with a tap on a smartphone to speed up the napping process. Using the Porta-Nap App, the user can set a default nap length and a "do not disturb" message. When the user is sleepy, they can tap their phone against their Porta-Nap, an alarm will be set, and the "do not disturb" message will be shown.

The user can also create their own automated task by resetting the URI on the chip to do a task like opening a different app, enabling a shortcut, or opening a website. The Porta-Nap can even be used to share contact information or links with other people by tapping the Porta-Nap against their phone. As long as the Porta-Nap stays on the user's sweatshirt strings, it is convenient for napping, sharing data, and automating tasks.

How I built it

To build the Porta-Naps, I 3D printed a thin piece that allows the Porta-Naps to be attached and tightened on the user's sweatshirt strings. The hook was measured to fit people's belt loops perfectly. The sweatshirt string attachment method was tested many times with different methods on different sweatshirt strings to make sure it works on almost all sweatshirt models. The 3D model is the only part of the project that was worked on before the hackathon.

During the Hackathon, to integrate the NFC chip on the Port-Nap, I added a small indent to the model to keep the thickness constant. The NFC chips that I had were too big, so I folded them to fit in the small indent in the Porta-Nap.

I then created an app to go along with the Porta-Nap. I used XCode to build an IOS app. I built the app so the alarm and the "do not disturb" message were enabled when the app received a deep link. The NFC chip had the deep link for the Porta-Nap App, so when the smartphone picked up an NFC message from the Porta-Nap, the Porta-Nap App would open.

The website was built as support information for the Porta-Nap. It was built using HTML on Glitch and is hosted on GitHub.

Challenges I ran into

I had a lot of trouble passing parameters from the deep link into the app. I found out that there was an extra step for deep linking in IOS 13, and most of the tutorials I watched were slightly out of date.

I also had trouble enabling an alarm whenever the app opens from a deep link.

The NFC chips did not work well because I folded them to fit the Porta-Nap dimensions.

I initially tried to make the app in Flutter, something entirely new for me, but I switched to XCode after I had trouble using it and was running short of time.

Accomplishments that I'm proud of

I'm proud that I could make an old project a lot more useful with integrated electronics, an app, and a support website in less than 48 hours.

What I learned

I learned how to use deep links and how to use NFC chips for something practical. I also refreshed my HTML skills and built and hosted my first real website. Even though I didn't use Flutter for the final product, I learned the basics of Flutter.

What's next for Porta-Nap

In the future, the Porta-Nap App will have a better user interface with more features and information about NFC and the Porta-Nap. The website will provide more details on the Porta-Nap and will look better on smartphones. Smaller NFC chips will be used for the Porta-Nap, so the chips' quality isn't diminished by folding the chip. Then, the Port-Nap can be mass-produced using a 3D printer.

Share this project: