Hallo zusammen,
ich habe mal eine Frage:
Sendet der Ultraschallsensor eigentlich dauernd Ultraschallwellen aus oder kann man das nur bei Bedarf machen um Interferenzen zu vermeiden ?
Viele Grüße
Marco
ultraschall sensor nur bei bedarf einschalten
Forumsregeln
Bitte beachte die Forumsregeln!
Bitte beachte die Forumsregeln!
- Dirk Fox
- ft:pedia-Herausgeber
- Beiträge: 1833
- Registriert: 01 Nov 2010, 00:49
- Wohnort: Karlsruhe
- Kontaktdaten:
Re: ultraschall sensor nur bei bedarf einschalten
Hallo Marco,
einfachste Lösung: schließ' die Stromversorgung des Sensors an einen Lampenausgang an und schalte sie nur bei Bedarf ein.
Grüße, Dirk
einfachste Lösung: schließ' die Stromversorgung des Sensors an einen Lampenausgang an und schalte sie nur bei Bedarf ein.
Grüße, Dirk
Zuletzt geändert von Dirk Fox am 10 Jan 2014, 14:11, insgesamt 1-mal geändert.
Re: ultraschall sensor nur bei bedarf einschalten
I would have to test this because I don't know for sure but I think the pulse is triggered by a request from the input it is connected to. All ultrasonic inputs are interrogated in a sequential fashion. The reason to link the pulse to the interrogation is that it guarantees that multiple sensors will not pulse at (almost) the same time and get confused by eachother's pulses or echoes. If this is true you could mute a sensor by setting the input to something else than 'ultrasonic'. I don't think this can be done programmatically in RoboPro (fixed interface setting), but it can be in "C". You can actually hear the sensor when it is transmitting, of course not the 40kHz but when you listen carefully you can hear the pulses as clicks.
Re: ultraschall sensor nur bei bedarf einschalten
Vielen Dank, das mit dem Lampenausgang ist ja wirklich eine gute Idee...
;-)