Skip to content

Commit

Permalink
CANSwitch (#346)
Browse files Browse the repository at this point in the history
* Create README.md

* Update README.md

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update README.md

* formatting

* put github comment into readme

---------

Co-authored-by: Karmanyaah Malhotra <karmanyaah.git@malhotra.cc>
  • Loading branch information
Brelee2222 and karmanyaahm committed Feb 21, 2024
1 parent d3339bf commit 321ca60
Show file tree
Hide file tree
Showing 9 changed files with 1,578 additions and 0 deletions.
46 changes: 46 additions & 0 deletions projects/CANSwitch/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: "Brendan Lee"
slack_handle: "@Bre"
github_handle: "@Brelee2222"
tutorial: # None
---

# CANSwitch

<!-- Describe your board in 2-3 sentences. What are you making? What will it do? -->
The CAN Switch device that makes the process of debugging tedious CAN failures easier,
by terminating CAN buses at certain points of a robot with the flick of a switch.
This is currently the 2nd version of the CAN Switch, which is 4x smaller than the orignal.

<!-- How much is it going to cost? -->

The cost of the parts:
MFS401N-2-Z (4PDT slide switch) : $1.77000,
2x ESR10EZPF1200 (120 chip resistor) : $0.21 * 2

Cost of 3 boards : $1.90

<!-- Tell us a little bit about your design process. What were some challenges? What helped? ***Totally optional*** -->

Finding a 4PDT switch that was small, low-profile and cheap was hard, because there were not a lot that were in
stock and available.

The traces in the orignal version were really disorganized and large, and I wanted this version to be more organized.
I was originally using a 4PDT like a 3PDT (cause 3PDT's are somehow more expensive), but using a 4PDT to its full extent
made it everything more organized and less clustered.

It was hard figuring out a position for parts and pads to be in that would make the board as compact as possible.


### More notes from comment
I probably should mention some things about the circuit for the pcb, because it does not use a Voltage supply or Ground.

I color coded the tracks in the schematic so that half of them are yellow, while the rest are green (CAN bus colors). The yellow tracks are for high signals passing through the circuit and green tracks are for low signals.

When the switch is flipped one way, the yellow tracks should connect together, and when flipped the yellow tracks should pass through a 120 ohms resistor and into a green track. (terminating CAN)

On the PCB design, all the yellow tracks are on one side of the board while green tracks are on the other.

Parts:
- https://www.mouser.com/ProductDetail/ROHM-Semiconductor/ESR10EZPF1200?qs=DyUWGjl%252BcVtTejlGEVMJGA%3D%3D
- https://www.digikey.com/en/products/detail/nidec-components-corporation/MFS401N-2-Z/5086558
Binary file added projects/CANSwitch/cart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projects/CANSwitch/gerber.zip
Binary file not shown.
Binary file added projects/CANSwitch/schematic.pdf
Binary file not shown.
401 changes: 401 additions & 0 deletions projects/CANSwitch/src/CANBUSswitch.kicad_pcb

Large diffs are not rendered by default.

77 changes: 77 additions & 0 deletions projects/CANSwitch/src/CANBUSswitch.kicad_prl
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"board": {
"active_layer": 46,
"active_layer_preset": "All Layers",
"auto_track_width": true,
"hidden_netclasses": [],
"hidden_nets": [],
"high_contrast_mode": 0,
"net_color_mode": 1,
"opacity": {
"images": 0.6,
"pads": 1.0,
"tracks": 1.0,
"vias": 1.0,
"zones": 0.6
},
"selection_filter": {
"dimensions": false,
"footprints": false,
"graphics": true,
"keepouts": false,
"lockedItems": false,
"otherItems": false,
"pads": false,
"text": false,
"tracks": false,
"vias": false,
"zones": false
},
"visible_items": [
0,
1,
2,
3,
4,
5,
8,
9,
10,
11,
12,
13,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
32,
33,
34,
35,
36,
39,
40
],
"visible_layers": "fffffff_ffffffff",
"zone_display_mode": 0
},
"meta": {
"filename": "CANBUSswitch.kicad_prl",
"version": 3
},
"project": {
"files": []
}
}
Loading

0 comments on commit 321ca60

Please sign in to comment.