2022-09-01 17:26:58 -04:00
|
|
|
# RE-TM245P
|
|
|
|
The end goal of this project is to convert a partially broken TM245P Pick and Place to OpenPNP
|
|
|
|
while replacing as little hardware as possible. The difficulty in this is that the feeders and
|
|
|
|
everything on the head are CAN bus controlled. In an effort to not replace these parts, the
|
|
|
|
protocol will need to be reverse engineered.
|
|
|
|
|
|
|
|
# Approaches
|
|
|
|
|
2022-09-01 20:57:48 -04:00
|
|
|
### Smoothieware Port
|
2022-09-01 20:05:08 -04:00
|
|
|
|
2022-09-01 17:26:58 -04:00
|
|
|
The Charmhigh conversion undertaken by others approaches leaving the controller largely intact
|
|
|
|
and flashing a Smoothieware port onto the STM32. The repo notes suggest the Charmhigh used an
|
|
|
|
STM32F4, which the TM245P also uses. Specifcally the STM32F407ZGT6.
|
|
|
|
|
2022-09-01 20:05:08 -04:00
|
|
|
https://github.com/mattthebaker/Smoothieware-CHMT
|
|
|
|
|
2022-09-01 20:57:48 -04:00
|
|
|
### 'Decap'
|
2022-09-01 17:26:58 -04:00
|
|
|
In this approach the entire head unit will be bypassed. Ideally this could be accomplished by
|
|
|
|
utilizing the existing IDC connector on the power/comm sub-board.
|
|
|
|
|
2022-09-01 20:42:13 -04:00
|
|
|
# 'CAN Bus'
|
|
|
|
Communication is done over the VP230 CAN Transceiver, though it doesn't look to be real CAN.
|
|
|
|
Instead the STM32 USART1 is connected so it's doing Syncronous UART over CAN. So it's really
|
|
|
|
just using the VP230 for differential signaling.
|
|
|
|
|
2024-02-20 11:46:07 -05:00
|
|
|
# What's Done
|
|
|
|
* Schematic of STM32 <-> VP230 (CAN Bus)
|
|
|
|
* Verified STM32 read protection is in place :(
|
|
|
|
|
2024-02-20 11:50:32 -05:00
|
|
|
# Bus Splitter
|
|
|
|
The `bus_splitter` directory contains a KiCAD project to attempt reverse engineering the protocol
|
|
|
|
'monkey-in-the-middle' style. It contains two CAN bus transceivers, with the UART in between them
|
|
|
|
being passed to a set of header pins. The idea being the RX/TX pins can be attached to an
|
|
|
|
external microcontroller, allowing message to be inspected, modified and/or passed through as is.
|
|
|
|
|
2024-02-20 11:46:07 -05:00
|
|
|
# Further Reading
|
2022-09-01 17:26:58 -04:00
|
|
|
|
|
|
|
https://www.eevblog.com/forum/manufacture/neoden-tm245p-teardown-and-upgrade/
|