Subject: PIC 16F877 EFIS
From: ACRE NL
Date: 2/11/2002, 9:10 PM


This one has 8 channels of 10 bit A to D and can be programed
with no programer. Send the code from your PC through a serial port
to the flash memory in the chip. $11 bucks from DigiKey.
Heck at that price you can afford two. Only 35 instructions
to learn or you can program it in compiled BASIC with
8K memory locations to store the code. Way more than enough
for an EFIS. Compiled BASIC would be plenty fast enough for an EFIS.
Heck one could knock out an EFIS program written in BASIC
in a couple of days with this chip. I am tempted.

Paul Lamar


We just got the In-Circuit Debugger from Digikey for these chips; $99
includes the ICD board, software, excellent documentation and 1 877 and 1
876 PICs. My friend and I chose the 876 because it's so flexible... other
choice was a 16C84.

Mike Harrington

Sure looks good to me too.

Paul Lamar

Funny, I was just looking through the catalog yesterday, too. 8 channels is not
enough, but you could put a 8 x 2-to-1 " analog multiplexer in front. But there
goes the neat one-chip solution.
The PIC17C76X with its 16 channel 10-bit A/D would be ideal, but the chip
programmer and socket adapter is prohibitively expensive ($200 + $160).

I didn't see 8 separate analog inputs on the data sheets you uploaded for the
16F877.

Finn

Keep looking. The rest are down at the bottom port.

An external data selector is no big deal. One additional chip.  Four 
control bits will select one of sixteen of course. That gives you a total 
of 7 direct and 16 multiplexed for a total of 23 A to D channels with 
just four additional control output lines from the PIC. See the 
schematic below.

Or of course you could use two PICs for a total of 16 channels.

Paul Lamar
 
The AirCraft Rotary Engine NewsLetter.              Powered by Linux.
ACRE NL web site.
http://home.earthlink.net/~rotaryeng/            http://www.linux.org

AD595-ap-note.gif

PIC16F877.gif