As the title suggests, I’m very new this this, so please be kind.
Now also please don’t laugh as I tell you that I create projects using Microchip PIC Assembler, know nothing of ‘C’, words like Adrino, Sketch & Library mean nothing to me.
I just use 0 & 1’s in 8bit hexadecima etc.
So how do I start to add the above excellent data logger onto my existing I2C bus please?
My needs are simple, I only want to send ten bytes of data every two seconds, presumably in a comma delimited format, so that it can later be loaded into a Windows spreadsheet.
At least initially, the standard .Log file would be fine, but it would be great to also understand how to use the many more advanced functions later.
Can anyone recommend a suitable place to start please? :?:
Me again…
A report on progress made so far…
-
SD card confirmed to be formatted and blank, and able to save files copied to it when inserted into it’s usb carrier.
-
SDcard inserted into Openlog pcb
-
Openlog pcb connected by qwiic cable to qwiic RTC (an existing device on my I2C bus.
-
After the First power-up, (the previously blank SD card now contains Config.txt, but with a creation date of 01/01/2000)
-
Power-down and reconnect to USB port, the SD card’s Config.txt reads 42, 26,3,0 (i2c_address,escape,esc#,mode)
-
SD card returned to Openlog pcb, powered-up (green led flashes very briefly, red led solid on).
-
I2C Start, address 84 (42 & R/notW), byte1, byte2, I2C Stop sent to Openlog.
-
Back to usb port, Log00001.txt has been created (again on 01/01/2000) but is empty,
I was hopping that at step 8 I’d see the contents of Log00001.txt as being byte1 and byte2.
Any advice will be most welcome…
Unfortunately we’re only able to support this product under Arduino.
What you might try is running the Arduino example code and seeing what that sends over the bus and then duplicate that.
Well, that certainly wasn’t the standard of after saves support I was expecting from a company such as SparkFun !
I asked you to be kind, you weren’t.
I asked you not to laugh, and yet I feel that you have.
You had no problem accepting my $100 order (Order number: 6541231 Order date: Sunday, March 21, 2021), but now seemingly it’s too much trouble to provide basic guidance.
I’ve realised that the address 42 in the config file really means 0x2A, and found the ‘Qwiic OpenLog Register map’.
I pointer to either or both of these would have been helpful.
I’ve managed to successfully apply most of the functions described in the Register map, I can create and delete Directories & Files, I can read the contents of the Status & Firmware Registers.
But I can’t get it to log bytes sent to Register 0x0C (12), even thro the Status bits confirms that a file in the root directory is open (bits 3 & 4 set).
I suspect (possibly wrongly) that the key is to understand the function of Register 5 (Initialize).
I feel that I’ve put the work in to get this far, and would now, at the second time of asking appreciate some vendor support/guidance as to how to get it to record logs.
I’m happy that this isn’t a hardware problem, and I bought two OpenLogs and currently see no difference between them.
Regards
Martin Bonnello