--------------050300000401070702020502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by garlic.amaranth.net id fBBBhDo11600 Gl=F8ersen, Ole Andreas wrote: >BUILDING A PIC16F87X COMMUNICATION BOARD: > >Interfaces needed (wanted): > >1. RS-232 (to PC, GSM-module, modem etc) or RS-485 (small network) >2. Keyboard >3. IR RX >4. IR TX >5. LCD display > > > >Some help with the questions or comments from other projects? > > >Q 1: IR TX > >When build a IR TX board with a PIC with PWM output, is it possible to s= et >the PWM to 38kHz (or 40 kHz for Sony), and turn the output pin ON and OF= F >easy by program? > Yes. > >Or do I have to use this diagram (IR2.gif with NAND gate) to switch the = IR >LED ON and OFF. It use to pins but I want to use only one to IR TX. > >See IR2.gif > > >Q 2: IR RX > >Put it on a pin with interrupt on change pin (RB4)? > I use INT0. > > > >Q 3: Keyboard > >Is it a good idea to put the clock on INT pin (RB0) and data on any othe= r >pin (RA0 or....)? > I'd use the serial communicaiton port. > > >Q 4: RS232 > >If I need some control/status lines from modem RI (ring indicator), CTS, >RTS, etc., any tip to fix that? > > >Best regards > >Ole Andreas Gl=F8ersen >LA9SHA > > > > > -----------------------------------------------------------------------= - > > > > IR2.gif > > Content-Type: > > image/gif > Content-Encoding: > > base64 > > --=20 * | __O Thomas C. Sefranek tcs@cmcorp.com |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41, 448.625 MHz ARRL Instructor, Technical Specialist, VE Contact. http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org --------------050300000401070702020502 Content-Type: multipart/related; boundary="------------010105010105090202000000" --------------010105010105090202000000 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

Gløersen, Ole Andreas wrote:
BUILDING A PIC16F87X COMMUNICATION BOARD:

Interfaces needed (wanted):

1. RS-232 (to PC, GSM-module, modem etc) or RS-485 (small network)
2. Keyboard
3. IR RX
4. IR TX
5. LCD display



Some help with the questions or comments from other projects?


Q 1: IR TX

When build a IR TX board with a PIC with PWM output, is it possible to set
the PWM to 38kHz (or 40 kHz for Sony), and turn the output pin ON and OFF
easy by program?
Yes.

Or do I have to use this diagram (IR2.gif with NAND gate) to switch the IR
LED ON and OFF. It use to pins but I want to use only one to IR TX.

See IR2.gif


Q 2: IR RX

Put it on a pin with interrupt on change pin (RB4)?
I use INT0.



Q 3: Keyboard

Is it a good idea to put the clock on INT pin (RB0) and data on any other
pin (RA0 or....)?
I'd use the serial communicaiton port.


Q 4: RS232

If I need some control/status lines from modem RI (ring indicator), CTS,
RTS, etc., any tip to fix that?


Best regards

Ole Andreas Gløersen
LA9SHA






IR2.gif
Content-Type:
image/gif
Content-Encoding:
base64


--
  *
  |  __O    Thomas C. Sefranek  tcs@cmcorp.com
  |_-\<,_   Amateur Radio Operator: WA1RHP
  (*)/ (*)  Bicycle mobile on 145.41, 448.625 MHz

ARRL Instructor, Technical Specialist, VE Contact.
http://hamradio.cmcorp.com/inventory/Inventory.html
http://www.harvardrepeater.org

--------------010105010105090202000000 Content-Type: image/gif; name="gif&filename=IR2.gif" Content-ID: Content-Disposition: inline; filename="gif&filename=IR2.gif" Content-Transfer-Encoding: base64 R0lGODlhbwG4AfcAAAAAAAAAgAAA//8AAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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yqvYEavVWOv9YqvaKav+8qvf+ivESGuKAmw/0qwDiGwLGmwB6uw i8iwkeiwzAixCjEAEpsQFFuxB3GxGFsQGruxA9GxHksAIOuxI7uxJYuxJ1uxKSuxKwtAsS3r sC/LsDGrsDNrrgNwszibszq7szx7syH7s0AbtDDbs0SLs0J7tEhLsEXrs0nbtE77tPRqtFA7 tVRbtQQQEAA7 --------------010105010105090202000000-- --------------050300000401070702020502-- -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body