Hi, I hope this is the correct place to post this question. I am hoping someone can help me. I need someone to explain (in simple terms), how to set up a parallel in to serial out shift register to an 08M/18X, and how the 08M/18X should be coded to read all the inputs. I would like 16 inputs initially, but would like to expand as needed.
Here is my idea:
08M/18X only sits and waits for a request as interrupt on serial bus from other picaxe chip. when receives request for info, 08M/18X checks state of all inputs, deciphers info, sends back info to other picaxe on serial bus. It's essentially a self diagnostic system. 1 picaxe waits for other to request state of this or that system, when received request, it checks and tells the other picaxe what is what, then continues to wait for next request. So far I have 12 high/low points to check, but will have more. speed is of no real issue either.(it can take as long as it takes)
Also if anyone could provide a basic schematic as to the hookup of the shift register to the picaxe that would be great
I know of 2 chips that can do this, 4014 and 74HC165. which one I should use I don't know, but I understand that there isn't much difference.I may be wrong.
Any and all help much appreciated.
Thanks
Here is my idea:
08M/18X only sits and waits for a request as interrupt on serial bus from other picaxe chip. when receives request for info, 08M/18X checks state of all inputs, deciphers info, sends back info to other picaxe on serial bus. It's essentially a self diagnostic system. 1 picaxe waits for other to request state of this or that system, when received request, it checks and tells the other picaxe what is what, then continues to wait for next request. So far I have 12 high/low points to check, but will have more. speed is of no real issue either.(it can take as long as it takes)
Also if anyone could provide a basic schematic as to the hookup of the shift register to the picaxe that would be great
I know of 2 chips that can do this, 4014 and 74HC165. which one I should use I don't know, but I understand that there isn't much difference.I may be wrong.
Any and all help much appreciated.
Thanks