Lepidoptera_ece said:Can you post your schematics for us to asses your problem, by the way what PIC microcontroller are you planning to use???
gidimiz said:Hi,
Yes you can do what you wrote, or you can use Port Expanders like the:
MAX7301 28 ports with SPI interface.
MAX7310 8 ports with I2C interface.
MAX7311 16 ports with I2C interface.
Lepidoptera_ece said:gidimiz said:Hi,
Yes you can do what you wrote, or you can use Port Expanders like the:
MAX7301 28 ports with SPI interface.
MAX7310 8 ports with I2C interface.
MAX7311 16 ports with I2C interface.
i agree,. plus youll have lesser wires or connections which lessens your hardware debugging problems.....
gidimiz said:Hi,
Yes you can do what you wrote, or you can use Port Expanders like the:
MAX7301 28 ports with SPI interface.
MAX7310 8 ports with I2C interface.
MAX7311 16 ports with I2C interface.
Thet are better because you can get an interupt from them and only then read the IC. And also all off them can be connected togather to them data bus.
With your desigen you will have to scan all the ports over and over.
Good luck.
gidimiz said:Hi,
go to this web site link for I2C information:
http://www.microchipc.com/sourcecode/#i2c
The full specification for the I2C bus:
**broken link removed**
It will give you the examples that you need.
Also, i have included the ssample file that comes with the hi-t*ch compiler. I dont know if you can find it on the web, so here it is.
Good luck.
gidimiz said:Hi,
I2C:
Philips - PCA9534
and PCF8574
There are a lot on the market. I used the MAX so i know about them. I did a search on google for " i/o expanders ic spi" and i found lots of links.
If you will have a list, please post it here.
gidimiz said:Hi,
Please post your email or MSN and i will get intouch with you.
I do prefer to do that over the EDABoard so other people will also learn the problems that you had and how you overcome them. I have learned that people make the same mistakes and this board was built to share their experiance.
I do have the knolage to help you, just because i had the same problemes as you did and i hade to read all the files that i posted for you.
If you will read them you will see that you will incounter more probles but you will know how to over comethem with your understanding of the protocol.
After this short lecture, I will be more then happy to help, post your MSN here or your email and i will get intouch with you.
Good luck.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?