This is a sub-tutorial for my Door Unlocker App tutorial. Please read that first.

The code

Make sure your Serial Monitor (ctrl+shift+m) is open, and then upload this code by clicking on “Upload using programmer”.

Make sure you update the ssid and wifiPassword objects. The “passwordToOpenDoor” can be whatever you like, as long as it is contains English characters or numbers (or any char that doesn’t need to be encoded when sent via HTTP).

If you get any errors, you might need to disable the board in Device Manager and then reenable it before trying again.

I’m a software developer who is passionate about learning how things work behind the scenes.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store