Newsgroups: comp.robotics
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!satisfied.elf.com!news.mathworks.com!udel!darwin.sura.net!news.duc.auburn.edu!morgatb
From: morgatb@eng.auburn.edu (Thomas B. Morgan)
Subject: Re: Serial Controller thats really easy to use
Message-ID: <D36H5K.MEL@mail.auburn.edu>
Sender: usenet@mail.auburn.edu (Usenet Administrator)
Nntp-Posting-Host: spitfire.eng.auburn.edu
Organization: Auburn University Engineering
X-Newsreader: TIN [version 1.2 PL2]
References: <ewtigger.8.000FA269@mcd.on.ca> <D34785.2rG@armory.com>
Date: Sun, 29 Jan 1995 17:41:44 GMT
Lines: 77


All of this needs to be available in C.


If C drivers are possilble I would be very interested.

Richard Steven Walz (rstevew@armory.com) wrote:
: In article <ewtigger.8.000FA269@mcd.on.ca>,
: Edward T. Wisniewski <ewtigger@mcd.on.ca> wrote:
: >I recently completed the prototype for a serial controller i call MIC ADC232  
: >It has 8 digital i/o lines which can be read as bytes or bits and written to 
: >as bytes or bits.  It has 5 didgital i/o lines which are open collector i/o 
: >where if needed one of these i/o line can become a pulse width modulation 
: >signal 0 to 5, 100Hz to 32Khz from 0% duty cycle to 100% duty cycle.  It also 
: >has another 5 digital i/o lines which can also be used as 5 ADC when turned on.
: >
: >The controller works with any computer system which has a rs232 output.  It 
: >uses simple commands such as
: >
: >SETPA1           -Sets a bit high for port A
: >RESPA1          -Sets a bit low for port A
: >ADCON            -Turns on the ADC's
: >ADC1               -Reads the ADC #1 value
: >PWMON          -Turn pulse width modulation on
: >PWMOFF        -Turn Pulse width modulation off
: >PWMD50        -Sets the dutty cycle to 50%
: >PWMF100      -sets the frequecny to 100hZ
: >
: >There are many more commands.
: -------------------------------
: Oh please tell us!
: -Steve

: >A sample program for this controller in basic is:
: >
: >10 open "COM1:9600,n,8,1"  AS #1
: >15 t=t +1
: >20 print #1,"setpa" ; t
: >30 print #1,"respa" ; t 
: >40 print#1, "rda"
: >50 input #1, porta
: >60 print "the value of port a is" ; porta
: >70 if t = 8 then t = 0
: >80 goto 15
: >
: >If anybody is interested in more information about this controller you can 
: >leave mail to ewtigger@mcd.on.ca
: -----------------------------------
: Excellent idea, but why so limited, as many more port bits and more A2D and
: such would be desirable!?? This is what people are looking for, I feel, but
: your capabilities simply need expansion. Why not just add one register for
: control and more space for duplicate ports of both types? Then use the
: control word to select which port you're currently polling/writing to. And,
: perhaps with fast enough serial, you may need to bring the interrupt in as
: well from your board. Good effort, though. Right direction for the needs of
: many people!
: -Steve Walz   rstevew@armory.com


--
*****************************************************************************
                              ======
                        ____---|##|\           "It's the Second Law of      
Brent Morgan           |\ ""---|##|_ \          Thermodynamics.  The more   
Auburn University      | #\   /     "-_ \       you put things together, the
(334) 821-6785         |  | \ ____----"" |      more they fall apart, and I 
237 S. Gay St 50A      | #| #| |_| | |_| |      have never heard a more true
Auburn, Alabama 36830  |  |  |  _  |  _  |      word spoken."   
morgatb@eng.auburn.edu | #| #| |_| | |_| |
                       |  |  |  _  |  _  |       q
                     __| #| #| |_| | |_| |     _/"\
                     \  \ |  |  _  |  _  |    (___/\_____
                     | \  \ #| |_| | |_| |\       \/     \_   
                       \ \  \|____----"""__\      /   K9   \  
                         \ \______----"""___|    /___________\
                           \------''''"""
 
