ooPIC Logo

ooPIC Programmer's Guide

 Chapter 6 - Interfacing with Hardware

ooPIC's Hardware InterfaceUsing Hardware Objects
Back to top of page ooPIC's Hardware Interface
 

The ooPIC is designed to be used in embedded applications. These are applications in which a stand-alone processor is required to control some form of hardware. To accommodate this, the ooPIC has thirty-one I/O lines that can be used in various ways. Each of the thirty-one physical I/O lines can both sink and source 25mA. I/O Lines 8 – 15 have an internal pull-up resistor that can be activated with the Pullup property of the ooPIC Object. I/O Lines 16 – 31 are Schmidt Trigger type inputs when in the input mode. These I/O lines are controlled by a set of special Objects referred to as Hardware Objects.

The Following table shows the electrical characteristics for all the ooPIC's I/O lines.

Output Voltage when I/O line is set to output 0.0 Volts
Max current supplied when I/O line is set to output 0.25 Ma
Output Voltage when I/O line is set to output 1.+5 Volts
Max current supplied when I/O line is set to output 1.25 Ma
Max current supplied on ALL I/O lines combined200 Ma

The voltage regulator on the ooPIC-S is a TO-92 case 7805 +5 Volt regulator and is rated at 100 Ma. If more power is needed, a +5 voltage source can be supplied on the +5 lines of the 40 Pin I/O connector.

The voltage regulator on the ooPIC-R is a 5 Volt regulator and is rated at 3000 Ma.

Hardware Objects are Objects that encapsulate the functionality of the physical hardware circuits within the ooPIC. They interface with the physical hardware circuits connected to the ooPIC and provide an application program with a hardware interface that has the capability of controlling and respond to that hardware.

Back to top of page Using Hardware Objects
 Like all other Objects, Hardware Objects must be created before they can be used. For more information on creating objects , refer to Chapter 3.

For a full list of Hardware Objects, refer to the Object list specific to the version of ooPIC that you are using.

Each of the Hardware Objects is covered in detail in the Object List.


ooPIC Compiler Ver 6.0 (c) Copyright 1997 - 2007 Savage Innovations, LLC.