Ultrasonic Range Finder - HRXL-MaxSonar-WR
-
I am trying to read output from the serial pin of the MaxSonar WR series ultrasonic sensor datasheet.
I have connected via Max3232 Breakout using the below connections

this is my output
b'\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e\x18\xe6\x00\xf8\x188\xf8\x98\x1e'I then tried with a transistor 2N7000 connected like this

and it prints none
Has anyone had any experience with using these sensors at all?
-
@jimpower Have you checked https://forum.pycom.io/topic/1901/uart-reading-serial-stream-escape-sequences/17 ?
I believe your transistor's wiring does not match the one described in that thread.
-
@jcaron My diagram is incorrect sorry, however I tried a new max3232 today and managed to get it to work.
Thanks
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register Login