LEADS icon indicating copy to clipboard operation
LEADS copied to clipboard

LEADS First Assembly

Open ATATC opened this issue 1 year ago • 32 comments

@ProjectNeura/vec-instrumentation

As the development of LEADS reaches a certain stage, it is time to put our results into practice. Before entering the formal assembly, we first need to complete the following adjustments.

  • The header on the Arduino should be removed because we would like to wire multiple cables onto one pin
  • A second Arduino Micro should be purchased
  • The measurements of the components should be done

Afterward, the assembly will take place hopefully in the following order.

  1. Wheel speed sensors onboard and tested
  2. Wheel speed subsystem Arduino onboard and tested
  3. Raspberry Pi onboard and tested
  4. Display onboard and tested
  5. GPS onboard and tested
  6. Voltage sensor onboard and tested
  7. Power subsystem Arduino onboard and tested

ATATC avatar Apr 06 '24 04:04 ATATC

Please confirm a date to do the soldering work.

ATATC avatar Apr 06 '24 04:04 ATATC

Tuesday April 9 after school? This can really be done any day after school once I show you what you need to do (assuming you have not soldered before).

qmascarenhas avatar Apr 06 '24 10:04 qmascarenhas

  • Would it make sense for us to get a passive heat sink protective case for the rpi4?
  • Does the display require any protection? If so, maybe we get one of the guys to design a case or maybe there's already a 3D design out there already.

qmascarenhas avatar Apr 06 '24 13:04 qmascarenhas

It already has a small heat sink. We can design an air deflector though.

ATATC avatar Apr 06 '24 17:04 ATATC

I don't think the screen case is necessary because the control buttons are behind the screen. But for aesthetic reasons, we can design a border to hide the PCB.

ATATC avatar Apr 06 '24 17:04 ATATC

Tuesday April 9 after school? This can really be done any day after school once I show you what you need to do (assuming you have not soldered before).

Sure. I have soldered before. I just don't have the equipment and site here.

ATATC avatar Apr 06 '24 17:04 ATATC

By the way I figured out that the touchscreen needs the USB power cable to connect to the raspberry Pi. We definitely need some USB hubs.

ATATC avatar Apr 06 '24 18:04 ATATC

Since the cameras and the OBS-Teams call is separate from the main LEADS s/w (I'm assuming we'll be able to launch all that with a script instead of manually), we can put the cameras on a hub which would leave us 3 usb ports on the rpi4: 1 - Touch Display 2 - GPS dongle 3 - open

qmascarenhas avatar Apr 07 '24 11:04 qmascarenhas

Here's what we need to connect to the USB ports. Each listing takes one port.

  1. Camera 1
  2. Camera 2
  3. Camera 3
  4. GPS receiver
  5. Wheel speed controller
  6. Power controller
  7. Display power
  8. Display touchscreen
  9. Keyboard
  10. Mouse

ATATC avatar Apr 07 '24 18:04 ATATC

We need 4x 3-port USB hub.

ATATC avatar Apr 07 '24 18:04 ATATC

Do we have enough USB hubs? If not I can go get some tmr.

ATATC avatar Apr 07 '24 21:04 ATATC

We've got lots of hubs at school that are not being used that we should be able to use. Please don't buy anything.

qmascarenhas avatar Apr 07 '24 22:04 qmascarenhas

When will we be ready to install the system on VeC99?

ATATC avatar Apr 11 '24 03:04 ATATC

I'm hoping we will have VeC99 on the road by the end of next week. We need to put an assembly plan together for your system first in terms of final layout on VeC99. Can you put a draft plan together that I can review?

  1. Target the area under the hood.
  2. Layout components other than the display, powerpack and sensors on a panel that will fit on the underside of the hood at an angle. We will cut some vents in the top of the front panel of the nose to direct some air flow under the hood for cooling.

ps: your usb hubs are in (I've put them with the rest of your stuff under the nose in rm217. I have not tested them.

qmascarenhas avatar Apr 11 '24 17:04 qmascarenhas

The new USB hubs have been tested and the system worked well.

ATATC avatar Apr 12 '24 22:04 ATATC

@qmascarenhas When do you think the car is going to be ready so that we can film a video demonstrating the system.

ATATC avatar Apr 23 '24 03:04 ATATC

@ATATC @fz20181223luogu We need to test the MS-Teams call with the OBS virtual cam combining the images from Cameras 1, 2 and 3.

  • @fz20181223luogu you need to provide @ATATC with your OBS virtual cam configuration.

qmascarenhas avatar May 03 '24 17:05 qmascarenhas

@ATATC can you bring the HDMI cable that I gave you in tomorrow? I'll swap it for the one that's on VeC99 - it's just better for cable routing under the hood and is a straight cable without need of adapters.

qmascarenhas avatar May 09 '24 23:05 qmascarenhas

  • [ ] Reinstall the operating system after tests

ATATC avatar May 10 '24 17:05 ATATC

@ProjectNeura/vec-instrumentation After tons of bug fixes now finally the program can start itself when the Raspberry Pi boots up.

ATATC avatar May 10 '24 21:05 ATATC

@qmascarenhas What do you think about giving @fz20181223luogu a chance to touch the core of LEADS, that to let him follow the user guide to reinstall the operating system for the other Raspberry Pi?

ATATC avatar May 12 '24 03:05 ATATC

I concur with this plan @ATATC - I would also like to do something similar with @HaydenHour but like you he writes the AP Physics 1 exam on Friday so perhaps after that. I will recommend him to get his own raspberry pi so he can play around with it over the summer.

qmascarenhas avatar May 12 '24 18:05 qmascarenhas

May 21

  • [ ] Install OBS on the Raspberry Pi B
  • [x] Fix #179
  • [ ] Test with longer cables
  • [ ] Complete #139

ATATC avatar May 21 '24 18:05 ATATC

@qmascarenhas Sir, when you do the installation today can you leave a secondary HDMI port and cable for quick debugging purposes?

ATATC avatar May 22 '24 13:05 ATATC

Not quite sure what you mean by "leave a secondary HDMI port and cable".

qmascarenhas avatar May 22 '24 16:05 qmascarenhas

I mean plug another HDMI cable into the Raspberry Pi and put the other end somewhere accessible without dismantling the car.

ATATC avatar May 22 '24 16:05 ATATC

ok. I'll need to get another cable though - I only bought one the last time.

qmascarenhas avatar May 22 '24 16:05 qmascarenhas

Sure. I'm not at school today but keep me in the loop with the installation progress.

ATATC avatar May 22 '24 16:05 ATATC

@qmascarenhas Any update today?

ATATC avatar May 22 '24 20:05 ATATC

I ran out of time to put everything together. I made the cables for the wheel speed sensors. I'm going to try getting in early tomorrow so I can get some work done before P1.

qmascarenhas avatar May 23 '24 02:05 qmascarenhas