Coding & connection

Hello everyone,

This week, we still have to work on coding of our project. We are working on the Raspberry. We also start working on the website that will allow us to collect patient data. It is necessary that this website is complete and the data is not accessible to everyone. It will therefore encrypt this site.

We made a list of equipment that we still order to have everything that will be useful for the project. We will achieve this order this week.

We still have to make the connection between Arduino and Raspberry. Will require that the raspberry is the interface. That it will power the Arduino, and give him orders. This is a fairly complicated part of the project. We also reflected on the problem of the battery. Indeed, we want our project to be portable. It is necessary that the patient can have the full equipment on him. It must work via a battery. This is another rather important point we still have to work.
We go well in our project, but we have still a lot of work . We should see us several days during the Easter holidays in order to complete various points, and do not lag behind.

see you soon everyone!

Project report 6 & 7 : Small steps

Hello everyone!

Our apologies for the lack of report last week. We had some projects to finalize and we were unable to post the report.

Last week we had to prepare and realize a short presentation of our project and its technical features and the implementation. It had the purpose of promoting exchanges and sharing of technical solutions between each group.

We also attended to a conference about the use of the raspberry pi at UMons. We learned some tricks to program and use correctly the raspberry pi.

For the raspberry part of the project we worked hard to be able to use the school wifi network but it wasn’t easy. The raspberry didn’t recognize the authentication system and we couldn’t log in. So we decided to set up a bridge on a laptop and use the Ethernet port of the raspberry board. Then we tried to solve the communication issues between the pi and the Arduino. After many tests, we are now able to use the usb com. In the last lab session, we installed and prepared the apache server.

For the Arduino part, we solved and enhanced the order management system for the serial communication with the raspberry.

This week we received the components, so we could test our programs with real stuff. For the next work session, we will establish the coefficients to apply on the crude measures to obtain the right measurements.

We also received the servomotor. As we never use this kind of component before on an Arduino board, we had to learn how to drive it. We didn’t need a specific library to use it because it’s a continuous rotation servo. We used the PWM output. For now, we can’t control it properly and we will fix it for the next time.

See you soon,

Guillaume, Mathieu, Vincent, Kevin

5th week : Connexion between the command circuit and the power circuit

Hi Guys!

During the last laboratory lesson, we put in place the command circuit with the Arduino. Today, we connected the command circuit to the power circuit by using a state relay between the Arduino and the hot plate.

The hot plate is composed of 3 eating conductors with a button to command six possible combinations. We removed the button and chose to put the combination with the three eating conductors in parallel. In this way, we have got the largest power range. The body of the hot plate was connected to the ground to avoid electrocution.

The state relay is composed of a transformer primary and a secondary. The primary is linked between pwm and 0 Volt. The command sends a DC signal included between 0 and 5 Volt. This DC signal is transform to the secondary of the transformer in an AC courant from 0 to 230 V for the alimentation of the eating conductors.

The next step is the program formulation of the pwm signal to generate into the primary of the state relay.

See you soon!


Next step

Hi everybody,

As mentioned last week, we launched our project!

First, we split the tasks between us.

On the one hand, Charles and me started by testing the Arduino with the heartbeat sensor. The search result and are successful, we managed to get the heart rate using an LED and the value of beats per minute.

On the other hand, Steve, Romain and Dralants conducted research to provide data using the Raspberry Pi. The issue was that we need 2.5A to power the Raspberry Pi that we will use. We have not yet been able to use the Raspberry because of that. They then did research on the Raspberry Pi for sending the data to an external monitor.

We continue to use the Asana software to establish a schedule to follow. Indeed, the use of this software is simple and indispensable in the realization of project.

Thus, we set a goal to finish the code for sending the data to an external monitor after 2 weeks of leave pacques at the latest.

For the next week, we hope having started the actual code that will allow the Arduino board to “use” the values sent by the sensor.

See you later all.

Week 6

Hi everyone,

This week, we had to prepare a short presentation about the project. So we explained the aim of our project and what is a rally timer. After that, we didn’t have any lab session. During the week, the GPS ship arrived. So we searched some tutorial about the GPS used.  During those presentations we expected to find a partner who used a GPS ship too. Unfortunately nobody used a gps. We are alone with our problems with the GPS. However, some other groups used a keypad and almost all of the other groups used a screen (with an Arduino or with a Rasberry pi). We can help each other.

We continued to improve our little calculator program to use the LCD screen and the Keaypad. Unfortunately, we had issues yet. We had some problem to show the information on the screen and to take the information on the keypad. The problem was about the time to put the number on the keypad. We are now ready to create our own rally timer. We hope that the GPS shield would be easy to use. We are now waiting for the lab to use practically the GPS shield, the screen and the keyboard.

6th week, presentation and material

Hello everyone,

This week, not a whole lot of progress : our components are delivered little by little, but we are still missing a couple of raspberries to be able to work on our own at home.

During the first hour of class, we had to present our project: there are a couple of points that are very similar to other projects of the class, meaning that we should try to work together.

After that, we tried to use the touchscreen we received : sadly, since the raspberries’s software from school aren’t up to date, it didn’t work as we planed.

Since we are going to program in Python, we started on learning a little bit more about this language. Kris also managed to install an Apache server. Matthieu worked on the communication between the Raspberry and the Arduino board: it was working, but not completely : this will need to investigate a little more.

Regarding what we plan to do next, we will continue to work on our separate part of the project: in a couple of hours, we should have advanced enough so that we can start to think how we cold put everything together. Thsi will certainly ba one of the most challenging part of our project !


Electronic weekly report – ADaDeDuTon

This week, we continued to progress in our electronic project with the PHP programming. We are moving in the build of the interface. The aim is to have a pratical interface for scientists of Materia Nova who will work with our program.

We have also installed a QR Code library in the Raspberry pi. Next step is to try this library and generate a QR code with the program. This will be the link to retrieve sample data in the data base. Finally, we will be able to print the QR code and stick it on the sample.

Last Monday, we have explain at the other groups what we do with our project, how we will do it with a little speech in front of the class. The goal of this exercise was to expose difficulties encountered during the project and compare with other group difficulties and maybe find an external solution. For example, we have a problem to connect to the Raspberry pi with its own name, we must to use its IP address each time. We know that another group has the same problem. Maybe we will find the solution with them.

For next time, we will continue the PHP programming and improve the interface. We will try to resolve the connexion to Raspberry pi with its name. We will try the QR code method to generate the link.