Category Archives: I2C

I/OBus Rewire & Power Problems Resolved.

I rewired the Router to another scart plug, at the same time, I used an extra 78L05 to power the 5v line on the i/o bus.  Both the new wiring and power arrangements caused problems.

Posted in I/O Bus, I2C | Tagged , , | 4 Comments

Blassic I2C Mains Remote Control

Using the Remote Control Unit with the Pic I2C Slave connected to the Midge Router, it is possible to use Blassic to control regular mains devices via the the network.  Here is a sample.

Posted in Blassic, I/O Bus, I2C, OpenWrt Midge | Tagged , , , , | Comments Off

PWM function in 16F876 I/O Processor

I have added a basic PWM service to the PIC 16F876 I2C Slave I/O Processor.  Here is the updated JAL Source and a Blassic program for the Router.  It reads the Analog input, and prints to the console or sounds … Continue reading

Posted in Blassic, I/O Bus, I2C, OpenWrt Midge | Tagged , , | Comments Off

Blassic PIC I2C I/O with Peek & Poke

Here is a little (extended)Blassic program to read the PIC 16F876A I2C Slave.

Posted in Blassic, I2C, OpenWrt Midge | Tagged , , , | Comments Off

EEPROM PCF8582C-2

The PCF8582C-2 is a 256×8 bit CMOS EEPROM.  It contains less memory than some PIC Processors!  As have a few of these chips, I use them as a benchmark for the Router and PIC I2C interfaces.

Posted in I2C | Tagged , , , | Comments Off

Router I2C Interface

These are the I2C Bus Hardware and Software settings I am using with the on OpenWrt Midge router to talk to a PIC 16F876 I2C Slave.

Posted in I/O Bus, I2C, OpenWrt Midge | Tagged , , , | Comments Off