I have a Matrix orbital LCD module attatched to a USB-I2C translation module. This is plugged into a USB port on my Windows box. I have a piece of driver software for the translation module installed on my box. This driver makes the USB interface look like a regular serial port.
With other demo software I have proved to myself that this setup works.
However, I do not seem to be able to communicate with the LCD using RR.
Here is the code I am using;
open driver "com7:" for update
put the result into field "fldMsg"
#following are dec values for I2C control of Matrix orbital LCD (clear screen)
write numtochar(80) to driver "com7:"
write numtochar(254) to driver "com7:"
write numtochar(88) to driver "com7:"
close driver "com7:"
There is a small led on the translation module that flashes with the demo software but does not with the RR code.
Any ideas?
Jeff
Serial communication via USB device
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Serial communication via USB device
Chat with other RunRev developers, pop over to www.bjoernke.com/runrev/chatrev.php
Hi Jim
Yes I have "solved" this issue. Solved as in still early days with run rev code but at least I have proven that communication is possible using a virtual serial port over a USB cable in Win XP.
If you want more please post a question and I will try and help.
Jeff
Yes I have "solved" this issue. Solved as in still early days with run rev code but at least I have proven that communication is possible using a virtual serial port over a USB cable in Win XP.
If you want more please post a question and I will try and help.
Jeff
Chat with other RunRev developers, pop over to www.bjoernke.com/runrev/chatrev.php
-
richmond62
- Livecode Opensource Backer

- Posts: 10415
- Joined: Fri Feb 19, 2010 10:17 am
Re: Serial communication via USB device
I am the owner of a Valiant Roamer 2
http://www.roamer-educational-robot.com/
So . . . the Roamer has a USB connector (meaning it has a USB port to connect to a PC, and at the other end of
the cable a highly individual connector to connect to the Roamer.
except:
1. How do I determine what driver to open (as there is NO driver as such for the Roamer)?
2. What is the difference between 'open driver' and a USB port?
3. How on earth do I understand what signals to send to the Roamer if I get that far?
http://www.roamer-educational-robot.com/
So . . . the Roamer has a USB connector (meaning it has a USB port to connect to a PC, and at the other end of
the cable a highly individual connector to connect to the Roamer.
except:
1. How do I determine what driver to open (as there is NO driver as such for the Roamer)?
2. What is the difference between 'open driver' and a USB port?
3. How on earth do I understand what signals to send to the Roamer if I get that far?