Shop OBEX P1 Docs P2 Docs Learn Events
Looking for some info from the Gurus — Parallax Forums

Looking for some info from the Gurus

Brian CarpenterBrian Carpenter Posts: 728
edited 2008-03-24 13:18 in General Discussion
iave two devices that need to work together.·· One is·an HID device that toggles a line. first time it is·high- and changes to low_.· so -_.· the next time that it triggered it goes from low_ to high-.· so _-.· the second device that it is talking to wants to see a Low to high to low. or a High to low to high.· i can make it work with either.
So here is the problem,· The second device wants to see -_- in order to do its function.
that means that i have to activate the HID device twice to get it to move from -_ and _- to accomplish this.
I only want to activate the HID once to trigger the second device, so i need to make an interface that will go between the two devices.·
it needs to take the -_ and create a -_- and then the next time it will see a _- and will again put out a -_-.

Any ideas will be greatly appreciated.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


It's Only A Stupid Question If You Have Not Googled It First!!

Comments

  • Brian CarpenterBrian Carpenter Posts: 728
    edited 2008-03-24 03:52
    thanks for your help bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    It's Only A Stupid Question If You Have Not Googled It First!!
  • BeanBean Posts: 8,129
    edited 2008-03-24 13:18
    You are welcome.
    For anyone else that wants to do this without a controller, I would think that an XOR gate where the input went directly to one input, and and RC on the other input would do the job too.
    Toggle Output --+---------------- XOR input 1
                    |
                    +-/\/\/\--+------ XOR input 2
                              |
                              +--|(-- Ground
    

    The XOR output should be low normally. When the Toggle Output changes you should get a high pulse on the XOR output related to the R and C values.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.iElectronicDesigns.com



    Post Edited (Bean (Hitt Consulting)) : 3/24/2008 1:23:56 PM GMT
Sign In or Register to comment.