Tagged: sensor array / Digiclock
- This topic has 14 replies, 5 voices, and was last updated 8 months, 1 week ago by Martyn.
September 8, 2021 at 9:10 pm #5986Martyn
If you have any questions or need a helping hand with your SENSOR ARRAY kit, this is the place to be.
Post your question here and either I or someone in the community will help you out.
January 19, 2022 at 4:43 pm #6752Johan
am I correct that the BoM misses the ceramic capacitor of C8?
edit: nvm, just saw it was also mentioned in the manuals thread
February 13, 2022 at 1:46 pm #6840PBH
I just finished the sensor array and included it into my ‘double stack’ together with the digitiser (and motherboard of course). All sensors seem to be working alright and I am working myself through the software and learning C++ on the way. Thank you!
However, after testing all the sensors I returned to the Digital Clock and found that the microphone input somehow switches the different clock outputs (in stead of through the switch SW1 of the digitiser). Turning down the microphone input with RV1 solves the problem. Where do they connect? Solution?
February 14, 2022 at 7:52 pm #6846Martyn
Hey there! Could you let me know what connection diagram you followed, or maybe list what’s connected to what? Also, could you share the code or let me know what sketch you uploaded? I’ll have a better idea of what’s going on then.
February 15, 2022 at 11:59 am #6851PBH
I did some fault-finding, but cannot resolve the problem. Here is what I did:
I’ve now assembled the motherboard, digitiser and sensorarray. The motherboard and digitiser worked perfectly together and I ran the Digiclock sketch that worked fine. Wiring in accordance with the project idea in the digitiser manual (page 30). I’ve now also assembled the sensorarray and this also seems to work perfectly. I tested it with the sketches from the manual coding basics. The wiring is ‘added’ to the motherboard in accordance with the project idea “data logger”. Additionally I’ve written with your basics a sketch to show the microphone output on the digitiser. It works! Then I reloaded the original Digiclock sketch to have the clock again on my desk. The clock now switches indiscriminately between the different modes and it looks like this is influenced by the microphone. It reacts to sound and turning the pot RV1 changes the sensitivity in which it switches between the modes. When I disconnected the sensorarray (only VCC) the clock works again as supposed to.
I noticed that the wiring of the digitiser and sensorarray connect at the motherboard at D10 and A0. At A0 Switch1 and the microphone come together. As I supposed this to be the problem, I reconnected the sensorarray Mic to A4. The microphone remains working fine with the software change: “const int MIC = A4”. My own sketch to show the microphone values on the digitiser also works. Hooray! I thought to have found the problem.
HOWEVER. Now the RTC seemed to go haywire (none of the RTC sketches work and your sketch to show the date via the Serial Monitor had weird values). Moreover the Digiclock sketch shows no values at all (My sketch to show the microphone on the digitiser still works). So, I returned the connection of Mic back to A0 and I am back were I started. Everything seems to be working fine, accept for the Digiclock sketch that changes modes by microphone input. What I see as another possibility is the common connection to D10, where the digitiser OE and the sensorarray CS come together. I do not understand enough of the boards to comprehend its influence on my problem.
February 15, 2022 at 1:27 pm #6852Martyn
That sounds like you need to re-assign the conflicting connections, which you figured out yourself. However, A4 is one of the I2C pins, which the RTC uses to communicate with the microcontroller.
If I’m understanding you, you want the datalogger + clock together. I would wire it like this (making sure you change the code to reflect the changes):
D10_(PWM)________SENSOR ARRAY CS
D11_(PWM)________SENSOR ARRAY Din
D12______________SENSOR ARRAY Dout
D13______________SENSOR ARRAY CLK
A0_______________DIGITISER SW1 (can use any pin)
A1_______________DIGITISER POT (needs analog pin)
A2_______________SENSOR ARRAY MIC (needs analog pin)
A3_______________SENSOR ARRAY LDR (needs analog pin)
A4_(I2C)_________MOTHERBOARD RTC (Internally connected)
A5_(I2C)_________MOTHERBOARD RTC (Internally connected)
Note that I removed SW2 as it isn’t used in any of the sketches. You could add it back in by connecting it to one of the free digital pins like D7. If you want to add the RGB Matrix later, use 7, 8 and 9. But, you would have to sacrifice one switch or some functionality to achieve this.
You are troubleshooting well, you just need to know what each of the pins does. That will come with time and experience. Keep it up!
February 15, 2022 at 2:29 pm #6853PBH
Great! Thank you. Learning along the way
February 14, 2022 at 7:44 am #6844udenk
Could you recommend a SD card please.
February 14, 2022 at 10:37 am #6845PBH
The manual page 9 mentions “SD or SDHC ‘Micro SD’ cards up to 32GB”
February 15, 2022 at 5:59 pm #6855Martyn
I just bought 5 of these: https://www.amazon.co.uk/gp/product/B07C9PXHCC/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&psc=1
They work well, and are cheap too. Sorry, it’s a UK link, but I’m sure you can find something similar.
May 19, 2022 at 4:09 am #7104kkttbogart
Good gosh. If I have to solder any more surface mount I think I will puke. LOL I am too old for this crap. Oh well. Lets see what happens.
May 20, 2022 at 1:03 am #7112kkttbogart
Do I have to have it installed? Thanks
- You must be logged in to reply to this topic.