Hello!
My goal was to upgrade my rescue robot by putting more ultrasonic sensors on it that will communicate with robo TX controller by i2c.
I bought some HC-SR04 ultrasonic sensors. As robo TX controller couldn´t detect signal from this distance sensors (HC-SR04 sensor sends a signal on its eccho pin when requested by its trigger pin, only problem was that it sends a signal that is only a few microseconds long, and fischertechnik TX is too "slow" to detect that short signal).
So I decided to buy an arduino which is compatible with HC-SR04 sensors, my idea was that arduino would process data from several HC-SR04 sensors and send their values to robo TX controller by i2c on its ext2 port.
I managed to read distance from sensors on arduino, also managed to send data from TX to arduino, but I dont know how to send data (sensor distance) from arduino to TX controller via i2c.
I found a page on Rei Vilo´s fischertechnik corner, but I don´t understand the program, and a part of it is "missing".
link to the page -->
http://reivilofischertechnik.weebly.com ... rface.html
So shortly I need someone to either explain me the program on Rei Vilo´s page, or if someone would be so kind and post/send me an arduino program that sends data from arduino to robo TX controller (when requested(if necessary)).
I would be very grateful if someone would help me with my problem.
Thanks

,
Drugovi