-
Notifications
You must be signed in to change notification settings - Fork 11
The IR Array is (will be) a self contained 16 bit analog IR device that will use a MSP430 to report the input via I2C output.
Now investigating a self-contained I2C adc chip with 8 analog inputs.
* 1 x 16 bit analog mux
* 1 x MSP430G2332
* 1 x Perfboard (eventually will design a PCB board)
* 1 or 2 (undecided) x 2*8 headed 16 bit cables
The MSP430 device is programmed with TI's Launchpad Developer.
The software used is TI's Code Composer Studio (CCS 5.4.0).
Important information about using CCStudio can be found on this wiki.
For Linux Systems, attempting to use mspgcc and msp430-gdbproxy.
mspgcc wiki
Testing the I2C control of the adc chip, from either BBB or arduino.
The g2332_adc_with_mux project has been developed, and the mux does switch easily in the microseconds range.
The I2C clock can easily be set up to 16MHz.
Next, I2C code needs to be fleshed out.
One current working code is the adc_mux_slave_I2C code, which works in pair with the mspg2xx2_usci_i2c_master_tx code.
The BBB I2C code is still being developed, as is the slave code that actually parses and transmits the IR Array data.
- Beginning Microcontrollers with the MSP430 Tutorial
- MSP-EXP430G2 LaunchPad Experimenter Board User's Guide
- Launchpad Pinout Guide
This is definitely a work in progress, but I'm just listing some tools and whatnot used here.
- smbus package for Debian (if downloading directly use the armfh architecture)
- smbus commands
- smbus usage
- i2c-tools package for Debian (if downloading directly use the armfh architecture)
- How-To i2c-tools
- Adafruit_I2C library
- adafruit_I2C tutorial (not very in-depth)