Society of Robots - Robot Forum

Software => Software => Topic started by: hasman2010 on November 12, 2008, 05:00:50 AM

Title: Help!!Develop GUI software to assist programming Line Follower
Post by: hasman2010 on November 12, 2008, 05:00:50 AM
Hi...

i need some opinion and other help that can help me to develop my GUI software to assist user in order to
programme a line follower...

let me explain shortly what that i'm trying to do...

1. In general.. this thing is possible to do right? make a GUI software using visual basic as a tool to
help student to programming line follower...

2. My planning is to use PIC.. so, to make the enviroment such as button ex: right, left and so on...

3. I always use the available software to write the code.. now, what i 'm trying to do is develop one software
that can help us to write the code just by clicking the botton...

4. is it posiible to me to develop the software that can compile to .hex and then write directly to microcontroller?
or if can't directly write the code to microC.. as long it's just can create a .hex file is also ok to me...


It's sound really possible and maybe someone already developed it before!!!!!
if somebody can give to me the code... i can learn from that...
or... just give me an opinion how to develop it....

from my knowledge... it sound simple and possible to do... but i'm not so well in visual basic...
i've learn  basic how to create a software using VB a long time ago... but only basic... like Hello World!!! msg box and so on...
thats why i ask for help here....

anybody can help me???? ;D

 

Title: Re: Help!!Develop GUI software to assist programming Line Follower
Post by: arixrobotics on November 12, 2008, 05:47:37 AM
Here you go:

http://www.elabtronics.com/products_cat_CoreChart.htm
Title: Re: Help!!Develop GUI software to assist programming Line Follower
Post by: hasman2010 on November 15, 2008, 06:01:00 AM
thanks...

anybody else can help me!!!
Title: Re: Help!!Develop GUI software to assist programming Line Follower
Post by: HyperNerd on November 15, 2008, 02:37:29 PM
If you still want to write your own software, you could use a bootloader but you might have to design your own (I'm new to bootloaders). Using this method would make the code simpler as if you made / acquired a decent bootloader, you could just have your app send data down the serial / usb port. If you're using Visual BASIC 2005 / 2008 Express then using the serial port is easy: Just add a button to Form1 the use this code:

Code: [Select]
Imports System.IO.Ports

Public Class Form1

    Dim WithEvents sPort as SerialPort = New SerialPort("COM1", 9600, Parity.None, 8, StopBits.One)

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        sPort.Open()
        sPort.write("A")
        sPort.Close()
    End Sub

End Class
That code sends a capital "A" to the Serial port when you click on the button.

You would need to figure out how to generate the data to send to the PIC (ie. the program) as I don't know exactly what you need

If you were to use this method, you would need a PIC with self-writable FLASH memory, so the bootloader would work.

Hope this helps  ;D
Title: Re: Help!!Develop GUI software to assist programming Line Follower
Post by: hasman2010 on November 15, 2008, 02:43:19 PM
thanks..

at least i'm not alone here!!

i'll try.. anything i will ask again..
if anybody have any idea or any opinian...

love to hear from you guys..

thanks.
Title: Re: Help!!Develop GUI software to assist programming Line Follower
Post by: hasman2010 on January 20, 2009, 04:26:29 AM
more help please... i'm still trying
Title: Re: Help!!Develop GUI software to assist programming Line Follower
Post by: cosminprund on January 20, 2009, 04:49:09 AM
What have you accomplished in the last 2 months? Your first post is from November!
I still don't understand what you want to accomplish. Your questions mostly ask if it's possible: Well, it's possible!
Title: Re: Help!!Develop GUI software to assist programming Line Follower
Post by: paulstreats on January 20, 2009, 05:15:29 AM
If you are wanting a graphical programming language for microcontrollers then you'd be best looking at Flowcode http://www.matrixmultimedia.com/flowcode.php (http://www.matrixmultimedia.com/flowcode.php)
I'm sure this works on a drag and drop system similar to how visual delphi used to work.
Title: Re: Help!!Develop GUI software to assist programming Line Follower
Post by: Admin on February 03, 2009, 05:02:21 AM
http://www.societyofrobots.com/robotforum/index.php?topic=6711.0