Why not just cut the header pins that plug into the Arduino, you can re-solder them if you need them at any other time.
Anyway definitely don't cut the tracks on the Arduino otherwise you can't use them, which is exactly what you want to do.
Also do you need the RTC ?
I've cut the traces on the shield (not the UNO) and bent the pins out. Nothing I can't fix with some solder...
With this mod and running my standard program, the shield does not hang on SD write any-more, the RTC time is correct on the Excel file.
However the readout of pin a4 and a5 is wrong (1023, that means +VCC).
I need the RTC... But it seems this can be achieved by re-routing the I2C signal with "SoftI2C" to digital pin 4 and 8.
Well, the connection between the I2C lines and the "analog" pins 4&5 goes all the way back to the micro-controller itself, so no matter what, you won't be able to talk to the RTC and use these pins as analog inputs at the same time.
In the forum discussion you linked to, someone suggested using a "software I2C". In theory that could work (after some delicate re-routing on the shield), but to my humble experience - maybe I'm wrong here - a software-based I2C will probably fail because it can be too demanding for this micro-controller.
I think a better approach will be to find some kind of analog-switch multiplexer IC, that will allow you to select from external analog inputs at will and read them using a single analog pin on the Arduino. Beware though that the IC itself may effect the signal - read the datasheet carefully!
I'm not sure about your 1st affirmation, jury is still out!
For the software based I2C, I think I need to be modest in my requests and leave "delay 10" in strategic places to give the ATMEL time to catch up.
If I was to redo this project, I would go the Raspberry Pi with the MCP3008 route. But 6 months ago I knew NOTHING about microcontrollers and chose using datasheets (missing the 6 analogue channels is really 4 marketing bullcrap).
Example of my readout:
millis stamp datetime temp wind cube2 cube3 cube4 cube5 vcc 999 1462238779 "2016/5/3 1:26:19" 22.19 351 237 473 1023 1023 5.03 1999 1462238780 "2016/5/3 1:26:20" 22.19 327 236 474 1023 1023 5.03 2999 1462238781 "2016/5/3 1:26:21" 22.19 321 243 473 1023 1023 5.03 3999 1462238782 "2016/5/3 1:26:22" 22.19 319 242 475 1023 1023 5.03 4999 1462238783 "2016/5/3 1:26:23" 22.19 317 242 475 1023 1023 5.03 5999 1462238784 "2016/5/3 1:26:24" 22.19 318 244 475 1023 1023 5.03 7000 1462238785 "2016/5/3 1:26:25" 22.19 318 250 475 1023 1023 5.03 8000 1462238786 "2016/5/3 1:26:26" 22.19 315 249 477 1023 1023 5.03 8998 1462238787 "2016/5/3 1:26:27" 22.19 318 251 480 1023 1023 5.03 9999 1462238788 "2016/5/3 1:26:28" 22.19 317 256 480 1023 1023 5.03
|