VB.NET Project for HexEngine Control

Post code examples here

VB.NET Project for HexEngine Control

Postby Matt Denton » Tue Sep 16, 2008 7:49 am

The following HexEngine control application project written in VB.NET was designed and written by PaulP.

Image

Paul has kindly supplied the complete project with source. Enjoy! :)

Added - 16/09/08
pBrainPIPTest.zip
You do not have the required permissions to view the files attached to this post.
Matt Denton
AKA: Winchy_Matt

micromagic systems ltd
Matt Denton
Site Admin
 
Posts: 1622
Joined: Tue May 20, 2008 9:15 pm
Location: Winchester UK

Re: VB.NET Project for HexEngine Control

Postby ahmed » Fri Oct 03, 2008 6:25 pm

thanks very much ...but kindly could u explain how is it work ?
ahmed
 
Posts: 11
Joined: Thu Sep 11, 2008 11:36 am

Re: VB.NET Project for HexEngine Control

Postby jaspinall » Sat Oct 04, 2008 12:20 am

Ooh, this looks interesting... Will easily be towards the middle of next week before I can try it out though :(
Jason Aspinall
Electro-Mechanical Design Engineer & Freelance Photographer
http://www.chilledatthebottom.com
PLEASE DO NOT PRIVATE MESSAGE ME ASKING FOR DESIGN FILES
THEY ARE EXCLUSIVE TO ME AND ARE NOT FOR DISTRIBUTION OR FOR SALE
jaspinall
 
Posts: 333
Joined: Mon Jun 30, 2008 8:29 am
Location: Barry, South Wales

Re: VB.NET Project for HexEngine Control

Postby jaspinall » Thu Oct 09, 2008 4:01 pm

Ok, how the dickens do I use this? Put the hex in PIP control from Matt's s/w, close the app, spark this up and way to go? Or, does this automagically connect to the hex and put it in PIP control?
Jason Aspinall
Electro-Mechanical Design Engineer & Freelance Photographer
http://www.chilledatthebottom.com
PLEASE DO NOT PRIVATE MESSAGE ME ASKING FOR DESIGN FILES
THEY ARE EXCLUSIVE TO ME AND ARE NOT FOR DISTRIBUTION OR FOR SALE
jaspinall
 
Posts: 333
Joined: Mon Jun 30, 2008 8:29 am
Location: Barry, South Wales

Re: VB.NET Project for HexEngine Control

Postby paulp » Thu Oct 09, 2008 6:49 pm

Hi there

This is designed to send the PIP protocol direct to the Hexapod.

On mine, I had the config port hardwired to one port and this application sending to a bluetooth adaptor on the second hexapod port.

If you intend to use to the one port then you will need to use teraterm to put the bot in PIP mode before connecting with this application.

Hope that helps...
paulp
 
Posts: 279
Joined: Wed May 21, 2008 8:30 pm
Location: Midlands U.K.

Re: VB.NET Project for HexEngine Control

Postby Matt Denton » Thu Oct 09, 2008 6:53 pm

You will also need to make sure the terminal port is configured as both config and control, check the uart configuration section in the HexEngine User guide. CN18 JP1 & JP2. :)
Matt Denton
AKA: Winchy_Matt

micromagic systems ltd
Matt Denton
Site Admin
 
Posts: 1622
Joined: Tue May 20, 2008 9:15 pm
Location: Winchester UK

Re: VB.NET Project for HexEngine Control

Postby jaspinall » Thu Oct 09, 2008 9:15 pm

Yup, only got the one port configured, so used teraterm to wake the hex and put it in PIP mode. Quit teraterm and sparked up this lil app. Worked like a gem :)
Jason Aspinall
Electro-Mechanical Design Engineer & Freelance Photographer
http://www.chilledatthebottom.com
PLEASE DO NOT PRIVATE MESSAGE ME ASKING FOR DESIGN FILES
THEY ARE EXCLUSIVE TO ME AND ARE NOT FOR DISTRIBUTION OR FOR SALE
jaspinall
 
Posts: 333
Joined: Mon Jun 30, 2008 8:29 am
Location: Barry, South Wales

Re: VB.NET Project for HexEngine Control

Postby paulp » Thu Oct 09, 2008 10:56 pm

Well thats a step in the right direction..

It is only an example and doesnt have all the synchronised commands built in but it should give enough of an example for someone to build upon..
paulp
 
Posts: 279
Joined: Wed May 21, 2008 8:30 pm
Location: Midlands U.K.


Return to Code Examples

Who is online

Users browsing this forum: No registered users and 1 guest

cron