Data acquisition – Hardware


The fifth video is about the hardware of our project.

The Elecrow Simduino was the main part of the hardware. It combines Arduino Uno and sim808 module. The fusion between these parts enabled us to save costs and place at the beginning. Unfortunately, we changed the Elecrow for an official Arduino Mega 2560. The mega-2560 is designed for more complex projects and allowed us to have more space for the program. The memory of the elecrow was too limited.

The mega-2560 costs 35€ on the official website. It is a microcontroller board based on the Atmega2560. To get started, the user just needs to connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery. You can find all the needed information about it on their website.

The Sim808 costs approximately 40 dollars. This module is a GSM and GPS two-in-one function module. It is based on the latest GSM/GPS module SIM808 from SIMCOM. It features ultra-low power consumption in sleep mode and integrated with charging circuit for Li-Ion batteries. The module supports 3.3V and 5V logical level.

To connect our microcontroller to the car, we will need a can bus shield. There is no change on that part. CAN-BUS is a common industrial bus because of its long travel distance, medium communication speed and high reliability. It is found in cars. The shield costs approximately 20 dollars.

The 12-volt car batteries are ok to run the Arduino. However, one of the problems is the oscillatory behavior of the voltage in these batteries. To avoid problems, we decided to install a step-down switching regulators. This regulator will fix the output voltages to 7-volts. We bought it at 1 dollar on eBay.

Approximately, you will need 100 dollars to carry out this project if you decide to go for top-quality components.

Don’t hesitate to ask us your questions about our choices.

See you soon in our last videos.

Data acquisition – Future usages & applications

Hello everybody! Today, for the last video, I am going to talk about the communications between the car and the controlling base. Next, we made an interview of a potential customer and I am going to talk about the future of our project.

Currently, our project collects the data of a car using some components into a box in the car that we showed you in a previous video.

This information is sent to the SQL database and the fleet manager can control the state of each vehicle of his fleet.

If he sees some possible dysfunction, he can warn the actual driver of the vehicle about the problem and avoid the accident.

But this project can be used for other applications, more and more customers are interested in our project and we want to know why. So, to answer this question, we made an interview with a big customer:

Interviewer: « So, why are you really interested in our project?”


” Well, I am very interested by your project because currently, our company has some logistical issues. We are having a hard time estimating accurately the time of arrival of trucks. We need to communicate a lot with our drivers to have an up-to-date ETA (estimated time of arrival). But this communication can distract them from doing their job properly.

So, this project allows us to communicate between the truck in late and the operator in logistic with the GPS can organize to take another truck which isn’t late. All this without involving and thus distracting the lorry driver. The information of the location of the trucks would allow to circulate safely in our company and would improve our logistical efficiency.

Your project could even allow us to control all components of the truck and to be informed immediately if they have an issue.

Interviewer: “Ok, thank you very much for this interview and your interest of our project.“

Customer: “you’re welcome”

So, in the future, we want to develop our project to have an interactive dialogue with the car using another libraries. For example, we would be able to send a request to the car to check if the door are closed, if the oil and fuel are correct.

For now, we hope that you enjoy our project and the possibilities than it offers. Don’t hesitate to check out our other videos and see you soon perhaps in our office to sign a contract!

Good bye!

Automatic bar tender : Body frame and electrical building parts

Hey guys, my name is Jérémie and today I ‘am going to speak you about the hardware of our bar tender project. In this video I ‘am going to details how we have made to design all the machine and what material we have used to convert our ideas into a real and functional device.

In this first post, my job is to speak about the mechanical part of the machine then how building the device. The major idea for this project was to only use or to use a maximum of recovered material. Firstly, because we are students and we have limited budget and also to make sure that everyone is able to reproduce our bar tender.

Then we can start with the first step that is to build the body frame of the machine. For this, we have used recovered wooden board from an attic. All the board are shaped into rectangle and joined together with several screws. The size of the structure has been decided by placing 5 bottles aligned and checking the overall length.

When the body frame was fixed to make one piece, we have cut a piece of rigid cardboard and fixed it behind the structure. After we have placed a wood board in front to block the bottles and make sure that it is not possible for the them to go out of the structure.

Once this job has been carried out, it is time to add some wood boards to realize the axle support for the conveyor. They are ready to be perforated and to incorporate the shaft to allow the conveyor to work properly. Moreover, a little piece placed on the top of the body frame is added to create a fixation point for all the piping providing the drink. This component will be detailed forward in the video.

To come back on the shaft support, they are made by inserting à steel pipe surrounded by a PVC one. The diameter of the PVC pipe is slightly wider than the other. That make it free to rotate around the steel pipe. The rotation is possible thanks to the glide between the steel and the PVC.

The next step was to think about the stabilisation of the glass on the conveyor. Then we have carefully cut a thin wood board with a jigsaw and fixed it in the front of the structure. In this case, the conveyor rotates around the axis support and can slide on the wood support to bring stability to the filled glass.

Before inserting the electric motor for the conveyor on the structure, we have took a  MDF plate that is the base of the machine. Thanks to this, we can place the machine wherever we want. Moreover, the structure is reinforced by its fixation on the plate.

After this, the bar tender is ready to be paint, once again, we have chosen a recovered material. That’s why the structure is paint in black.

The final step was to insert auxiliary components on the structure as the pumps, the piping, and all the electronics that command all the operations.

At first, we have perforated the board on the top of the structure and fixed a threaded rod on it. The rod extremity height corresponds at the top of the glass where the liquids are poured. An annular wood board is fixed on this extremity, and 5 holes are perforated where are inserted each pipe. They come from a bottle, go through the pump and finally go out of the pump by a pipe that is inserted in the annular wood board that I was speaking about previously.

We have chosen not to make the piping visible. Then we have put a hold cable duct to insert all the pipes. These pipes are traditional plastic pipes used for all domestic hydraulic applications.

That’s all for the body frame building part. Il leave you with Benoit who will explain the electrical building part. Thanks’ for watching, see you next time!


Hello everyone,

I’m Benoit of the cocktail Team! In this last video, I’m going to explain the electrical building part of our cocktail dispenser.

First, I’m going to make a brief reminder about the listing of the main electrical material needed to make our project functional:

In this project, we have bought 5 centrifugal pumps destinated to an aquarophilia use. Each one is powered in 12DCV and with this voltage, it can reach a flow rate of 240 l/min.

We have also bought 5 Arduino relays, one Genino Arduino (a uno can be adequate for the application). In this project, we have used this object as a slave interface to command all pumps.

Finally, we have used a raspberry PI 3. This device is the most important object in this project because its broadcom chip allows to connect it on a local or online network, furthermore, it allows to manipulate a database because it has a bigger memory than the Arduino. So, it is the brain of our project!

We have bought the pumps on amazon for 5€ each. We have chosen these even though they are really not optimised to this application, because they are low-cost pumps and their flow rate allows to fill the cocktail glass really fast.

We have cut the base connector of each pump and soldered each wire to an Arduino connector. In this way, it’s easier for us to plug these devices on a breadboard.

In the same way, we have cut the connector of an old 12VDc power supply of 500mA and soldered 2 arduino connectors.

Here are the different connections:

First, to power and send the program to the arduino and the raspberry, we have connected these on a laptop by USB.

Then, the arduino connections are pretty basic:

We plug it to a 5VDC sector power supply. As the Arduino is the main device which helps to command the pumps, we must connect each pump on it. However, the power supply voltage of the Arduino and the pumps are different which means that we must pay attention to insulate both supplies between them. Otherwise, we risk to create a short-circuit and to burn all electronic elements. Moreover, we can’t power the pumps with the 5 VDC Arduino supply because it is too low to operate the pumps.

Therefore, we used arduino relays because they create a « galvanic » insulation between the supplies.

As a reminder, a relay is a kind of switch which allows to command an electrical circuit. This switch is operated by a magnetic field which is generated by a self. The self is powered by a secondary circuit which is generally of a lowest voltage than the first one. There isn’t any contact between both circuits and it is that what we called a galvanic insulation.

This is the interest of this device, because we can command a 12VDC circuit by a 5DCV circuit without any risk of short circuit.

The relays have 3 connection pins (VVC – Ground – In) of command circuit by side and 3 others (NO-NC-ground) of power circuit by side. We must plug the Arduino 5VCC on the “VCC” pin and make the same for the ground. The “In” pin must be plugged on an Arduino digital output. The first pins allow to power the relays whereas the last one allows to operate the self.

We have plugged the pumps on the connection “Ground” and “NC”. The plugin is justified because our program activates all pumps at the startup.

To ease the connections, we have used a breadboard to gather all indirect plugins.

So we have connected the power supplies on the track  + and – .

We have finally made the connections like on this schematic (it is not contractual but it’s the main principle):

Capture d_écran 2017-05-22 à 12.43.18

I hope you have now the whole information to make your own cocktail dispenser.

See you soon!

Team 8 – Secured & Automated Front Door #5


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.

  1. 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.
  2. 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).
  3. 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.
  4. 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.


The Last Chicken


Hello everyone.

This post talks about the software that we use for the project “Automated Chickenhouse”.

To remind you, we are using an Arduino and a Raspberry pi.

To do that we use different IDE to code respectively in C++ and python 2.

The Arduino code:

First of all, let’s take a look on the data and the selection. As you can see we include the math.hon the top and we selected a pin in or out for the different sensors.

On the bottom, we have written the constant that we use for the sensors.

After that, in a first function we set the pins and the serial connection up.

At the beginning of the code we have a function called readDHT11

Thence, we use a loop function to read the sensors. Let’s have a closer look.

The temperature and humidity sensor:

For the temperature and humidity sensor we call the function readDHT11 and then return the data to the raspberry pi with the serial connection.

The light level :

The Arduino gets the analogic data which is a photo resistor. Thence we compare the level of brightness with the level that we had set up (here at 600) and we use this level (high or low) to activate the motors.

The counter of chickens:

We use two infrared sensors to know if the chicken goes in or out. To do so, we have an if condition in a do…while loop that is include in another if condition. All of thattakes the data from the first sensor and wait for the second. We also have a security in the loop if the chicken makes a U turn.

The water level and the seed level:

The ultrasonic sensors are set at high and then low. Then we wait for the echo and take the minute. Finally, we multiply half the time by the speed of sound in the air to have the distance. We send that final data to the raspberry pi.

The raspberry code:

Firstly, we import the Libraries that my colleague told you two videos before.

Secondly, we import the data from the Arduino by a serial connexion and get them on a table.

In the next function, we use the time of the computer to display it on the screen.

The Last function is the biggest one. In this one we create boxes for the display on the screen. Then we manage them and add text and images on the frames.

We can see the result on this image.

That’s all for today. See you soon.

Team 4 : Drugs dispenser – Model improvement and stepper motors wiring (sixth post)

Hello, in a previous video, we showed you our model as it has just been built. But after a few test with the model, we realised that everything wasn’t perfect and that some improvements had to be made. That’s why in this video, the improvements will be introduced. After few explanation about the improvement made to the spinning wheels, the way the stepper motors have been used will be explained.