Author Topic: what is the different between downloading hex file using rs232 n usb cable?  (Read 2884 times)

0 Members and 1 Guest are viewing this topic.

Offline robotmirTopic starter

  • Jr. Member
  • **
  • Posts: 21
  • Helpful? 0

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
what do you mean?

They are just different means of transportation for uploading the hex code onto the microcontroller

Perhaps you can elaborate on your setup or on the application ?

Cheers,
Eric
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline robotmirTopic starter

  • Jr. Member
  • **
  • Posts: 21
  • Helpful? 0
hmm....actually i got confused.....i have just borrowed a educational robot kit from my university robotic lab for pracising programming.....in the user manual, the company state that to program the educational robot, all users must use MPLAB and PIC LITE compiler......my question is why??? why must MPLAB and PIC lite??? because i want to use CCS compiler to program the educational robot...., is it possible to program the robot kit using CCS compiler??? ???

Offline izua

  • Supreme Robot
  • *****
  • Posts: 682
  • Helpful? 0
because that's what the uni teaches. there shouldn't be any difference in code, but you must know how to work with both compilers, so you can port code on the fly. take interrupts, for example. when your teacher will explain you how to do them, he will explain in picc lite. if you will type what he says in ccs, it won't work (mostly). he doesn't want to come and debug, because he knows you have a different compiler. so it's easier for everyone to use the same compiler.

of couse you can program it in another language, or with another compiler, since what matters is the end result (hex)
Check out my homepage for in depth tutorials on microcontrollers and electronics.

Offline robotmirTopic starter

  • Jr. Member
  • **
  • Posts: 21
  • Helpful? 0
thanks,,,,do you know any sites that explain how to connect the ultrasonic sensor to PIC16F877A??or other pic....,,,i want to understand how to program the sensors

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
letsmakerobots.com

those guys are fans of pics and sonar sensors

Offline paulstreats

  • Supreme Robot
  • *****
  • Posts: 1,381
  • Helpful? 21
Try here;

http://www.picguide.org/

There is a project specifically for interfacing ulrasonic/sonar to a 16f877


Obviously it also depends on the sonar that you are using. Each make of sonar can work differently and give different formats of output, so you should really read up about the hardware that you are using. You might find that once you have familiarised yourself with it then you already know how to use it with a microcontroller.

Quote
those guys are fans of pics and sonar sensors


You mean picaxe's. They are pic's preprogrammed with a bootloader and programmed in basic and not PICClite...
« Last Edit: August 03, 2008, 05:47:00 PM by paulstreats »

Offline robotmirTopic starter

  • Jr. Member
  • **
  • Posts: 21
  • Helpful? 0
i have read the info in the webs.....can someone here explain to me how the ultrasonic sensor works??and how do you guys connect it and program it to the PIC...im plainning to buy ultra sonic sensor for my robot waiter.,,,it is kind of expensive...., i need to understand it first before buyying it..... ::) ::) ::)

Offline paulstreats

  • Supreme Robot
  • *****
  • Posts: 1,381
  • Helpful? 21
Different makes of ultrasonic sensors have different ways of connecting to PIC's.

Let us know which specific sensor you are planning to use and then we can let you know how to use it.

Offline robotmirTopic starter

  • Jr. Member
  • **
  • Posts: 21
  • Helpful? 0
here is the url of the sensor i am planning to buy soon for my robot....http://cytron.com.my/listProductCategory.asp?cid=105#101 .....the code for that product is SN-US-40...

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots
Quote
do you know any sites that explain how to connect the ultrasonic sensor to PIC16F877A??

I got sonar and source code here:
http://www.societyofrobots.com/robot_omni_wheel.shtml

(its for the PIC16F877)

Offline ankit_ipu_niec

  • Jr. Member
  • **
  • Posts: 16
  • Helpful? 0
Re: what is the different between downloading hex file using rs232 n usb cable?
« Reply #11 on: September 07, 2008, 06:39:28 AM »
hey here is nice tutorial having very good explaination and full working coding


   http://www.interq.or.jp/japan/se-inoue/e_pic6_6.htm
 


 


Get Your Ad Here

data_list