go_away

Author Topic: Help!!Develop GUI software to assist programming Line Follower  (Read 2382 times)

0 Members and 1 Guest are viewing this topic.

Offline hasman2010Topic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Help!!Develop GUI software to assist programming Line Follower
« 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

 


Offline arixrobotics

  • Full Member
  • ***
  • Posts: 119
  • Helpful? 3

Offline hasman2010Topic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Help!!Develop GUI software to assist programming Line Follower
« Reply #2 on: November 15, 2008, 06:01:00 AM »
thanks...

anybody else can help me!!!

Offline HyperNerd

  • Robot Overlord
  • ****
  • Posts: 139
  • Helpful? 5
  • N3rd1n80r
Re: Help!!Develop GUI software to assist programming Line Follower
« Reply #3 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
There are 10 types of people in the world - those who understand binary, and those who don't.

Offline hasman2010Topic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Help!!Develop GUI software to assist programming Line Follower
« Reply #4 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.
« Last Edit: November 15, 2008, 02:51:02 PM by hasman2010 »

Offline hasman2010Topic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Help!!Develop GUI software to assist programming Line Follower
« Reply #5 on: January 20, 2009, 04:26:29 AM »
more help please... i'm still trying

Offline cosminprund

  • Robot Overlord
  • ****
  • Posts: 284
  • Helpful? 8
Re: Help!!Develop GUI software to assist programming Line Follower
« Reply #6 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!

Offline paulstreats

  • Supreme Robot
  • *****
  • Posts: 1,381
  • Helpful? 21
Re: Help!!Develop GUI software to assist programming Line Follower
« Reply #7 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
I'm sure this works on a drag and drop system similar to how visual delphi used to work.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,653
  • Helpful? 169
    • Society of Robots

 


Get Your Ad Here