November 23, 2024, 08:23:11 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

September 08, 2010, 04:30:04 AM #15 Last Edit: September 08, 2010, 07:24:59 AM by bsnut
It sounds like the code was changed by accident or the problem is with the ULN. This is what I would check
1. Make sure the Setup jumpers are set to the Down position on the prop1 per Jon's comments in the code.
2. Make sure you download the code that Jon did for you on the prop1.
3. Make sure that the pins on the ULN, that you clip match the graphic that Jon showed you.
4. Make sure that the Car-P is connected to the prop1 per Jon's comments in the code.

If everything is correct above and the next thing you can do is disconnect the Car-p from the prop1 and trigger it manually using the connections that are connected to prop1 for about 1 second. If this doesn't work, you may need to contact Carl.  

I hope you don't mind me being Jon's pitch man on east coast ;D. But, I would recommend you using the AP16+ and here's why.
1. Control it with the serial connection, which uses 1 I/O pin.
2. The audio file can be started by a triggered input.(12 or 24vdc)
3. Play different files via the selection inputs.
4. Jon, someone else or myself can provide the help and suggestions that is needed.

William Stefan
The Basic Stamp Nut

JackMan

September 08, 2010, 05:59:51 AM #16 Last Edit: September 08, 2010, 08:33:26 AM by JackMan
QuoteI spoke with Carl and he recommended using the 1 foot jumper cable supplied with the CAR-P Audio (it has a white and black wire) and connect one end of it to the CAR-P "Trig" if I am using a separate power source for the CAR-P and the run the white wire to the OUT7 and the black wire to the GRD on the Prop-1.

If you are using the voltage trigger connection on the CARP you need to connect one of the wires from the B/W header to V+ on the Prop-1 and the other to OUT7.

Also be sure that you don't have a jumper on the DM header of the CARP. A jumper on this header causes the sound file to loop continuous.

cs1245

     I think I'm getting close.  I did redownload the PBASIC program to the Prop-1 with the EZ-3 not attached at the time.  I have the 1 foot B/W wire connected to the prop-1 (W to the V+ and B to the OUT7) and the other end conected to the V-Trig on the CAR-P.  I am only able to trigger the CAR-P audio if the move the toggle on the Prop-1 from position 1 to position 2 ( which I realize that power turns off to on and that is what triggers the CAR-P) and it can be triggered if I pull the B/W jumper off the V-trig and then put it back on. 

     With regards to the Setup jumpers - there is one in the DN position oppposite P6 - does there need to be another jumper at DN position opposite P7.  When I do put a red jumper opposite P7 still nothing triggers the CAR-P. 

     Next, looking at BSNUT email, #4 point - connecting the CAR-P per Jon's comment in the code - I assume you are refering to the OUT7 needing a wire attached to CAR-P??  If not, can you elaborate on that. 
   
     Last, since I am using an EZ-3, are there any wires that need to be connected to the pins on the EZ-3 besides the PIR sensor.  Although I dont think there needs to be any wires coming off the EZ-3.


JonnyMac

In your case, using P6 and a input and P7 as an active-high output, you need to put the P6 and P7 SETUP jumpers in the DN position.
Jon McPhalen
EFX-TEK Hollywood Office

cs1245

I placed a red jumper over the P6 and P7 DN and still unable to trig the CAR-P.  Any suggestions?

JonnyMac

Did you replace the ULN?  If you're using the one provided by EFX-TEK, the OUT7 connection has been disabled.
Jon McPhalen
EFX-TEK Hollywood Office

cs1245

I am using a new ULN 2803 with the pins clipped that control the POTs detailed in the diagram you provided.

JonnyMac

Well, then, you may need to check the pulse timing to the CAR-P -- others have found that it needs at least 250ms to trigger (I don't have one so I cannot verify).
Jon McPhalen
EFX-TEK Hollywood Office

JackMan

September 08, 2010, 05:51:20 PM #23 Last Edit: September 08, 2010, 05:54:15 PM by JackMan
There's a lot that's confusing with your recent post.
QuoteI am only able to trigger the CAR-P audio if the move the toggle on the Prop-1 from position 1 to position 2 ( which I realize that power turns off to on and that is what triggers the CAR-P) and it can be triggered if I pull the B/W jumper off the V-trig and then put it back on.  

The Prop-1 needs to be in position 2. If the CARP triggers when you pull the 2 pin V-Trig connection and put it back on, then you are getting trigger voltage to the CARP. Test the CARP by itself with a 9v battery and the B/W V-Trig connection (V-Trig jumper on the 9-12v setting). The CARP should play when you connect the battery. It should stop when it gets to the end of the recording and should not play again until you remove the battery and then reconnect it.

QuoteLast, since I am using an EZ-3, are there any wires that need to be connected to the pins on the EZ-3 besides the PIR sensor.  Although I dont think there needs to be any wires coming off the EZ-3.

I believe your PIR should be connected to PIN6 of the Prop-1, correct me if I'm wrong.

cs1245

I have the PIR sensor connected to the EZ-3 TRIG pins and the EZ-3 is connected to the Prop-1.  I did connect the 9V battery as described above and I was able to trigger the CAR-P and not have the audio repeat.  I do have the Prop-1 toggle in the Position 2 setting.

How do I check the pulse timing to the CAR-P and how do I adjust it if is not at least 250ms? 

Thanks for everyone helping me out. 

JonnyMac

I looked at the code I posted for you -- its 1000ms, which is more than enough.
Jon McPhalen
EFX-TEK Hollywood Office

JackMan

Jon,
Is there supposed to be a serial connection from the Prop-1 PIN7 to the EZ-3? Looks like he's using PIN7 for the CARP.

JonnyMac

The EZ-3 is an add-on board for the Prop-1 that has three Pots.  We recommended that he use the OUT7 position for starting audio (I wrote him a custom program) so that he didn't have to mess with the TTL pins (I try to steer beginners away from these to prevent them from breaking something with an errant connection).
Jon McPhalen
EFX-TEK Hollywood Office

bsnut

You need to do experiments with the Pause instruction to see what works for you. This is the only way I know you can see if the PAUSE instruction is working, by inserting a DEBUG instruction after the PAUSE instruction like is

Car-p = ison
PAUSE 250
DEBUG "Pause is on"
Car-p = ison

There is another way to see if the PAUSE is set the way you are happy with, by connecting a lamp between OUTx(where the Car-p is connected to) and V+. You need to change the PAUSE instruction to this

PAUSE 500

or this

PAUSE 1000

so you can see the lamp turn on and off.

The best way to learn is doing experiments.






William Stefan
The Basic Stamp Nut

cs1245


    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.