home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / sci / electron / 20711 < prev    next >
Encoding:
Text File  |  1992-12-14  |  2.4 KB  |  66 lines

  1. Newsgroups: sci.electronics
  2. Path: sparky!uunet!nevada.edu!jimi!pauli.lv-physics.nevada.edu!bill
  3. From: bill@pauli.lv-physics.nevada.edu (Bill ODonnell)
  4. Subject: Re: Testing solar cell performance w/computer assistance?
  5. Message-ID: <1992Dec14.223424.21680@unlv.edu>
  6. Keywords: Solar cell
  7. Sender: news@unlv.edu (News User)
  8. Organization: UNLV Department of Physics
  9. Date: Mon, 14 Dec 92 22:34:24 GMT
  10. Lines: 54
  11.  
  12.      If extreme accuracy isn't a major concern you may
  13. want to consider using the game port on the Apple.  The
  14. Apple II series and the Apple IIGS both use a 4 channel
  15. A/D converter to read the voltage (via a variable resistor)
  16. at the game port.
  17.  
  18.      You can read the value of the input voltage in basic with
  19. the following command.
  20.  
  21.                     X = PDL(N)
  22.  
  23. N is from 0 to 3 and determines which channel is to be read.
  24. X is the returned value (0 - 255).  The pinouts are as follows:
  25.  
  26.                     Apple II (16 pin socket)
  27.  
  28.      Pin #     Description         Pin #     Description
  29.      1         +5 Volts            9         NC
  30.      2         Switch 0            10        Paddle 1
  31.      3         Switch 1            11        Paddle 3
  32.      4         Switch 2            12        Annunciator 3
  33.      5         Strobe Output       13        Annunciator 2
  34.      6         Paddle 0            14        Annunciator 1
  35.      7         Paddle 2            15        Annunciator 0
  36.      8         Ground              16        Nc
  37.  
  38.                     Apple IIGS (DB9 connector - External
  39.                              or 16 pin socket - Internal)
  40.      Pin #     Description
  41.      1         Switch 1
  42.      2         +5 Volts
  43.      3         Ground
  44.      4         Paddle 2
  45.      5         Paddle 0
  46.      6         Switch 2
  47.      7         Switch 0
  48.      8         Paddle 1
  49.      9         Paddle 3
  50.  
  51.      Note:     Max current from 5V supply <100ma.
  52.                Switches are TTL inputs.
  53.                Annunciators are TTL outputs.
  54.  
  55. As for measuring the fill factor I would recommend using a op-amp
  56. as a current to voltage converter for the cell current and also
  57. using and op-amp as a buffer for the cell voltage.  The gains
  58. should be such that the max voltage is near 5V (the A/D reference
  59. voltage).  Suitable scaling factors can then be calculated.  One
  60. final note, although the returned value (0 - 255) would imply 8 bit
  61. accuracy, I would expect accuracies of only a few percent.
  62.  
  63.                         Bill O'Donnell
  64.                         (concerned citizen)
  65.  
  66.