May 03, 2024, 05:08:33 PM

News:

Got VSA?  Want to use your Prop-SX?  Now you can!  See the VSA section of the Library forum for Prop-SX code that works with VSA.


Recent posts

Pages 1 2 3 4 ... 10
11
Prop-1 / Re: Code not working
Last post by Jeff Haas - October 26, 2023, 05:09:45 PM
OK, I just took a closer look at the picture above...that's not an AP-8, that's an AP-16.  I have one of those, it takes SD cards for the sounds, it has two big amps on it for the speakers, and a relay to trigger a prop.

Do you have a version of the code for the AP-16?  If not I can spend a bit of time later and adapt yours.
12
Prop-1 / Re: Code not working
Last post by davisgraveyard - October 26, 2023, 04:11:22 PM
the board I was using was a Rev C the ULN chip is only 8 pins instead of 9 so it is socketed starting at pin down from the notch.  This Board has been working for years.  In fact it was working this month.  Up until I loaded a newer version of the program to change the timing of the solenoid rattle. Now it isn't working at all.  I assumed it was my old version of the code I uploaded that had a flaw in the trigger logic.  The board itself has some corrosion on some of the board.  I have 3 Rev D Prop-1's in better shape with a ULN chip with 9 pins that fill the socket and have tested the code with them too and still don't get any response?   I have tried the Trainer with the test program and it works.  Odd thing is the Debug terminal doesn't seem to be working for any of these boards either?  I am using the BS1 Serial adaptor and the USB to 232 adaptor together with a USB cable to my PC's 2.0 USB port.

13
Miscellany / Re: Is EFX-TEK dead? I been w...
Last post by jukingeo - October 25, 2023, 12:14:53 PM
Quote from: Jeff Haas on October 25, 2023, 11:12:28 AMJon is active on the Parallax forums, he's been writing code and doing demos for the new Propeller 2.  Chip Gracey finally got the updated Propeller done, and it's supposed to be impressive.  I haven't gotten one, I have some HC-16 boards that are more than enough for me.

Ahhh, so that's where he is now.  I did get a Propeller chip (the first one), but I was just starting to learn it when the Arduino hit.  That seemed to pull my attention away from the Propeller.   Initially I was wowed by what the Arduino could do, but something bothers me about the 'preset code' or 'module code'.  You can't really see what is going on.  This was the thing I liked about the Basic Stamp as all the code was there.  I had bought the Prop-2 first and started to learn that, but it turned out to be far more than what I needed.  I actually used one Prop-2 to control two props!  I bought the Prop-1 afterwards and liked that much better.  It just seemed simpler.  Sure the Prop-2 has nicer and more commands.  But for most props, the 8 I/O pins was enough.  In the end, I started to buy more props from Spirit and the Prop-1's I have are spoken for on earlier prop builds.  However, I am now building an Interactive Electric Chair and find myself in need of a Prop-1 (preferably).  But I could just use one of the Parallax experimenter boards and add a ULN2008 or just use an Arduino since I have a couple of those laying around.

QuoteSince I've been working on other software things, I've learned C++ and Arduino. The cheap electronics from China have changed the entire scene, so I agree that that's probably part of why EFX closed.

Hmmm, yeah, that is another advantage to the Arduino as you can program that in C++. Still it is sad to see EFX-TEK close.   Now, that prompts another question.  If EFX-TEK is closed, why the main site?  There are items still up in the store. So if team Jon/John is gone, who is selling the product?  Or is it just there, but dead?  I haven't actually tried to buy anything as I really only need a Prop-1 (or two).

Well, nice convo, but I have to run.  The electric chair isn't going to build itself!  At the rate I am going, it might end up being a static prop (photo op) only this year.

14
Miscellany / Re: Is EFX-TEK dead? I been w...
Last post by Jeff Haas - October 25, 2023, 11:12:28 AM
Jon is active on the Parallax forums, he's been writing code and doing demos for the new Propeller 2.  Chip Gracey finally got the updated Propeller done, and it's supposed to be impressive.  I haven't gotten one, I have some HC-16 boards that are more than enough for me.

Since I've been working on other software things, I've learned C++ and Arduino. The cheap electronics from China have changed the entire scene, so I agree that that's probably part of why EFX closed.



15
Miscellany / Re: Is EFX-TEK dead? I been w...
Last post by jukingeo - October 24, 2023, 08:35:06 PM
Quote from: Jeff Haas on October 24, 2023, 04:13:54 PMHi Geo,

Unfortunately, you're right - EFX-Tek is dead.  The forums were down for a few months but someone fixed them and put them back up, I guess people still wanted to get to the example code here.

Indeed the code that Jon (and many others) had put together is very valuable.  Glad to see the forums are still here.  The main site is too, but like I said, there are only a handful of items up for sale.

QuoteI've been helping people with their programming questions because I can usually figure it out and it's fun.

Nice of you to do that.  So what has been going on with the Jon/John dynamic duo these days?

QuoteYour only option for getting more Prop-1s is to see if any haunters on Haunt Forum or Halloween Forum are selling them off.

Jeff

Ehh, I could always put a ULN2008 on one of the Basic Stamp boards they have at Parallax.  But it is getting too close to Halloween now.  I probably will be forced to use an Arduino since I have a spare one already.

While the Arduinos are definitely more powerful and can do more, the coding isn't as cut and dry as with a Basic Stamp.  There are things that go on "behind the scenes" with these preset modules of code.  I don't fully understand it all.  Maybe one day I will get there.

Thanks for the update.  It is a shame that EFX-TEK is dead. I had been here for a while.  But I guess between Covid, the Raspberry Pi and the Arduino, it probably became too difficult to compete.
16
Miscellany / Re: Is EFX-TEK dead? I been w...
Last post by Jeff Haas - October 24, 2023, 04:13:54 PM
Hi Geo,

Unfortunately, you're right - EFX-Tek is dead.  The forums were down for a few months but someone fixed them and put them back up, I guess people still wanted to get to the example code here.

I've been helping people with their programming questions because I can usually figure it out and it's fun.  Your only option for getting more Prop-1s is to see if any haunters on Haunt Forum or Halloween Forum are selling them off.

Jeff
17
Miscellany / Is EFX-TEK dead? I been waiti...
Last post by jukingeo - October 23, 2023, 11:22:26 PM
Hello All,

It has been a couple years since last year that I have visited the EFX-TEK site. Last year I had logged on to order a Prop-1 controller and it was out of stock.  I also ran into a problem with my AP-16+ board and sent an email on the site to see if I could get assistance with it.  Well, a year later and I seen that the Prop-1 is still out of stock and my email never was answered.

Logging on (to the forum) this year, I had noticed quite the lack of activity here and for quite some time too. Yes, the site is active, yes, you can log on to the forums, but there is almost no stock to order from and since the Prop-1 is probably the company's best selling product, I find it kind of odd that it has been out of stock for so long.  Lastly, I was shocked to see that the last posts Jon made were pre-covid.  So this has me begging the question if EFX-TEK is dead.

While I figured that the popularity of the Basic Stamp has waned due to the rise in popularity of the Arduino controller.  There is just something I like about programming the Basic Stamp.  Call me old fashioned that way.  Yes, I have Arduino's, but I don't like programming them. For Halloween props, the Prop-1 was a workhorse.

I know that I could build my own going to Parallax and ordering a basic stamp a ULN2008 and the other support items, but that is the long way to getting a Prop-1.

Any info would be appreciated.

Thank you,
Geo
18
Prop-1 / Re: Code not working
Last post by Jeff Haas - October 22, 2023, 11:38:08 PM
Do you have a Prop-1 Trainer board?  Try one of the demos for that and see if you can press the button and get the lights to blink.

Make sure the jumper for Pin 6 is on DN.

I also remembered something from the Prop-1 docs...look at your Prop-1 and check what the version is.  On the lower-right corner under the big chip is the version number.  There's this note at the bottom of the Prop-1 docs:

QuoteErrata
Rev B. boards have the P6 and P7 configuration jumpers reversed – the SETUP pins marked P6 are actually
connected to P7 and vice-versa. This error was corrected on boards marked "Rev C" and higher.

This means that if you have a Rev. B board, put the jumper for pin 6 on the config pins for pin 7, and vice versa.
19
Prop-1 / Re: Code not working
Last post by davisgraveyard - October 22, 2023, 03:46:10 PM
I've tried this code version.  Still does not drop down into the rest of the code.  I have this connected to an audio relay trigger board.  But even if I just short the WR pins on Pin6  It doesn't trigger.  I have tried the code on 2 Prop1 boards.   

I can't figure out what is going on?
20
Prop-1 / Re: Code not working
Last post by Jeff Haas - October 17, 2023, 11:58:47 PM
Hi, good to see you again!  I can see one thing you should change...this part loops on itself if the Trigger is on:

Force_Release:
IF Trigger = IsOn THEN Force_Release

This basically says, "if the trigger is pressed then go back to Force_Release" - when I think you want to go down to the rest of the code.

I know what it's like in the run-up to Halloween, so I took a crack at merging your code into JonnyMac's template for the BS1.  This adds the section for checking the trigger.  I don't have an AP-8 or DC-16, but I reviewed the docs and this looks pretty close.  Please give this a try and see how it goes.  I think the main logic that makes the sounds and the footsteps looks OK, but I don't know about the Power_Up and Reset sections at the top.

Otherwise this will loop in the Check_Trigger section until the relay is on, and then it will go down the rest of the code.

' =========================================================================
'
'   File...... DavisGraveyard Footsteps
'   Purpose...
'   Author.... DavisGraveyard, updated by Jeff Haas
'   E-mail....
'   Started...
'   Updated... 10/17/2023
'
'   {$STAMP BS1}
'   {$PBASIC 1.0}
'
' =========================================================================


' -----[ Program Description ]---------------------------------------------


' -----[ Revision History ]------------------------------------------------


' -----[ I/O Definitions ]-------------------------------------------------

SYMBOL  Trigger         = PIN6                  ' SETUP = DN
SYMBOL  Sio             = 7                     ' SETUP = UP; no ULN


' -----[ Constants ]-------------------------------------------------------

SYMBOL  IsOn            = 1                     ' active-high I/O
SYMBOL  IsOff           = 0

SYMBOL  TrOn            = 1                     ' active-high trigger
SYMBOL  TrOff           = 0

SYMBOL  Baud            = OT2400


' -----[ Variables ]-------------------------------------------------------

SYMBOL  i               = B0
SYMBOL  timer           = B2                    ' for debounce loop


' -----[ Initialization ]--------------------------------------------------

Power_Up:
  SEROUT Sio, OT2400, ("!!!!!AP8",%11,"X","!DC16",%11,"X")

Reset:
  PINS = %00000000                              ' all off
  DIRS = %10111111                              ' Set up outputs


' -----[ Program Code ]----------------------------------------------------

Main:
  timer = 0                                     ' reset debounce timer

Check_Trigger:
  PAUSE 5                                       ' scan delay
  IF Trigger = TrOff THEN Main                  ' check trigger input
    timer = timer + 5                           ' update timer
  IF timer < 100 THEN Check_Trigger             ' check timer

  'make some step sounds first
  FOR i = 1 TO 7
    SEROUT Sio, OT2400, ("!AP8",%11,"P",0)
    PAUSE 1000
  NEXT

'light up the last 7 steps
  FOR i = 0 TO 6
    SEROUT Sio, OT2400, ("!AP8",%11,"P",0)
    SEROUT Sio, OT2400, ("!DC16",%11,"P",i,1)
    PAUSE 1000
    SEROUT Sio, OT2400, ("!DC16",%11,"P",i,0)
  NEXT

  PAUSE 1000
'rattle the solenoid
  HIGH 1
  PAUSE 7000
  LOW 1
  PAUSE 100

  GOTO main




' -----[ Subroutines ]-----------------------------------------------------


' -------------------------------------------------------------------------


' -------------------------------------------------------------------------


' -------------------------------------------------------------------------


' -----[ User Data ]-------------------------------------------------------
Pages 1 2 3 4 ... 10