Author Topic: $50 robot problem  (Read 7532 times)

0 Members and 1 Guest are viewing this topic.

Offline chitnissTopic starter

  • Jr. Member
  • **
  • Posts: 12
  • Helpful? 0
$50 robot problem
« on: March 02, 2009, 01:21:37 PM »
Hi

I am trying hard to program the $50 robot, but I am having a load of problems. I am trying to zero the servos so that I can modify them, but I cant get the program written on the robot. I got a USB-Serial converter. It listed under device manager as COM1. Then when I fired up pony prog (I had to get a copy that someone else extracted and sent to me, since I am using vista 64 bit, and ponyprog did not install out of the box for me). I am unsure if I should select 'SI Prog API' or 'SI Prog I/O' or JDM API. Also, I dont know if 'Invert Reset' or 'Invert SCKL' or 'Invert D-IN' or 'Invert D-Out' need to be checked or not. I did have COM1 selected :) Also, I selected ATmega8 from the drop down in the program.

Then I load up the hex file for the servos. Attached the battery and the cables from the laptop usb to the serial to the robot, and try to write the program. It just does not work!

When I have SI Prog API or JDM API selected, the program sits at Writing 0% for about a minute and then comes up with a error that device not found with abort, retry and ignore as options. When I try SI Prog I/O, it just comes up with similar, but not same, error with ok as the only option.

I thought I might have fried the chip or my board, so, I started fresh and rebuilt a board and got a new ucontroller, but same problems. Anyone have any suggestions..please, help me out here.

Offline Joesavage1

  • Robot Overlord
  • ****
  • Posts: 268
  • Helpful? 0
    • Dev-HQ - Learn C++, Visual Basic, HTML and More!
Re: $50 robot problem
« Reply #1 on: March 03, 2009, 10:26:13 AM »
I assume your using the dongle programmer?

Offline chitnissTopic starter

  • Jr. Member
  • **
  • Posts: 12
  • Helpful? 0
Re: $50 robot problem
« Reply #2 on: March 03, 2009, 11:01:21 AM »
yep, 10 pin dongle programmer from the list in the tutorial.

Offline RiffRaff

  • Full Member
  • ***
  • Posts: 59
  • Helpful? 0
Re: $50 robot problem
« Reply #3 on: March 03, 2009, 06:06:35 PM »
I'm not using the dongle, so I can only offer basic suggestions, which you've probably already checked:

If you have an on/off switch, make sure it's on.

And make sure you've got your battery pack's pos and neg correctly plugged into your board.

Riff

Offline Joesavage1

  • Robot Overlord
  • ****
  • Posts: 268
  • Helpful? 0
    • Dev-HQ - Learn C++, Visual Basic, HTML and More!
Re: $50 robot problem
« Reply #4 on: March 04, 2009, 10:08:40 AM »
I'm not using the dongle, so I can only offer basic suggestions, which you've probably already checked:

If you have an on/off switch, make sure it's on.

And make sure you've got your battery pack's pos and neg correctly plugged into your board.

Riff

Unfortunately I can only offer this advice too, as i bought the more expensive one on the list.

Offline dellagd

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 731
  • Helpful? 5
  • Come to the dark side... We have cookies!
    • Exodus Rocketry
Re: $50 robot problem
« Reply #5 on: March 04, 2009, 03:17:26 PM »
Well the program for setting the servos to zero was in the tutorial wasn't it?
maybe Admin just put it on...
Innovation is a product of Failure, which leads to Success.

If I helped, +1 helpful pls

I Won!
3rd place! I'm taking $100

Offline Joesavage1

  • Robot Overlord
  • ****
  • Posts: 268
  • Helpful? 0
    • Dev-HQ - Learn C++, Visual Basic, HTML and More!
Re: $50 robot problem
« Reply #6 on: March 05, 2009, 12:40:42 PM »
in the tutorial it says u must modify servo's, and gives a link to the modifying servo's page.

Offline dellagd

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 731
  • Helpful? 5
  • Come to the dark side... We have cookies!
    • Exodus Rocketry
Re: $50 robot problem
« Reply #7 on: March 05, 2009, 03:53:17 PM »
also make sure the way you hooked up the programmer to the board is correct.
If I were you, I would also do some basic continuity tests on the board.
Innovation is a product of Failure, which leads to Success.

If I helped, +1 helpful pls

I Won!
3rd place! I'm taking $100

Offline chitnissTopic starter

  • Jr. Member
  • **
  • Posts: 12
  • Helpful? 0
Re: $50 robot problem
« Reply #8 on: March 05, 2009, 04:26:52 PM »
I did a continuity check on every single connection. I was trying this from a laptop with vista 64 bit. I am preping another laptop with XP. Maybe it would work better with XP or the hardware. It will take a couple of hours to get xp setup.

As for the other suggestions, I am not using a on/off switch, I am just plugging the battery right in, and I checked the battery connections too, with and without the battery, just to make sure the regulated and unregulated voltages were right. I want to write the program that admin has online for zeroing the servos.

I have a strong feeling that either I have hardware issues with USB to Serial section of the connection, or I fried the processor with some static...

Will update as I find out what happens. In the mean time, if anyone has any more ideas, let me know

Cheers

Offline chitnissTopic starter

  • Jr. Member
  • **
  • Posts: 12
  • Helpful? 0
Re: $50 robot problem
« Reply #9 on: March 05, 2009, 09:32:46 PM »
well, thats was a couple of hours wasted, getting no where. I might have a bad usb-serial adapter. Anyone here use a USB-Serial adapter from EMTC?

Cheers

Offline dellagd

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 731
  • Helpful? 5
  • Come to the dark side... We have cookies!
    • Exodus Rocketry
Re: $50 robot problem
« Reply #10 on: March 06, 2009, 07:10:35 AM »
if thats a case, send a email to whatever website you got it on, with the order number and subject Dead on Arival.
Chances are that they will send you a new one free of charge if you send the old one back.
Innovation is a product of Failure, which leads to Success.

If I helped, +1 helpful pls

I Won!
3rd place! I'm taking $100

Offline Trumpkin

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
Re: $50 robot problem
« Reply #11 on: March 06, 2009, 10:10:42 AM »
I do not think USB to serial adapters work with Pony Prog.
Robots are awesome!

Offline chitnissTopic starter

  • Jr. Member
  • **
  • Posts: 12
  • Helpful? 0
Re: $50 robot problem
« Reply #12 on: March 11, 2009, 07:32:05 PM »
oh, I did not know that. I assumed from the tutorial that usb to serial adaptors were supposed to work...

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: $50 robot problem
« Reply #13 on: March 26, 2009, 05:46:08 AM »
They kinda work with ponyprog, but really badly or not at all.

 


data_list