
Dave Jones of the EEVBlog often mentions how lucky you are when a circuit you're building or code you are writing
doesn't work as expected. Why? Because this is your chance to dig into the problem and do some troubleshooting to
understand the problem and correct it. It's your opportunity to
learn. If you encounter a similar problem in the future, you have a head start on solving it.
Sadly, MrDEB, your approach to troubleshooting isn't to roll up your sleeves and dig into the problem to figure out what's wrong and how to correct it. Your approach is to abandon what you're doing and search out another "code" to copy, or maybe a different piece of hardware to use, without ever understanding the problem in the first place. This entirely short circuits what Randy Pausch and Dave Jones have said.
Before anyone takes offense at this or argues about it, look back through the 10 pages of this thread (or any other MrDEB thread for that matter), and see how many times "I found this new code. Maybe it will work better hopefully."
So far, seeing any meaningful results, once the hardware issue as found, are the result of
me typing out the code with the
three commands needed. But since seeing a wee bit of data that looks realistic, no progress has been made. Changing the gain pot which varies the level by a factor of 5 has resulted in the comment "it didn't change things much." But we don't know how this was tested, and we haven't seen any concrete examples. I suggested making 3 measurements with a high-level noise source to determine the range of levels coming from the ADC, and which direction the gain pot rotates. Literally 10 minutes of effort. But instead, MrDEB is off searching for different hardware. We have yet to see meaningful measurements from this hardware, yet MrDEB has determined that he needs more resolution from additional hardware he won't understand.
I'll get off my soap box now. This is nothing new and I shouldn't be surprised. It's incredibly frustrating to attempt to explain things, and know the effort is for naught. Until and unless some meaning measurements are made, there's nothing more to be done here.