Skip to content

mintynet/tiny-can

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-can

If you would like a tiny-can PCB feel free to contact me on Twitter @mintynet, I will send if you cover the cost of postage.


This repository has the arduino code for use with tiny-can PCBs.
This was created as a cheap device for people to get into car hacking, it is based on the new Attiny1614 microcontroller which has hardware SPI to connect to the MCP2515 CAN controller, it also uses the SN65HVD230 3,3v CAN transceiver. The ATTINY 0 and 1 series of processors do need programming using three wire UPDI, more details in the link below.
http://www.technoblogy.com/show?2OCH
At time of creation the attiny1614 costs about £0.60.

I take no responsibility for any issues caused if using either the hardware or the code



Requires the use of the following Arduino library

https://github.com/coryjfowler/MCP_CAN_lib

The tiny-slcan sketch is slcan compatible software but the serial chip on the arduino boards I use will only run at 500000bps.

If you use the following CP2102 serial adapter, pressing H will give you the bash script to allow you to start slcand under linux. https://www.ebay.co.uk/itm/401062572142

There are 4 PCBs.

tiny-can PCB

tiny-can pcb schematic
Small PCB with Processor/CAN controller/transceiver
tiny-can pcb top
Small PCB with Processor/CAN controller/transceiver TOP
tiny-can pcb bottom
Small PCB with Processor/CAN controller/transceiver BOTTOM

tiny-can Power only PCB (can be used for implant on OBD2 port)

tiny-can Power only pcb schematic
Small PCB with Power circuit
tiny-can pcb top
Small PCB with Power circuit TOP
tiny-can pcb bottom
Small PCB with Power circuit BOTTOM
tiny-can-implant-front tiny-can-implant-rear tiny-can-implant-side

tiny-can Power and Serial PCB (used with slcan sketch for cheap CAN adapter)

tiny-can pcb top
Small PCB with Power and Serial circuit TOP
tiny-can pcb bottom
Small PCB with Power and Serial BOTTOM
tiny-slcan-front tiny-slcan-rear tiny-slcan-side

tiny-can plug PCB (fits inside a J1942 Male Plug)

tiny-can plug pcb schematic
Small PCB with Processor/CAN controller/transceiver and Serial header
tiny-can plug pcb top
Small PCB with Processor/CAN controller/transceiver and Serial header TOP
tiny-can plug pcb bottom
Small PCB with Processor/CAN controller/transceiver and Serial header BOTTOM
tiny-can-plug-front tiny-can-plug-rear tiny-can-plug-front-shell tiny-can-plug-rear-shell

Notes for connecting to OBD2 plug.
CAN L goes to OBD2 pin 14
CAN H goes to OBD2 pin 6

Releases

No releases published

Packages

No packages published