November 23, 2024, 08:33:33 PM

News:

You can now use Vixen to program your Prop-1 and Prop-2 controllers!  Get started quickly and easily, without having to learn PBASIC.  Details in the Library forum.


EZ-3

Started by cs1245, August 14, 2010, 01:38:39 AM

Previous topic - Next topic

bsnut

I will have some time tonight, to do a drawing for you and provide a picture of how this test is hooked up to the prop1. I will have some time to do this for you later on tonight.
William Stefan
The Basic Stamp Nut

JonnyMac

Quote from: cs1245 on September 08, 2010, 10:45:29 PM

    I hooked up a LED light between a red wire to the OUT7 and the black wire to GRD and it seems like there is no signal being sent to the OUT7 to turn the light on after the PIR sensor is triggered.  The LED does turn on if the red wire is attached to the V+ on the Prop-1.    Would changing the PAUSE determine if a signal gets sent to OUT7 or not? 
   Is it OK to use a red shorting jumper from Cowlacious to put on the P7 DN pins  I am using the black shorting jumper on the Pin6 DN supplied by EFXTEK. 


As you've just proved, the suggested connections (V+ and OUT7) does in fact work (with an LED).  The color of the shorting block is irrelevant; guessing is never a good way to solve problems.  Since you've shown the V+/OUT7 connection is working, you may want to check the wire connection between the Prop-1 and the Cowlacious trigger input.

BTW, for testing you should turn the POST delay pot all the way counter-clockwise (minimum) and just us the push-button trigger on the EZ-3 board.  When the program first starts it jumps to the post delay so that the PIR can warm up.  This delay may be fooling you into thinking that the program/prop isn't working.  Once you have your wiring sorted you can set the delay and connect a PIR for final testing.
Jon McPhalen
EFX-TEK Hollywood Office

cs1245

Just to verify I was able to get the LED light to turn on only when the red wire was attached to the V+ and the black to GRD and the light never turned off regardless of a trigger.

I also turned the TR DELAY to minimum and used the MAN TR and still no LED light was turned on with OUT7 being connected to the red wire and the black to GRD.

If I hook the red wire to V+ and black to OUT7 the light stays on regardless of trigger or not - it never turns off. 





JonnyMac

Of course the LED won't turn off when connected between V+ and GND because you placed it across the power supply (that is on when the power switch is in position 2); the GND terminal is not switched.  The connections must be between V+ (positive) and OUT7 (negative) for the LED to be controlled from OUT7.

If your LED is always on when connected between V+ and OUT7 you have...
1) Damaged the Prop-1  (not likely)
2) You have the P7 SETUP jumper in the UP position creating a false "on" state for OUT7

QuoteI also turned the TR DELAY to minimum and used the MAN TR and still no LED light was turned on with OUT7 being connected to the red wire and the black to GRD.

This (using OUT7 and GND) will never work and I don't know why you even tried it because none of use with experience have directed you to do so.  Please... be careful with guessing because certain wrong guesses could harm something.
Jon McPhalen
EFX-TEK Hollywood Office

JackMan

Colin,
     It doesn't appear that you understand how current flows through the Prop-1. At the top of the terminal block is V+. With the switch in position 2, this will be constant positive voltage from the power supply that you have connected to the Prop-1. At the bottom of the terminal block is GND. This is constant negative (ground). The OUT terminals are controlled by the Prop-1 and are either HIGH (ground) or LOW (no ground, no current flow). The OUT terminals provide the ground for any connected circuit when that PIN goes HIGH. To complete any circuit using an OUT terminal, there must be a positive current source also connected to the load which is usually from V+. Hopefully this will help you to better understand how the Prop-1 completes a circuit.

cs1245


     One thing I noted tonight is if I just turned on the Prop-1 (moved the toggle from position 0 to position 2) with the LED connected to the V+ and OUT7 and hit the MAN TR on the EZ-3, the LED turns on appropriately, but then never turns off.  And if I proceed next to move the toggle switch from 2 to 1, the LED does turn off. but turns back on when I move the toggle to position 2, (without even pushing the MAN TR).  Does this signify anything? 
And if it means anything, the LED light turns on immediately after pushing the MAN TR and before the orange TR DELAY light turns on.

bsnut

September 10, 2010, 02:39:27 AM #36 Last Edit: September 10, 2010, 02:46:25 AM by bsnut
Quote from: JonnyMac on September 09, 2010, 10:05:26 AM
Of course the LED won't turn off when connected between V+ and GND because you placed it across the power supply (that is on when the power switch is in position 2); the GND terminal is not switched.  The connections must be between V+ (positive) and OUT7 (negative) for the LED to be controlled from OUT7.

If your LED is always on when connected between V+ and OUT7 you have...
1) Damaged the Prop-1  (not likely)
2) You have the P7 SETUP jumper in the UP position creating a false "on" state for OUT7

QuoteI also turned the TR DELAY to minimum and used the MAN TR and still no LED light was turned on with OUT7 being connected to the red wire and the black to GRD.

This (using OUT7 and GND) will never work and I don't know why you even tried it because none of use with experience have directed you to do so.  Please... be careful with guessing because certain wrong guesses could harm something.
You just showed youself how the Three-position power switch works. These are the power switch positions (OFF "0", BS1 "1" only, BS1 and V+ terminal "2"). Did you change any of the code? The best thing you can do for us is, tell us were the three potentiometer are set at and you should post the code that you have. Also post some good pics with one showing your prop1 with the modified ULN per the ez3 docs pdf and another showing the ez3 installed. This will help us to see why you are having problems.

I did a drawing to show you how it is connected to the prop1 and provided test hook up drawing in that same drawing  

 
William Stefan
The Basic Stamp Nut

JonnyMac

September 10, 2010, 06:04:22 AM #37 Last Edit: September 10, 2010, 06:18:46 AM by JonnyMac
Quote from: cs1245 on September 09, 2010, 10:34:47 PM

    One thing I noted tonight is if I just turned on the Prop-1 (moved the toggle from position 0 to position 2) with the LED connected to the V+ and OUT7 and hit the MAN TR on the EZ-3, the LED turns on appropriately, but then never turns off.  And if I proceed next to move the toggle switch from 2 to 1, the LED does turn off. but turns back on when I move the toggle to position 2, (without even pushing the MAN TR).  Does this signify anything?  
And if it means anything, the LED light turns on immediately after pushing the MAN TR and before the orange TR DELAY light turns on.

Okay, I'm confused because you seem to be contradicting former statements.  Please remove the PIR if it's connected and turn the PRE and POST delay pots to their minimum settings.  Turn the Prop-1 on to position 2 of the power switch.  Nothing should happen.  Now press the trigger button on the EZ-3.  The LED should come on.

If this is the case I think the board is fine.  If the LED comes immediately check the P6 and P7 jumpers -- both should be in the DN position (if P7 is UP it will force OUT7 to be on all the time; if P6 is up it will create a false trigger input).

I just looked at the code I wrote for you and it may be missing a line.  In this section:

MIB_Start:
 Audio = IsOn                                  ' start audio
 PAUSE 1000
 Audio = IsOff
 Fogger = IsOn                                 ' pulse fogger 2s
 PAUSE 2000
 Fogger = IsOff


... the audio should be turned off when the fogger was activated creating a 1-second pulse to the audio player.  Add this line of code to your program; the LED should now pulse for 1 second when you hit the trigger button.
Jon McPhalen
EFX-TEK Hollywood Office

cs1245

The missing line in BASIC Stamp program is what fixed the problem with the LED not turning off after being triggered.   The PIR sensor is hooked up and it triggers the audio message on the CAR-P just fine. 

I know this against the forum guidelines, but "thanks" for everyone taking the time to help me out and being persistent about looking for the answer to solve the problems I've experienced.  I plan recommending your products in large part because of the great technical support. 

cs1245

October 29, 2010, 11:00:39 AM #39 Last Edit: October 29, 2010, 11:18:50 AM by cs1245
My problem I am having is that the sound for the MIB is running on a continuous loop.  I downloaded the MIB PBASIC Stamp program onto a different Prop-1 and still the same problem.  I am using a CAR-P300 sound board with the B/W connected to the V-trig and the the white to the V+ and the black to the OUT7 and there is no jumper connected to the DM header on the CAR-P.  Is  there something that can be changed on the BASIC Stamp so that only a short impulse is sent through the OUT7.  It seems like there is always "power" running through the V+ and OUT7 circuit trigger the CAR-P.  
One more note - the continous loop stops when the toggle on the Prop-1 moves from position 2 to 1 and then the loop restarts when the toggle goes back to position 2. 

JonnyMac

QuoteIs there something that can be changed on the BASIC Stamp so that only a short impulse is sent through the OUT7.

Yes -- and that issue was covered two posts up:

QuoteI just looked at the code I wrote for you and it may be missing a line.  In this section:

MIB_Start:
 Audio = IsOn                                  ' start audio
 PAUSE 1000
 Audio = IsOff
 Fogger = IsOn                                 ' pulse fogger 2s
 PAUSE 2000
 Fogger = IsOff

The Audio = IsOff line takes care of it.
Jon McPhalen
EFX-TEK Hollywood Office

cs1245

October 29, 2010, 12:53:44 PM #41 Last Edit: October 29, 2010, 02:39:52 PM by cs1245
If you look at my last post in this thread in September it noted that the Prop-1 was working fine because I had cut and pasted the missing audio command, but now the audio ran continuously last night.  After repeatedly checking all my connections I just now thought I would try and change out ULN chip and now it works fine.  Apparently this was a new issue I was having.  I guess we all learned something new today and that is why I enjoy these forums.

JonnyMac

QuoteI downloaded the MIB PBASIC Stamp program onto a different Prop-1 and still the same problem.

Hmmm.... two bad ULNs?  If you're using P7 (I don't recall) you want to make sure the SETUP jumper is in the DN position for this kind of output.
Jon McPhalen
EFX-TEK Hollywood Office