Who did what – locker

The main work and adjustments of the code has been done by Christian and Mads. The NodeRED setup was done by Karoline, Christian, Frederikke and Nicoline. The assembling of the locker and menchanisms was done by Frederikke, Nicoline and Karoline. Frederikke was responsible for laser cutting the locker and in cooperation with Mads the laser cut drawings were made and additional parts for the assembly. The electrical setup was done by Christian and Mads which had a close connection to the programming of the code. Lastly the blog posts has been written by mainly Karoline and Nicoline.


Reflections on the locker project

To give some reflections on the locker let us look at what went well and what could have been done better, or serve as things to remember for future projects.

First of all, we can conclude that it was a good idea to have the electronics mounted on the static part of the locker (not the door) since there otherwise easily could have been some problems with squeezing the cables which is not ideal for any construction. This will definitely something that is smart to remember further on. We could still have optimized the cable from the button a bit more, by hiding it better but overall the amount of cable clutter is kept to a minimum. This is primarily also due to our protection box for the hardware.  Continue reading “Reflections on the locker project”

Finishing the locker

Going towards the end of the project, we needed to assemble and finish up the locker. This includes both the electrical circuit and the case.

Last week we laser-cut all the parts to the locker-case and cut metalpieces for the lock. We started making the case, gluing the bottom and two sides together. This made it a lot easier to work with the things we were missing, because we easily could measure and test things on the locker.

Since last week the handle was changed. Instead of the handle showed in last weeks post, we made a leather loop, which we all agreed was a great look to the locker. Further it only had to be fastened with one screw which made is easier and cheaper:


The next thing we looked at (while some struggled with the coding part) was how to hang up the locker on the walls in Skylab. Continue reading “Finishing the locker”

NodeRED and the code

During this project we have had some problems with the code. Some where from incorporating new things received from Ali others were more fundamental. However it is hard to say what is the reason for all of these issues as it often is with programming, which is why we have also spent a lot of time trouble shooting. One thing we did seem to, find a reason for, and potentially this could have been the reason for other issues, was that when having the serial monitor open on the screen while running the code everything worked smoothly. As soon as the serial monitor was closed, or the NodeMCU was plugged directly into a power charge, the switch (to detect whether the locker door was closed or not) would suddenly stop working. After hours of searching for an answer, we found out that the pin we connected the button to, pin D0 had more than just one function and when switching this to pin D3, which only has this one function of detecting the button state, the mechanism started working without the serial monitor being open. Something to perhaps remember for future projects.

The state diagram of how it all turned out.

Continue reading “NodeRED and the code”

Week 3 – Creating the locker

This week we continued trying to solve our problems with the electrical cirquit. The problems involve reading messages from the MQTT.

We started discussing more concrete details about the shaping of the locker which ended out in laser cutting the final case. Below are some sketches of how to shape the front door.


We decided on a solution with a rounded door and the front part cut in two pieces. The narrow part of the front will be mounted permanently to the locker and will serve as mounting surface for all the electronics. It is wider at the top because it seems more intuitive to scan your card at the top of the locker plus this will give the widest opening at the bottom of the locker. This is means users will have the possibility to slide their stuff into the locker with the widest angle possible. We decided to have the narrow rounded part mounted both in top and bottom for better support angles. We further tested if you could scan your studentcard through a 6 mm plate which was no problem at all. Therefore we decided to make engraving of a wifi symbol, which would be where the RFID would be placed. Further we cut out a small hole for the OLED.   Continue reading “Week 3 – Creating the locker”

Week 2 – Starting to get things together

Last week we got an overview, and therefore people had the opportunity to look at the different elements from home. When we met Wednesday week 2 of the project, we had a working servomotor, responding to the webpage.

During the day we split up, one group looking at the circuit including, OLED, RFID and locking-mechanism, putting it all together. The other group looked at the NodeRed. During the day we made progress assembling the circuit, and were able to scan our student cards and get a message on the Cloud MQTT.


Continue reading “Week 2 – Starting to get things together”

Assembly guide

Follow the steps to assemble the speaker:

Download the CAD file and print it on a 3D-printer. The speaker should be printed in two parts divided on the middle of the slender side. Make sure that each part is printed on the speaker. This will result in a lot of support structure on the bottom of the print but it will alsoprevent the joint line from warping.

In the middle of the print you see the joint line, and the top and the bottom of the speaker you see the support structure.

Remove the support structure. This is a tricky process so have a bit of patience. Use a pliers and a hobby knife to seperate the support structure from the speaker. Continue reading “Assembly guide”

Reflections on speaker project

To give some reflections on this project we first have to take a look at the requirements and criteria we first defined for the project. Heres a recap on the specifications:

Specification of requirements:

  • Must hang on the wall
  • Must have a turn on/turn off button
  • Hard surface with holes to cover the front (makes it easier to clean the front)
  • It must be able to take down from the wall and place it on the table


  • Should be turnable
  • Must contain a button to the volume up and down
  • Air insuction hole
  • Jackstick port
  • Change songs on the loudspeaker

So looking back at this our final result is what we could call ok, maybe not fantastic. One of the requirements was not met which was having a turn on and of button. The reason this requirement was not met was because we did not know that this is not a feature we can incorporate in to the software. Further more we found out we were not allowed to cut over the wire that was handed out. The bright side is that it his possible to the unplug it and hereby turn of the speaker.

Apart from that all of our other requirements were met such as hanging on the wall, having a hard surface that you can even change if it gets too greasy or breaks. The last requirement was letting the speaker be able to both hang on the wall and lay on a table. This requirement and solution actually just helped develop and give extra value to the design since we aimed for the idea of very different expressions in the two situations. This made us come up with the idea of customized covers, which then just added an extra dimension to the changeability and customization dimension.

Moving on to the criteria we have accomplished one of five, which was enabling the speaker to be turned in different directions. The other ones were not met which is primarily due to overly ambitious goals and perhaps a bit too optimistic on our packed time schedules. These would all have been really awesome features and if we were to continue working on the project these would be the next steps. The air insuction hole was not executed since our mounting surface was quite thin, and this would have to mean that we had to incorporate a tube that would both be hard to fit in to our shape and we estimated that this would not give us enough benefit to weigh up how much it compromised the aesthetics.

If we look a bit on the things we had to optimize for from the project description both the size, the aesthetics, the weight has turned out really well. The durability aspect has been approached more in a sense of making it able to change components if they are broken. The internal design could probably have been given some more thought but turned out good in the end.

As some may have discovered the visual expression and aesthetics turned out to have quite a big role in our process. Even though this has never been a written down criteria it has still been used in a lot of our argumentation. This has also turned out in a very succesful satisfying solution, which we are very proud of.