Hi all
Nice to see many of the same names in the forum from when I was last "playing" with PICAXE's a couple of years ago
At the moment we get wiring harnesses made, which we subsequently fit over a period of a few days. Unfortunately when we switch on we often find there are errors at the plug/socket pin-outs despite the suppliers supposed rigorous QA process!, which often results in hours tracking down the error(s), spliting the harness coverings, and re-pinning and/or re-routing. ...and no, changing harness makers isn’t an option! :-(
I have been asked to make a harness tester, the suggestion being supplying power to a couple of rotary switches, the second being a gang rotary switch, off the first, in effect making a matrix eg: 12 x (8 x 12) = 96 pinouts, and a matrix of 96 LED’s, to GND, one from every ganged switch pin, thus by sequentially rotating the switches any connected lines will illuminate the appropriate LED. Simple, but clumsy, and also reliant on people following a check sheet.
It’s a couple of years since I played with PICAXE & the like, but I figured I could use 2 or 3 pins on a PICAXE to trigger a few decade counters matrixed to replace the ganged rotary switches to sequentially feed power to a pin/wire one at a time , but how can I get the PICAXE(s) to determine which of the other 95 pins/wires are subsequently now active?
With a bit of homework I think I can work out how to store the results on EEPROM & send to a screen/PC based on my PICAXE projects a couple of years ago, but for the life of me, I cannot get my head around reading what pins are subsequently connected to the selected supply line! (there is probably a simple solution, but obviously I’m even simpler!! I have been looking through the forum for something similar, but no joy so far!)
Any ideas?
Nice to see many of the same names in the forum from when I was last "playing" with PICAXE's a couple of years ago
At the moment we get wiring harnesses made, which we subsequently fit over a period of a few days. Unfortunately when we switch on we often find there are errors at the plug/socket pin-outs despite the suppliers supposed rigorous QA process!, which often results in hours tracking down the error(s), spliting the harness coverings, and re-pinning and/or re-routing. ...and no, changing harness makers isn’t an option! :-(
I have been asked to make a harness tester, the suggestion being supplying power to a couple of rotary switches, the second being a gang rotary switch, off the first, in effect making a matrix eg: 12 x (8 x 12) = 96 pinouts, and a matrix of 96 LED’s, to GND, one from every ganged switch pin, thus by sequentially rotating the switches any connected lines will illuminate the appropriate LED. Simple, but clumsy, and also reliant on people following a check sheet.
It’s a couple of years since I played with PICAXE & the like, but I figured I could use 2 or 3 pins on a PICAXE to trigger a few decade counters matrixed to replace the ganged rotary switches to sequentially feed power to a pin/wire one at a time , but how can I get the PICAXE(s) to determine which of the other 95 pins/wires are subsequently now active?
With a bit of homework I think I can work out how to store the results on EEPROM & send to a screen/PC based on my PICAXE projects a couple of years ago, but for the life of me, I cannot get my head around reading what pins are subsequently connected to the selected supply line! (there is probably a simple solution, but obviously I’m even simpler!! I have been looking through the forum for something similar, but no joy so far!)
Any ideas?