Hello Folks!
I need some help. Does anybody knows how to read the distance value from ultrasonic sensor using ordinary microcontroller (not ROBO TXC)? What is the type of the sensor interface: analog, ppm or serial?
Reading the Ultrasonic Sensor 133009
Forumsregeln
Bitte beachte die Forumsregeln!
Bitte beachte die Forumsregeln!
Reading the Ultrasonic Sensor 133009
==
ft-ninja
ft-ninja
Re: Reading the Ultrasonic Sensor 133009
Hello,
Use the port D1 or D2 for the Ultrasonic Senor.
But the 133009 is speciell for TX (better: 128597). Then you search in the main menu on the left side in RoboPro. There is input/output, where you
can find a symbol for port D1/D2 (right mouse klick to change)
If you connect this with a variable, you'll see, if you start the
program, numbers. This is the distance in cm.
Regards
Majus
By the way, first push the Ultrasonic in the Interface, then switch on the power
Deutsch:
Hallo,
Benutze Anschluss D1 oder D2 für den Ultraschallsensor. Aber der 133009 ist speziell für den Tx (besser: 128597)
Dann suchst du auf der linken Seite in RoboPro. Dort findest du Eingänge/Ausgänge, wo du ein Symbol für D1/ D2 findest (ändern mit rechter Maus). Mit einer Variable verbunden zeigt dir diese bei Start des Programms die Distanz in cm.
Gruß
Majus
Übringens: Erst den Sensor einstecken und dann Netzstrom einschalten.
Use the port D1 or D2 for the Ultrasonic Senor.
But the 133009 is speciell for TX (better: 128597). Then you search in the main menu on the left side in RoboPro. There is input/output, where you
can find a symbol for port D1/D2 (right mouse klick to change)
If you connect this with a variable, you'll see, if you start the
program, numbers. This is the distance in cm.
Regards
Majus
By the way, first push the Ultrasonic in the Interface, then switch on the power
Deutsch:
Hallo,
Benutze Anschluss D1 oder D2 für den Ultraschallsensor. Aber der 133009 ist speziell für den Tx (besser: 128597)
Dann suchst du auf der linken Seite in RoboPro. Dort findest du Eingänge/Ausgänge, wo du ein Symbol für D1/ D2 findest (ändern mit rechter Maus). Mit einer Variable verbunden zeigt dir diese bei Start des Programms die Distanz in cm.
Gruß
Majus
Übringens: Erst den Sensor einstecken und dann Netzstrom einschalten.
Re: Reading the Ultrasonic Sensor 133009
Hello Majus,
Thanks, I know how to read values from Sensor in ROBO Pro environment. My question is: Which is the type of signal is going from this sensor? How the distance is coded in this signal? I need this info to connect the Ultrasonic Sensor to the ATMega microcontroller.
Thanks, I know how to read values from Sensor in ROBO Pro environment. My question is: Which is the type of signal is going from this sensor? How the distance is coded in this signal? I need this info to connect the Ultrasonic Sensor to the ATMega microcontroller.
==
ft-ninja
ft-ninja
Re: Reading the Ultrasonic Sensor 133009
Hi ft-ninja,
I suppose that the 1-wire-bus is used because there are only two kables, but you could try to ask Fischertechnik or Knobloch directly. Maybe they will tell you.
But: Even if they tell you, you will not now the protocol.
Have you got a Ociloskope or an Logic analyzer? You could try to reverse engineer it.
In Deutsch:
Hi ft-ninja,
ich vermute, dass der 1-wire-bus verwendet wird weil man er ja nur zwei Kabel hat, aber du könntest probieren Fischertechnik oder Knobloch direkt zu fragen? Vielleicht sagen sie es dir ja.
Aber: Selbst wenn sie es dir sagen kennst du noch nicht das Protokoll.
Hast du ein Oszilloskop oder einen Logic Analyzer? Dann könntest du probieren das Protokoll durch "Reverse engineering" herauszufinden.
I suppose that the 1-wire-bus is used because there are only two kables, but you could try to ask Fischertechnik or Knobloch directly. Maybe they will tell you.
But: Even if they tell you, you will not now the protocol.
Have you got a Ociloskope or an Logic analyzer? You could try to reverse engineer it.
In Deutsch:
Hi ft-ninja,
ich vermute, dass der 1-wire-bus verwendet wird weil man er ja nur zwei Kabel hat, aber du könntest probieren Fischertechnik oder Knobloch direkt zu fragen? Vielleicht sagen sie es dir ja.
Aber: Selbst wenn sie es dir sagen kennst du noch nicht das Protokoll.
Hast du ein Oszilloskop oder einen Logic Analyzer? Dann könntest du probieren das Protokoll durch "Reverse engineering" herauszufinden.
Grüße/Regards,
André
André
Re: Reading the Ultrasonic Sensor 133009
Hello,
sorry, I thought, you wanted to know how to use the informations of the ultrasonic sensor in RoboPro. And I have asked this question here some month ago, because I wanted to buy one...
Regards
Majus
Übersetzung:
Hallo,
Entschuldigung, ich dachte, du wolltest wissen, wie man die Informationen vom Ulltraschallsensor in RoboPro liest. Und ich habe diese Frage hier vor einigen Monaten gestellt, weil ich mir Einen kaufen wollte...
Gruß
Majus
sorry, I thought, you wanted to know how to use the informations of the ultrasonic sensor in RoboPro. And I have asked this question here some month ago, because I wanted to buy one...
Regards
Majus
Übersetzung:
Hallo,
Entschuldigung, ich dachte, du wolltest wissen, wie man die Informationen vom Ulltraschallsensor in RoboPro liest. Und ich habe diese Frage hier vor einigen Monaten gestellt, weil ich mir Einen kaufen wollte...
Gruß
Majus
- schnaggels
- Beiträge: 389
- Registriert: 31 Okt 2010, 23:14
- Wohnort: Kelkheim
- Kontaktdaten:
Re: Reading the Ultrasonic Sensor 133009
Hi ft-ninja,
just read this post, did you find out the used US sensor protocol finally?
Thanks,
Thomas
just read this post, did you find out the used US sensor protocol finally?
Thanks,
Thomas