This week we have advanced on the website. Thanks to the explanations of a competent person in the computer field, we were able to send data to our database via the Raspberry Pi.
We have also taken advantage of this data to create a graph using the data. As against this graph is still not very good: we don’t see much of our data because the graph isn’t zoomed in and we must also improve the layout of it.
The site really starts to take shape but we still have to add some things. Such as a patient list, a logging for the doctor and improve the graphs.
Compared to last week, we have found an idea for the battery so that our project is autonomous. We will try to use a portable battery for charging phones. We’ll keep you posted if this solution works or not.
This week we have also reflected to the video because it must be done for about 2 weeks.
We thought about how to achieve this video as a kickstarter campaign. But we have also started the “Instructable” file with a short introduction, the list of items for the project and the various computer languages used.
We are happy, we made good progress this week and it was necessary.
See you later!
On Wednesday of this week, it was a lab’s day, we wanted to continue the code in html language. But when we tested the program with the form with a lot of data, the same error appeared. After a long time when we tried to find the error, we asked Ms Devuyst.
We are very happy to announce you we find a solution to our big problem. Our mistake was in the name of the table “references”. Because this word is a dedicated word and so, we can not use it in the name of the table or of the database, for example. So, we changed the table name into “ref” and it works. We also checked for the other table names.
Next steps are:
- Looking for QR Code programming in html language;
- Create a reference for each sample;
- Collect data for each sample and be able to modify the saved data;
- Define how and when we generate the QR Code.
This week, we decided to work on the design of the Smart Aquarium. To achieve this, firstly, we have recovered all the material necessary for the implementation of this model.
The model will be composed essentially of an aquarium coming from a group member. In this way, it has reduced the cost of our project.
Behind the aquarium, a wooden board is disposed to fix all the electronics required to operate the project. We will find there, a breadboard, a relay module, a display, the Arduino, the Raspberry Pi, a modem, a timer, sensors and other additional components that will be implemented as and measuring of the state of advancement of this model.
Moreover, we tried to optimize the space of the wooden board by having reflected on the arrangement of the various components. In this way, it was possible to have the most compact plate. Thereafter, this board will be paint to the hanging behind the aquarium.
However, as the program is not finished, the board will not be placed behind the aquarium. To reach this step, we hope that this project will not end fishtail.
Join us for the next episode.
See you soon everyone!
Today we are going to talk about the state of advance of the project. During the last lab which took place on 13 April 2016, we have faced some difficulties in the programming. This problem comes from the communication between the Arduino and the Raspberry Pi. Indeed, when we wanted to display on the management interface of our aquarium, the different values measured by the sensors such as the temperature and the percentage of brightness, we realized that these values were not displayed at the right place.
The reason for this problem is that variables are stored in the buffer memory. Considering that the cycle times are different for the Arduino and the Raspberry Pi, all data received are mixed before the acquisition at the interface. In order to solve the problem as quickly as possible, we decided to meet each other on the 21st April. Main goal of this meeting is to try to solve this problem and go further in the programming.
Then, as we all know “Rome wasn’t build in a day”. We will therefore proceed step by step in order to reach our ultimate goal.
Join us for the next episode.
Team smart aquarium.
For this week, we have decided to work on the timer of the Arduino to improve our project. This timer allows the integration of a time component at the Arduino. Thus, if the Arduino is switched off the timer will be able to save time. It comes in the form of a small electronic circuit powered by a cell.
Why is it interesting for our project?
First, when logging data, it’s often really useful to have timestamps! That way you can take data one minute apart (by checking the clock) or noting at what time of day the data was logged.
Secondly, which is of great significance for the functionality of the project. For example, if a power outage occurs at the user, the aquarium will always functional. So, the feeding of fish will be always carried out at the desired time by the user.
We have wired temporarily the timer at the Arduino to check its functionability. This wiring was realized easily, do it according arrangement :
– VCC Arduino 5V
– GND Arduino GND
– SCL On A5
– SDA On A4
For the test, we first have put the initial time and date into the timer. Then we have turned off and turned on the Arduino. Finally, we have retrieved the time and it matched to that we desired.
See you soon everyone!
As explained in the previous week, we have many problems with the website. We have the web page, and we can create a range of different data for a patient.
We are trying for some time to send data directly from Rasperby Pi to the web page, but it’s very difficult for us.
We need to do a lot of research and seek advice from people more qualified than us.
This is really the biggest challenge of our project. We have difficulty moving. We would still be able to display the data graphically. We hope to move faster in the coming weeks…
We also believe in the realization of our video for the presentation of the project. When completed, we can move quickly on the creation of the video.
The deadline is very close, and we still have a lot of work. We hope to finish in time!
See you soon guys!
Several key steps were achieved since the last time we wrote about our project:
Firstly, we checked if the gear we want to use is functional (aka the deep fryer to heat water at a specific temperature) . We also finished part of the circuitry board, that will contain most of the electrical components of the power managment
Secondly, we defined and tested the communication protocol that will be used between the Raspberry and the Arduino. Two functions are already working for the Arduino board, but the Raspberry’s side is yet to be done.
Thirdly, we managed to create a PWM output with a long period on the Arduino board: since we want to regulate a thermal process, which is slow by nature, there is no need to have a high frequency on the PWM output that will be used to control the resistance’s power. On top of that, we are using a Solid State relay to manage the Alternative current : this relay will cut the current only when it is at 0A (since we are on a 50Hz alternative current with a simple resistance, it will occur every 20ms). No need to have a PWM way faster than 50Hz, since it’s the fastest switch speed we will achieve in the end.
There is still a lot to be done, but we will get there, little by little !