Author Topic: Nubotics wheel encoders WW12 or WW11 in serial mode  (Read 1909 times)

0 Members and 1 Guest are viewing this topic.

Offline eschulmaTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Nubotics wheel encoders WW12 or WW11 in serial mode
« on: February 29, 2012, 04:07:07 PM »
I have two new Nubotics wheel encoders, WW-12, that I wish to hook up to my Arduino Duemilanove. So far, it is not going very well. I am running them in serial mode, which looked fairly simple, but no joy. They have no sample code.

I looked at the Wheel Commander examples, which is a much more established product, and their serial code is extremely complicated and requires the use of 0 and 1 pins for serial, removing the best debugging tool that Arduino provides.

My question is, does anyone here have any experience with using the WW-12 (or WW-11) encoders in serial mode? Is it a straightforward matter of writing and reading strings to any software serial port, or do I need to go a more complicated route.

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: Nubotics wheel encoders WW12 or WW11 in serial mode
« Reply #1 on: February 29, 2012, 06:37:27 PM »
I've got an older wheel watcher so no serial interface is provided - but I use it with WebbotLib via the quadrature encoder support.

I'm guessing your problem with the serial side is that you will have to parse the incoming strings - but tht's easy enough. My only issue with serial mode is that its inherently slow to xmit - so the encoder data you are getting is already out of date by the time you receive it. Yes - you should be able to use any serial port.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline eschulmaTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Nubotics wheel encoders WW12 or WW11 in serial mode
« Reply #2 on: March 02, 2012, 02:50:01 PM »
The incoming strings should be easy to parse. You get D000016 or V0034, that sort of thing. The problem is that I am not even seeing any strings. Just gibberish.

I was concerned about the timeliness as well. I will go with quadrature mode as that is by far the standard method, and there is already code out for the Arduino. Thanks for the help.

Offline dhbromley

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Re: Nubotics wheel encoders WW12 or WW11 in serial mode
« Reply #3 on: April 17, 2012, 03:41:38 PM »
Let me know if you've discovered anything on this subject.  I'm trying to use a WW12 with my Arduino Uno and can't find any example code.

 


data_list