element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Creating an Outdoor Timer That is WiFi or BlueTooth enabled?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 12 replies
  • Subscribers 665 subscribers
  • Views 2272 views
  • Users 0 members are here
  • monitoring
  • pi
  • timer
  • raspberry_pi
  • raspberry-pi
  • raspberrypi
Related

Creating an Outdoor Timer That is WiFi or BlueTooth enabled?

vd0gg1t
vd0gg1t over 11 years ago

Hello,


I would like to update my outdoor electric timer switch to be blue toothed/wifi/smartphone enabled.


We have a typical mechanical timer (picture to be taken and attached later today) for our pool pump. This device simply turns the power on or off to the pump depending on the time of day/night. I would like to be able to set this functionality from my mobile device. Additional functionality is desired such as monitoring power draw, indicating clogged pump (heavy draw) or no water (low draw). and even the pi camera to view the basket attached to the pump.


The mobile app I will address elsewhere but the digital interface between the 110 volt circuit and the plug is confusing to me. Could this even be possible with a Pi (or a Pi and other accessories?) It seems possible in theory but in practice that may be another matter.


Thanks,

Vince


  • Sign in to reply
  • Cancel
Parents
  • vd0gg1t
    0 vd0gg1t over 11 years ago

    ok, as promised here are the pics. This inside an unheated barn. (weatherproof but extreme temperatures may be a factor)

    Note: Switch is for pool light in deep end.

     

    Complete Setup                                                  Timer                                                       Schematic

             imageimageimage

    Intention: Replace "wheel" with raspberry Pi, an LCD display (for standalone operation), relay(?), and wifi. WiFi would allow the relay to be controlled remotely from a smartphone app.

     

    I can take further pictures for more specific detail if needed. (example, behind the timer wheel or more focus on tripping mechanism)

     

    Thanks,

    Vince

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to vd0gg1t

    As already suggested, I would not attempt to modify the existing timer device, it is just not worth the effort

     

    You will be better off creating a new control system from scratch

     

    first BIG issue is the load your switching (The diagram indicates a 40A switch is currently used, I would not suggest underrating the replacement as the startup currents will be quite excessive even if the normal running will probably be under 15-30A, most relay boards from E-Bay are rated around 5A

     

    A solid state relay will allow easy interfacing, Full isolation and easy mounting see this as an example Solid State Relay SSR 60Da 60A 3 32VDC 24 380VAC | eBay (I selected one that was over rated for safety reasons, You still should have a circuit breaker of course which I assume is elsewhere as it is not visible in your pictures. It can be driven from anything that can power an LED.

     

    image

     

    detecting the motor running is a little trickier, you could assume it is on based on the fact your controlling the relay or you can use a circuit like this

    image

    it could drive an interrupt or you could simply put a diode and rc network to smooth out the output to a logic level and simply have a low high signal. either way isolated and safe.(Adjust R1 to suit 110V if needed)

     

    for measuring the current I would start with something like this (Keeping with the isolated system for safety theme http://www.ebay.com/itm/Hall-Effect-Current-Sensor-For-Hobbyist-Arduino-Compatible-AC-75A-DC-100A-/231154766766?pt=LH_DefaultDomain_2&hash=item35d1e5d3ae

     

    image

     

    now of course being able to measure the current you could drop the voltage sensor as you will detect the current and this will indicate the motor should be running and also provide the current to the load

     

    there are plenty of circuits for driving a small 2 or 4 line LCD display with a PI so just google that for details

     

    all that's left is software and interfacing the analog front he sensor to the PI and again there are plenty of examples for that too. With the WIFI adapter suggested above, all this could be controlled remotely and is limited by your imagination

     

    btw, a smaller powered solid state relay could also be used to control the pool light you mention.

     

    sounds like a fun project, be safe and have fun

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • vd0gg1t
    0 vd0gg1t over 11 years ago in reply to Robert Peter Oakes

    Thanks Peter!

     

    Sorry for the confusion. The circuit breaker is wired in the house. It is marked as 20 amps going to the pool but does take two punchouts. So is that 20 amps or 2x20 amps = 40? I have always gone by what is marked. (I might be overthinking this part. Also, I have manually flipped off this the circuit for this project.)

     

    image

    Keeping things isolated is definitely the way I want to go. My measurement concerns are for reliability and safety. The precision window is rather large.

     

    Also, I like your idea for a smaller solid state relay for the pool light. Additionally, Multicolor LED lights are now available (expensive) and can be programmed for variable light displays (white, rainbow, different patterns) depending upon the on/off combinations at the switch. Using a relay, we could remotely chose lighting patterns as well as on/off state. Getting ahead of myself.

     

    • Minimum Requirement: Update timer to have remote control to turn pump power on or off.
    • Additional Desired Functionality: monitoring flows and debris build up.
    • Nice To Have: Light Control.

     

    Honestly, once I gain confidence from completing the minimum requirement, the additional functionality and nice to have should follow up quite nicely. (just trying to keep perspective)

     

    Thanks Again, Peter. This should be an interesting week.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • vd0gg1t
    0 vd0gg1t over 11 years ago in reply to Robert Peter Oakes

    Thanks Peter!

     

    Sorry for the confusion. The circuit breaker is wired in the house. It is marked as 20 amps going to the pool but does take two punchouts. So is that 20 amps or 2x20 amps = 40? I have always gone by what is marked. (I might be overthinking this part. Also, I have manually flipped off this the circuit for this project.)

     

    image

    Keeping things isolated is definitely the way I want to go. My measurement concerns are for reliability and safety. The precision window is rather large.

     

    Also, I like your idea for a smaller solid state relay for the pool light. Additionally, Multicolor LED lights are now available (expensive) and can be programmed for variable light displays (white, rainbow, different patterns) depending upon the on/off combinations at the switch. Using a relay, we could remotely chose lighting patterns as well as on/off state. Getting ahead of myself.

     

    • Minimum Requirement: Update timer to have remote control to turn pump power on or off.
    • Additional Desired Functionality: monitoring flows and debris build up.
    • Nice To Have: Light Control.

     

    Honestly, once I gain confidence from completing the minimum requirement, the additional functionality and nice to have should follow up quite nicely. (just trying to keep perspective)

     

    Thanks Again, Peter. This should be an interesting week.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to vd0gg1t

    well you can certainly build all this but use LEDs and other more low power devices (Low voltage DC) in order to get the code perfected and your experience up to a level your confident with, then simply add the power components and suitable enclosure to deploy in the pool house

     

    Good luck, if you need more help, you know where we are

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube