Travel: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
Line 43: Line 43:


== CanBus ==
== CanBus ==
I got an OBD2 extension cable with 90 degree ends to make a low profile connection. I cut the cable in half. (Photo!) Now I have a connector with a 18" cable ready to use.
I got an OBD2 extension cable with 90 degree ends to make a low profile connection. I cut the cable in half. (Photo!) Now I have a connector with a 12" cable ready to use.
 
Termination: https://electronics.stackexchange.com/questions/470382/can-bus-termination-resistors-for-can-logger-device
 
I don't think I need termination as long as my cable is less than 0.5m long. (It was 18" but I snipped it down to be on the safe side.)
[[File:Screenshot 2024-09-13 124245.png|left|thumb|480x480px|OBD2 - RS232]]
[[File:Screenshot 2024-09-13 124245.png|left|thumb|480x480px|OBD2 - RS232]]
1 --
1 --
Line 49: Line 53:
2 --  
2 --  


3 -- GND --  
3 -- '''GND''' --  


4
4
Line 55: Line 59:
5
5


6 -- CANH --  
6 -- '''CANH''' --  


7
7
Line 63: Line 67:
9 -- "Vendor option" -- Brown  
9 -- "Vendor option" -- Brown  


10 -- J1850 bus -- Yellow
10 -- J1850 bus (Ford, Mazda) -- Yellow


11 -- Vendor option
11 -- Vendor option
Line 71: Line 75:
13
13


14 -- CANL -- Green
14 -- '''CANL''' -- Green


15 -- Blue
15 -- Blue


16 -- 12V always on -- Brown
16 -- '''12V''' always on -- Brown


The only ones that matter to me are CANH and CANL. I can use GND and 12V to power my hardware.


=== MCP2515 ===
=== MCP2515 ===

Revision as of 20:07, 13 September 2024

TO DO

  • Check tire pressure
  • Remove luggage rack
  • Mount bike rack
  • Charge batteries for BT keyboard
  • Charge battery in emergency phone
  • Charge HT batteries

Garmin - load pocket queries

Hacking

  • SenseCAP Indicator and cables
  • Seeed CANBUS adapter
  • Hookup Grove to CANBUS
  • OBD-II to CANBUS
  • Laptop and charger
  • Laptop adapter (USB)
  • Comp notebook
  • USB3 hub
  • 5V supply
  • M5StickC with micropython and PIR hat
  • M5 Atom Echo speaker
  • 3 x USB-C cables

Raspberry Pi

  • Pi 4
  • 4" monitor
  • Logitech KBD and mouse and USB dongle
  • USB3 drive

Tools

  • screwdrivers
  • needle nose pliers
  • small cutters
  • red voltmeter
  • usual tool kit in bag, screwdrivers, torx drivers, usb cables

CanBus

I got an OBD2 extension cable with 90 degree ends to make a low profile connection. I cut the cable in half. (Photo!) Now I have a connector with a 12" cable ready to use.

Termination: https://electronics.stackexchange.com/questions/470382/can-bus-termination-resistors-for-can-logger-device

I don't think I need termination as long as my cable is less than 0.5m long. (It was 18" but I snipped it down to be on the safe side.)

OBD2 - RS232

1 --

2 --

3 -- GND --

4

5

6 -- CANH --

7

8

9 -- "Vendor option" -- Brown

10 -- J1850 bus (Ford, Mazda) -- Yellow

11 -- Vendor option

12

13

14 -- CANL -- Green

15 -- Blue

16 -- 12V always on -- Brown

The only ones that matter to me are CANH and CANL. I can use GND and 12V to power my hardware.

MCP2515

Seeed Xiao

I intend trying this one first because it's got a more commonly used chip on it.

https://www.14core.com/wiring-the-mcp2515-shield-with-obd-on-arduino/ connector info

https://www.14core.com/wiring-the-mcp2515-controller-area-network-can-bus-diagnostics/

https://github.com/kvba1/ESP32-MCP2515-OBD2-CANBUS ESP32 + MC2515

https://github.com/yogiD/MCP2515-OBD Arduino + MCP2515

GD32E103CA

Seed + Grove from Longan Labs https://github.com/Longan-Labs/Serial_CAN_FD_Module