Program » History » Version 9
DE GENDRE, Raphaëlle, 03/23/2016 03:42 PM
1 | 2 | DE GENDRE, Raphaëlle | h1. Implementation |
---|---|---|---|
2 | 1 | DE GENDRE, Raphaëlle | |
3 | 8 | DE GENDRE, Raphaëlle | In order to test our communication chain, we implemented 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's what we implemented. |
4 | 2 | DE GENDRE, Raphaëlle | |
5 | 9 | DE GENDRE, Raphaëlle | h3. SubDemodTC.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 | 6 | 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. |
23 | 4 | DE GENDRE, Raphaëlle | |
24 | 6 | DE GENDRE, Raphaëlle | h3. Acquisition_v5TC.vi |
25 | 4 | DE GENDRE, Raphaëlle | |
26 | 4 | DE GENDRE, Raphaëlle | p=. !{width:55%}viAcquistion_v5TC.jpg! |
27 | 4 | DE GENDRE, Raphaëlle | Figure 4: Acquistion_v5TC.vi |
28 | 5 | DE GENDRE, Raphaëlle | |
29 | 9 | DE GENDRE, Raphaëlle | This vi is our main one, the one that we run while testing and where we are supposed to see the temperature. We put in an indicator the first element of the integer array at the output of the SubDemodTC.vi, since we are only sending one temperature, to see the value that was received. |