Adri67
Junior Member level 2
- Joined
- Aug 11, 2014
- Messages
- 24
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 267
Klaus, your understanding is still correct ...
What is needed is that 595A, as you called it, drives the liquidcrystal595 library (liquidcrystal595.h), and the 595B part drives the additional outputs at the same time. This is what I asked about at the start.
But I cannot put this together and make it work.
I find the SPI communication difficult to understand and especially using it for this purpose, i.e. to simply add a few outputs using a 2nd '595.
(Using alternative chips and methodolgy seems unnecessary because the '595-cascade should easily function.)
I have searched and found many suggestions of using 74HC595 in 'cascade' and 'daisy-chain' but none that can complete the picture using this LCD-library plus a few additional outputs.
In theory it should be very simple.
But I am not able to get that going and therefore asking for help.
(Experimenting/messing with the original liquidcrystal595 library so far has been unsuccessfull. Alas, I read that Steve Hobley, the author, perished at sea near Florida, USA in 2012.)
I am looking for help to complete this project. If someone can help it would be appreciated.
Much thanks in advance.
* two 595 connected in series:
* MOSI --> 595A_SER (LCD)
* 595A_QH´--> 595B_SER
* (optionlal: 595B_QH´--> MISO)
* all other control lines in parallel to both 595
Software:
* activate chipselect
* write 8 bits for 595B
* write 8 bits for 595A
* deactivete chipselect
What is needed is that 595A, as you called it, drives the liquidcrystal595 library (liquidcrystal595.h), and the 595B part drives the additional outputs at the same time. This is what I asked about at the start.
But I cannot put this together and make it work.
I find the SPI communication difficult to understand and especially using it for this purpose, i.e. to simply add a few outputs using a 2nd '595.
(Using alternative chips and methodolgy seems unnecessary because the '595-cascade should easily function.)
I have searched and found many suggestions of using 74HC595 in 'cascade' and 'daisy-chain' but none that can complete the picture using this LCD-library plus a few additional outputs.
In theory it should be very simple.
But I am not able to get that going and therefore asking for help.
(Experimenting/messing with the original liquidcrystal595 library so far has been unsuccessfull. Alas, I read that Steve Hobley, the author, perished at sea near Florida, USA in 2012.)
I am looking for help to complete this project. If someone can help it would be appreciated.
Much thanks in advance.