Program » History » Version 3

DE GENDRE, Raphaëlle, 03/23/2016 11:48 AM

1 2 DE GENDRE, Raphaëlle
h1. Implementation
2 1 DE GENDRE, Raphaëlle
3 1 DE GENDRE, Raphaëlle
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.
4 2 DE GENDRE, Raphaëlle
5 2 DE GENDRE, Raphaëlle
h2. Subdemod.vi
6 2 DE GENDRE, Raphaëlle
 
7 2 DE GENDRE, Raphaëlle
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. 
8 2 DE GENDRE, Raphaëlle
9 2 DE GENDRE, Raphaëlle
p=. !{width:50%}startsequence.jpg!
10 2 DE GENDRE, Raphaëlle
Figure 1: Waiting for start sequence
11 2 DE GENDRE, Raphaëlle
12 3 DE GENDRE, Raphaëlle
13 3 DE GENDRE, Raphaëlle
14 2 DE GENDRE, Raphaëlle
p=. !{width:50%}subdemod2.jpg!
15 2 DE GENDRE, Raphaëlle
Figure 2: Conversion from Manchester to bits
16 1 DE GENDRE, Raphaëlle
17 3 DE GENDRE, Raphaëlle
18 3 DE GENDRE, Raphaëlle
19 3 DE GENDRE, Raphaëlle
p=. !{width:55%}subdemod3.jpg!
20 1 DE GENDRE, Raphaëlle
Figure 3: Conversion from bits to integer
21 3 DE GENDRE, Raphaëlle
22 3 DE GENDRE, Raphaëlle
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.