On 7/17/06, Luis Moreira wrote: > > Hi Guys, > A friend of mine just bought two car seats which have several electrical > adjustments, the motors on the seats use CAN to communicate with the > main control panel. The problem is that the mechanism for the seat to > slide back and forward is not fitted as standard but can be bought and > fitted separately. As this seat is about 10 years old and the > manufacturer does not make them anymore, finding the motor for this > function is proving to be difficult. If he can not find the right motor > from the manufacturer he can find another motor to fit in its place but > what about the CAN interface, does each of the motors has it's own > controller? > This motor also has an encoder for positioning, which probably means it > needs to have its own uController. > If each motor as its own controller, can I connect my own micro into the > bus, press the button for forward and reverse on the main panel and read > the packets to extract ID, commands sent and other info? > Best regards > Luis Hi Luis, if I should guess i think there is a CAN controller with each motor. Just a guess though. Best way to investigate what is going on is to hook up to the CAN on a car that have the devices mounted. If you just try to hit the button and listen for frames its a chance that the main system first check if the motors are in place and diable the buttons if not. Alos the protocol may require som sort of answere from the motor controller. Many car manufacturers use non standard bit-rates for there CAN systems which can be another problem to take into account. With a DSO hooked up to the bus this should be no hard problem to solve of course. Cheers /Ake -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist