This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:projects:can_windscreen_wiper [2010/03/14 16:45] – created mikk.leini | en:projects:can_windscreen_wiper [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== CAN windscreen wiper ====== | ====== CAN windscreen wiper ====== | ||
| - | [{{ : | + | // |
| + | |||
| + | [{{ : | ||
| + | |||
| + | This project demonstrates how to use CAN interface to transfer commands from one device to other. Two ARM-CAN contollers are need of which one acts as a lever on the steering wheel of a car and another one as a windscreen wiper controller. When buttons is pressed on lever controller, next wiping mode is selected and wiper is notified. Servo-motor is used for simulating the wiper. There are three modes: | ||
| + | |||
| + | * Stop mode. Wiper is not moving. Red LED's are on. | ||
| + | * Slow mode. Wiper is moving slowly from side to side. Green LED's are on. | ||
| + | * Fast mode. Wiper is moving rapidly from side to side. Blue LED's are on. | ||
| + | |||
| + | ~~CL~~ | ||
| ===== windscreen_wiper_control.c ===== | ===== windscreen_wiper_control.c ===== | ||