У Микрочипа есть такая демо-плата:
Window Lift w/Anti-Pinch Reference Design
Part Number: APGRD002
Там реализована схема управления стеклоподъемником автомобиля (возможно даже с LIN интерфейсом)на микроконтроллере Microchip.
Возьмите ее описание с их сайта (схема там есть, алгоритм тоже расписан, может быть и исходник где-нибудь лежит) и переработайте под антенну. А можете приобрести эту плату и попробовать все в железе
![Валяюсь от смеха](images/smilies/icon_biggrin.gif)
.
Вот о ней кратенько:
Looking for a flexible, cost effective solution for Window Lift with Anti-Pinch? The APGRD002 Window Lift Reference Design maybe just what you are looking for. This kits features the PIC16F688, a 14 pin device, with a Full H-Bridge controller, 10-bit ADC and an integrated LIN Protocol module. This feature set combines to make an ideal solution for Window Lift applications. The H-Bridge controller and the 10-bit ADC coupled to provide bidirectional motor control with active feedback for implementing the Anti-Pinch functionality. The Integrated LIN Protocol Module allows for intersystem communication with in the door module as well as the main body controller.