Skip to content

Commit

Permalink
Merge pull request #16 from xtream1101/csv_parts_list
Browse files Browse the repository at this point in the history
Make part lists csv files. Build master part list from sub assemblies
  • Loading branch information
mikcox committed Mar 12, 2019
2 parents 3d604e2 + 5ea8586 commit e243445
Show file tree
Hide file tree
Showing 171 changed files with 629 additions and 65 deletions.
Binary file modified Electrical/Electrical Build.pdf
Binary file not shown.
Binary file not shown.
119 changes: 116 additions & 3 deletions Electrical/Latex Docs/Electrical Build Doc/Electrical Build.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
\usepackage{fancyhdr}
\usepackage{verbatim}
\usepackage{wrapfig}
\usepackage{colortbl}
\usepackage{array, booktabs, caption}
\usepackage{makecell}
\usepackage{tcolorbox}
\usepackage{lipsum}

Expand Down Expand Up @@ -41,7 +44,13 @@
}
\makeatother

% Parts list tables
\renewcommand\theadfont{\bfseries}
\newcolumntype{I}{ >{\centering\arraybackslash} m{2cm} } % part image
\newcolumntype{N}{ >{\centering\arraybackslash} m{3cm} } % part name
\newcolumntype{Q}{ >{\centering\arraybackslash} m{0.75cm} } % ref & qty

\newcommand\partimg{\includegraphics[width=2cm,height=1.25cm,keepaspectratio]}

\begin{document}

Expand Down Expand Up @@ -206,7 +215,23 @@ \subsection{Connectors, Switch, and Volt Meter}
\noindent It is extremely important to plug the battery in the correct direction into the volt meter as well, as plugging it in backwards (even for an instant) could damage the volt meter.
}

Using the Tamiya connectors, connect the battery to the switch and then the volt meter according to Figure \ref{sw sch}. Tye Tamiya connectors allow you to disconnect the battery from the rest of the system so you can recharge the battery.
\begin{table}[H]
\centering
\arrayrulecolor{lightgray}
\sffamily\footnotesize
\captionsetup{font={sf,bf}}
\caption{Parts Necessary}
\begin{tabular}{|N|Q|Q|I|N|Q|Q|I|}
\hline
\thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} & \thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} \\
\hline
Battery & E12 & 1 & \partimg{../../../images/parts_list/E12.png} & Tamiya Connectors & E24 & 1 & \partimg{../../../images/parts_list/E24.jpg} \\ \hline
Switch & E25 & 1 & \partimg{../../../images/parts_list/E25.jpg} & Battery Volt Meter & E15 & 1 & \partimg{../../../images/parts_list/E15.jpg} \\ \hline
16 AWG Wire (Black) & E28 & 1 & \partimg{../../../images/parts_list/wire.jpg} & 16 AWG Wire (Red) & E29 & 1 & \partimg{../../../images/parts_list/wire.jpg} \\ \hline
\end{tabular}
\end{table}

Using the Tamiya connectors, connect the battery to the switch and then the volt meter according to Figure \ref{sw sch} using 16 AWG wire. The Tamiya connectors allow you to disconnect the battery from the rest of the system so you can recharge the battery.

\begin{figure}[H]
\centering
Expand Down Expand Up @@ -245,6 +270,20 @@ \subsection{Volt Meter and Voltage Regulator}
\label{motor cont}
\end{figure}

\begin{table}[H]
\centering
\arrayrulecolor{lightgray}
\sffamily\footnotesize
\captionsetup{font={sf,bf}}
\caption{Parts Necessary}
\begin{tabular}{|N|Q|Q|I|N|Q|Q|I|}
\hline
\thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} & \thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} \\
\hline
5V Voltage Regulator & E4 & 1 & \partimg{../../../images/parts_list/E4.png} & RoboClaw Motor Controller & E2 & 1 & \partimg{../../../images/parts_list/E2.jpg} \\ \hline
20 AWG Wire (Black) & E30 & 1 & \partimg{../../../images/parts_list/wire.jpg} & 20 AWG Wire (Red) & E31 & 1 & \partimg{../../../images/parts_list/wire.jpg} \\ \hline
\end{tabular}
\end{table}

The "LOAD" terminals of the volt meter are the electrical load of the robot, which correspond to all the electronics running in the robot. Figure \ref{vm sch} shows the pin-out of how to connect the volt meter to the 5V regulator and the motor controllers.

Expand Down Expand Up @@ -294,6 +333,20 @@ \subsection{Powering the Raspberry Pi}
\textbf{Note:} If you plan on using the LED matrix / face, you should split 5V power off of the 5V regulator before the Raspberry Pi, which should be done now. As the LED Matrix takes up a large number of GPIO pins which some might want for other devices, it's not a required part of the project and thus there is a separate document describing how to put it together.
}

\begin{table}[H]
\centering
\arrayrulecolor{lightgray}
\sffamily\footnotesize
\captionsetup{font={sf,bf}}
\caption{Parts Necessary}
\begin{tabular}{|N|Q|Q|I|N|Q|Q|I|}
\hline
\thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} & \thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} \\
\hline
Raspberry Pi 3B & E1 & 1 & \partimg{../../../images/parts_list/E1.jpg} & & & & \\ \hline
20 AWG Wire (Black) & E30 & 1 & \partimg{../../../images/parts_list/wire.jpg} & 20 AWG Wire (Red) & E31 & 1 & \partimg{../../../images/parts_list/wire.jpg} \\ \hline
\end{tabular}
\end{table}

\noindent To power the Raspberry Pi, we soldered the 5V and GND from the 5V regulator directly to the power pads on the bottom of the Raspberry Pi. The positive voltage goes to pad PP2 and negative/ground goes to pad PP5 in Figure \ref{rpi pads}. For more information and a video on doing this you can follow this link and go to around 3:30
\begin{itemize}
Expand Down Expand Up @@ -346,6 +399,21 @@ \subsection{Serial Communication}
% \label{ss}
%\end{figure}

\begin{table}[H]
\centering
\arrayrulecolor{lightgray}
\sffamily\footnotesize
\captionsetup{font={sf,bf}}
\caption{Parts Necessary}
\begin{tabular}{|N|Q|Q|I|N|Q|Q|I|}
\hline
\thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} & \thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} \\
\hline
POPULATED Custom Serial Splitter PCB & N/A & 1 & \partimg{"Pictures/Board Testing/ss1".PNG} & Female/Female Jumper Wires & E18 & 24 & \partimg{../../../images/parts_list/E18.png} \\ \hline
\end{tabular}
\end{table}

NOTE: Before completing this section, you will need to populate the custom PCB boards that you received. Make sure you have completed all the custom PCB population and testing in the PCB Testing.pdf document before continuing with this document.

Figure \ref{rpi to rc} shows the schematic and pin-out of how to connect the Pi, Serial Splitter board, and Motor Controllers. From the Raspberry Pi we use the UART TX and RX pins, which correspond to pins \#8 and \#10, or GPIO14 and GPIO15. In addition we will be passing 5V to the motor controllers for the logic battery controller which is used by the encoders and digital logic. For this use the 5V PWR rail which is pin \#2 or \#4 and any of the GND pins (we recommend pin \#6). Raspberry Pi GPIO diagrams can be found on the following page in Figure \ref{RPi 3 pinout}.

Expand Down Expand Up @@ -482,8 +550,21 @@ \section{Connecting Motors/Encoders}
\label{wiring2}
\end{figure}



\begin{table}[H]
\centering
\arrayrulecolor{lightgray}
\sffamily\footnotesize
\captionsetup{font={sf,bf}}
\caption{Parts Necessary}
\begin{tabular}{|N|Q|Q|I|N|Q|Q|I|}
\hline
\thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} & \thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} \\
\hline
20AWG Wire (Black) & E30 & N/A & \partimg{../../../images/parts_list/wire.jpg} & 20AWG Wire (Red) & E31 & N/A & \partimg{../../../images/parts_list/wire.jpg} \\ \hline
30AWG Wire (White) & E34 & N/A & \partimg{../../../images/parts_list/wire.jpg} & 30AWG Wire (Blue) & E35 & N/A & \partimg{../../../images/parts_list/wire.jpg} \\ \hline
30AWG Wire (Yellow) & E36 & N/A & \partimg{../../../images/parts_list/wire.jpg} & 30AWG Wire (Green) & E37 & N/A & \partimg{../../../images/parts_list/wire.jpg} \\ \hline
\end{tabular}
\end{table}

\begin{tabular}[3] {| p{2cm} | p{7cm} | p{4cm} |}
\hline
Expand Down Expand Up @@ -556,6 +637,21 @@ \subsection{Corner Motors/Encoders}
\label{corner motors over}
\end{figure}

\begin{table}[H]
\centering
\arrayrulecolor{lightgray}
\sffamily\footnotesize
\captionsetup{font={sf,bf}}
\caption{Parts Necessary}
\begin{tabular}{|N|Q|Q|I|N|Q|Q|I|}
\hline
\thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} & \thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} \\
\hline
POPULATED Voltage Divider PCB & N/A & 1 & \partimg{"../PCB Testing/Pictures/Board Testing/vd1".PNG} & Jumper Wires & E18 & 14 & \partimg{../../../images/parts_list/E18.png} \\ \hline
3-Pin Micro Connectors & E10 & 4 & \partimg{../../../images/parts_list/E10.png} & & & & \\ \hline
\end{tabular}
\end{table}

The corner motors only have the two connections to the physical motor, the (+) and (-) going to the top of the motor. However, you must also hook up the absolute encoder. When plugged into the encoder, the 3-pin Micro connector will have 3 wires coming out of it, shown in Figure \ref{3pin}.


Expand Down Expand Up @@ -616,6 +712,23 @@ \section{Connecting the LED Matrix}
\item \href{https://learn.adafruit.com/connecting-a-16x32-rgb-led-matrix-panel-to-a-raspberry-pi/overview}{https://learn.adafruit.com/connecting-a-16x32-rgb-led-matrix-panel-to-a-raspberry-pi/overview}
\end{itemize}

\begin{table}[H]
\centering
\arrayrulecolor{lightgray}
\sffamily\footnotesize
\captionsetup{font={sf,bf}}
\caption{Parts Necessary}
\begin{tabular}{|N|Q|Q|I|N|Q|Q|I|}
\hline
\thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} & \thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} \\
\hline
POPULATED Logic Shifter PCB & N/A & 1 & \partimg{"../PCB Testing/Pictures/Board Testing/ls2".PNG} & Jumper Wires & E18 & 30 & \partimg{../../../images/parts_list/E18.png} \\ \hline
20AWG Wire (Black) & E30 & N/A & \partimg{../../../images/parts_list/wire.jpg} & 20AWG Wire (Red) & E31 & N/A & \partimg{../../../images/parts_list/wire.jpg} \\ \hline
30AWG Wire (White) & E34 & N/A & \partimg{../../../images/parts_list/wire.jpg} & 30AWG Wire (Blue) & E35 & N/A & \partimg{../../../images/parts_list/wire.jpg} \\ \hline
30AWG Wire (Yellow) & E36 & N/A & \partimg{../../../images/parts_list/wire.jpg} & 30AWG Wire (Green) & E37 & N/A & \partimg{../../../images/parts_list/wire.jpg} \\ \hline
\end{tabular}
\end{table}

\noindent Figure \ref{rpi2led} shows an overview of how the logic shifters are used between the signals from the Raspberry Pi and the LED Matrix. This diagram does not include the actual pin connectors to the Logic Shifter board; it is just to demonstrate the signal path.

\begin{figure}[H]
Expand Down
Binary file modified Electrical/Latex Docs/PCB Testing/PCB Testing.pdf
Binary file not shown.
75 changes: 58 additions & 17 deletions Electrical/Latex Docs/PCB Testing/PCB Testing.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
\usepackage{wrapfig}
\usepackage{tcolorbox}
\usepackage{lipsum}
\usepackage{colortbl}
\usepackage{array, booktabs, caption}
\usepackage{makecell}

\pagestyle{fancy}
\lfoot{\textbf{Open Source Rover PCB Testing}}
Expand All @@ -41,7 +44,13 @@
}
\makeatother

% Parts list tables
\renewcommand\theadfont{\bfseries}
\newcolumntype{I}{ >{\centering\arraybackslash} m{2cm} } % part image
\newcolumntype{N}{ >{\centering\arraybackslash} m{3cm} } % part name
\newcolumntype{Q}{ >{\centering\arraybackslash} m{0.75cm} } % ref & qty

\newcommand\partimg{\includegraphics[width=2cm,height=1.25cm,keepaspectratio]}

\begin{document}

Expand Down Expand Up @@ -147,14 +156,24 @@ \subsubsection{Overview/Schematic}

\subsubsection{Testing}

\begin{figure}[H]
\centering
\includegraphics[width=.75\textwidth]{"Pictures/Electronics/vd parts".PNG}
\caption{}
\label{}
\end{figure}

Figure \ref{vd pinout1} shows how the pins are labeled and should aid in debugging the board and testing the signals at the various pins.
\begin{table}[H]
\centering
\arrayrulecolor{lightgray}
\sffamily\footnotesize
\captionsetup{font={sf,bf}}
\caption{Parts Necessary}
\begin{tabular}{|N|Q|Q|I|N|Q|Q|I|}
\hline
\thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} & \thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} \\
\hline
Voltage Divider PCB & N/A & 1 & \partimg{"../PCB Testing/Pictures/Board Testing/vd_unpopulated".PNG} & LM 385P Op Amp & E9 & 2 & \partimg{../../../images/parts_list/E9.png} \\ \hline
10KOhm Resistor & E22 & 4 & \partimg{../../../images/parts_list/E22.png} & 22KOhm Resistor & E23 & 4 & \partimg{../../../images/parts_list/E22.png} \\ \hline
Pin Headers & E3 & N/A & \partimg{../../../images/parts_list/E3.png} & Digital Multimeter & D9 & & \partimg{"../PCB Testing/Pictures/Electronics/multimeter".png} \\ \hline
Solder Iron & D10 & & \partimg{"../PCB Testing/Pictures/Electronics/solder iron".png} & & & & \\ \hline
\end{tabular}
\end{table}

Figure \ref{vd pinout1} shows how the header pins are labeled for the voltage divider board and should aid in debugging the board and testing the signals at the various pins.
\begin{figure}[H]
\centering
\includegraphics[width=.65\textwidth]{"Pictures/Electronics/Encoder Board".png}
Expand Down Expand Up @@ -263,10 +282,21 @@ \subsubsection{Overview/Schematic}

\subsubsection{Testing}

\begin{figure}[H]
\centering
\includegraphics[width=.85\textwidth]{"Pictures/Electronics/ss parts".PNG}
\end{figure}
\begin{table}[H]
\centering
\arrayrulecolor{lightgray}
\sffamily\footnotesize
\captionsetup{font={sf,bf}}
\caption{Parts Necessary}
\begin{tabular}{|N|Q|Q|I|N|Q|Q|I|}
\hline
\thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} & \thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} \\
\hline
Serial Splitter PCB & N/A & 1 & \partimg{"../PCB Testing/Pictures/Electronics/serial splitter board".PNG} & 4.7KOhm Resistor & E26 & 1 & \partimg{../../../images/parts_list/E22.png} \\ \hline
Pin Headers & E3 & N/A & \partimg{../../../images/parts_list/E3.png} & Digital Multimeter & D9 & & \partimg{"../PCB Testing/Pictures/Electronics/multimeter".png} \\ \hline
Solder Iron & D10 & & \partimg{"../PCB Testing/Pictures/Electronics/solder iron".png} & & & & \\ \hline
\end{tabular}
\end{table}


\begin{enumerate}
Expand Down Expand Up @@ -320,13 +350,24 @@ \subsubsection{Testing}

\end{enumerate}

\begin{figure}[H]
\centering
\includegraphics[width=1\textwidth]{"Pictures/Board Testing/parts-led matrix".PNG}
\end{figure}
\subsection{PCB - Logic Shifter Board}

\begin{table}[H]
\centering
\arrayrulecolor{lightgray}
\sffamily\footnotesize
\captionsetup{font={sf,bf}}
\caption{Parts Necessary}
\begin{tabular}{|N|Q|Q|I|N|Q|Q|I|}
\hline
\thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} & \thead{Item} & \thead{Ref} & \thead{Qty} & \thead{Image} \\
\hline
Rover Head & N/A & N/A & \partimg{"../PCB Testing/Pictures/Misc/rover-head".png} & Logic Shifter PCB & N/A & 1 & \partimg{"../PCB Testing/Pictures/Board Testing/ls1".PNG} \\ \hline
74LVC245 Logic Level Shifter & E11 & 2 & \partimg{../../../images/parts_list/E11.png} & Pin Headers & E3 & N/A & \partimg{../../../images/parts_list/E3.png} \\ \hline
Solder Iron & D10 & & \partimg{"../PCB Testing/Pictures/Electronics/solder iron".png} & Digital Multimeter & D9 & & \partimg{"../PCB Testing/Pictures/Electronics/multimeter".png} \\ \hline
\end{tabular}
\end{table}

\subsection{PCB - Logic Shifter Board}
\subsubsection{Overview/Schematic}
This board is made to handle the mismatch between the digital logic voltage level of the Raspberry Pi and the LED matrix. Digital logic is typically at either 3.3V or 5V. The GPIO pins on the Raspberry Pi will output at the 3.3V logic, and the LED matrix is made to read at 5V digital logic levels. In order to have these signals make sense to each other we use a device called a logic shifter, which will take the 3.3V signals and turn them into 5V signals.

Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Electrical/PCB Testing.pdf
Binary file not shown.
Binary file not shown.
Binary file modified Mechanical/Body Assembly/Body Build Doc.pdf
Binary file not shown.
Binary file not shown.

0 comments on commit e243445

Please sign in to comment.