德源科技 
德源科技德源科技
公司簡介訂購方式匯款確認檔案下載 聯絡我們保固說明訂單查詢討論區
電子郵件:

密碼:

忘記密碼
加入會員
  首頁 | 原廠 Arduino® | 特殊服務設計 | 轉接座及轉接板/麵包板 | 開發板/燒錄器/模擬器 | 相容 For Arudino® 週邊及配件 | OKdo系列 | Saleae 系列 | Adafruit 系列 | ArduCam 系列 | Camera 攝像頭 | ROCK 系列 | Debix系列開發板 | Raspberry Pi 樹莓派 | Banana Pi 香蕉派 | BeagleBone 狗骨頭 | M5Stack系列 | Micro:bit (BBC)系列 | NVIDIA Jetson Nano系列 | Pololu 系列 | Pycom 系列 | Seeed 系列 | Sparkfun 系列 | WeMos 系列 | 傳感器 | Cubieboard/CubieTruck系列 | Firefly 系列 | Microduino系列 | Orange Pi 香橙派 | PCB板 | PLC 系列 | Robot 機器人 | UDOO 系列 | RedBearLab 系列 | LattePanda系列 | LittleBits 系列 | Libelium 系列 | Luxonis 相機系列 | PCduino | RobotElectronics 系列 | MageDok 顯示屏 | LCD/LCM/TFT/LVDC | Dimension Engineer 系列 | 通訊模組 | 影音器材(含轉換器) | 線材/連結器/轉換器 | 測量儀器 | 馬達/馬逹控制器/電源模組 | 其他 | 焊接/維修工具 | IC零件 | LED燈-裝飾燈 | 工作站迷你電腦 mini PC | 擴大器 | 雕刻機 | 電池 | 電腦周邊 | 檢定考套件 | 停售商品
  首頁 » 商品目錄 » RobotElectronics 系列 » Ultrasonic Rangers » SEN071
商品搜尋 進階
 |  購物車內容  |  結帳   
商品分類
  Cameras
  Compass Sensors
  DMX512
  Drive Systems
  InfraRed Rangers
  Motor Controllers
  Processor Modules
  Relay Module
  RF Module
  Robot Kits & Bases
  Serial Interface
  Serial LCD Displays
  Servo's & Controllers
  Thermal Sensors
  Ultrasonic Rangers
  USB to I2C
Arduino
Pololu
Seeed
Sparkfun
robot-electronics
dimensionengineering
libelium
adafruit
udoo
redbearlab
Arducam
goembed
Saleae
okdo
服務台
公司簡介
退換貨服務
訂購方式
聯絡我們
匯款確認
[<< 前一頁]  瀏覽相同分類產品 6 / 10  [下一頁 >>]
SRF485WPR防水超聲波傳感器 RS485接口防水探頭超聲波 SEN071
NT$1,850
運費NT$50
條碼SEN071
產品說明0

 

SRF485WPR Ultrasonic range finderTechnical Specification

Note - This sonar has a waterproof transducer, not an underwater transducer. It is designed for operation in air.

Specification
Voltage - 12vdc (8vdc - 14vdc)
Current - 10mA
Range - 60cm - 5meters
Temperature Compensation - -30 to +50 centigrade
Size - 40.5mm x 40.5mm (1.6" x 1.6")
Mounting - 30.5mm x 30.5mm (1.2" x 1.2")
Transducer - 25mm dia. centrally mounted.

Overview
The SRF485WPR is a water resistant single transducer ultrasonic ranger. The SRF485WPR uses the RS485 standard for communications, for up to 127 modules on each RS485 bus. The SRF485WPR features an on-board 5v power regulator which can be supplied from 8vdc to 14vdc. Both power and RS485 signals are supplied to the module via a 10pin IDC connector, making cabling a large number of modules very easy. The Range of the SRF485WPR is 60cm to 5meters. 

RS485 CommunicationThe SRF485WPR modules are connected using the RS485 bus. Up to 128 transceivers can be connected to the same bus, so you can have up to 127 SRF485WPR modules plus the controller.
Serial data is fixed at 38400 baud 1 start, 2 stop and no parity bits. Control of the SRF485WPR's is by sending frames of data to the module and then listening for the response. Each SRF485WPR has a unique 24-bit address which we program in during manufacture. The data frame you send to the SRF485WPR is:

Break Command AddressH AddressM AddressL Data Check Sum

Break - is defined as a continuous low in excess of 22 bit periods, followed by a high of 2 bit periods. Each bit is 26uS at 38400 baud, so 22 * 26uS = 572uS, it's ok to be longer.
Command - is one of a number of commands that the SRF485WPR will respond to. See below for details.
AddressH,M,L - is the 24-bit address of the module you wish to communicate with.
Data - Is the data you wish to send to the module, zero (0x00) if nothing is required by the command.
Chksum - is the 1's compliment (bitwise negation) of the sum of all the previous bytes (not counting the break).

The module will respond with a variable number of bytes, 0 to 4 depending on the command, but the transmit frame is always the same, a break followed by 6 bytes. See Commands section below for details.

Connections
The connections to the SRF485WPR are shown below. There are 4 pins for the 12vdc supply, these are connected together on the PCB. The two pins in the middle are the RS485 signals, + is nearest the edge of the PCB and - is on the inside. The last 4 pins are 0v Ground and are connected together on the PCB. 

CommandsTo send a command to the SRF485WPR, you need to send a data frame as described above. There are two commands to initiate a ranging (80 and 81), to produce the result in inches, or centimeters. These two commands don't Transmit the result back to your controller. You should wait 70mS and then use command 94 or 105 to get the result of the ranging. Another set of two commands (83 and 84) do the same, but also transmits the temperature compensated result of the ranging back to your controller as soon as it is available. 
Command 93 is used to get the SRF485WPR version. This command will return 4 bytes:
Byte1 is the module type, 0x03 for the SRF485WPR.
Byte2 is the Hardware Version,  0x01 for the current PCB.
Byte3 is the Software Version, currently 0x01.
Byte4 is the Modules Group number, this will be in the range 0x00 to 0x7F (0-127).
Command 94 returns two bytes (high byte first) from the most recent ranging. Put them together to make a 16-bit result.

Command Bytes Returned Action
Decimal Hex
80 0x50 0 Ranging Mode - Result in inches 
81 0x51 0 Ranging Mode - Result in centimeters
83 0x53 2 Ranging Mode - Result in inches, automatically Tx range back to controller as soon as ranging is complete.
84 0x54 2 Ranging Mode - Result in centimeters, automatically Tx range back to controller as soon as ranging is complete.
       
93 0x5D 4 Get  Version - sends 4 bytes back to the controller
94 0x5E 2 Get Uncompensated Range, returns two bytes (high byte first) from the most recent ranging.
       
101 0x65 0 Set Search Mode - Used to search for SRF485WPR's on the bus
102 0x66 0 or 1 Less Than - Used to search for SRF485WPR's on the bus
103 0x67 0 Set Group - Sets the group number (0-127) that this sonar belongs to.
104 0x68 2 Get Temperature - returns the temperature in degrees centigrade, as a 16bit signed word, high byte first
105 0x69 2 Get temperature compensated range, returns two bytes (high byte first) from the most recent ranging.

Here is an example of sending a ranging command to a SRF485WPR located at address 0189AB. 

Break Command AddressH AddressM AddressL Data Check Sum
 600uS Low
50us High
0x51 0x01 0x89 0xAB 0x00 0x79

The check Sum is calculated as the low byte of  ~(0x51+0x01+0x89+0xAB+0x00).
0x51+0x01+0x89+0xAB+0x00 = 0x0186
The bitwise not of 0x0186 is 0xFE79
We use the low byte of that, 0x79
The above command will start the SRF485WPR at 0x0189AB ranging in centimeters.  After 70mS the result will be available. You should then use the GET RANGE command (0x5E) to retrieve the result.  

AddressingEach SRF485WPR has a unique 24-bit address programmed into it during manufacture. This address can be found by doing a search, see below. There are a number of addresses that selected commands will respond to. These are:
Its own unique address, an SRF485WPR will respond to most commands to its own address.
Address 0x000000, used where you need all SRF485WPR's to respond to a command, such as start ranging, or setting search mode.
Address 0x000001, used where you need all SRF485WPR's belonging to a specified group to respond to a command, such as start ranging, 
Every Address, only the LESS_THAN command will respond to this, and only if its internal address is less than the one you send.

GroupsYou can ignore the groups feature if you do not require it.
Each SRF485WPR sonar can belong to a "group". The purpose is to allow a selected range (or group) of SRF485WPR's to all start ranging at the same time. It is similar to sending a ranging command to address zero, which causes all SRF485WPR's to start ranging. A potential problem with this is if the SRF485WPR's are too close together, they may interfere with each other. By arranging alternate SRF485WPR's to be in a different group, you can have, say, units 1,3,5,7 etc ranging, and next time units 2,4,6,8 ranging.
Even if your SRF485WPR's are not close enough to interfere, groups have the advantage of allowing you to do the ranging on one group, whilst getting the ranges from the previous group, which makes more effective use of the busses bandwidth.  To set the group number, send the SET_GROUP command (0x67) to the SRF485WPR's actual address. The group number is stored in EEPROM, and only has to be sent once. This example sets the group number of the sonar at address 0x0189AB to 0x01.

Break Command AddressH AddressM AddressL Data Check Sum
 600uS Low
50us High
0x67 0x01 0x89 0xAB 0x01 0x62

To start all SRF485WPR's in group 0x01 ranging, send your chosen ranging command to address 0x000001 with the group number in the data byte, like this:

Break Command AddressH AddressM AddressL Data Check Sum
 600uS Low
50us High
0x51 0x00 0x00 0x01 0x01 0xAC

The default group number is 0x00, so I would recommend that you avoid using that one in your application.

Searching the RS485 bus for Sonar'sThe SET_SEARCH command (0x65) is used to place all SRF485WPR's on the bus into a search mode, and must be used at address zero (0x000000) to do that. Only SRF485WPR's that are in search mode will respond to the LESS_THAN command. The following will place all SRF485WPR's into "search mode".

Break Command AddressH AddressM AddressL Data Check Sum
 600uS Low
50us High
0x65 0x00 0x00 0x00 0x00 0x9A

The LESS THAN command is used to search for and find the addresses of all SRF485WPR's on the bus. Every SRF485WPR whose unique internal address is less than the address supplied with the command will respond by sending back a single byte (0x00). They do this all at the same time, so you will just receive a single byte. Those SRF485WPR's whose address is equal to, or greater than the supplied address will not respond. For example if you send this command frame:

Break Command AddressH AddressM AddressL Data Check Sum
 600uS Low
50us High
0x66 0x80 0x00 0x00 0x00 0x19

Then all SRF485WPR's whose internal address is in the range 0x000000 to 0x7FFFFF will send back the response byte. The value of the response byte is 0x00, but that is irrelevant. It is the presence or absence of a response that is important. The response, if there is one, will be immediate so if you have not received anything after 500uS, then you're not going to. Make sure you time out in your receive routine. 
So how do you use this to find the addresses of all SRF485WPR's on the bus? 
First, the SET_SEARCH command must be sent to address 0x000000 so that all SRF485WPR's are placed into search mode.This is where it gets a little harder to follow: 
Send the LESS_THAN command with address 0x800000. If you get a response then there are one or more SRF485WPR's whose address is between 0x000000 and 0x7FFFFF. Now you can narrow it down further by sending the LESS_THAN command with address 0x400000. If you get a response then you know there are one or more SRF485WPR's between addresses 0x000000 and 0x3FFFFF. If you didn't get a response then the address would be between 0x400000 and 0x7FFFFF. If there was a response, do it again with address 0x200000. If not then address 0x600000. This is similar to the way an Analog to Digital converter works, by successive approximation. Using this technique any address can be found in 24 steps. The SRF485WPR found will be the one with the lowest address. Once found you should read the version of that SRF485WPR using the GET_VER command. This will reset the search mode for that SRF485WPR, so it will take no further part in the search process. 
Now you can repeat the process to find the next SRF485WPR, and so on...

It's a lot harder to say than it is to do, the code is actually quite simple. Here is the core routine to do the job, written in c. It assumes the SET_SEARCH command has already been sent.

long Find_SRF485WPR(void)
{
long Walk = 0x800000;                // used as a bit walker to calc next address to search
long Addr = 0x800000;                // start by looking for 0-7fffff range 
char x;
   do {
      SendFrame(LESS_THAN, Addr, 0); // All SRF485WPR's whose address is less than Addr, will respond
      x = serin485();                // this times out after 500uS and returns 0xFF
      if(x==0) Addr ^= Walk;         // Must be greater or equal to Walk, so merge
      Walk >>= 1;                    // shift the bit walker
      Addr |= Walk;                  // and generate next test address
   }
   while(Walk);                      // repeat until the full address of SRF485WPR is found
   SendFrame(GET_VER, Addr, 0);      // Get the version of this SRF485WPR to reset its search mode.
   serin485();                       // module id - just get and discard these.
   serin485();                       // hardware version
   serin485();                       // software version 
   serin485();                       // group number
   return Addr;                      // Return the SRF485WPR's address, it will be 0xFFFFFF if none found 

}

問與答

目前沒有任何商品問答!
本商品上架日期:2010-09-27.
評價
建議購買的商品清單!可以參考看看喔
URM04 V2.0 超聲波測距模組 RS485接口 / SEN002
URM04 V2.0 超聲波測距模組 RS485接口 / SEN002
購物車 更多
1 x 型號:B020701,樹莓派 RPi 通用:Arducam 8MP IMX219 Pi Camera V2 帶殼
1 x M5Stack ADC模塊,16位 GROVE/I2C 模數轉換器 (ADS1100) 0~12V
1 x #●FC-20P排線壓好頭20pin針JTAG連接線2.54mm數據通訊線一對一(20CM)
1 x ALTERA FLEX EPF10K10開發試驗板
1 x ZR011 加熱散熱雙調兩用溫控器電箱可調溫控開關 溫控器 溫控 開關
1 x ○*Grove-Starter Kit for Photon 入門套件 傳感器套件 可配RedBearLab用/110060
1 x ●B0103,Arducam原廠 樹莓派 攝像頭 8MP Sony IMX219 Camera (M12-3)
1 x ●WM8960 Audio Board 立體聲編解碼模塊(不含喇叭)
1 x 型號:B0035,Arducam 5MP 1080p OV5647 NoIR夜視攝像頭 M12鏡頭*0.5 樹莓派Pi 4/3B
1 x ▼飛凌 RK3568 (工業級/2G+16G) Linux 核心板 3568J 開發板 ARM 安卓鴻蒙系統
1 x 【型號:YF-7 / 5V 直流】兩路 2路 延時繼電器模塊 脈衝觸發 斷電循環 定時電路 開關電路
1 x Raspberry Pi Pico 配件 Maker Pi Pico Base(103030396)
1 x Devkit3250評估套件--全配,含7"
1 x ●(DC5V 7歐)微型電磁鐵 通電彈出擊打式 敲打式 微型貫穿式電磁鐵
1 x ●樹莓派 Raspberry Pi 專用 7寸屏腳架/桌面一體 (機架套件)
1 x GAL16V8
1 x Kitronik MI:power Board V2(DEV-17852)
1 x *●樹莓派Raspberry Pi 3B+ 散熱片(3片式,2+1銅片)帶散熱膠,Pi3 Pi3B Pi3B+ Pi2
1 x W78E052C
1 x 1.5寸OLED液晶屏模塊白SSD1327驅動I2C通信兼容UNO R3 STM32
1 x 3G視頻監控報警器 可與多種報警器連接315MHz (附緊急報警按鍵)
1 x DFR原廠 IO Expansion HAT for Raspberry Pi Zero/Zero W (DFR604)
1 x 10.3inch e-Paper (D)(裸屏),10.3寸 墨水屏 1872×1404 黑白
1 x 型號:B0207+B0184,樹莓派 RPi 通用:Arducam 8MP IMX219 Pi Camera V2+低失真鏡頭
1 x 4通道立體聲音頻信號選擇板 12-15V
1 x ATMEGA88V-10PI
1 x #●(現貨)樹莓派 Raspberry Pi Zero WH / Zero 無線版 (帶排針)
1 x ●香蕉派 Banana Pi M2+(H2+) (BPI-M2+) 四核開發板 全志H2+ 1GB DDR3 RAM
1 x ▼飛凌 OK3568-C【商業級/1G+8G 標配】ARM Linux 開發板 RK3568 核心板 安卓系統 AI智能千兆雙網
1 x ATTINY2313-20PI
1 x DVPACAB2A30適用於台達PLC編程電纜 台達DVP系列數據下載線
1 x ●Sparkfun原廠 Third Hand Kit 第三隻手 PCB焊接小幫手 焊接助手裝機台 二爪工作台TOL-11784
1 x $E9 mini PC 卡片式電腦 四核ARM Cortex-A9內核Freescale i.MX6Q處理器2G DDR3
1 x ▼●PiRacer AI Kit 配件包(不含Pi4B、16G卡),AI人工智能小車 DonkeyCar 自動駕駛深度學習
1 x AT89C4051-24PC
1 x 78號 儀表鋁 金屬型材外殼 屏蔽殼網絡接線鋁殼 (78號:46(高) x 110(寬) x 130(長)
1 x MSP430F247開發板 學習板 最小系統核心板
1 x ●新款 樹莓派 Raspberry Pi3B Pi4B LED藍光風扇 5V 冷卻散熱器 (透明色+藍光LED) 3007
1 x 39SF020A
1 x ●reComputer NX 版本 【加購價】:電源線 X1條
1 x &●(現貨)樹莓派 Pi5B Pi5 RGB 風扇:炫彩 ICE Tower Cooler(立式風扇)Raspberry Pi
1 x ●有國際UL認證 Lattepanda 樹莓派 香蕉派 香橙派 5V 3A 電源 配Micro USB開關電源線 (可供電可傳輸
1 x $(預購)樹莓派 Raspberry Pi Compute module 4 (標準2GB RAM+32G eMMC) CM4
1 x GM8908數字風速儀 迷你型 數字風速儀 風速計 風溫儀 測風儀 風速表
1 x (YYAC-2)可控矽模塊 晶閘管控制板 觸發開關 直流控制交流220V 光耦隔離
1 x ●▼(特價,現貨*)英國原廠 Wall Mounting Bracket 壁掛支架 (MMP-0460)
1 x 所有IC零件
1 x C8051F020最小系統/開發板/學習板 F020核心板 8051兼容 CIP-51 8通道
1 x IV-18 前蘇聯 ИВ-18 螢光管 電子管時鐘 Energy Pillar.能量柱(成品)
1 x (需要請先詢價)OpenEP4CE6-C (標準版)Cyclone IV EP4CE6為主控芯片的開發板
1 x DC9-60V 400W 馬達驅動板,BLDC 三相直流無刷有霍爾電機控制器
1 x Arducam原廠 Pivariety 21MP IMX230 彩色相機模塊 for 樹梅派 (B0324)
1 x Iron Casing鐵殼 WPC-732用鐵殼
1 x PICO-BOX X7-ATX-500W 寬電壓 雙路輸入大功率 500W 數字 DC-ATX 電源
1 x *(5V藍屏)Arduino IIC/I2C 2004 LCD 藍色背光液晶模塊 藍底白字
1 x *#樹莓派 CM4 IO套件(配件包C/不含核心板):Compute Module 4 PoE Board (藍板)
1 x 樹莓派 Raspberry Pi 3 Model A+ 主機板 Pi3A+ Plus
1 x DotStar Digital LED Strip - White白色 144 LED/m - 0.5米 (ada2329)
1 x 嵌入式 多媒體RED2 EP2C35套件 DE2+500萬相機模塊
1 x *缺貨,NVIDIA JETSON AGX Xavier Developer Kit 開發套件 入門套件 (32G內存+32G
1 x ▽●特惠價(M450主機+支架)語音提示器迎賓器 紅外可錄音插卡感應門鈴報警器
1 x PIC24FJ96GA008主控板(BB-655)
1 x ▽●(特價,現貨)八路 8路串口繼電器12V控制板 帶光電隔離
1 x ●*(現貨)散熱片組:1大正方形+2長方形,NanoPi-A64 可用
1 x ▽●(現貨)Z2-ATX-160W 大功率 直插 電源模組
1 x &●(現貨/特價*)原廠 MLX90640-BAB IR Thermal Camera Breakout熱像儀 55度 ada4
1 x ADS1115模塊 模數模塊 16位AD模塊 4路AD模塊 可測量高電壓
1 x ●樹莓派 Raspberry Pi Camera 連接線 FFC/FPC扁平電纜插座軟排線(間距1mm 反向15p)25CM長
1 x Cubieboard4 CC-A80八核開發板超越樹莓派,香蕉派,pcduino
1 x LattePanda V1 專用 傳感器連接線 Gravity Sensor Cable (10條)
1 x PLC工控板 24VDC供電 30MR 在線下載 編程 下載 調試 監視 文本 斷電保持(RELAY)
1 x F15 ABS防水膠箱 防水盒 塑料外殼 內外防水接線盒 儀表外殼(F15:230(長)x150(寬)x85(高)
1 x *DEXTER原廠 樹莓派 外殼 BrickPi Upgraded Case (不含樹莓派 Pi3主板)
1 x &●樹莓派 Raspberry Pi Zero 不帶無線功能(單主板,不帶排針)
1 x &●(現貨)PiJuice HAT(UPS擴展板),Pi Portable Power Platform 樹莓派便攜式電源平台
1 x Raspberry Pi 樹莓派 Pi2 Pi3 適用(WPC-632-2)Web Based Programmable Con
1 x $原廠 PocketBeagle 開發版 (DEV-14919)
2 x 編碼器脈衝訊號 分配器(ABZ相高速)1分2路 NPN輸出-5V輸入,5V輸出+5V輸出
1 x atmega128開發板 AVR開發板 128開發板 M128學習板 AVR最小系統
1 x ●CAT6E CABLE高速網絡跳線 cat6 1M 1米,網路線 RJ45 接口
1 x 2019年最新 樹莓派 課程 Pi4B 實作課程 報名處...
1 x 86BYG-250-113長 步進馬達+新ZD-2HA860驅動器(含風扇)+ 400W 48V 開關電源 套裝
1 x $BBC Doctor Who HiFive Inventor Kit (基本套件) (DEV-17596)
1 x 三菱PLC控制器 FX1N 22MT 220V供電 模擬量 溫度控制 (NTC輸入直接測溫) 22MT-04
1 x &$●US美規 樹莓派 Raspberry Pi 400 (不含配件 不含書) pi400
1 x $新唐 NuTiny-M051L 開發板
1 x #*Duckietown 小鴨車 自走車 學習套件 (含Pi3B主板+32G卡+電源),可升級Pi3B+主板
1 x ST25R3911B NFC Board / NFC開發套件 NFC讀寫器帶STM32F103改AT32F413RBT7主控板
1 x LattePanda Alpha & Delta 專用外殼 Titan Case (FIT550)
1 x >(1代)SPF原廠 SmartiPi Touch Back Cover 觸控後蓋 (大) (COM-14572)
1 x ▼●(特價,現貨)占美雲終端FL300/FL400電腦終端機 雲終端 拖機卡 共亨器瘦客戶機
1 x *創見Transcend 16G C10 microSD卡 (帶 樹莓派NOOBS資料) RPi SD
1 x ●七口 usb分線器 USB擴展口 usb集線器多接口 hub2.0轉換器 不含電源
1 x M5Stack UNIT Gesture 手勢識別 傳感器模塊,LED紅外感應 PAJ7620U2 人機交互 I2C
1 x W78E516B
1 x GMV2 手持蓋革計數器/大理石放射/個人劑量/核輻射檢測/採礦石/測量儀
1 x CPLD EPM240T100C5 核心板 FPGA開發板
1 x Solar Power Manager 太陽能電源管理模塊 6V~24V 太陽能板充電模塊
1 x $Servo - Generic High Torque (Standard Size) FS5106B舵機 ROB-11965
1 x 30A 放電電流(同口/分口) 鋰電池保護板 大電流 帶均衡功能 逆變器 太陽能路燈專用 保護板
1 x 89C58RD+
1 x ATMEGA8-16AU
1 x ▼●(特價,現貨)NVIDIA Jetson Nano 專用 RGB風扇: 新炫彩 Colorful ICE Tower CPU
NT$745,617
查詢訂單狀態
 
請輸入您的訂單編號
商品通知狀態 更多
通知SRF485WPR防水超聲波傳感器 RS485接口防水探頭超聲波 SEN071
更新時通知我
推薦給朋友
 
推薦這個商品給朋友

聯絡方式:手機:0933807110 或 0968222607
E-mail:[email protected](主要信箱) & [email protected](次要) & [email protected] & [email protected] & [email protected]