From evangelos.georgiou at kcl.ac.uk Sun Nov 18 09:32:16 2007 From: evangelos.georgiou at kcl.ac.uk (Evangelos Georgiou) Date: Sun, 18 Nov 2007 17:32:16 -0000 Subject: [WheelCommander] wheelcommander help required... Message-ID: <001601c82a08$f6a7dbc0$e3f79340$@georgiou@kcl.ac.uk> This is a multipart message in MIME format. ------=_NextPart_000_0017_01C82A08.F6A7DBC0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Pete, I was wondering if there is a dummies guide to sending/receiving instructions to/from the wheelcommander? For example: (in matlab) S = serial('COM1') *this sets up the com port* Fopen(s) *this opens the com port for communication* Fprintf(s, 'Sting goes here') *this sends a string to the com port* Fscanf(s) *this reads whatever has been transmitted to the com port* Using the above sending and receiving mechanism how would I send the instruction to wheelcommander to move forward/backward etc, using a serial(RS232) communication port? Your help is much appreciated. Regards, Evangelos Georgiou E-mail: evangelos.georgiou at kcl.ac.uk ------=_NextPart_000_0017_01C82A08.F6A7DBC0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Pete,

 

I was wondering if there is a dummies guide to = sending/receiving instructions to/from the wheelcommander?

 

For example: (in matlab)

S =3D serial(‘COM1’) *this sets up = the com port*

Fopen(s) *this opens the com port for = communication*

Fprintf(s, ‘Sting goes here’) *this = sends a string to the com port*

Fscanf(s) *this reads whatever has been = transmitted to the com port*

 

Using the above sending and receiving mechanism how = would I send the instruction to wheelcommander to move forward/backward etc, = using a serial(RS232) communication port?

 

Your help is much appreciated.

 

Regards,

 

Evangelos Georgiou
E-mail: evangelos.georgiou at kcl.ac.uk

 

------=_NextPart_000_0017_01C82A08.F6A7DBC0-- From peters at nubotics.com Sun Nov 18 14:21:59 2007 From: peters at nubotics.com (Pete Skeggs) Date: Sun, 18 Nov 2007 14:21:59 -0800 Subject: [WheelCommander] wheelcommander help required... In-Reply-To: <001601c82a08$f6a7dbc0$e3f79340$@georgiou@kcl.ac.uk> References: <001601c82a08$f6a7dbc0$e3f79340$@georgiou@kcl.ac.uk> Message-ID: <4740BB07.1020606@nubotics.com> This is a multi-part message in MIME format. --------------090207020007020406060704 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Evangelos, Before I can answer your question, please tell me what controller from which you wish to communicate with the WheelCommander? What programming language do you wish to use? Or are you wanting to communicate with it from a computer? If a computer, is it a PC or Mac? Are you running Windows, Linux, etc? -Pete Evangelos Georgiou wrote: > > Hi Pete, > > > > I was wondering if there is a dummies guide to sending/receiving > instructions to/from the wheelcommander? > > > > For example: (in matlab) > > S = serial('COM1') **this sets up the com port** > > Fopen(s) **this opens the com port for communication** > > Fprintf(s, 'Sting goes here') **this sends a string to the com port** > > Fscanf(s) **this reads whatever has been transmitted to the com port** > > > > Using the above sending and receiving mechanism how would I send the > instruction to wheelcommander to move forward/backward etc, using a > serial(RS232) communication port? > > > > Your help is much appreciated. > > > > Regards, > > > > Evangelos Georgiou > E-mail: evangelos.georgiou at kcl.ac.uk > > > > ------------------------------------------------------------------------ > > _______________________________________________ > WheelCommander mailing list > WheelCommander at list.nubotics.com > http://list.nubotics.com/mailman/listinfo/wheelcommander > Nubotics Website: > http://www.nubotics.com --------------090207020007020406060704 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Evangelos,

Before I can answer your question, please tell me what controller from which you wish to communicate with the WheelCommander?  What programming language do you wish to use?  Or are you wanting to communicate with it from a computer?  If a computer, is it a PC or Mac?  Are you running Windows, Linux, etc?

-Pete

Evangelos Georgiou wrote:

Hi Pete,

 

I was wondering if there is a dummies guide to sending/receiving instructions to/from the wheelcommander?

 

For example: (in matlab)

S = serial(‘COM1’) *this sets up the com port*

Fopen(s) *this opens the com port for communication*

Fprintf(s, ‘Sting goes here’) *this sends a string to the com port*

Fscanf(s) *this reads whatever has been transmitted to the com port*

 

Using the above sending and receiving mechanism how would I send the instruction to wheelcommander to move forward/backward etc, using a serial(RS232) communication port?

 

Your help is much appreciated.

 

Regards,

 

Evangelos Georgiou
E-mail: evangelos.georgiou at kcl.ac.uk

 


_______________________________________________ WheelCommander mailing list WheelCommander at list.nubotics.com http://list.nubotics.com/mailman/listinfo/wheelcommander Nubotics Website: http://www.nubotics.com

--------------090207020007020406060704-- From evangelos.georgiou at kcl.ac.uk Sun Nov 18 23:46:06 2007 From: evangelos.georgiou at kcl.ac.uk (Evangelos Georgiou) Date: Mon, 19 Nov 2007 07:46:06 -0000 Subject: [WheelCommander] wheelcommander help required... In-Reply-To: <4740BB07.1020606@nubotics.com> References: <001601c82a08$f6a7dbc0$e3f79340$@georgiou@kcl.ac.uk> <4740BB07.1020606@nubotics.com> Message-ID: <000601c82a80$3e84cc10$bb8e6430$@georgiou@kcl.ac.uk> This is a multipart message in MIME format. ------=_NextPart_000_0007_01C82A80.3E84CC10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Pete, =20 Thanks for the quick response. =20 (1) please tell me what controller from which you wish to communicate with the WheelCommander?=20 =F0 I am using my desktop computer via the RS232 serial communication = ports (2) What programming language do you wish to use?=20 =F0 I am going to be using MATLAB which is like =93C=94 but would also = like to use visual basic via visual studios 2005. I need to understand how to sending commands to the Wheelcommander and also how to read information = from it, using a serial port (e.g. what format to send commands = hex/string/etc, what are the commands, etc...) (3) Or are you wanting to communicate with it from a computer? If a computer, is it a PC or Mac? Are you running Windows, Linux, etc? =F0 I am using a desktop computer which is a PC and it is running = Windows XP SP2.=20 =20 If you are unfamiliar is MATLAB then if you can instruct me in Visual = Basic (syntax) that would be great. I tried looking at the example for VB6 but = had difficulty understand what was actually being transmitted to = Wheelcommander via the serial port because of the dll. =20 Your help is greatly appreciated. =20 Regards, =20 Evangelos Georgiou E-mail: = evangelos.georgiou at kcl.ac.uk =20 From: wheelcommander-bounces at list.nubotics.com [mailto:wheelcommander-bounces at list.nubotics.com] On Behalf Of Pete = Skeggs Sent: 18 November 2007 22:22 To: WC-132 WheelCommander Controller Support List Subject: Re: [WheelCommander] wheelcommander help required... =20 Hi Evangelos, Before I can answer your question, please tell me what controller from = which you wish to communicate with the WheelCommander? What programming = language do you wish to use? Or are you wanting to communicate with it from a computer? If a computer, is it a PC or Mac? Are you running Windows, Linux, etc? -Pete Evangelos Georgiou wrote:=20 Hi Pete, =20 I was wondering if there is a dummies guide to sending/receiving instructions to/from the wheelcommander? =20 For example: (in matlab) S =3D serial(=91COM1=92) *this sets up the com port* Fopen(s) *this opens the com port for communication* Fprintf(s, =91Sting goes here=92) *this sends a string to the com port* Fscanf(s) *this reads whatever has been transmitted to the com port* =20 Using the above sending and receiving mechanism how would I send the instruction to wheelcommander to move forward/backward etc, using a serial(RS232) communication port? =20 Your help is much appreciated. =20 Regards, =20 Evangelos Georgiou E-mail: = evangelos.georgiou at kcl.ac.uk =20 =20 _____ =20 =20 _______________________________________________ WheelCommander mailing list WheelCommander at list.nubotics.com http://list.nubotics.com/mailman/listinfo/wheelcommander Nubotics Website: http://www.nubotics.com =20 ------=_NextPart_000_0007_01C82A80.3E84CC10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi = Pete,

 

Thanks for the quick = response.

 

(1)    please tell me what controller from which = you wish to communicate with the WheelCommander? 

=F0  I am using my desktop computer via the RS232 serial communication = ports

(2)    What programming language do you wish to use? 

=F0  I am going to be using MATLAB which is like “C” but would also = like to use visual basic via visual studios 2005. I need to understand how to sending commands to the Wheelcommander and also how to read information = from it, using a serial port (e.g. what format to send commands hex/string/etc, = what are the commands, etc...)

(3)    Or are you wanting to communicate with it = from a computer?  If a computer, is it a PC or Mac?  Are you running Windows, Linux, etc?

=F0  I am using a desktop computer which is a PC = and it is running Windows XP SP2.

 

If you are unfamiliar = is MATLAB then if you can instruct me in Visual Basic (syntax) that would be = great. I tried looking at the example for VB6 but had difficulty understand what = was actually being transmitted to Wheelcommander via the serial port because = of the dll.

 

Your help is greatly appreciated.

 

Regards,

 

Evangelos = Georgiou
E-mail: evangelos.georgiou at kcl.ac.uk

 

From: wheelcommander-bounces at list.nubotics.com [mailto:wheelcommander-bounces at list.nubotics.com] On Behalf Of = Pete Skeggs
Sent: 18 November 2007 22:22
To: WC-132 WheelCommander Controller Support List
Subject: Re: [WheelCommander] wheelcommander help = required...

 

Hi Evangelos,

Before I can answer your question, please tell me what controller from = which you wish to communicate with the WheelCommander?  What programming language do you wish to use?  Or are you wanting to communicate = with it from a computer?  If a computer, is it a PC or Mac?  Are you = running Windows, Linux, etc?

-Pete

Evangelos Georgiou wrote:

Hi Pete,

 

I was wondering if there is a dummies guide to sending/receiving instructions to/from the = wheelcommander?

 

For example: (in matlab)

S =3D serial(‘COM1’) *this sets up = the com port*

Fopen(s) *this opens the com port for = communication*

Fprintf(s, ‘Sting goes here’) *this = sends a string to the com port*

Fscanf(s) *this reads whatever has been = transmitted to the com port*

 

Using the above sending and receiving mechanism how = would I send the instruction to wheelcommander to move forward/backward etc, = using a serial(RS232) communication port?

 

Your help is much appreciated.

 

Regards,

 

Evangelos Georgiou
E-mail: evangelos.georgiou at kcl.ac.uk

 

 


 
__________________________________=
_____________
WheelCommander mailing =
list
WheelCommander at list.nubo=
tics.com
http://=
list.nubotics.com/mailman/listinfo/wheelcommander
Nubotics Website:
http://www.nubotics.com

 

------=_NextPart_000_0007_01C82A80.3E84CC10-- From evangelos.georgiou at kcl.ac.uk Wed Nov 21 00:18:10 2007 From: evangelos.georgiou at kcl.ac.uk (Evangelos Georgiou) Date: Wed, 21 Nov 2007 08:18:10 -0000 Subject: [WheelCommander] ooPic WheelCommander Assisstance Required... In-Reply-To: <4740BB07.1020606@nubotics.com> References: <001601c82a08$f6a7dbc0$e3f79340$@georgiou@kcl.ac.uk> <4740BB07.1020606@nubotics.com> Message-ID: <000601c82c17$0dc121d0$29436570$@georgiou@kcl.ac.uk> This is a multipart message in MIME format. ------=_NextPart_000_0007_01C82C17.0DC121D0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, In addition to my question about controlling the WheelCommander via a PC using a RS232 serial port; Is there a guide or examples on how to use the WheelCommander with an ooPic via the I2C bus? The wheel watchers have ooPic examples does the WheelCommander have examples? Your help is appreciated. Regards, Evangelos Georgiou E-mail: evangelos.georgiou at kcl.ac.uk ------=_NextPart_000_0007_01C82C17.0DC121D0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

In addition to my = question about controlling the WheelCommander via a PC using a RS232 serial port; Is = there a guide or examples on how to use the WheelCommander with an ooPic via the = I2C bus? The wheel watchers have ooPic examples does the WheelCommander have examples?

 

Your help is = appreciated.

 

Regards, =

 

Evangelos = Georgiou
E-mail: evangelos.georgiou at kcl.ac.uk

 

------=_NextPart_000_0007_01C82C17.0DC121D0-- From peters at nubotics.com Wed Nov 21 23:15:12 2007 From: peters at nubotics.com (Pete Skeggs) Date: Wed, 21 Nov 2007 23:15:12 -0800 Subject: [WheelCommander] ooPic WheelCommander Assisstance Required... In-Reply-To: <000601c82c17$0dc121d0$29436570$@georgiou@kcl.ac.uk> References: <001601c82a08$f6a7dbc0$e3f79340$@georgiou@kcl.ac.uk> <4740BB07.1020606@nubotics.com> <000601c82c17$0dc121d0$29436570$@georgiou@kcl.ac.uk> Message-ID: <47452C80.8090802@nubotics.com> Evangelos Georgiou wrote: > > In addition to my question about controlling the WheelCommander via a > PC using a RS232 serial port; Is there a guide or examples on how to > use the WheelCommander with an ooPic via the I2C bus? The wheel > watchers have ooPic examples does the WheelCommander have examples? > Evangelos, I have not tried using the WheelCommander from an OOPIC yet, though I know I had plans to. I'll see if I can work something up for you. But, we're closed the rest of the week for our Thanksgiving holiday. -Pete From evangelos.georgiou at kcl.ac.uk Thu Nov 22 01:36:48 2007 From: evangelos.georgiou at kcl.ac.uk (Evangelos Georgiou) Date: Thu, 22 Nov 2007 09:36:48 -0000 Subject: [WheelCommander] ooPic WheelCommander Assisstance Required... In-Reply-To: <47452C80.8090802@nubotics.com> References: <001601c82a08$f6a7dbc0$e3f79340$@georgiou@kcl.ac.uk> <4740BB07.1020606@nubotics.com> <000601c82c17$0dc121d0$29436570$@georgiou@kcl.ac.uk> <47452C80.8090802@nubotics.com> Message-ID: <000f01c82ceb$365b02d0$a3110870$@georgiou@kcl.ac.uk> Hi Pete, Any assistance you can offer in how to control the WheelCommander with an ooPic(I2C) and the PC(RS232) is much appreciated. I will patiently wait for you to get back to me. Have a great thanksgiving holiday! Regards, Evangelos Georgiou E-mail: evangelos.georgiou at kcl.ac.uk -----Original Message----- From: wheelcommander-bounces at list.nubotics.com [mailto:wheelcommander-bounces at list.nubotics.com] On Behalf Of Pete Skeggs Sent: 22 November 2007 07:15 To: WC-132 WheelCommander Controller Support List Subject: Re: [WheelCommander] ooPic WheelCommander Assisstance Required... Evangelos Georgiou wrote: > > In addition to my question about controlling the WheelCommander via a > PC using a RS232 serial port; Is there a guide or examples on how to > use the WheelCommander with an ooPic via the I2C bus? The wheel > watchers have ooPic examples does the WheelCommander have examples? > Evangelos, I have not tried using the WheelCommander from an OOPIC yet, though I know I had plans to. I'll see if I can work something up for you. But, we're closed the rest of the week for our Thanksgiving holiday. -Pete _______________________________________________ WheelCommander mailing list WheelCommander at list.nubotics.com http://list.nubotics.com/mailman/listinfo/wheelcommander Nubotics Website: http://www.nubotics.com From evangelos.georgiou at kcl.ac.uk Mon Nov 26 07:55:43 2007 From: evangelos.georgiou at kcl.ac.uk (Evangelos Georgiou) Date: Mon, 26 Nov 2007 15:55:43 -0000 Subject: [WheelCommander] ooPic WheelCommander Assisstance Required... In-Reply-To: <47452C80.8090802@nubotics.com> References: <001601c82a08$f6a7dbc0$e3f79340$@georgiou@kcl.ac.uk> <4740BB07.1020606@nubotics.com><000601c82c17$0dc121d0$29436570$@georgiou@kcl.ac.uk> <47452C80.8090802@nubotics.com> Message-ID: <005701c83044$ccf903c0$75324989@adminsystems.adm.kcl.ac.uk> Hi Pete, Do you have any good news about my request for assistances in utilizing the WC-132 via a Microsoft desktop PC serial RS232 port (in Visual Basic 8)? Regards, Evangelos Georgiou E-mail: evangelos.georgiou at kcl.ac.uk -----Original Message----- From: wheelcommander-bounces at list.nubotics.com [mailto:wheelcommander-bounces at list.nubotics.com] On Behalf Of Pete Skeggs Sent: 22 November 2007 07:15 To: WC-132 WheelCommander Controller Support List Subject: Re: [WheelCommander] ooPic WheelCommander Assisstance Required... Evangelos Georgiou wrote: > > In addition to my question about controlling the WheelCommander via a > PC using a RS232 serial port; Is there a guide or examples on how to > use the WheelCommander with an ooPic via the I2C bus? The wheel > watchers have ooPic examples does the WheelCommander have examples? > Evangelos, I have not tried using the WheelCommander from an OOPIC yet, though I know I had plans to. I'll see if I can work something up for you. But, we're closed the rest of the week for our Thanksgiving holiday. -Pete _______________________________________________ WheelCommander mailing list WheelCommander at list.nubotics.com http://list.nubotics.com/mailman/listinfo/wheelcommander Nubotics Website: http://www.nubotics.com From plskeggs at noeticdesign.com Mon Nov 26 17:15:30 2007 From: plskeggs at noeticdesign.com (Pete Skeggs) Date: Mon, 26 Nov 2007 17:15:30 -0800 Subject: [WheelCommander] ooPic WheelCommander Assisstance Required... In-Reply-To: <005701c83044$ccf903c0$75324989@adminsystems.adm.kcl.ac.uk> References: <001601c82a08$f6a7dbc0$e3f79340$@georgiou@kcl.ac.uk> <4740BB07.1020606@nubotics.com><000601c82c17$0dc121d0$29436570$@georgiou@kcl.ac.uk> <47452C80.8090802@nubotics.com> <005701c83044$ccf903c0$75324989@adminsystems.adm.kcl.ac.uk> Message-ID: <474B6FB2.9000406@noeticdesign.com> Hi Evangelos, I spent today trying to get an ooPIC I2C example working with the WC-132. Unfortunately, the ooPIC software itself does not yet provide raw I2C access via the hardware I2C lines; the only way to communicate using I2C with the WC-132 is using the slow oI2CM object, which shares the I2C bus with the EEPROM that stores the ooPIC user program. I have some hope that I can get it to work, but I'm not sure at this point. It looks like Savage Innovations (makers of the ooPIC) have plans to add hardware I2C access, but it is not ready yet; they currently only use the hardware I2C lines for their oDDELink object, which is meant to communicate with another ooPIC, not a general purpose I2C device such as the WC-132. I think your best bet will be to try to port the Basic Stamp example, which uses serial port access, to the ooPIC. As for your desire to have an example using Visual Basic that does direct serial port writes to the WC-132 rather than use our DLLs, we would rather you just use the DLLs -- they do all the hard work for you. But, if you are required for some reason to bypass them, you will need to research how to access the serial port from Visual Basic, which lots of people have done for other kinds of devices, and I'm sure you can find such an example on the internet. The part that would communicate with the WC-132 would use those example RS-232 Visual Basic access methods to implement the WC-132 protocols. Again, the Basic Stamp example would be a starting point. Not knowing your experience level, I don't know if this is easy or hard for you. Just for our information, is this a school assignment you are working on? -Pete Evangelos Georgiou wrote: > Hi Pete, > > Do you have any good news about my request for assistances in utilizing the > WC-132 via a Microsoft desktop PC serial RS232 port (in Visual Basic 8)? > > Regards, > > Evangelos Georgiou > E-mail: evangelos.georgiou at kcl.ac.uk > > -----Original Message----- > From: wheelcommander-bounces at list.nubotics.com > [mailto:wheelcommander-bounces at list.nubotics.com] On Behalf Of Pete Skeggs > Sent: 22 November 2007 07:15 > To: WC-132 WheelCommander Controller Support List > Subject: Re: [WheelCommander] ooPIC WheelCommander Assisstance Required... > > Evangelos Georgiou wrote: > >> In addition to my question about controlling the WheelCommander via a >> PC using a RS232 serial port; Is there a guide or examples on how to >> use the WheelCommander with an ooPIC via the I2C bus? The wheel >> watchers have ooPIC examples does the WheelCommander have examples? >> >> > > > Evangelos, > > I have not tried using the WheelCommander from an ooPIC yet, though I > know I had plans to. I'll see if I can work something up for you. But, > we're closed the rest of the week for our Thanksgiving holiday. > > -Pete > > _______________________________________________ > WheelCommander mailing list > WheelCommander at list.nubotics.com > http://list.nubotics.com/mailman/listinfo/wheelcommander > Nubotics Website: > http://www.nubotics.com > > _______________________________________________ > WheelCommander mailing list > WheelCommander at list.nubotics.com > http://list.nubotics.com/mailman/listinfo/wheelcommander > Nubotics Website: > http://www.nubotics.com > > > From evangelos.georgiou at kcl.ac.uk Tue Nov 27 02:54:05 2007 From: evangelos.georgiou at kcl.ac.uk (Evangelos Georgiou) Date: Tue, 27 Nov 2007 10:54:05 -0000 Subject: [WheelCommander] ooPic WheelCommander Assisstance Required... In-Reply-To: <474B6FB2.9000406@noeticdesign.com> References: <001601c82a08$f6a7dbc0$e3f79340$@georgiou@kcl.ac.uk> <4740BB07.1020606@nubotics.com><000601c82c17$0dc121d0$29436570$@georgiou@kcl.ac.uk> <47452C80.8090802@nubotics.com><005701c83044$ccf903c0$75324989@adminsystems.adm.kcl.ac.uk> <474B6FB2.9000406@noeticdesign.com> Message-ID: <003201c830e3$b7e1d800$75324989@adminsystems.adm.kcl.ac.uk> This is a multi-part message in MIME format. ------=_NextPart_000_0033_01C830E3.B7E1D800 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Pete, I am currently a PhD research student at King's College London in the United Kingdom. My interest in utilizing the WheelCommander is purely personal though. The use of the WheelCommander is to be implemented in my mobile robot to compete in the annual MicroMouse competition, hopefully if I can get the mobile robot to work. It is not fundamental to use the ooPic for the operation of the WheelCommander. But it is paramount that it can be operated via Visual Basic or any other variant in a Windows operating environment. On your advice it seems that the best solution is to use the NdiCmdC.dll. My experience in Visual Basic 8 is limited because I have learnt it on my own but I am able to complete some complex tasks and I'm edger to learn new things. If you do not mind to assist me in setting up the "dll" and sending receiving commands from WC-132, in Visual Basic 8, I would be most grateful. I have looked at the support documents for the "dll" but since I have never done something like this before, I am not 100% sure on how to use this information. I am sure it simple once the understanding is grasped. I have looked at the example provide for Visual Basic 6 but found it difficult to understand. I have also tried to convert the Visual Basic 6 example to Visual Basic 8 but failed and I do not understand the application enough to correct the errors. If you are interested diagrams of the mobile robot has been attached along with a hardware map of the implemented mobile robot. Thank you very much for your help. Evangelos Georgiou E-mail: evangelos.georgiou at kcl.ac.uk -----Original Message----- From: wheelcommander-bounces at list.nubotics.com [mailto:wheelcommander-bounces at list.nubotics.com] On Behalf Of Pete Skeggs Sent: 27 November 2007 01:16 To: WC-132 WheelCommander Controller Support List Subject: Re: [WheelCommander] ooPic WheelCommander Assisstance Required... Hi Evangelos, I spent today trying to get an ooPIC I2C example working with the WC-132. Unfortunately, the ooPIC software itself does not yet provide raw I2C access via the hardware I2C lines; the only way to communicate using I2C with the WC-132 is using the slow oI2CM object, which shares the I2C bus with the EEPROM that stores the ooPIC user program. I have some hope that I can get it to work, but I'm not sure at this point. It looks like Savage Innovations (makers of the ooPIC) have plans to add hardware I2C access, but it is not ready yet; they currently only use the hardware I2C lines for their oDDELink object, which is meant to communicate with another ooPIC, not a general purpose I2C device such as the WC-132. I think your best bet will be to try to port the Basic Stamp example, which uses serial port access, to the ooPIC. As for your desire to have an example using Visual Basic that does direct serial port writes to the WC-132 rather than use our DLLs, we would rather you just use the DLLs -- they do all the hard work for you. But, if you are required for some reason to bypass them, you will need to research how to access the serial port from Visual Basic, which lots of people have done for other kinds of devices, and I'm sure you can find such an example on the internet. The part that would communicate with the WC-132 would use those example RS-232 Visual Basic access methods to implement the WC-132 protocols. Again, the Basic Stamp example would be a starting point. Not knowing your experience level, I don't know if this is easy or hard for you. Just for our information, is this a school assignment you are working on? -Pete Evangelos Georgiou wrote: > Hi Pete, > > Do you have any good news about my request for assistances in utilizing the > WC-132 via a Microsoft desktop PC serial RS232 port (in Visual Basic 8)? > > Regards, > > Evangelos Georgiou > E-mail: evangelos.georgiou at kcl.ac.uk > > -----Original Message----- > From: wheelcommander-bounces at list.nubotics.com > [mailto:wheelcommander-bounces at list.nubotics.com] On Behalf Of Pete Skeggs > Sent: 22 November 2007 07:15 > To: WC-132 WheelCommander Controller Support List > Subject: Re: [WheelCommander] ooPIC WheelCommander Assisstance Required... > > Evangelos Georgiou wrote: > >> In addition to my question about controlling the WheelCommander via a >> PC using a RS232 serial port; Is there a guide or examples on how to >> use the WheelCommander with an ooPIC via the I2C bus? The wheel >> watchers have ooPIC examples does the WheelCommander have examples? >> >> > > > Evangelos, > > I have not tried using the WheelCommander from an ooPIC yet, though I > know I had plans to. I'll see if I can work something up for you. But, > we're closed the rest of the week for our Thanksgiving holiday. > > -Pete > > _______________________________________________ > WheelCommander mailing list > WheelCommander at list.nubotics.com > http://list.nubotics.com/mailman/listinfo/wheelcommander > Nubotics Website: > http://www.nubotics.com > > _______________________________________________ > WheelCommander mailing list > WheelCommander at list.nubotics.com > http://list.nubotics.com/mailman/listinfo/wheelcommander > Nubotics Website: > http://www.nubotics.com > > > _______________________________________________ WheelCommander mailing list WheelCommander at list.nubotics.com http://list.nubotics.com/mailman/listinfo/wheelcommander Nubotics Website: http://www.nubotics.com ------=_NextPart_000_0033_01C830E3.B7E1D800--