Difference between revisions of "Tutorials/Arduino Projects/RC car Hacking Project/Connecting the Arduino"
(→Attaching the breadboard) |
(→Attaching the breadboard) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
==A Large vehicle== | ==A Large vehicle== | ||
− | + | On a large vehicle, like the Interceptor or the Gymkhana, we will be using a full-size Arduino UNO, as well as a small breadboard. | |
− | On a large vehicle, like the Interceptor, we will be using a full-size Arduino UNO, as well as a small breadboard. | + | |
===Finding room=== | ===Finding room=== | ||
− | The first thing to do is analyze the vehicle and find where we can place both the Arduino and the breadboard without impeding the placement of the covering as we aim to replace this once the hack is completed. Looking at the Interceptor, a good place for the Arduino and breadboard seems to be here: | + | The first thing to do is analyze the vehicle and find where we can place both the Arduino and the breadboard without impeding the placement of the covering as we aim to replace this once the hack is completed. |
+ | |||
+ | ====The control board==== | ||
+ | |||
+ | The first important decision you will need to make is whether or not to keep the control board. Keeping the control board will allow the Arduino to receive radio signals from the remote control, which can then be translated by the program. In the case of the Interceptor, there was plenty of room to keep the control board. | ||
+ | |||
+ | In the Gymkhana, there was no possible place to put the Arduino which allowed the cover to fit unimpeded. However, if we removed the control board, there was just enough room for the Arduino to fit. Because the Arduino was approximately the same size as the control board, it was a good compromise as it had a perfect location so not much securing would be needed. | ||
+ | |||
+ | ====Placement==== | ||
+ | After this decision has been made, you need to find the best place to fit the Arduino and the breadboard. | ||
+ | |||
+ | Looking at the Interceptor, a good place for the Arduino and breadboard seems to be here: | ||
[[image:Interceptor_Arduino_Placement.jpg|thumb|c|center|400px|We'll place the Arduino in front of the control board and the breadboard behind.]] | [[image:Interceptor_Arduino_Placement.jpg|thumb|c|center|400px|We'll place the Arduino in front of the control board and the breadboard behind.]] | ||
+ | |||
+ | We were very lucky with the Gymkhana. We fit the breadboard and the Arduino like so: | ||
+ | |||
+ | [[image:Gymkhana_Arduino_Placement.jpg|thumb|c|center|400px|There was just enough room for both components.]] | ||
===Attaching the Arduino=== | ===Attaching the Arduino=== | ||
− | Now we need to investigate how to attach the components. | + | Now we need to investigate how to attach the components. Usually, the Arduino will be attached with screws but since the breadboard is so light and has an adhesive backing, zip ties or even relying only on the adhesive backing will be plenty. |
− | + | {{WARNING|Adult supervision required when using power tools!}} | |
− | + | We are going to use TETRIX standoffs to attach the Arduino as these fit nicely. | |
+ | |||
+ | {| align="center" | ||
+ | |- | ||
+ | | [[image:Interceptor_Arduino_Hole_Placement.jpg|thumb|c|center|400px|On the Interceptor, drill two holes to line up with the Arduino's holes.]] || | ||
+ | [[image:Gymkhana_Arduino_Hole_Placement.jpg|thumb|c|center|400px|Since the Arduino is so snug, we will only need one standoff to attach it securely to the Gymkhana.]] | ||
+ | |} | ||
− | |||
Now, it is a simple matter to screw in the standoffs... | Now, it is a simple matter to screw in the standoffs... | ||
− | [[image:Interceptor_Arduino_Standoff_Screw_in.jpg|thumb|c|center|400px|Screwing in the standoffs.]] | + | {| align="center" |
+ | |- | ||
+ | | [[image:Interceptor_Arduino_Standoff_Screw_in.jpg|thumb|c|center|400px|Screwing in the standoffs for the Interceptor.]] || | ||
+ | [[image:Gymkhana_Arduino_Standoff_Screw_in.jpg|thumb|c|center|400px|Screwing in the standoffs for the Gymkhana.]] | ||
+ | |} | ||
And finally attach the Arduino to the top. | And finally attach the Arduino to the top. | ||
− | [[image:Interceptor_Arduino_Standoff_Attach.jpg|thumb|c|center|400px|Attach the Arduino.]] | + | {| align="center" |
+ | |- | ||
+ | | [[image:Interceptor_Arduino_Standoff_Attach.jpg|thumb|c|center|400px|Attach the Arduino to the Interceptor.]] || | ||
+ | [[image:Gymkhana_Arduino_Standoff_Attach.jpg|thumb|c|center|400px|Attach the Arduino to the Gymkhana.]] | ||
+ | |} | ||
===Attaching the breadboard=== | ===Attaching the breadboard=== | ||
+ | The breadboard comes with a very adhesive backing. If you can find a flat, smooth surface to stick it to, that will be sufficient. However if there is not enough surface area to stick to, you will need to use zip ties. | ||
− | + | {| align="center" | |
− | + | |- | |
− | [[image:Interceptor_Breadboard_Attach.jpg|thumb|c|center|400px|Attach the breadboard. If the holes are too far away, you can 'double up' your zip ties by attaching one to another.]] | + | | [[image:Interceptor_Breadboard_Attach.jpg|thumb|c|center|400px|Attach the breadboard to the Interceptor using zip ties. If the holes are too far away, you can 'double up' your zip ties by attaching one to another.]] || |
+ | [[image:Gymkhana_Breadboard_Attach.jpg|thumb|c|center|400px|There was a smooth surface on the Gymkhana, so it just stuck right on.]] | ||
+ | |} | ||
− | Be sure to trim the ends | + | [[image:Interceptor_Breadboard_Trim_Zip.jpg|thumb|c|center|400px|Be sure to trim the zip tie ends.]] |
− | Now you have attached the components, you are ready to begin wiring. | + | Now that you have attached the components, you are ready to begin wiring. |
==A medium-sized vehicle== | ==A medium-sized vehicle== | ||
==A small vehicle== | ==A small vehicle== |
Latest revision as of 14:11, 11 July 2012
Physically connecting the Arduino can be a challenge or fairly simple depending on the size of the vehicle. Skip to the section appropriate to your vehicle.
Contents
A Large vehicle
On a large vehicle, like the Interceptor or the Gymkhana, we will be using a full-size Arduino UNO, as well as a small breadboard.
Finding room
The first thing to do is analyze the vehicle and find where we can place both the Arduino and the breadboard without impeding the placement of the covering as we aim to replace this once the hack is completed.
The control board
The first important decision you will need to make is whether or not to keep the control board. Keeping the control board will allow the Arduino to receive radio signals from the remote control, which can then be translated by the program. In the case of the Interceptor, there was plenty of room to keep the control board.
In the Gymkhana, there was no possible place to put the Arduino which allowed the cover to fit unimpeded. However, if we removed the control board, there was just enough room for the Arduino to fit. Because the Arduino was approximately the same size as the control board, it was a good compromise as it had a perfect location so not much securing would be needed.
Placement
After this decision has been made, you need to find the best place to fit the Arduino and the breadboard.
Looking at the Interceptor, a good place for the Arduino and breadboard seems to be here:
We were very lucky with the Gymkhana. We fit the breadboard and the Arduino like so:
Attaching the Arduino
Now we need to investigate how to attach the components. Usually, the Arduino will be attached with screws but since the breadboard is so light and has an adhesive backing, zip ties or even relying only on the adhesive backing will be plenty.
We are going to use TETRIX standoffs to attach the Arduino as these fit nicely.
Now, it is a simple matter to screw in the standoffs...
And finally attach the Arduino to the top.
Attaching the breadboard
The breadboard comes with a very adhesive backing. If you can find a flat, smooth surface to stick it to, that will be sufficient. However if there is not enough surface area to stick to, you will need to use zip ties.
Now that you have attached the components, you are ready to begin wiring.