Shop OBEX P1 Docs P2 Docs Learn Events
Electronic Fuse Controlled by a Basic Stamp This Project is almost done — Parallax Forums

Electronic Fuse Controlled by a Basic Stamp This Project is almost done

sam_sam_samsam_sam_sam Posts: 2,286
edited 2008-08-23 22:07 in General Discussion
Hi· Every One

I took a·Transformer···from a Low Voltage 12 volt AC Light

Removed the winding for the 12 volt part
I put· 3 pairs of wire Two Turn Each Back on the Transformer

This will work for 5 amp @ 120 volt AC as you can see in the photo below

Then I used a ADC 0831 and a 4N33 Optic Sensor to work with the Basic Stamp

I also have a 2 line Parallax 2 LCD Display that I am using

The Photo is not there yet

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

·
·
·
·
Sam

Post Edited (sam_sam_sam) : 8/15/2008 2:42:58 AM GMT
1632 x 1232 - 765K
1632 x 1232 - 791K
1632 x 1232 - 722K
1632 x 1232 - 730K
1632 x 1232 - 736K

Comments

  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-08-12 15:26
    Here is what I have so far

    The reason for this Project is because it has a 2 Amp fuse for the Speed Controller for the·Milling Machine Controller·that·I keep blowing so

    I though this some thing that a Basic Stamp could do

    I have not·written the part for the trip the relay· yet but i have circuity for it working· this will be easy to do

    ·I have the LCD displaying the amps··

    What I want LCD Display is·if I can get it to work the way i want it to work For each charter·I want to use a (*) to show 100 millamps this just an example

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

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 8/15/2008 2:36:25 AM GMT
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-08-15 02:43
    Here Is what·I so far

    · IF· result = 0 THEN
    ·· SEROUT LCD, Baud, [noparse][[/noparse] DispLightOFF]
    ·· SEROUT LCD, Baud, [noparse][[/noparse]LineOne0, "System OFF"]
    ·· SEROUT LCD, Baud, [noparse][[/noparse]LineTwo6, "System OFF"]
    ·· ELSE
    ·· SEROUT LCD, Baud, [noparse][[/noparse]LineOne0, "A· M· P· S"]·······················
    ····································································· ·· ' create report screen

    ·· SEROUT LCD, Baud, [noparse][[/noparse]LineOne12,DEC mVolts DIG 3, ".",
    ····················· DEC3 mVolts]···································· ·' report
    · IF IN4 = 0 AND result > 40 THEN
    ····························································' This for when the System is OK

    · SEROUT LCD, Baud, [noparse][[/noparse]LineTwo1,"00 OK· OK·· OK"]
    · SEROUT LCD, Baud, [noparse][[/noparse] DispLightOFF]
    · ELSEIF IN4 = 0 AND result < 40 THEN
    ··························································
    ·· SEROUT LCD, Baud, [noparse][[/noparse]LineTwo1,"00 T O· S L O W"]
    ·· SEROUT LCD, Baud, [noparse][[/noparse] DispLightON]

    ················································· ' This when the Motor is· running to slow
    ·· ELSE
    ·· SEROUT LCD, Baud, [noparse][[/noparse]LineTwo1, "* OVER· LOAD *"]


    ··································································· ' OVER LOAD @ 1.75 Amps
    ·· SEROUT LCD, Baud, [noparse][[/noparse] DispLightOn]
    ·· ENDIF
    ·· ENDIF

    What I want LCD Display is·if I can get it to work the way i want it to work For each charter·I want to use a (*) to show 100 millamps this just an example

    I would like to have this on line two instead what I have now

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

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 8/17/2008 3:57:45 AM GMT
  • MarkSMarkS Posts: 342
    edited 2008-08-15 04:25
    Wouldn't it be better to find out why the fuse is blowing in the first place?
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-08-15 04:42
    MarkS
    ·
    Wouldn't it be better to find out why the fuse is blowing in the first place?

    Thank You For your Reply

    I know the reason why the fuse keep blowing is if you try to cut to fast then you will blow the fuse·I want some thing that dose two thing

    One I want to see a display when i am going to fast

    Two When i have gone way to fast the Basic Stamp Take over and shut down the Milling Machine

    By The Basic Stamp taking Over the control before the fuse blows

    I just do not have the shut down writen yet maybe i will write it today

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

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 8/15/2008 4:49:56 AM GMT
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-08-16 07:42
    Hi every one

    This has been the hardest project that done so far

    The biggest problem has been getting the display work right

    When I would add the INPUTS 3 and 4 The LCD would not want to work or·just not·come on at all or just freeze

    after many hours of working on this project I think I have it working the way i want it

    One thing·I found my self doing a lot was using··· laps = laps + 1 and DEBUG DEC5 ? LAPS to see where it was hang· at· BUT very use full routine

    ·

    It has same file name but is very different

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

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 8/17/2008 3:59:02 AM GMT
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2008-08-23 22:07
    Hi Again Every One

    I found one more problem I had the display working OK· when testing it but as soon as·I put the routine in to control the Power Relay then the Display

    was acting up and·So·I went back to using the ADC Demo in Stamp Works again then This Demo would not work right either

    It turn out that the resister that i was using with a 2N2222A was to low of a value

    I was using a 220 ohm so·I changed it to a 560 ohm resister and now it works a lot better

    I am not sure·which one was happing

    The Basic Stamp was to draw to much current on that pin·or the Basic Stamp was Resetting it self because of it


    The Routine has been changed again because I found that some of what i had before would not work right

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

    ·
    ·
    ·
    ·
    Sam

    Post Edited (sam_sam_sam) : 8/23/2008 10:13:51 PM GMT
Sign In or Register to comment.