Here is our last video presenting an overview of the global project. You will see the different uses of this project in the everyday life.
For technical precisions, please follow the link: Instructables.com
We hope you enjoyed our project and we thrustfully thank you for following our progress during those 4 months.
This topic is about the softwares we used in our project.
Globaly, three devices are used : an Arduino UNO, a Raspberry Pi and a Smartphone. However, four languages are required to manage those devices.
- Arduino for the UNO to be command properly. This part has to manage the inputs and the outputs of the system : IR sensors for the counter and a motor for the locking system. It also contains a function to communicate with the Raspberry using the Serial connection.
- Python for the Raspberry to control the global process. Another task for the Raspberry is to manage the outputs of the Arduino considering the inputs received from the Arduino. A second part manages communication with the Arduino but also with the Android device (Smartphone).
- Java (via Android Studio) to manage the tasks of the Smartphone (secret code, enable alarm, display counter). This Java program has to communicate with the Raspberry using a Local Area Network (LAN) communication by the use of a socket. The Smartphone is thus connected as a client on a server located on the Raspberry. The Android device can read easily variable stored in the Raspberry.
- XML (via Android Studio) language manages the display on the screen of the Smartphone. For instance, combining XML and Java allows to show different views or buttons on the Smartphone.
The softwares took lots of time to be developped. They still require some time to be enhanced and implemented on the model. Nevertheless performed tests were promising.
The next video will be the last one and will summarize all the project and show the final model. Moreover, an instructable will be published with all the relevant information and codes for the softwares. Those will be pubished in about a week.
Thank you for following our project and don’t miss our last video.
Installation of the system
For the tests of our codes and the materials we decided to stand up a front door in my garage. I’m explaining all the constructions we did to prepare this door.
We thread a wooden plank on each side of the doorjamb and then we thread these two planks in a beam. This system can easily be removed and reinstalled.
Just next to the door, a plank is attached. On this plank we can install the Arduino, the Raspberry-Pi and the different electric cables.
We drill a hole in the doorjamb to install the infrared sensor to see if the door is locked or not.
Finally we bought a lock that we are going to rotate to close or open it. When we will be sure that it works we jare just threading this lock in the doorjamb.
At this moment, codes are almost ready and the test will begin soon. Stay tuned to know more about the progress of our project.
A major part of the code is on the Raspberry and we will therefore use libraries under python:
String will allow us to manipulate the strings and to transfer the informations recorded by the Arduino to the Raspberry
Math is a library that we could use in the code of our alarm and meter
Time is a library that will be useful to time our alarm
Serial is the library allowing communication between Arduino and Raspberry
Logging could be used to increase the security of our installation
Socket will be required to connect the app and the Raspberry
We will also use some Arduino libraries because the control of our stepper motor will be encoded on it.
Servo which is useful for controlling a servo motor
AccelStepper which is an improved version of the Stepper library on several points including: it supports acceleration and deceleration and it supports 2, 3 and 4 wire steppers, plus 3 and 4 wire half steppers.
MultiStepper can be used to support devices with multiple steppers on a multiple axes to cause linear diagonal motion
See you soon for the next post!
For this second post, Thomas describes you in the video the materials required for our project. The text defines more precisely the objectives we fixed.
Scope of work
The plan is to check a front door locking system (locked or not) using several proximity sensors. If the locking system is open, the user can lock it remotely using a smartphone app (programmed for Android) from anywhere.
A second feature will permit to know the number of people inside the house using a counter (available on the application) and infrared sensors.
A third feature has to block the door if a security mode is activated thanks to the application.
Eventually, a last system will allow to close the door (also remotely) if this is in the open position. However, this last aim is not the most important function we target.
Here is the list of materials and a price assessment for each component.
|Raspberry Pi 3 + 16gb SD card
Plexiglass, wood, screws and wires will be required. Those are reclaimed by the different members of the group.
See you in a few weeks for a next follow-up.
Hi. Here is a first introduction to our team and a first video presenting what we would like to develop during the next months.
- Thomas Anzilao: Hi, my name is Thomas Anzilao and I’m currently a student in Master’s degree in Industrial Engineering at the HELha college with a specialization in building engineering. Even if I’m not very attracted in electronics and programming I’m very excited about this work. Indeed, doing a project from beginning to end in group is very interested because it allows me to learn new things and new skills by myself.
- Sébastien Centulio: I’m Sébastien Centulio and I’m 24 years old. I live in Mons, Belgium. I want to become an industrial engineer specialized in electro-mechanics. I like playing video games and am a leader of a e-sport team. I’m also a scoutmaster and a rugby coach.
- Tristan Lamesch: I am 22 and I am studying Electromechanical engineering with a specialization in Mechanics. I like automation, programming and playing video games during my free time. I am also a football fan and like car races. I did my internship in Tennessee, USA, which was a wonderful experience. There I studied high frequency vibration for a predictive maintenance company.
- Magali Maurcot: I am Magali Maurcot and I am 22 years old. This year should be my final year in engineering. I choose to specialise in building engineering. I am quite an adventurer. Indeed, I love to travel and to discover new places. I did my internships in England and in Qatar but I also travel a lot with my family. As the only girl of the class, I wish the feminine touch with a different approach could be a positive element for the team. I am very happy and proud to take part of this project. Bringing our ideas to a concrete and complete design is for me really exciting
- Robin Thomas: My name is Robin THOMAS, I have been studying industrial engineering at the “Haute Ecole Louvain en Hainaut”, focused on electro-mechanical engineering for the last five years. In addition to my academic achievements, I have a well-rounded personality developed through years of leadership services to the Boys Scouts of Belgium and a habit of pushing myself through my many outdoors activities. I developed a passion for climbing and mountaineering since I was 13-year-old but was too young at the time for mountaineering, and I therefore started climbing in an indoor and outdoor climbing club.
During the next months, we will present you the progress oproject for the Applied Electronics and Electrotechnics course. Thank you for following us.