Design of Phoenix

The schematic above represents the basic design of Phoenix. The application programs call functions from the Python library '' to access the elements connected to the top panel sockets of Phoenix interface box. This library communicates to the program  'phoenix.c' running on the micro-controller and listening for commands from the computer over RS232 or USB link.

The Circuit SchematicPCB Inside and the parts list.

To develop application programs one need to know about the functions explained in the phoenix programming manual.
Note : The html versions given below are less accurate.
Simple Input/Output Functions
Block Read Functions
Time Period Measurement Functions
Other Functions

Documentation Convention:

    The type of the variable returned by the function call is given on the left side of the equal sign. A return value of 'None' means the function does not return anything. The return types are mostly int, float and List.

object = module_name.class_name()
Creates an object of class 'phm' from module 'phm'
The created object can be considered as a software representation of the Phoenix Box.
import phm
p = phm.phm()

Example Program: Connect a piece of wire to CH0 and run this code to watch AC mains pickup.