Greetings, Currently, I'm designing a project to sort objects using AT89C52 as the "brain" and TCS230 as the "eye". And so, it is neccessary for me to connect the AT89C52 with the TCS230 colour sensor and stepper motors. And before doing the real thing, i must know the frequency range of the sensor, i use leds to show me that. I designed this circuit which i'm not so sure about. The plan is to receive digital pulse from TCS230 colour sensor (J3), do something with the pulse with AT89C52, and send some output (J1 and J2). The output will be connected to board 2 or board 3. Board 2 is for displaying the RGB value from the sensor, while board 3 is for driving a 6V stepper motor. I'm worrying about the voltages and the currents. I've added some resistors to the circuit, but i'm just not so sure about it. Will the circuit work? Any suggestions? Please forgive me if my english is not too good. Thanks B4.