Society of Robots - Robot Forum

Software => Software => Topic started by: Cyclone1 on June 06, 2008, 08:06:28 AM

Title: Look at my proj and suggest me a solution plz...
Post by: Cyclone1 on June 06, 2008, 08:06:28 AM
I am elec engineering final year student and I am now working on my final year project
My lecturer suggested to me that I build a robot training kit wif a GUI. The objective is to help new comer to enter robotic world and aim to those that has limited programming skills especially assembly

In my hardware, i will be using microcontroller and intended to let the users attach the motor, sensors ..etc...
while in the software part, the user will use very simple programming (or choose the setting or enter parameters in the prepared text box) to control the microcontroller.
Now here is my question, how fo I code my VB so that the interface will create the assembly according to the users setting and loaded it to the microcontroller? any idea to do that ? 
The 2nd question is that wat shud i do to connect da PC to the microcontroller ?
Title: Re: Look at my proj and suggest me a solution plz...
Post by: SixRingz on June 06, 2008, 09:14:03 AM
I would suggest to have a file (mySettings.h or so) that the compiler includes with the code for the microcontroller. Then just let different parameters or code blocks be written in there by VB through regular file output. Then just address the parameters and functions from the main file. Maybe let the VB run a command shell to program the micro then or do it "by hand" or with software like AVR Studio etc (depending on MCU)

To connect PC to microcontroller use USB or serial port.
Title: Re: Look at my proj and suggest me a solution plz...
Post by: pomprocker on June 06, 2008, 11:01:48 AM
I am elec engineering final year student and I am now working on my final year project
My lecturer suggested to me that I build a robot training kit wif a GUI. The objective is to help new comer to enter robotic world and aim to those that has limited programming skills especially assembly

In my hardware, i will be using microcontroller and intended to let the users attach the motor, sensors ..etc...
while in the software part, the user will use very simple programming (or choose the setting or enter parameters in the prepared text box) to control the microcontroller.
Now here is my question, how fo I code my VB so that the interface will create the assembly according to the users setting and loaded it to the microcontroller? any idea to do that ? 
The 2nd question is that wat shud i do to connect da PC to the microcontroller ?

Microsoft Robotics Studio I believe has a GUI already set up. No need to reinvent the wheel.

Also, what I think you shud use to connect da PC to da microcontrolla is RS232 serial, as it is cheap and easy to wire up.
Title: Re: Look at my proj and suggest me a solution plz...
Post by: benji on June 06, 2008, 12:23:28 PM
Quote
how fo I code my VB so that the interface will create the assembly according to the users setting
do you want to turn push buttons into assembly code blocks?
can you explain your project a little more clearer?
Title: Re: Look at my proj and suggest me a solution plz...
Post by: Admin on June 07, 2008, 04:32:36 PM
How about starting with this, and adding a GUI to it for PC control?

http://www.societyofrobots.com/step_by_step_robot.shtml