Task notify: Hello goodbye

On Wednesday, I spent some times implementing task notify on the sensor task, until implementing it on the h-bridge task. Then, I realize that it creates many memory errors and was not really useful since the thread should not call the function that change the multiplexer until the I2C communication was finished.

I also find the way to put some values in the esp32 that I used for the test as an I2C slave, and realized that it works with only 7 bits adresses whitout a read/write bit at the beginning, so I changed its adress and it correctely acknowledge to my communication.… Read more

Coding for test

On Thursday and Friday, I spend some times coding the threads of the test PCB. I first debug and check if everything was ok for our thread that will read the state of all the box via the hall effect sensor. I used a logic analyser to check if everything was fine. I checked that the four pins that will be used for the multiplexer will not change until the end of the sending of an I2C message. Then I code a thread that initializes all the H-bridge by putting them at the 0 state.

I also realize that I have not seen a mistake in our scheme.… Read more

Good vibrations

Today Xavier and I prepared the setup for the integration of the speed feedback module and the Dshot sender, and the test of the hall sensor :

There is a circular magnet lended to us by Touch at the end of the screw. It generate a magnetic fields in a radial direction, which will therefore point towards the breadboard. It is pretty powerful so we hope it won’t constantly trigger the hall sensor.

The hall sensor we will be using is the TLE4964-4M. It is a pretty basic hall sensor with three pins (VCC, ground and output), which outputs a low value when the magnetic field exceeds B_OP , and goes back to a high value when the field drops below B_RP .… Read more

Some tests before the prototype: Let’s PCB

A Test PCB

Before making our first device, we aimed at having a smaller one to test some components we do not have time to test: h-bridge, multiplexer, etc.

So, I had to complete a Test PCB that Alexis began. We already have chosen the components, and he chose the step-down converter, which we would use for our circuit.

I spend two days for placing and routing this PCB. We had two constraints: to put our coils at a precise place and the hall sensor just under them and to add the other component where there was still someplace. We choose to try to not add a battery since a phone charger can give us a 5V voltage with 1,5A current.… Read more

We keep feeling it

We previously tested a Hall effect sensor that, was working, but which gave us a voltage from which we could get the marble’s side. The issue with this is that in the final box, with all the marbles and the coils, we could have had strong pertubations that could alter the data. To avoid this issue we decided to use a sensor that would send the data through a communication protocol that could resist. We chose the TLE493DW2B6A0HTSA1 Infineon Technologies. This sensor sends its data through the I2C protocol so it should resist to our perturbations.

Let’s connect it !Read more

Can you feel it ? Yes we can !

In the components familly, it was time for the Hall effect sensors to be tested.

The sensor:

We used the SS39ET from HonneyWell. This sensor has 3 pins. One is GND, one is Vcc and the last is the output. The output is a voltage proportional to the magnetic field. We choose for Vcc a value of 3.3V.

First tests, let’s use a voltmeter.

To do the first tests we measure the output voltage with a voltmeter. To power the device we used a DC power supply. We also added an ampermeter to measure the current going to the Hall effect sensor.… Read more

Choosing our components: “We are dwarfs on the shoulders of giants”

For our project, we need to test our components in order to find the best way to control our marble. Good news, our project has been done in other ways before. That’s why we take a look at this webpage: https://wiki.fuz.re/doku.php?id=projets:datapaulette:1bit_textile (in French)

Diameter of the marbles

Our first idea was to choose the smaller marbles, which have a diameter of 5mm. I have some of these marbles at home, so I tried to make a prototype with some cardboard.

Conclusion: my biggest fear was that a marble would move the other marbles when we rolled it (because of a too big magnetic field), but with my prototype, they don’t.… Read more