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
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
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
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 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.
In the components familly, it was time for the Hall effect sensors to be tested.
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