Portfolio Maltie - maltie01/globalminor_IoT_Maltie_Ignatio Wiki
My name is Maltie-Carmelita Parsoe. I am 20 years old. I do not have a lot of programming experience. You can even say I do not have any experience. I did something with C++ and Php 4 years ago and c# has been a couple of years ago too. I have some experience with SQL and R. I have done nothing with microcontrollers and single board computers. A maker is a person that uses their abilities to create, whether it be mechanical, electrical, musical, visual, or anything else. I like that it means that it does not matter which subject it is about. Because I am not very technical I hope I can contribute in a different way. There is a lot of things to know about IoT but the main things that I keep in mind are sensors and that IoT is bigger than you think. More things are considered IoT than we think. I don’t really have big expectations. I just want to learn a lot about stuff I do not know yet and be able to contribute to the project in a way I am comfortable about. But maybe step out of my comfort zone sometimes.
Reflection day 1
The first half of the day we had a long lecture with some exercises in between. An exercise was to find out what kind of domains, protocols, and devices there are: Domains: • smart buildings and living • smart healthcare • smart environment • smart city • smart energy • smart transport and mobility • smart manufacturing and retail • smart agriculture.
Protocols: • Message Queuing Telemetry Transport (MQTT) • ZigBee. • Bluetooth. • Extensible Messaging and Presence Protocol (XMPP) • Data-Distribution Service (DDS) • Advanced Message Queuing Protocol (AMQP) • Lightweight M2M (LwM2M) • HTTP
Devices: • “Smart” Home Devices. • Industrial Sensors. • Smart Automobiles. • Smart Cameras. • Manufacturing Robots. • Healthcare/Fitness Devices.
We also watched some videos. The answers to the questions that were about these videos are written below: Like a Bosch video: I see some problems with that it may be unnecessary to have some smart things in the video. I also see that there are a lot of opportunities for danger. A self-driving car is proven to not fully deserve trust. An oven you can turn on when you are not at home is a fire hazard. Etc.
Second video: We try to smartify everything, we put IoT in everything. Security in IoT easy?
Third video: Why esp8266? Programmability and price. You can use a lot of different programming styles for it. You can also add a lot to it if you want. Like buttons. It has power regulation itself. It is very affordable.
What is personally inspiring for you? A very small device that can do amazing things for its size. Size does not matter apparently!
What is the connection to coffee? ESP stands for Espresso. Starting with the hardware today. I received the package from Johanna so that I can work on my own in my room. I downloaded the CH340 driver and Arduino and installed the esp8266 package on it. The problem I had was that my Arduino is in Dutch and that the tutorials are in English. But after figuring some words out it was fine. I have Arduino now in English so I can search for things more easily on the internet. During the exercises I had a couple of problems, I wanted to see the number of lines because I could not follow the teacher that easily, I forgot to update the code and I got a weird output from that and I had some network problems. The network problems were easily solved by making a hotspot on my laptop and putting the sensor on the hotspot. Why is off = on and on = off? Hardware reasons, not our fault.
Reflection day 2
Today we started with setting up a git repository and doing some research about architecture. This was kind of hard because I did not have a lot of time and I was on my own because Ignatio was fetching his hardware. I wrote some extra stuff when we discussed it in the group so the research got a little bit deeper than I already did. Then we started making stories. I made a story about robberies in school with Fadi. This can be found here: https://github.com/maltie01/globalminor_IoT_Maltie_Ignatio/blob/f907c85297123adc2ad48373aa9547283614f1be/Story%20IoT.docx We got some feedback that we should take more about the details of the device itself and maybe elaborate more on the personas. We have added this and got feedback that it now looks good. The tip we got was to add timestamps the next time. In the second half of the day, we are working on hardware again. Unfortunately, we can not change settings in the laptops so we needed to wait for the IT desk. After this, we could set up Linux on the laptop. The tutorial was pretty easy but we did not get the result we wanted. In the end, it was the problem that dell shuts their wifi off if you put a cable in it.
Reflection day 3
I have arrived in the Netherlands and this morning I received the hardware package from Fontys. Unfortunately, the ethernet ports didn't work at school so I left school and went home. I arrived around 11:00 at home and am now starting up my raspberry pi so I can work with it for the rest of the lessons. I had some problem with my screen not seeing the HDMI but after getting another screen it was fine. Around 14:00 the pi was done setting up. Because I already set up a Linux laptop it was quite easy for me but it still took a lot of time. In the end, I am doing an extension on the hello server exercise. While trying to do this exercise it came to my attention that the old exercises were not working for me. The USB ports recognize a USB being in there but they do not recognize the sensors. I could not select a sensor in Arduino. After trying for 2,5 hours I gave up and promised myself I will look further into it this weekend.
Reflection day 4
Today I did not feel very well so I stayed a bit in bed and joined the group again at 11:00. Unfortunately, I still did not fix the problems I had. I tried to ssh into the pi but that did not work. I tried to ping to the pi but that also did not work. When I reconnected the pi to the tv again it has wifi again. Pinging and ssh into the pi work now. I can also VNC into the pi now. I got a small tutorial about node-red to catch up with the rest and I installed Arduino on the pi now which should make my old exercises work. After trying a while about where I should put the esp and where I should put the code I have put both on the pi. It looked like it would not work but just as I wanted to unplug it, it blinked!
I could finally work with the group again and we worked on the tasks for today. Sometimes I have some trouble with understanding what is going on because I do not have any knowledge about this subject. Then I need to ask the teacher for help and that feels like being a burden sometimes. I had some trouble with the difficulty of the exercises so I did the exercises in my own way and with a bit of help from the teacher. We also called it shortcuts. I finished every one of the exercises except the last one. That one I need to make tomorrow.
Reflection day 4.5
Today I want to catch up. I am gonna work on the exercise from Friday with Stijn and make the third exercise from yesterday. Stijn and I worked 2.5 hours on making the exercises from Friday work. Stijn took a lot of energy to explain everything and let me think on my own instead of giving me the answers. I appreciate him a lot. I now understand the codes and all the exercises are working. I can make a led which is connected to a different esp light up by pushing a button on another esp. I am exhausted after this and taking a break before making the node-red last exercise. Below I attached a photo of the setup and I saved all the code on the pi.
Reflection day 5
I am today working with tom on the hardware exercises. We first had some problems with having different sensors than the people in Austria. We downloaded a couple of libraries and then I wired something extremely wrong and it almost bought on fire. After a while, tom found other ways of wiring the temperature sensor to the esp and it worked for him. Now it is my turn. I forgot to change the baud and after I changed it, it worked! Now I can think about the network. Because of the IP address from the pi changing sometimes I had some problems starting node-red up. Because we have a weird relais we changed to using a LED after a while of trying to get the relais working. I got the led working with a switch with MQTT and now need to combine the led with the temperature sensor. I have some trouble with finding out myself what to do so I needed a bit of help from Ulrich and then it was really easy to combine the two. After the hardware exercises, we had a bit of lecture and needed to research a bit. This can be found in Lesson 5.
Reflection day 6
I needed to change the IP addresses on the pi again because I switched homes. My mom had contact with someone with covid when I was not around so I left the house just in case. The day started with starting the pi up again. This was quite easy because I had already done this twice. I am only sometimes unsure so I keep waiting for someone to say that it is okay what I was doing. After this, we did some research and group discussions about the IoT framework. Then we could start with the C part of the task sheet. IoTempower. I find it difficult to understand what they are saying in the tutorials and I keep being stuck at every part. Sometimes I'm a bit scared to ask because I need to ask so many things that I think could be annoying or that it looks like I do not want to think about it. Being almost finished with the first node exercise it came to our attention that my wifi is not correct. It is 5ghz and nog 2.4ghz. I need to wait on my friend to change this because I can not change his internet. I will try to complete the rest this weekend.