Is it possible to switch back and forth and communicate with i2c and serial devices? I am planning a new project and would like to use some i2c sensors and the OpenLog data logger. https://www.sparkfun.com/products/9530
I believe they would both use the SDA and SCL pins on the PicAxe? Or would I use the SerIn and SerOut pins for the OpenLog, and the SCL and SDA pins for the i2c?
My code would go something like this...
1. Read data from i2c sensor
2. Process the data in the PicAXE and convert values to some meaningful value.
3. Output the data to the data logger. I'd like to make a .csv file for opening in Excel.
4. Repeat over and over. I'd be capturing data for 2-3 minutes maximum, so I'd like to get many samples per second if the OpenLog will let me.
Is this setup possible without conflicts? Much thanks in advance!
I believe they would both use the SDA and SCL pins on the PicAxe? Or would I use the SerIn and SerOut pins for the OpenLog, and the SCL and SDA pins for the i2c?
My code would go something like this...
1. Read data from i2c sensor
2. Process the data in the PicAXE and convert values to some meaningful value.
3. Output the data to the data logger. I'd like to make a .csv file for opening in Excel.
4. Repeat over and over. I'd be capturing data for 2-3 minutes maximum, so I'd like to get many samples per second if the OpenLog will let me.
Is this setup possible without conflicts? Much thanks in advance!