OCCRA
Go to Post Students... be sure to drill air holes in the crate though. Maybe toss in some cheetos for the programmers. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-12-2018, 05:11 PM
tzaiger2018's Avatar
tzaiger2018 tzaiger2018 is offline
Registered User
AKA: Tyler Zaiger - Lead Programmer/Driver
FRC #6121 (RoboVikes)
Team Role: Programmer
 
Join Date: Jan 2018
Rookie Year: 2016
Location: Grayling, Michigan
Posts: 15
tzaiger2018 is an unknown quantity at this point
How to wire HERLV_MaxSonar Sensor

My team wants to use the HERLV_MaxSonar. We want to Wire it though a PWM wire. If annyone knows how to wire one of these though PMW, it would be greatly appreciated. Thank you.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-12-2018, 05:36 PM
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #2468 (Team Appreciate)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Austin, TX
Posts: 1,151
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: How to wire HERLV_MaxSonar Sensor

Quote:
Originally Posted by tzaiger2018 View Post
My team wants to use the HERLV_MaxSonar. We want to Wire it though a PWM wire. If annyone knows how to wire one of these though PMW, it would be greatly appreciated. Thank you.
Here's a link to the datasheet for the MaxBotix HRLV Series: https://www.maxbotix.com/documents/H..._Datasheet.pdf

The pinout is in there. Typically, you'd use what most teams call a PWM cable (three pin with black, red, and white wires). I'm guessing that's what you're asking about?

Black is ground, red is +5V, and white is the signal.

There are several ways to read the distance, but I'd recommend using Pulse-Out to a DIO pin. You'd measure the pulse-width and convert the PW to distance using the conversion detailed in the datasheet. The other easy way would be to use an analog input, either ways works pretty well.
__________________
Controls Mentor
@rnazaretian

Current team:
Team Appreciate, FRC 2468

Previous teams:
Team Fusion, FRC 364 (2003 - 2015)
Garnet Squadron, FRC 4901 (2015-2016)
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:39 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi