Have a look at my project! pictures included.. need Help!

Hi there… :smiley:
I’m from india… studying last year Computer Tech. Diploma
I’ve made 1 Unmanned Ground Vehicle for my last year project!! :slight_smile:

Right now we have completed with the implementation of actual model & electronics!!

I’ve intended to use wireless Blue Tooth module for wireless transmission.

This model is to be operated by computer keyboard!!
There is 1 wireless transreciever connected to the serial port through 8085 microprocessor based electronic circuit.
The another transreciever is mounted on vehicle which is connected to single/double pole relays.
The relays further operates the geared DC motors in the vehicle.

Also i’ve used micro-switches to limit the excessive movements of vehicle Arm & Gripper.

To control the vehicle by PC keyboard, we are trying to code a program in Visual Basic. The movements of the vehicle are -

  1. Move Vehicle Forward.
  2. Move Vehicle Reverse.
  3. Turn Vehicle Left.
  4. Turn Vehicle Right.
  5. Move Arm Up.
  6. Move Arm Down.
  7. Gripper Open.
  8. Gripper Close.

We are stuck at the programming stage.

The logic of the Visual Basic program is -

**The program only sends the keyboard commands (which are in ASCII code) to the serial port! **

Now the 8085 based micro. processor circuit connected to serial port recieves this ASCII code signals & converts it to BINARY CODE & forwards it to the transreceiver.

We have completed with the 8085 based program which converts ASCII code signals coming from serial port to Binary code signals for transreceiver!

Since i’m not a PRO programmer in VB, [size=150]i’m not able to code the program…[/size] :cry:
If anybody can guide me to code the program it will be very helpfull.

Thanks in advance.

I’m posting few images of it… also posting one 3d model viewer file!

3d viewer file :

[size=200]Click here to download 3d viewer file of the vehicle!![/size]

Images Of the Vehicle :

http://img212.imageshack.us/img212/110/assemfinalnirvana438nt.jpg

http://img212.imageshack.us/img212/5060/iside6hf.jpg

You might want to try posting in the rovers section. They probably know how to help.

Why VB ? Use C# or Java or something.

Hey… what’s wrong with VB?
Both VB and C# are built on the .NET framework.
VB is fully capable of serial and port communication.
The differences in between the respective .NET languages are mostly in their syntax.
I’d think that it’d make sense for most robot people to use Visual Basic, since the Basic Stamps are such a popular micro.

Is there anybody can help me in coding the program!!! :cry:

(See you’re other post, we’ll all be writing to you in there, since it’s the proper place for it.)

Nothing wrong with VB. I was asking cause since he is doing computer engineering i figured he might be more familiar with Java or C#. Seems abit odd to me to pick a language you aren’t familiar with to do your project. In short just pick whatever language suits you best :wink:

try this to start

'Start here - create a simple form, add label named textkeyevent,
'add MSComm Control, choose serial port settings(9600 baud see below)
'Paste the code below, execute, pressing A or B sends character A or B to serial output

Private Sub Form_Load()
'Setup serial connection on com port 1
MSComm1.Settings = “9600,N,8,1”
MSComm1.CommPort = 1
MSComm1.PortOpen = True
End Sub

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
'make sure KeyPreview is True on Form Properties
On Error Resume Next
Select Case KeyCode
Case vbKeyA 'Then Find which key you want to use from the list below
lblkeyevent.Caption = “A Pressed”
MSComm1.Output = Chr$(65) 'ASCII decimal for character A
Case vbKeyB
lblkeyevent.Caption = “B Pressed” 'ASCII decimal for character B
MSComm1.Output = Chr$(66)
Case Else
lblkeyevent.Caption = “Something Pressed” ’ see below for any other key to test
End Select
End Sub

'vbKeyLButton Left Mouse Button
'vbKeyRButton Right Mouse Button
'vnKeyCancel Cancel Key
'vbKeyMButton Middle Mouse button
'vbKeyBack Back Space Key
'vbKeyTab Tab Key
'vbKeyClear Clear Key
'vbKeyReturn Enter Key
'vbKeyShift Shift Key
'vbKeyControl Ctrl Key
'vbKeyMenu Menu Key
'vbKeyPause Pause Key
'vbKeyCapital Caps Lock Key
'vbKeyEscape Escape Key
'vbKeySpace Spacebar Key
'vbKeyPageUp Page Up Key
'vbKeyPageDown Page Down Key
'vbKeyEnd End Key
'vbKeyHome Home Key
'vbKeyLeft Left Arrow Key
'vbKeyUp Up Arrow Key
'vbKeyRight Right Arrow Key
'vbKeyDown Down Arrow Key
'vbKeySelect Select Key
'vbKeyPrint Print Screen Key
'vbKeyExecute Execute Key
'vbKeySnapshot Snapshot Key
'vbKeyInsert Insert Key
'vbKeyDelete Delete Key
'vbKeyHelp Help Key
'vbKeyNumlock Delete Key

'vbKeyA through vbKeyZ are the key code constants for the alphabet
'vbKey0 through vbKey9 are the key code constants for numbers
'vbKeyF1 through vbKeyF16 are the key code constants for the function keys
'vbKeyNumpad0 through vbKeyNumpad9 are the key code constants for the numeric key pad

'Math signs are:
'vbKeyMultiply - Multiplication Sign (*)
'vbKeyAdd - Addition Sign (+)
'vbKeySubtract - Minus Sign (-)
'vbKeyDecimal - Decimal Point (.)
'vbKeyDivide - Division sign (/)
'vbKeySeparator - Enter (keypad) sign

cwkoehler, u rock man!!!
Thanks a million for helping me!!! :slight_smile:
its working!!! :open_mouth:

u r d best!!! :stuck_out_tongue:

i am amr from egypt in my last year graduating from computer science
i wana know any info you have that seems to help me doing my project.
i am trying make my graduation project and its like nirvana43 i will control a robot through bluetooth connection and i am trying to buy the 4WD Rover and the add ons for it but i didnt found anything including the electronic kit for the bluetooth connection ,
try to see my topic (bluetooth …???)
thanx so much for your help

Heeeeeeeeeello guyes after very long time… 8)
i just wanna tell u something…
well, extreamly sorry… i was suppose to tell this 1 year a go… lol!! but still…

last year i successfully completed that project… & i won 1st prize in inter state project competition… yeh baby 1st prize!! yay!

& now after completing my computer tech. diploma, i’m studying in 2nd year IT engineering…

all credits goes to u guyes!! thanxxxxx a million again…

btw here is picture of a thing i built that time : :smiley:
http://images.filecloud.com/374688/Project%20Photo.jpg

well another thing, as i faced sooo many problems in my project times… so decided to build a platform for all kinda technical students… where they can get such help, can buy/sell their projects… bla bla bla… lol!

it will be gr8 if u masters can guide me on which things i should keep in that forum… well site is uder construction but you can have a look at what i’ve kept in it till now here -

projectsplanet.com

or

www.projectsplanet.com