Creating a Base-Station for Use With an Autonomous Vehicle.

by Greg_The_Maker in Circuits > Raspberry Pi

28505 Views, 255 Favorites, 0 Comments

Creating a Base-Station for Use With an Autonomous Vehicle.

116.jpg
117.jpg
15.jpg
45.jpg
61.jpg
99.jpg
113.jpg
91.jpg

This Base-Station was originally conceived as the control centre for FishPi's Proof-O-f-Concept Vehicle (POCV). I had in mind an aluminium flight case with a keyboard, mouse, LCD, and a USB Hub along with extensions for USB & Networking. The Base-Station would connect direcftly to the POCV via a 32-pin umbilical.

In this instructable I will demonstrate how to build your own accompanying Base-Station.


Please help support my work, your donations really do make a difference.
http://ko-fi.com/gregthemaker

Parts.

The Base-Station has gone through three major development stages. Any additional parts used within a new development will be detailed later in this 'ible.

Initially the Base-Station featured;


There are no batteries inside the Base-Station. Power is supplied from either a 12v car battery, or a 12v PSU.

Several months ago I built the LapPi, a Raspberry Pi Laptop. There are many similarities between the two. It is worth noting that although the LapPi was published first, work on the Base-Station had began well before the LapPi's completion.

Repairs

01.jpg
02.jpg
03.jpg
04.jpg
05.jpg
06.jpg
07.jpg
08.jpg
09.jpg
10.jpg
11.jpg
12.jpg
The 12" IBM LCD I planned to use didn't work. The back-lights had failed. Before I could continue they needed to be replaced.

I shall spare you the exact details on how to do this, there are quite a few guides on Instructables detailing how to replace failed CCFL back-lights in LCDs.

In short one dismantles the LCD, removing the LCD panel from the enclosure. In larger screens it is normal for there to be two CCFL tubes, sometimes even four, but on this smaller screen there is only one.

Taking a slow and methodical approach to swapping the back-lights is the best way to tackle the repair. The CCFL tubes are delicate and rushing will only lead to accidents.

It should take around one hour to replace a single CCFL tube correctly.

Now that the LCD has been repaired we can continue with the Base-Station build.

Nicley Framed

13.jpg
14.jpg
15.jpg
16.jpg
17.jpg
18.jpg
19.jpg
20.jpg
21.jpg
22.jpg
23.jpg
24.jpg
25.jpg
26.jpg
27.jpg
28.jpg
29.jpg
30.jpg
31.jpg
32.jpg
33.jpg
34.jpg
35.jpg
The LCD goes inside the flight case. Before you do any work check you have ample space for the LCD panel. Once you are happy we'll need to prepare the LCD & the case.

1 | Dismantle the LCD. Make sure not to damage any of the cables as you will need those for the LCD to work later.

2 | Strip the inside of the flight case. Take care not to damage any of the cardboard liner.

3 | Measure the upper case's internal dimensions.

4 | Cut a plywood panel using those measurements.

5 | Check that it fits inside the upper case.

The plywood board I had wasn't tall enough to completley fill the upper case so I had an open strip at the bottom. Later on I will fill the gap with a wooden strip.

6 | Using the old plastic frame from the LCD measure the viewable area (L x W).

7 | Transfer the measurements onto the plywood panel make sure the area is centred and level.

8 | Cut out the viewable area from the plywood panel.

9 | Check your work fits.

There are two sections to the screen pack. The touch panel needs to sit in front of the LCD. Both need fixing in place.

10 | While the plywood panel is face down measure the touch panel and mark where it will sit on the back of the plywood panel.

11 | Glue wooden guide strips to the back of the plywood panel. I have left approximately 1mm of clearance on each side for foam padding.

The screen rests directly against the touch panel. I have put some foam strips around the edges to give a little bit of protection.

12 | With the plywood panel face down and the touch screen in position, place the LCD face down on the back of the touch panel. Make note of where the mounting holes are for the LCD.

13 | Build up removable brackets to hold the LCD in position.

Supporting PCBs

36.jpg
39.jpg
40.jpg
41.jpg
42.jpg
43.jpg
44.jpg
45.jpg
46.jpg
There are three PCBs that power & control the LCD & Touch panel; the main logic board, button board, and the inverter for the back-lights.

The boards are arranged in a specific pattern. Taking the screw holes in the boards as reference points I drew a mounting pattern onto an A4 sheet of paper.

Holes are cut into the pattern and the paper temporarily attached to the back of the upper case. Wooden blocks are permanently glued to the card liner in the upper case. Once the glue has dried the paper pattern is removed. Screw holes are drilled into the brackets and the PCBs can be test fitted.


Wooden Blocks

47.jpg
48.jpg
49.jpg
50.jpg
51.jpg
52.jpg
53.jpg
54.jpg
55.jpg
The LCD plywood panel assembly must be securely held in place in the upper case.

Along the inside edges I have placed wood blocks. The blocks are secured using wood glue & screws. The wood blocks are 3mm lower than the edge of the upper case. When the plywood LCD panel is fitted the panel sits flush with the edge of the case.

The touch panel & LCD moved around too much when the touch panel was pressed so extra brackets have been added to stiffen up the assembly.

The filler strip at the bottom is permanently fixed to the blocks.

The Other Half

56.jpg
57.jpg
58.jpg
59.jpg
60.jpg
61.jpg
62.jpg
63.jpg
66.jpg
67.jpg
64.jpg
68.jpg
69.jpg
70.jpg
71.jpg
72.jpg
73.jpg
74.jpg
75.jpg
76.jpg
The lower case is built by the same principles used to construct the upper case. Eight wooden blocks fit around the inside of the case. A made-to-measure plywood panel sits on top of the blocks, and is held down with eight large wood screws.

An opening is cut into the panel wide enough for the keyboard & trackball combo to fit inside. A box section screws to the plywood panel and runners are fitted inside. The keyboard rests against the rails so it sits flat with the plywood panel. If the keyboard were to protrude above the level of the plywood panel there is a chance it might come into contact with the LCD, causing damage to either items.

Additional openings are made for the Bulgin USB & Network Bucaneers, 32-Pin Aircraft connector, Cable-Way, and the DC Jack & Fuse holder.

A 7-Port USB has been removed from it's casing. The USB Hub is fixed inside the lower case using the methods described to mount the LCD's PCBs. When installing devices like a USB Hub it is worth remembering to allow space for any cables which will later be connected.

Before final assembly all surfaces are smoothed with fine glass paper before being sprayed with a protective satin varnish.

Secured to the back of the larger box section is the 12v to 5v DC DC Converter. The converter will provide power to the USB Hub.

The buttons on the button board are removed and wire extensions fitted. The plywood LCD panel is modified and three push-to-make buttons hot-glued in along with a power indicator LED. Notches in the lower edge of the plywood panel make space for the cables to pass between the upper case and lower case.

Final assembly of the screen pack takes place away from the workshop to help limit the incursion of dust particles.

This completes version one of the Base-Station. Connectivity to the POCV is available via the 32-Pin umbilical. Access to the POCV's HDMI, Network connectivity, and USB functions are now available. In principle.

I Love It When a Plan Comes Together

77.jpg
78.jpg
79.jpg
80.jpg
81.jpg
82.jpg
83.jpg
84.jpg
85.jpg
86.jpg
87.jpg
88.jpg
89.jpg
91.jpg
Unfortunately, and after many part changes, the LCD panel refuses to display anything. I have an old 17" LCD panel from a Toshiba Laptop to hand so we will be replacing the 12" panel with a larger 17" panel. This does of course mean the loss of the touch function.

Additional Parts;

The viewable area has been increased on the plywood panel. Larger brackets and two cross spars fix the larger panel in situ. Between the spars in an additional panel to which is mounted the PCBs.

I cut an HDMI to DVI Cable in half, counted the individual wires in the cable, 15 and added six to the count for power (3x 12v & 3x gnd). By splicing in the flat IDE cable we greatly increase the resilience towards bending. The previous three round cables kinked easily and over time this would have led to broken cables.

Third Time Lucky

92.jpg
93.jpg
94.jpg
95.jpg
96.jpg
97.jpg
98.jpg
99.jpg
100.jpg
101.jpg
102.jpg
103.jpg
104.jpg
105.jpg
106.jpg
107.jpg
108.jpg
109.jpg
110.jpg
111.jpg
112.jpg
113.jpg
114.jpg
115.jpg
116.jpg
117.jpg
Sooo. The umbilical is to go, replaced by a Wi-Fi link. Due to too many complications, interference, and operational limitations the 32-Pin umbilical is being swapped out. The Base-Station is being retrofitted with its own Raspberry Pi and Wi-Fi router.

Additional Parts;

Before beginning the modifications I checked to make sure all components work. Originally I had intended on using a USB Dongle but quickly upgraded to a Wi-Fi router. Both the router and Raspberry Pi are installed into the small space under the keyboard.

I installed a false bottom into the keyboard space. The Raspberry Pi rests on a foam pad (old Yoga Mat), and two wooden blocks on the underside take the screws.

The hole for the 32-Pin Aircraft connector has been blanked and a hole drilled for an RF cable extension from the router.

Power for the Raspberry Pi is drawn from the DC DC Converter and the Wi-Fi Router is fed 12v directly from the PSU via the DC Jack.

We're using the Raspbian “wheezy” image in the Base-Station, which is available from the Raspberry Pi Foundation's website.

Over the summer we'll be broadcasting live video, and or images from the POCV during testing. For loads more details about the FishPi project please visit http://fishpi.org