TCS3472 and PIC16F877A

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
monterdekeanu17@gmail.com
Posts: 1
Joined: 08 May 2024 17:20

TCS3472 and PIC16F877A

#1 Post by monterdekeanu17@gmail.com » 08 May 2024 17:22

Hi everybody, how can I read the colors from the TCS3472 using the PIC16F877A? I appreciate any form of help guys thank you! (I'm a pure newbie)

paulfjujo
Posts: 1558
Joined: 24 Jun 2007 19:27
Location: 01800 St Maurice de Gourdans France
Contact:

Re: TCS3472 and PIC16F877A

#2 Post by paulfjujo » 09 May 2024 08:46

hello,


You need to use a I2C bus ..to dialogue with TCS3472
then use a LCD or Terminal PC to display your data

i give you a starting example for 16F877 wich use I2C for a RTCDS1307 ,and read & write to an EEPROM 24LC256
Display infos on a Nokia LCD ( from old phone) or Nokia5510 or ...use a I2C LCD 4 lines 20chars
just add you device .... and some code to get the data and display them.

Another way ,but not tested by myself
Use Realterm terminal PC and
BL233 I2C to Serial Interface IC DIP18
Realterm software talks directly to the I2C-2-PC / BL233.
You can just talk write and read directly from any new serial bus IC with no programming at all.



16F877_Platine_Nokia_RS_24LC256_140628.zip
(30.64 KiB) Downloaded 8 times

Post Reply

Return to “mikroC PRO for PIC General”