I am building a tracked robot which will need to be able to find its charging station. I have two ideas for how this might work.
1. On the charging station, an IR LED flashing at, perhaps, 1kHz. On the robot, an IR photo-transistor in a tube to make it more directional. Then move the robot to find maximum received 1kHz signal. The MCU (Pic) would need to remove possinle interference from fluorescent or LED lamps and sunshine. Perhaps just a high pass filter? How to implement this?
2. On the charging station, two LEDs flashing at different rates, arranged horizontally with a vertical screen between them. Now the photo-transistor will receive one frequency if to the left of the station and a different frequency if to the right. The MCU will need to be able to reject interference as above but now also needs to be able to distinguish the two frequencies. How best to implement this?
1. On the charging station, an IR LED flashing at, perhaps, 1kHz. On the robot, an IR photo-transistor in a tube to make it more directional. Then move the robot to find maximum received 1kHz signal. The MCU (Pic) would need to remove possinle interference from fluorescent or LED lamps and sunshine. Perhaps just a high pass filter? How to implement this?
2. On the charging station, two LEDs flashing at different rates, arranged horizontally with a vertical screen between them. Now the photo-transistor will receive one frequency if to the left of the station and a different frequency if to the right. The MCU will need to be able to reject interference as above but now also needs to be able to distinguish the two frequencies. How best to implement this?