⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 一位十年经验美国工程师的工程代码
💻 TXT
字号:
/**********************************************************************
*                       Demo Board Information
*
*                    Michael Pearce 23 March 2001
*
* Electronics Workshop, Chemistry Department, University of Canterbury
***********************************************************************
Processors Used: PIC16x84
***********************************************************************
Disclaimer:
The following code has been released so that someone may possibly find
something useful in them. The Author and the company he works for takes
no responsibilty for the use of this code or any damage that may be
caused by using part of all of this code.
***********************************************************************
Overview:
The code in this directory was used to drive a demo board that I made
for a UOC demonstration day.
The demo board consisted of 5 240V 3A solid state relays, a RS-232 port,
a 1-wire interface port (using a RJ-11/12 connector), and a number of LEDs.

Following is a list of the files and what I can remember about them.....
... it has been a while.

SCHEMATIC.JPG
LIGHT1.C
SERIAL.C
INT232.C
DEMO2.C
DEMO1.C
DELAY.C
BASIC.C
1WIRE002.C
_DELAY.C
DEMOBRD.S01
DEMOBRD.PCB


************************ SCHEMATIC.JPG *******************************
This is a full res jpeg image of the schematic for the demo board

***************************  LIGHT1.C ********************************
USES: delay.h, delay.c

DESCRIPTION:
Just flashes the LED's on the demo board.
Does a bit shift to right on PORTA and PORTB then does some binary
counting of sorts, and goes back to the beginning.


*************************** SERIAL.C *********************************
A version of the HT-PIC C Serial driver that I modified to try to get
it to work with the 16C84 - I can't remember if I succeded.

*************************** INT232.C *********************************
An Interrupt and timer driven RS-232 driver that I wrote for the 16x84
As far as I can remember - it worked, but don't quote me on that.
I have not actually used it for a while.
Has getch and putch commands.

*************************** DEMO2.C **********************************
USES: delay.h, delay.c, serial_s.c, 1wire002.c

DESCRIPTION:
Demo2.c is the program that ran at the demo day. It was really simple
and controlled a Perastaltic pump but using 2 i/o pins, read the
temperature on a temperature sensor that was mounted above a light bulb
and turned the light bulb on an off. It was connected to a dumb terminal
that just displayed what was happeing and the current temperature of the
probe.


*************************** DEMO1.C **********************************
USES: delay.h, delay.c, serial_s.c, 1wire002.c

DESCRIPTION:
The first version of the demo program - think I had some problems that
were ironed out in the second version.


*************************** DELAY.C *********************************
The delay routine that came with the HT-PIC C compiler

*************************** BASIC.C *********************************
USES: always.h,int232.c,commands.h

DESCRIPTION:
A simple program to test the interrupt driven serial routines I wrote.
Note that I used Shane Tolmies "always.h"


*************************** 1WIRE002.C ******************************
USES: M_DELAY.H

DESCRIPTION:
Routines for driving the Dallas 1-wire bus.
Wrote these routines from scratch cause I got fed up with the stuff
provided by others that didn't work.
These are crude, but have worked well in many situations.


*************************** _DELAY.C ******************************
Delay routines using shanes always.h  and the std delay.h files
Cant remember this file at all!!

*************************** DEMOBRD.S01 ***************************
*************************** DEMOBRD.PCB ***************************

Protel schematic and pcb files.  These were created using the old
dos version of Protel, they can be imported into the latest versions.












⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -