Download Written Final - CS Course Webpages

Transcript
activated. If we used a large amount of if statements instead, then it might not pick up the transient
pulses. This did not work, as it did not have any noticeable affect on the dip.
3.4.3 RF interference
We made two small programs to test for RF interference. One called spin.bsp is used to spin the wheels
and wait for a little while, then spin the wheels again. It does this a total of ten times. The other
program is called listen.bsp. See Appendix 5.3 for source code. The listen program displays output
whenever it receives a signal from its antenna. We loaded the spin program onto one Boebot and the
listen program on another Boebot. We then placed the spin Boebot in various positions next to the listen
Boebot and watched the debug terminal to see how many times out of ten interference was caused in the
various positions. The two positions we chose were with the wheel and motor as close to the receiving
antenna as possible and with the wheel and motor next to the other Boebot. We repeated this test using
four different Boebots. We had each Boebot spin in both positions near each of the other Boebots with
the exception of the antenna-less Boebot, which only spun near the other Boebots but did not get to
listen since it did not have an antenna.
3.4.4 Solutions
In order to solve this problem, we designed several sets of insulation to stop the interference. Pink foam
was used to cover the receiver module. Silver insulation material, normally used to stop distortion in car
stereos, was used to wrap the servomotors. We then tested these insulations to find if they had an affect.
- 23 -