- fchao-Sinus-Wechselrichter AliExpress         
Ergebnis 1 bis 9 von 9

Thema: Ultrasonic Sensor (SRF08) to Rp6

Hybrid-Darstellung

Vorheriger Beitrag Vorheriger Beitrag   Nächster Beitrag Nächster Beitrag
  1. #1
    Erfahrener Benutzer Robotik Einstein Avatar von i_make_it
    Registriert seit
    29.07.2008
    Ort
    Raum DA
    Alter
    55
    Beiträge
    2.814
    Address information for the SRF08 you can find in the document:
    http://coecsl.ece.illinois.edu/ge423...onicRanger.pdf

    On Page 3 you will find:
    The default shipped address of the SRF08 is 0xE0. It can be changed by the user to any of 16 addresses E0, E2, E4, E6, E8, EA, EC, EE, F0, F2, F4, F6, F8, FA, FC or FE, therefore up to 16 sonar's can be used. In addition to the above addresses, all sonar's on the I2C bus will respond to address 0 - the General Broadcast address. This means that writing a ranging command to I2C address 0 (0x00) will start all sonar's ranging at the same time.

    If your SRF08 is brand new it will respond on address 0xE0.
    If it is a used one, you don't know, if the former owner has changed the address.
    Then you can start Ranging with Address 0x00 and poll all 16 posible addresses for a value.
    So you can find out the address.
    Geändert von i_make_it (28.02.2018 um 06:50 Uhr)

  2. #2
    Erfahrener Benutzer Robotik Einstein Avatar von Dirk
    Registriert seit
    30.04.2004
    Ort
    NRW
    Beiträge
    3.803
    Hi arnob,

    You don't need additional pullup resistors on the RP6.
    Gruß
    Dirk

  3. #3
    Neuer Benutzer Öfters hier
    Registriert seit
    23.02.2018
    Beiträge
    6
    It worked with #define SRF_ADR 0xE2
    No pull up resistors. now terminal shows distance of objects.

    Thnaks a lot.

Ähnliche Themen

  1. Antworten: 6
    Letzter Beitrag: 09.10.2014, 14:44
  2. Include ultrasonic.h
    Von Jozo im Forum Asuro
    Antworten: 16
    Letzter Beitrag: 14.06.2014, 09:38
  3. Ultrasonic Sonar Range Finder als I2C Slave (wie SRF10)
    Von uffi im Forum Sensoren / Sensorik
    Antworten: 2
    Letzter Beitrag: 04.05.2008, 19:50
  4. SRF08 Eigenschaften
    Von Chris29 im Forum Sensoren / Sensorik
    Antworten: 1
    Letzter Beitrag: 19.02.2007, 15:33
  5. SRF08 sensor bei schrägem einfalwinkel
    Von fornax im Forum Sensoren / Sensorik
    Antworten: 6
    Letzter Beitrag: 20.01.2005, 14:00

Stichworte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

12V Akku bauen