SlideShare a Scribd company logo
1 of 26
Download to read offline
13 December 2016
13 December 2016
• Introduction
• Objectives
• Methodology
 SIRC (Series Infrared Controller) protocol
 IR remote
 IR sensing
 Ceiling fan rotation speed controlling
• Results
• Conclusions
• Recommendations
13 December 2016
Quality and comfort of life is achieved from seek of convenience...
• Ceiling fan is an electrical device used to control the temperature
inside a room
• There are many manual celling fan regulators
• Automatic systems are available too, but are expensive and rare in
Sri Lanka
Focused on designing a low cost remote control
system for ceiling fan
Speed Time Turned on
13 December 2016
Designing an Infrared (IR) remote control system to control the
rotating speed of a ceiling fan
Designing a timer and 7-segment display unit to display the speed
and the timer of the ceiling fan
low cost product
13 December 2016
• Commercially available manual ceiling fan regulators were analyzed
• A method to control the ceiling fan rotation was designed
• An IR remote and receiver that uses SIRC protocol to send and
receive IR signals were designed
• A 7-segment display unit was designed to indicate the speed level
and the timer of the ceiling fan.
• The designed ceiling fan remote control system was manufactured
on a PCB (Printed Circuit Board)
13 December 2016
Series Infrared Controlling Protocol
-Device
-Command
-Start
S 0 1 2 3 4 5 6 0 1 2 3
S
b
b
Key
Bit stream in SIRC 12-bit version
12-bit version was selected which is also used in SONY IR television
remotes
13 December 2016
0.6ms
Start bit = 2.4ms Logic “0” = 0.6ms Logic “1” = 1.2ms
0.6ms
Pulse width durations in SIRC protocol
Bit
Duration of pulse
𝛍𝐬
Start 2400
1 1200
0 600
13 December 2016
PWM output of microcontroller 12F683*
• PIC 12F683 was used
• 40 kHz square wave signal was generated by PWM module
𝑃𝑊𝑀 𝑝𝑒𝑟𝑖𝑜𝑑 = [ 𝑃𝑅2 + 1] × 4 × 𝑇 𝑂𝑆𝐶 × 𝑇𝑀𝑅2 𝑝𝑟𝑒𝑠𝑐𝑎𝑙𝑒 𝑣𝑎𝑙𝑢𝑒
𝑃𝑢𝑙𝑠𝑒 𝑊𝑖𝑑𝑡ℎ = [𝐶𝐶𝑃𝑅1𝐿 ∶ 𝐶𝐶𝑃1𝐶𝑂𝑁] × 𝑇 𝑂𝑆𝐶 × 𝑇𝑀𝑅2 𝑝𝑟𝑒𝑠𝑐𝑎𝑙𝑒 𝑣𝑎𝑙𝑢𝑒
* Source - Microchip, “8-Pin Flash –Based, 8-Bit CMOS Microcontroller with nanoWatt
Technology,” PIC12F683 datasheet, 2007
13 December 2016
Power
ON/OFF
Increase
Speed / Timer
controller mode
Decrease
IR remote design
13 December 2016
• PIC 18F2550 was used
• SM0038 IR module was used
Block diagram of SM0038 IR module*
* Source - Thermoelectric Products, “Infrared Receiver Module,” SM0038 datasheet, 2003
13 December 2016
Timer2 Module was programmed to issue interrupt on every 0.6ms
after detecting an external interrupt
0·6ms0·6ms
Falling edge Rising edge
0·6ms 0·6ms
Waveform of correctly received Start-bit at RB0 port
13 December 2016
0·6ms
Timer2 resets on this rising edge and
counter value = 0
Timer2 resets on this rising edge and
counter value = 3
0·6ms 0·6ms
Logic “1” pulse received on RB0 port
13 December 2016
0·6ms
Timer2 resets on this rising edge and
counter value = 0
Timer2 resets on this rising edge and
counter value = 2
0·6ms
Logic “0” pulse received on RB0 port
13 December 2016
The Power delivered to ceiling fan was controlled by a Triac
Phase control using a Triac*
* Source - http://www.pic_examples.byethost3.com/Dimmer.html (10/09/2012)
13 December 2016
Timer1 module was used to control the triggering
time of the Triac
Timer0 module was used to control the automatic turn OFF time
ceiling fan
A 7-segment display unit was designed using a shift
register
13 December 2016
Optocoupler
Transformer
Isolates the
circuit From
230V
Use of an IR remote!!
13 December 2016
The designed ceiling fan regulator
13 December 2016
Output waveform of the device for speed level 1 Output waveform of the device for speed level 2
Output waveform of the device for speed level 3 Output waveform of the device for speed level 4
13 December 2016
Speed level
Supply Voltage
(V)
Supply Current
(mA)
Wattage
(W)
OFF* 218.3 8.56 1.869
1 218.3 8.63 1.883
2 218.3 8.64 1.886
3 218.3 8.64 1.886
4 218.3 8.66 1.890
Power consumption of the designed ceiling fan regulator without
the ceiling fan
*OFF- power consumed by regulator when it is in Stand By mode
13 December 2016
The Graphs of Wattage vs. Rotation speed for different type of ceiling fan
regulators
Designed ceiling fan
regulator
Capacitive type manual
ceiling fan regulator
Inductive type manual
ceiling fan regulator
13 December 2016
• Energy Efficient
• Easy to control
• Linear relationship with RPM of Ceiling fan
• Can be used as light dimmer
• Low cost
• Needs a special wiring system
13 December 2016
• IC with only necessary Modules
• Modify to control several devices
• Use Atmel microcontrollers
13 December 2016
13 December 2016
Figure 5.3(b): Schematic of the IR remote
13 December 2016
Figure 5.4(a): Schematic of the power supply
13 December 2016
Figure 5.6(a): The schematic of 7-segment display unit

More Related Content

What's hot

Industrial Temperature Controller using Microcontroller
Industrial Temperature Controller using MicrocontrollerIndustrial Temperature Controller using Microcontroller
Industrial Temperature Controller using MicrocontrollerEdgefxkits & Solutions
 
Renesas RL78 The True Low Power Microcontroller Platform
 Renesas RL78 The True Low Power Microcontroller Platform Renesas RL78 The True Low Power Microcontroller Platform
Renesas RL78 The True Low Power Microcontroller PlatformRenesas Electronics Corporation
 
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...Tawsif Rahman Chowdhury
 
Major project report on MEASUREMENT, PROTECTION, SPEED CONTROL AND GRAPHICAL ...
Major project report on MEASUREMENT, PROTECTION, SPEED CONTROL AND GRAPHICAL ...Major project report on MEASUREMENT, PROTECTION, SPEED CONTROL AND GRAPHICAL ...
Major project report on MEASUREMENT, PROTECTION, SPEED CONTROL AND GRAPHICAL ...Nsaroj kumar
 
temperature control using 8086 microprocessor by vikas arya
temperature control using 8086 microprocessor by vikas arya temperature control using 8086 microprocessor by vikas arya
temperature control using 8086 microprocessor by vikas arya VIKAS ARYA
 
Temp based fan speed control
Temp based fan speed controlTemp based fan speed control
Temp based fan speed controlSai Malleswar
 
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO pptAUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO pptRavi Shankar
 
Digital tachometer using pic18
Digital tachometer using pic18Digital tachometer using pic18
Digital tachometer using pic18Muhammad Usman
 
Hot Stand-By Disaster Recovery Solutions for Ensuring the Resilience of Railw...
Hot Stand-By Disaster Recovery Solutions for Ensuring the Resilience of Railw...Hot Stand-By Disaster Recovery Solutions for Ensuring the Resilience of Railw...
Hot Stand-By Disaster Recovery Solutions for Ensuring the Resilience of Railw...SERENEWorkshop
 
Temperature Controller
Temperature ControllerTemperature Controller
Temperature ControllerSupriya Gorai
 
15 el83 automatic washing machine using microchip pic18f series microcontro...
15 el83 automatic washing  machine using microchip pic18f series  microcontro...15 el83 automatic washing  machine using microchip pic18f series  microcontro...
15 el83 automatic washing machine using microchip pic18f series microcontro...amjad ali janwari
 
Gas Leakage Detector using Arduino with SMS Alert - Engineering Project
Gas Leakage Detector using Arduino with SMS Alert - Engineering ProjectGas Leakage Detector using Arduino with SMS Alert - Engineering Project
Gas Leakage Detector using Arduino with SMS Alert - Engineering ProjectCircuitsToday
 
Automatic speed controlled car
Automatic speed controlled carAutomatic speed controlled car
Automatic speed controlled carantar_09
 
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT Hari sankar
 

What's hot (20)

Industrial Temperature Controller using Microcontroller
Industrial Temperature Controller using MicrocontrollerIndustrial Temperature Controller using Microcontroller
Industrial Temperature Controller using Microcontroller
 
Renesas RL78 The True Low Power Microcontroller Platform
 Renesas RL78 The True Low Power Microcontroller Platform Renesas RL78 The True Low Power Microcontroller Platform
Renesas RL78 The True Low Power Microcontroller Platform
 
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
 
6600ingles
6600ingles6600ingles
6600ingles
 
Major project report on MEASUREMENT, PROTECTION, SPEED CONTROL AND GRAPHICAL ...
Major project report on MEASUREMENT, PROTECTION, SPEED CONTROL AND GRAPHICAL ...Major project report on MEASUREMENT, PROTECTION, SPEED CONTROL AND GRAPHICAL ...
Major project report on MEASUREMENT, PROTECTION, SPEED CONTROL AND GRAPHICAL ...
 
temperature control using 8086 microprocessor by vikas arya
temperature control using 8086 microprocessor by vikas arya temperature control using 8086 microprocessor by vikas arya
temperature control using 8086 microprocessor by vikas arya
 
BATCH15
BATCH15BATCH15
BATCH15
 
Industrial automation
Industrial automation Industrial automation
Industrial automation
 
Temp based fan speed control
Temp based fan speed controlTemp based fan speed control
Temp based fan speed control
 
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO pptAUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
AUTONOMOUS LPG GAS SENSOR BOT USING ARDUINO ppt
 
Timer 2 concept
Timer 2 conceptTimer 2 concept
Timer 2 concept
 
Digital tachometer using pic18
Digital tachometer using pic18Digital tachometer using pic18
Digital tachometer using pic18
 
Hot Stand-By Disaster Recovery Solutions for Ensuring the Resilience of Railw...
Hot Stand-By Disaster Recovery Solutions for Ensuring the Resilience of Railw...Hot Stand-By Disaster Recovery Solutions for Ensuring the Resilience of Railw...
Hot Stand-By Disaster Recovery Solutions for Ensuring the Resilience of Railw...
 
Temperature Controller
Temperature ControllerTemperature Controller
Temperature Controller
 
Industrial automation Lec 1
Industrial automation Lec 1Industrial automation Lec 1
Industrial automation Lec 1
 
15 el83 automatic washing machine using microchip pic18f series microcontro...
15 el83 automatic washing  machine using microchip pic18f series  microcontro...15 el83 automatic washing  machine using microchip pic18f series  microcontro...
15 el83 automatic washing machine using microchip pic18f series microcontro...
 
ppt of mdas
ppt of mdasppt of mdas
ppt of mdas
 
Gas Leakage Detector using Arduino with SMS Alert - Engineering Project
Gas Leakage Detector using Arduino with SMS Alert - Engineering ProjectGas Leakage Detector using Arduino with SMS Alert - Engineering Project
Gas Leakage Detector using Arduino with SMS Alert - Engineering Project
 
Automatic speed controlled car
Automatic speed controlled carAutomatic speed controlled car
Automatic speed controlled car
 
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
ARDUINO BASED GAS LEAKAGE DETECTING ROBOT
 

Viewers also liked

Viewers also liked (10)

Magnetism science physics e learning
Magnetism science physics e learningMagnetism science physics e learning
Magnetism science physics e learning
 
Form 3 PMR Science Chapter 7 Magnetism
Form 3 PMR Science Chapter 7 MagnetismForm 3 PMR Science Chapter 7 Magnetism
Form 3 PMR Science Chapter 7 Magnetism
 
Earth's Magnetic Field
Earth's Magnetic FieldEarth's Magnetic Field
Earth's Magnetic Field
 
P2e Earths Magnetic Field
P2e Earths Magnetic FieldP2e Earths Magnetic Field
P2e Earths Magnetic Field
 
Unit 35 Magnetism And Magnetic Fields
Unit 35 Magnetism And Magnetic FieldsUnit 35 Magnetism And Magnetic Fields
Unit 35 Magnetism And Magnetic Fields
 
Earth's magnetism
Earth's magnetismEarth's magnetism
Earth's magnetism
 
Magnetism and Electricity - ppt useful for grade 6,7 and 8
Magnetism and Electricity - ppt useful for grade 6,7 and 8Magnetism and Electricity - ppt useful for grade 6,7 and 8
Magnetism and Electricity - ppt useful for grade 6,7 and 8
 
magnet
magnet magnet
magnet
 
Magnetism ppt
Magnetism pptMagnetism ppt
Magnetism ppt
 
Magnetism
MagnetismMagnetism
Magnetism
 

Similar to Physics Special Presentation

SPIsolator Dedicated Digital Isolator for SPI Communications
SPIsolator Dedicated Digital Isolator for SPI CommunicationsSPIsolator Dedicated Digital Isolator for SPI Communications
SPIsolator Dedicated Digital Isolator for SPI CommunicationsAnalog Devices, Inc.
 
Alcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projectAlcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projecthemanth prudhvi jidugu
 
3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulator3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulatorsajin sr
 
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfAdvanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfIsmailkhan77481
 
Street light controlling using Microcontroller
Street light controlling using MicrocontrollerStreet light controlling using Microcontroller
Street light controlling using Microcontroller9989476539
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI) International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI) inventionjournals
 
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENTSTREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENTm sivareddy
 
INTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCK
INTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCKINTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCK
INTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCKSantanu Chatterjee
 
How to design a Passive Infrared (PIR) Open Source Project
How to design a Passive Infrared (PIR) Open Source ProjectHow to design a Passive Infrared (PIR) Open Source Project
How to design a Passive Infrared (PIR) Open Source ProjectIonela
 
Advanced view of atmega microcontroller 1673 projects list nov 2019 at mega...
Advanced view of atmega microcontroller 1673 projects list   nov 2019 at mega...Advanced view of atmega microcontroller 1673 projects list   nov 2019 at mega...
Advanced view of atmega microcontroller 1673 projects list nov 2019 at mega...WiseNaeem
 
Advanced view-of-atmega-microcontroller-1673-projects-list-nov-2019-at mega32...
Advanced view-of-atmega-microcontroller-1673-projects-list-nov-2019-at mega32...Advanced view-of-atmega-microcontroller-1673-projects-list-nov-2019-at mega32...
Advanced view-of-atmega-microcontroller-1673-projects-list-nov-2019-at mega32...WiseNaeem
 
Automatic room light controller
Automatic room light controllerAutomatic room light controller
Automatic room light controllerMD Jannatul Giyem
 
Smart irrigation ppt
Smart irrigation pptSmart irrigation ppt
Smart irrigation pptAnjgopal
 
Shiv smart door ppt
Shiv smart door pptShiv smart door ppt
Shiv smart door pptMahesh Patil
 
IRJET - An IoT based Smart Fan Module
IRJET - An IoT based Smart Fan ModuleIRJET - An IoT based Smart Fan Module
IRJET - An IoT based Smart Fan ModuleIRJET Journal
 
SMART CARD & GSM BASED VOTING MACHINE
SMART CARD & GSM BASED VOTING MACHINESMART CARD & GSM BASED VOTING MACHINE
SMART CARD & GSM BASED VOTING MACHINEsnehapanda22
 
SMART CARD & GSM BASED VOTING MACHINE
SMART CARD & GSM BASED VOTING MACHINESMART CARD & GSM BASED VOTING MACHINE
SMART CARD & GSM BASED VOTING MACHINEsnehapanda22
 

Similar to Physics Special Presentation (20)

SPIsolator Dedicated Digital Isolator for SPI Communications
SPIsolator Dedicated Digital Isolator for SPI CommunicationsSPIsolator Dedicated Digital Isolator for SPI Communications
SPIsolator Dedicated Digital Isolator for SPI Communications
 
Alcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projectAlcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking project
 
3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulator3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulator
 
JamesEndl
JamesEndlJamesEndl
JamesEndl
 
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEMAUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
 
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfAdvanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
 
Street light controlling using Microcontroller
Street light controlling using MicrocontrollerStreet light controlling using Microcontroller
Street light controlling using Microcontroller
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI) International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENTSTREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
 
INTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCK
INTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCKINTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCK
INTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCK
 
SimpleHW Product Launch
SimpleHW Product LaunchSimpleHW Product Launch
SimpleHW Product Launch
 
How to design a Passive Infrared (PIR) Open Source Project
How to design a Passive Infrared (PIR) Open Source ProjectHow to design a Passive Infrared (PIR) Open Source Project
How to design a Passive Infrared (PIR) Open Source Project
 
Advanced view of atmega microcontroller 1673 projects list nov 2019 at mega...
Advanced view of atmega microcontroller 1673 projects list   nov 2019 at mega...Advanced view of atmega microcontroller 1673 projects list   nov 2019 at mega...
Advanced view of atmega microcontroller 1673 projects list nov 2019 at mega...
 
Advanced view-of-atmega-microcontroller-1673-projects-list-nov-2019-at mega32...
Advanced view-of-atmega-microcontroller-1673-projects-list-nov-2019-at mega32...Advanced view-of-atmega-microcontroller-1673-projects-list-nov-2019-at mega32...
Advanced view-of-atmega-microcontroller-1673-projects-list-nov-2019-at mega32...
 
Automatic room light controller
Automatic room light controllerAutomatic room light controller
Automatic room light controller
 
Smart irrigation ppt
Smart irrigation pptSmart irrigation ppt
Smart irrigation ppt
 
Shiv smart door ppt
Shiv smart door pptShiv smart door ppt
Shiv smart door ppt
 
IRJET - An IoT based Smart Fan Module
IRJET - An IoT based Smart Fan ModuleIRJET - An IoT based Smart Fan Module
IRJET - An IoT based Smart Fan Module
 
SMART CARD & GSM BASED VOTING MACHINE
SMART CARD & GSM BASED VOTING MACHINESMART CARD & GSM BASED VOTING MACHINE
SMART CARD & GSM BASED VOTING MACHINE
 
SMART CARD & GSM BASED VOTING MACHINE
SMART CARD & GSM BASED VOTING MACHINESMART CARD & GSM BASED VOTING MACHINE
SMART CARD & GSM BASED VOTING MACHINE
 

Physics Special Presentation

  • 2. 13 December 2016 • Introduction • Objectives • Methodology  SIRC (Series Infrared Controller) protocol  IR remote  IR sensing  Ceiling fan rotation speed controlling • Results • Conclusions • Recommendations
  • 3. 13 December 2016 Quality and comfort of life is achieved from seek of convenience... • Ceiling fan is an electrical device used to control the temperature inside a room • There are many manual celling fan regulators • Automatic systems are available too, but are expensive and rare in Sri Lanka Focused on designing a low cost remote control system for ceiling fan Speed Time Turned on
  • 4. 13 December 2016 Designing an Infrared (IR) remote control system to control the rotating speed of a ceiling fan Designing a timer and 7-segment display unit to display the speed and the timer of the ceiling fan low cost product
  • 5. 13 December 2016 • Commercially available manual ceiling fan regulators were analyzed • A method to control the ceiling fan rotation was designed • An IR remote and receiver that uses SIRC protocol to send and receive IR signals were designed • A 7-segment display unit was designed to indicate the speed level and the timer of the ceiling fan. • The designed ceiling fan remote control system was manufactured on a PCB (Printed Circuit Board)
  • 6. 13 December 2016 Series Infrared Controlling Protocol -Device -Command -Start S 0 1 2 3 4 5 6 0 1 2 3 S b b Key Bit stream in SIRC 12-bit version 12-bit version was selected which is also used in SONY IR television remotes
  • 7. 13 December 2016 0.6ms Start bit = 2.4ms Logic “0” = 0.6ms Logic “1” = 1.2ms 0.6ms Pulse width durations in SIRC protocol Bit Duration of pulse 𝛍𝐬 Start 2400 1 1200 0 600
  • 8. 13 December 2016 PWM output of microcontroller 12F683* • PIC 12F683 was used • 40 kHz square wave signal was generated by PWM module 𝑃𝑊𝑀 𝑝𝑒𝑟𝑖𝑜𝑑 = [ 𝑃𝑅2 + 1] × 4 × 𝑇 𝑂𝑆𝐶 × 𝑇𝑀𝑅2 𝑝𝑟𝑒𝑠𝑐𝑎𝑙𝑒 𝑣𝑎𝑙𝑢𝑒 𝑃𝑢𝑙𝑠𝑒 𝑊𝑖𝑑𝑡ℎ = [𝐶𝐶𝑃𝑅1𝐿 ∶ 𝐶𝐶𝑃1𝐶𝑂𝑁] × 𝑇 𝑂𝑆𝐶 × 𝑇𝑀𝑅2 𝑝𝑟𝑒𝑠𝑐𝑎𝑙𝑒 𝑣𝑎𝑙𝑢𝑒 * Source - Microchip, “8-Pin Flash –Based, 8-Bit CMOS Microcontroller with nanoWatt Technology,” PIC12F683 datasheet, 2007
  • 9. 13 December 2016 Power ON/OFF Increase Speed / Timer controller mode Decrease IR remote design
  • 10. 13 December 2016 • PIC 18F2550 was used • SM0038 IR module was used Block diagram of SM0038 IR module* * Source - Thermoelectric Products, “Infrared Receiver Module,” SM0038 datasheet, 2003
  • 11. 13 December 2016 Timer2 Module was programmed to issue interrupt on every 0.6ms after detecting an external interrupt 0·6ms0·6ms Falling edge Rising edge 0·6ms 0·6ms Waveform of correctly received Start-bit at RB0 port
  • 12. 13 December 2016 0·6ms Timer2 resets on this rising edge and counter value = 0 Timer2 resets on this rising edge and counter value = 3 0·6ms 0·6ms Logic “1” pulse received on RB0 port
  • 13. 13 December 2016 0·6ms Timer2 resets on this rising edge and counter value = 0 Timer2 resets on this rising edge and counter value = 2 0·6ms Logic “0” pulse received on RB0 port
  • 14. 13 December 2016 The Power delivered to ceiling fan was controlled by a Triac Phase control using a Triac* * Source - http://www.pic_examples.byethost3.com/Dimmer.html (10/09/2012)
  • 15. 13 December 2016 Timer1 module was used to control the triggering time of the Triac Timer0 module was used to control the automatic turn OFF time ceiling fan A 7-segment display unit was designed using a shift register
  • 16. 13 December 2016 Optocoupler Transformer Isolates the circuit From 230V Use of an IR remote!!
  • 17. 13 December 2016 The designed ceiling fan regulator
  • 18. 13 December 2016 Output waveform of the device for speed level 1 Output waveform of the device for speed level 2 Output waveform of the device for speed level 3 Output waveform of the device for speed level 4
  • 19. 13 December 2016 Speed level Supply Voltage (V) Supply Current (mA) Wattage (W) OFF* 218.3 8.56 1.869 1 218.3 8.63 1.883 2 218.3 8.64 1.886 3 218.3 8.64 1.886 4 218.3 8.66 1.890 Power consumption of the designed ceiling fan regulator without the ceiling fan *OFF- power consumed by regulator when it is in Stand By mode
  • 20. 13 December 2016 The Graphs of Wattage vs. Rotation speed for different type of ceiling fan regulators Designed ceiling fan regulator Capacitive type manual ceiling fan regulator Inductive type manual ceiling fan regulator
  • 21. 13 December 2016 • Energy Efficient • Easy to control • Linear relationship with RPM of Ceiling fan • Can be used as light dimmer • Low cost • Needs a special wiring system
  • 22. 13 December 2016 • IC with only necessary Modules • Modify to control several devices • Use Atmel microcontrollers
  • 24. 13 December 2016 Figure 5.3(b): Schematic of the IR remote
  • 25. 13 December 2016 Figure 5.4(a): Schematic of the power supply
  • 26. 13 December 2016 Figure 5.6(a): The schematic of 7-segment display unit