Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

HOW AUTOMATIC WIPER CONTROL WORKS IN MODERN CAR

By Prabakaran P.M April 22, 2016

This Article is to make readers to explore about how Automatic Wiper works in modern cars. Here you can get an idea on the CAN Bus which is used in the Communication of Sensors, Actuators and controllers in a car.

The CAN Protocol is in view of a bus topology, and just two wires are required for Communication over a CAN bus. The bus has a multi-master structure where every device on the bus can send or get information. Any device can send information while every one of the others should listen. In the event that two or more devices endeavour to send information in the meantime, the one with the highest priority is permitted to send its information while the others come back to receive mode.

DESCRIPTION:

Prerequisites & Equipment:

You are going to need the following:

  1. Two Arduino Board or Arduino clone(Here is a guide if you need)

  2. A 5v TTL -UART Bluetooth module.

  3. DHT11 Sensor and Servo Motor.

  4. Arduino IDE for the programming.

  5. Two CAN Tranciever.

In this project Arduino with MCP2515 CAN controller is used to demonstrate the working of Automatic Wiper Control.The Controller Area Network (CAN) is a serial bus communications protocol.

The below given block diagram will explain the working of this system in detail. Humidity sensor is input section which gives data to CAN which is transmitted to the control section and wiper operate automatically by using PWM signal output from the Arduino.

 

Block Diagram of Arduino based Automatic Wiper designed for cars and trucks

Fig. 1: Block Diagram of Arduino based Automatic Wiper designed for cars and trucks

SENSOR SIGNAL INPUT SECTION:

The sensor signal from various sensors are fed to CAN through sensing controller, which convert the analog values from the sensors to the digital value which gives information about the outside circumstances of the car. This digital information is read into a software in the Arduino to determine the degree of rainfall and it is sent to the control section through CAN Bus

OUTPUT CONTROL SECTION:

The motor control circuit is controlled by Arduino output. The motor is turned on and off to drive the wiper. Pulse-width information corresponding to the humidity condition is stored in the Arduino, and is initialized each time the wiper motor is driven. Humidity and temperature also vary according to the internal car temperature.

The DHT11 is chosen because it is lab calibrated, accurate and stable and its signal output is digital. The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). It’s fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old.

Pin    Name   Description

1       VDD     Power supply 3 – 5.5 V DC

2       DATA    Serial data output

3       NC        Not connected

4       GND      Ground

Wiring:

Connect the sensor to the Arduino as shown below

DHT11   Arduino

Pin 1      Vcc

Pin 2      Analog0( And a 10K pull up resistance)

Pin 4      Gnd

Install the DHT11 library and Modify:

Download this zipped file and unzip it under the libraries directory of the Arduino IDE folder. For example, for my computer’s setup, the directory is

XXXarduino-1.0.1libraries

After copying files across, the directory

XXXarduino-1.0.1librariesDHT

should have the following two files: dht.h and dht.cpp

Reading Temperature and Humidity data and transmitting it in the CAN Bus:

Load the program TX.ino after you save it onto your computer and open it in Arduino IDE .

  • Compile the program in the Arduino IDE

Temperature and Humidity values can be get by the following commands using the DHT library.

float h = dht.readHumidity();

float t = dht.readTemperature();

The following function is used to send the values to the can bus. Detailed instruction can be found here.

CAN.sendMsgBuf(0x70,0, 2, stmp);

Receiving CAN data and displaying in an LCD:

Load the program RX.ino after you save it onto your computer and open it in Arduino IDE .

  • Compile the program in the Arduino IDE

The following function is used to receive the values from the CAN bus and to display on an LCD. Detailed instruction can be found here.

CAN.readMsgBuf(&len, buf);

Loading software for Arduino:

If you are new to Arduino you can start with here. You have to start with the Arduino IDE (Integrated Development Environment) from Arduino . Download the code from below link and upload it to the Arduino board.

HARDWARE DESCRIPTION:

The Humidity sensor is used to detect the amount of the rain and give the signal to the controller. The ADC in the controller detects the sensor input and converts this analog value to the digital values which is fed to the CAN controller for the transmission. This signal is received by the control section to drive the motor circuit. The PWM signal output actuates the servo motor to run at high speed or low speed based on the amount of the rain level detected.(Here to simulate Wiper motor Servo motor is used). If the humidity level or the rain, dew deposited on the windshield is more, than accordingly wiper will move. In that case, the system will turn on the wiper motor to activate at high speed using the driver circuit. If the level of humidity is low, then the wiper motor is activated at low speed. These are the basic building blocks of the hardware besides the resistors and capacitors that are required for any electronic circuit.

Hardware assembly:

 

Prototype of Arduino Circuit used in Automatic Car Wiper

Fig. 2: Prototype of Arduino Circuit used in Automatic Car Wiper

 

Image showing prototype of motor driver circuit designed on a breadboard for automatic car wiper

Fig. 3: Image showing prototype of motor driver circuit designed on a breadboard for automatic car wiper

 

Circuit Diagrams

Circuit-Diagram-Arduino-Based-Automatic-Car-Wiper

Project Video


Filed Under: Electronic Projects

 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Inconsistent Charge Termination Voltage with battery charger
  • 21V keeps getting shorted to my UART line.
  • Voltage mode pushpull is a nonsense SMPS?
  • Voltage mode push pull with extra DC blocking capacitor
  • NXP library issue in awr

RSS Electro-Tech-Online.com Discussions

  • Is AI making embedded software developers more productive?
  • Why can't I breadboard this oscillator?
  • using a RTC in SF basic
  • Parts required for a personal project
  • Cataract Lens Options?

Featured – RPi Python Programming (27 Part)

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
  • RPi Python Programming 26 – Interfacing ADXL345 accelerometer sensor with Raspberry Pi

Recent Articles

  • GigaDevice launches GD32C231 MCU series with 48MHz Cortex-M23 core and 64KB Flash
  • Advanced Energy releases 425 W CF-rated medical power supply in 3.5 x 6 x 1.5-inch format”
  • LEM combines shunt and Hall effect sensing in 2000 A current measurement unit
  • What is AWS IoT Core and when should you use it?
  • AC-DC power supply extends voltage range to 800 V DC

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe