Program » History » Version 4
Version 3 (DE GENDRE, Raphaëlle, 03/23/2016 11:48 AM) → Version 4/11 (DE GENDRE, Raphaëlle, 03/23/2016 03:21 PM)
h1. Implementation
In order to test our communication chain, we decided to implement a receiver to see if we could receive the temperature and print it on the screen. To do that, we started with the receiver that was implemented to receive the GPS signal in a former project since we use the same waveform. In order to apply the receiver to our case, we had to remove the part that was linked to the RTTY system with the Baudot and ASCII Coding. Since we wanted an integer to indicate the temperature, that is what we implemented.
h2. SubdemodTC.vi Subdemod.vi
We decided to use the same start sequence that the one of the GPS project and to use as well Manchester coding. Therefore, we only changed the last part about Baudot and ASCII coding.
p=. !{width:50%}startsequence.jpg!
Figure 1: Waiting for start sequence
p=. !{width:50%}subdemod2.jpg!
Figure 2: Conversion from Manchester to bits
p=. !{width:55%}subdemod3.jpg!
Figure 3: Conversion from bits to integer
To convert the bits to integers, we use the vi MT Pack bits.vi. This vi takes as an input a bit array, the number of bits per integer(7 in our case), and the type of integer(2 choices:signed or unsigned). We chose to work with signed integers according to the program on the development board. You can as well choose whether you are working with LSB (least significant bit first) or MSB (most significant bit first). In our case, we are working with MSB. At the output, it gives an array of integer which is as well the output of this vi.
h2. Acquisition_v5TC.vi
p=. !{width:55%}viAcquistion_v5TC.jpg!
Figure 4: Acquistion_v5TC.vi
In order to test our communication chain, we decided to implement a receiver to see if we could receive the temperature and print it on the screen. To do that, we started with the receiver that was implemented to receive the GPS signal in a former project since we use the same waveform. In order to apply the receiver to our case, we had to remove the part that was linked to the RTTY system with the Baudot and ASCII Coding. Since we wanted an integer to indicate the temperature, that is what we implemented.
h2. SubdemodTC.vi Subdemod.vi
We decided to use the same start sequence that the one of the GPS project and to use as well Manchester coding. Therefore, we only changed the last part about Baudot and ASCII coding.
p=. !{width:50%}startsequence.jpg!
Figure 1: Waiting for start sequence
p=. !{width:50%}subdemod2.jpg!
Figure 2: Conversion from Manchester to bits
p=. !{width:55%}subdemod3.jpg!
Figure 3: Conversion from bits to integer
To convert the bits to integers, we use the vi MT Pack bits.vi. This vi takes as an input a bit array, the number of bits per integer(7 in our case), and the type of integer(2 choices:signed or unsigned). We chose to work with signed integers according to the program on the development board. You can as well choose whether you are working with LSB (least significant bit first) or MSB (most significant bit first). In our case, we are working with MSB. At the output, it gives an array of integer which is as well the output of this vi.
h2. Acquisition_v5TC.vi
p=. !{width:55%}viAcquistion_v5TC.jpg!
Figure 4: Acquistion_v5TC.vi