Author Topic: $50 Help with files  (Read 6700 times)

0 Members and 1 Guest are viewing this topic.

Offline Joesavage1Topic starter

  • Robot Overlord
  • ****
  • Posts: 268
  • Helpful? 0
    • Dev-HQ - Learn C++, Visual Basic, HTML and More!
$50 Help with files
« on: February 01, 2009, 08:49:54 AM »
Im confused as there are two  files to download in programing, do i need both or just one, if both then how do i make this go on in one session without wiping existing data?!!?

here are the two occurances on the main site.

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

Quote
Note, if you are making The $50 Robot (or at least using the ATmega8 microcontroller), download this .hex file and upload it to your ATmega8. You dont need to compile anything, as I already did that for you. This program will tell the microcontroller to send a signal at 1.5ms, the signal your servos need to hold at the zero position.


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

SOURCE CODE
Now you need to download the source code. Currently, I offer just one program for your robot, but plan to come out with others later:

Photovore v1.zip (March 10th, 2007) - Case-based photovore program



Thanks

Joe

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: $50 Help with files
« Reply #1 on: February 01, 2009, 09:41:10 AM »
Do the modify servo one first and put that in the MCU to  modify the servos. Then do the second one which actually does all the photovore stuff.

Offline Joesavage1Topic starter

  • Robot Overlord
  • ****
  • Posts: 268
  • Helpful? 0
    • Dev-HQ - Learn C++, Visual Basic, HTML and More!
Re: $50 Help with files
« Reply #2 on: February 01, 2009, 09:53:46 AM »
So you mean i upload both to the Microcontroller thing?

How do i upload both at the same time?


PS. WHATS AN MCU

Thanks

Joe
« Last Edit: February 01, 2009, 09:55:38 AM by Joesavage1 »

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: $50 Help with files
« Reply #3 on: February 01, 2009, 10:00:56 AM »
Nope, only upload the servo one, modify your servos, and when you download the new one the old program gets erased

MCU = microcontroller

Offline Joesavage1Topic starter

  • Robot Overlord
  • ****
  • Posts: 268
  • Helpful? 0
    • Dev-HQ - Learn C++, Visual Basic, HTML and More!
Re: $50 Help with files
« Reply #4 on: February 01, 2009, 11:16:20 AM »
so i put 1 on then the servo 1? I want it to be photovore too?!

Joe

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: $50 Help with files
« Reply #5 on: February 01, 2009, 12:07:39 PM »
Before you make it a photovore, you have to modify your servos. To modify your servos, you need a program that tells the servos to center. That is the first program you should download. After you have downloaded it and modified your servos, download the photovore code. Downloading the photovore code into the microcontroller will erase the unneeded center servo code.

Offline Joesavage1Topic starter

  • Robot Overlord
  • ****
  • Posts: 268
  • Helpful? 0
    • Dev-HQ - Learn C++, Visual Basic, HTML and More!
Re: $50 Help with files
« Reply #6 on: February 01, 2009, 01:21:09 PM »
so download 1, run the robot, then download 2 and wipe off 1 ??


Thanks

Joe

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: $50 Help with files
« Reply #7 on: February 01, 2009, 02:21:05 PM »
Yes. When you download 2, 1 gets automatically wiped off.

Offline Joesavage1Topic starter

  • Robot Overlord
  • ****
  • Posts: 268
  • Helpful? 0
    • Dev-HQ - Learn C++, Visual Basic, HTML and More!
Re: $50 Help with files
« Reply #8 on: February 01, 2009, 02:26:22 PM »
so am i right in downloading the servo one, running it on the robot, then wiping off the servo one and putting on the photovore one?

Offline frodo

  • Supreme Robot
  • *****
  • Posts: 329
  • Helpful? 2
  • BOW DOWN TO MY MIGHTY STARE!!
Re: $50 Help with files
« Reply #9 on: February 01, 2009, 02:32:47 PM »
yes, apart from wiping off the servo program and putting the photovore program onto the MCU all goes into one step when you put the photovore program on the MCU.
OMG!!!! I AM SUPREME ROBOT!!!

Check out my Web

Offline Joesavage1Topic starter

  • Robot Overlord
  • ****
  • Posts: 268
  • Helpful? 0
    • Dev-HQ - Learn C++, Visual Basic, HTML and More!
Re: $50 Help with files
« Reply #10 on: February 02, 2009, 01:18:40 AM »
Ok, thanks guys for all your help.

Joe

Offline Joesavage1Topic starter

  • Robot Overlord
  • ****
  • Posts: 268
  • Helpful? 0
    • Dev-HQ - Learn C++, Visual Basic, HTML and More!
Re: $50 Help with files
« Reply #11 on: February 03, 2009, 01:23:59 AM »
Would i have to redo the servo, then the photo every time i start/stop the robot?

Thanks

Joe

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: $50 Help with files
« Reply #12 on: February 03, 2009, 04:37:43 AM »
No. The servo program and photovore program are two entirely different things and basically they are not connected in any way so don't worry about it.

 


data_list