programming help needed - serial control of DVD player
Archiver
Posts: 46,084
I am not a programmer. My job has allowed me to become a respectable
code editor and a reasonable code mimick, (I have employed this skill
with Authorware, Director and HTML) however......
I recently had a project dumped in my lap that seems to require the
Basic Stamp2 for control of a Pioneer DVD7400 player.
I understand programming concepts well enough to show what I want to
accomplish, but having never studied programming, so I don't think I
can get it programmed in a timely manner.
The interface is RS232 with an adjustable baud rate (up to 9600).
The only connections requires are TxD RxD and DTR. The system will
respond to standard basic program commands using mnemonics for
specific function calls. The program would be fairly simple:
(sequence 1)
--Check title selection
--(response = #)
--If response = 1 thru 5, change title to #+1
--If response = 6, change title to 1
--Play
--Ignore trigger until end of play is received
--(end of play)
--If trigger is received go to sequence 1
--If no trigger after 10 seconds go to sequence 2
--(sequence 2)
--Change title to #7
--Play
--If trigger is activated go to sequence 1
The trigger is a motion detector generated contact closure.
Has anyone ever done anything like this previously? Any help?
Thank you to any and all respondants.
Best Regards,
Phil Troupe
PTroupe@R...
code editor and a reasonable code mimick, (I have employed this skill
with Authorware, Director and HTML) however......
I recently had a project dumped in my lap that seems to require the
Basic Stamp2 for control of a Pioneer DVD7400 player.
I understand programming concepts well enough to show what I want to
accomplish, but having never studied programming, so I don't think I
can get it programmed in a timely manner.
The interface is RS232 with an adjustable baud rate (up to 9600).
The only connections requires are TxD RxD and DTR. The system will
respond to standard basic program commands using mnemonics for
specific function calls. The program would be fairly simple:
(sequence 1)
--Check title selection
--(response = #)
--If response = 1 thru 5, change title to #+1
--If response = 6, change title to 1
--Play
--Ignore trigger until end of play is received
--(end of play)
--If trigger is received go to sequence 1
--If no trigger after 10 seconds go to sequence 2
--(sequence 2)
--Change title to #7
--Play
--If trigger is activated go to sequence 1
The trigger is a motion detector generated contact closure.
Has anyone ever done anything like this previously? Any help?
Thank you to any and all respondants.
Best Regards,
Phil Troupe
PTroupe@R...
Comments
stamps. Help me understand what you are trying to do.
If trigger is activated, play title 1, then title 2,
etc. through title 6, then return to title 1. Keep
playing this way as long as triggers are received
every 10 seconds. If no trigger is received within 10
seconds, play title 7 (one time or repeatedly?)
Send more information. This will probably be pretty
simple.
-Marie
--- Phil Troupe <ptroupe@r...> wrote:
> I am not a programmer. My job has allowed me to
> become a respectable
> code editor and a reasonable code mimick, (I have
> employed this skill
> with Authorware, Director and HTML) however......
>
> I recently had a project dumped in my lap that seems
> to require the
> Basic Stamp2 for control of a Pioneer DVD7400
> player.
>
> I understand programming concepts well enough to
> show what I want to
> accomplish, but having never studied programming, so
> I don't think I
> can get it programmed in a timely manner.
>
> The interface is RS232 with an adjustable baud rate
> (up to 9600).
> The only connections requires are TxD RxD and DTR.
> The system will
> respond to standard basic program commands using
> mnemonics for
> specific function calls. The program would be
> fairly simple:
>
> (sequence 1)
> --Check title selection
> --(response = #)
> --If response = 1 thru 5, change title to #+1
> --If response = 6, change title to 1
> --Play
> --Ignore trigger until end of play is received
> --(end of play)
> --If trigger is received go to sequence 1
> --If no trigger after 10 seconds go to sequence 2
>
> --(sequence 2)
> --Change title to #7
> --Play
> --If trigger is activated go to sequence 1
>
> The trigger is a motion detector generated contact
> closure.
>
> Has anyone ever done anything like this previously?
> Any help?
>
> Thank you to any and all respondants.
>
> Best Regards,
> Phil Troupe
> PTroupe@R...
>
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed.
> Text in the Subject and Body of the message will be
> ignored.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1