Shop OBEX P1 Docs P2 Docs Learn Events
Elapsed Timer For Testing Running Time on A/C Units or other Equipment Up Da — Parallax Forums

Elapsed Timer For Testing Running Time on A/C Units or other Equipment Up Da

sam_sam_samsam_sam_sam Posts: 2,286
edited 2009-07-04 19:32 in Robotics
I built a timer for trouble shooting A/C units to see how many hours a day your unit is running or to see how much off time you have in a day
this could be used to·trouble shooting any thing that you do not want to stand there all day to see what it is doing

I have not put in a case yet

There are two routine
One clears the timer on each power down and power up
The other one dose· keep the time and there is a super cap on the DS1302 Chip

This was add Save the ON time in the DS1302 Time Chip RAM·see below in·Rev2

Parts List
One····· ·Basic Stamp 2 OEM Board Kit
One······ Two Line Back Light LCD Display Parallax
One······ H1AA1 Bidirectional Optic Sensor
Two······ rec-firers for the transformer
One····· ·DS1302 Time Chip Timer
One······ DS1302 Time Chip Elapse Timer This was ADD See Post Below
One······ Switching Regulating Board Made by Nuts and Volts was a kit·set @ 6.5 volts
One······ Bread Board
One······ Super Cap >>>> Note

You MUST Charge the cap First before installing the DS1302 Chip
The super cap can·NOT be charged the first time with Time Chip if· you forget to
do this step when you remove power from the Basic Stamp you find that it will Hold the Time




▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any·idea.gif·that you may have and all of your time finding them smile.gif

·
·
·
·
Sam

Post Edited (sam_sam_sam) : 7/4/2009 7:32:13 PM GMT

Comments

  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-07-19 01:33
    This is how the project got start

    This was· in a post that·I start

    I am thinking doing something like this

    One way to this is to have a Time Counter that runs when you are calling for cooling how to·get this

    ·You have optic sensor tie to the contactor this where you get your·signal from

    What i have not·figure out is how to stop and start a DS1302 chip to keep track of the time in this way or is there another chip that·I could use to do this with

    I have try this couple of time but have not got any where yet

    This is part of what Beau Schwabe had to say
    ·
    This was part of his reply
    Which I want to Thank him for all of his help and· idea.gif·s


    smile.gif············· ·smile.gif················ smile.gif


    Beau Schwabe (Parallax)

    reg = $80······················· ·' Point to register 80h
    ioByte = %10000000········· ' Set Clock Halt Bit
    GOSUB RTC_Out··············· ' Send Command


    ' starts the clock by clearing the Clock Halt bit·and clears the·Seconds to "00"
    ioByte = %00000000·········
    GOSUB RTC_Out····· ' Send Command

    reg = $84······················· ' Point to register 84h


    ' initializes the clock in 24 hour mode and clear the hours to "00"
    ioByte = %00000000·········

    GOSUB RTC_Out············· ·' Send Command

    reg = $82···················· · ' Point to register 82h
    ioByte = %00000000······· ·' clear the minutes to "00"
    GOSUB RTC_Out·············· ' Send Command
    reg = $80···


    I hope some one·can find these routine use full

    Here is one more file for this project


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 7/19/2008 2:20:42 AM GMT
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-07-21 15:20
    When testing the unit to day·I found a little bug in the Power_ON routine the clock was·not in the stop mode ·it was still running in the back ground here is fix routine

    Here is a photo while it testing my A/C unit Started at 12:00 PM today




    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 7/22/2008 12:30:09 AM GMT
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-07-22 00:27
    Here·is a photo of the test that ended at 8:30 PM

    The temp out side reached 101 *F· today

    5 Hours and 27 minutes and 21 restarts

    So what this tell me that the A/C unit was only off for 3· 1/2 hour total from 12:00 PM To 8:30 PM
    I knew that it was running alot but
    I did not think that it was that much of the time so
    I learned something my self today
    ·

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 7/22/2008 6:07:37 PM GMT
    1632 x 1232 - 817K
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2008-07-22 02:58
    sam_sam_sam,

    Cool Project!!! ... No pun smilewinkgrin.gif

    Is your AC a heat pump unit? Most heat pumps have a hard time once the temperature differential goes outside of 30 Deg.... depends on what temperature you are trying to keep inside verses outside.

    When was the last time that your unit was serviced? <--Chemical acid wash cleaning and coolant level check.

    We keep our inside temp at about 75 Deg... at that, you should be running about 40% on 60% off ... even at 101 Deg outside.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2008-07-22 12:46
    Neat project sam_sam_sam. Good work putting together the multiple items like you did.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.

    www.brilldea.com·- Prop Blade, LED Painter, RGB LEDs, uOLED-IOC
    www.sxmicro.com - a blog·exploring the SX micro
    www.tdswieter.com
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-07-22 14:23
    ·Beau Schwabe



    When was the last time that your unit was serviced? <--Chemical acid wash cleaning and coolant level check.

    I am an A/C tech by trade I had serviced my A/C in the spring and every thing is working OK

    Is your AC a heat pump unit? Yes it is

    ·Most heat pumps have a hard time once the temperature differential goes outside of 30 Deg.... depends on what temperature you are trying to keep inside verses outside.·· Yes this is very true

    This is my next project is going to be a water sprayer on the condenser coil ·when the outside temp is over 95

    What made do this project was that· I notice that my A/C running more but I
    need to know how more it was
    I·did not want to wait for the unit to come ON and then go OFF and time this all day long

    We keep our inside temp at about 75 Deg... at that, you should be running about 40% on 60% off ... even at 101 Deg outside.

    We have been having day where it is 80% RH @ 101 this why the unit is also running a lot more

    From 7:00·AM to·10:45·AM

    The thermostat is set for 83 *F

    It has come·ONES for 6 minutes

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 7/22/2008 4:53:51 PM GMT
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-07-22 18:03
    Timothy

    Thank You for your reply

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-11-30 19:44
    Here is an add on to this Project

    Now it has a Total Elapse Timer as well as the Equipment Timer now i can keep track of when I Started the timer



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-11-30 21:29
    Larry

    No I do not but I can draw one if you need one·just PM me

    One note the inductor by Coil craft is hard to just one or two of them

    Other wise order the kit· Switching Regulating Board is Made by Nuts and Volts was a kit

    ·set regulator·@ 6.5 volts for Basic Stamp

    Express SHC dose not have a part for the DS1302 Chip so I left that part out of the drawing

    Pin#2······ ·RST· for Timer

    Pin#3······· RST· for Elapse Timer

    I/O#1····· ·Pin·· Is Shared

    SCLK#0···· Pin·· Is Shared

    Here drawing for every one


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 12/21/2008 1:08:14 AM GMT
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2008-12-03 05:36
    Larry -

    That really depends on what you've downloaded so far, I went backwards through the messages (newest item first) and I have 2-3 items other than the two downloads you have shown. So I suppose if I download what you have shown, I'd have a total of 5 or so downloads. You show only TWO downloads. Admittedly I downloaded one of the pictures. Most significantly you don't indicate that you have the actual BS2 program!

    I hope that's the answer you were looking for, as your question is a bit vague.

    If you weren't looking for an answer from just anyone (like me), I apologize for butting in on this thread. In any case, may I suggest that you add a salutation or name at the top of your messages. Since there was none, I assumed you were asking this of the "crowd". After re-reading this now for the THIRD time, it seems apparent that you may have been directing your question to Sam.

    Sam is NOT the only guy who reads these messages. If I sound stern or pedantic, I certainly don't mean to be. It's just a suggestion, as I CERTAINLY don't make the rules around here!


    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When all else fails, try inserting a new battery.

    Post Edited (Bruce Bates) : 12/3/2008 5:49:34 AM GMT
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-12-03 15:31
    Sam, since you don't have the schematic component part for the DS1302, I have uploaded the one I use with ExpressSCH. I hope this helps. It goes in your:

    My Documents\ExpressPCB\SchComponents_Custom

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
    s
    s
    667B
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-12-03 17:12
    Larry,

    What do you mean by having a problem downloading it? Can you get it from our site to your PC? If you have version 6.1.4 or higher of the software it uses a different path for the custom parts now as opposed to older versions. I listed that path, but if you have an earlier version the path may not be the same or the part may not work.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • Larry SutherlandLarry Sutherland Posts: 77
    edited 2008-12-03 18:49
    Chris,· This what I think is correct. Could you check attachments·for me please.

    Thank you

    Larry

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔





    ·Right_Uderstanding, Attitude, Speech, Action, Livelihood, Effort, Concentration, and Awareness
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-12-03 22:15
    Sorry, I am confused...one attachment is the DS1302 datasheet...and the other is a schematic, though the DS1302 component in there has an improper label. I thought you were trying to download the one I attached.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-12-03 22:37
    Larry, the part I uploaded is correct.·If you have version 6.1.4 or higher of the software it uses a different path for the custom parts now as opposed to older versions. I listed that path, but if you have an earlier version the path may not be the same or the part may not work.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-12-06 14:17
    Chris

    Thanks for DS1302 schematic component part That will help a lot

    Here is the· schematic for the two·DS1302 and A Basic Stamp

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 12/6/2008 3:54:57 PM GMT
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-12-21 01:22
    Here is·the new VERSION· to the Elapsed Clear Dual Timer Board LCD Display

    There was a little bug in the routine to reset the Date Counter

    I had used the Day Counter which only counts to 7

    I need it to count to 31 days instead

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 12/21/2008 1:27:33 AM GMT
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2009-07-04 19:32
    Here is·the new VERSION2· to the Elapsed Clear Dual Timer Board LCD Display Save Mode

    I want to Thank Unsoundcode for help me understanding how to write and read to the DS1302 RAM

    So now I can save the Data in case the power gose off

    Thanks again for all of your help
    ·

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ··Thanks for any·idea.gif·that you may have and all of your time finding them smile.gif

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 7/4/2009 7:47:32 PM GMT
Sign In or Register to comment.