Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

How to charge the batteries via C?

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
3 postsPage 1 of 1
3 postsPage 1 of 1

How to charge the batteries via C?

Post by cosa » Mon Dec 04, 2006 7:20 pm

Post by cosa
Mon Dec 04, 2006 7:20 pm

Hi,

I'm searching for a piece of code that demonstrates how to charge the batteries. It's very inconvenient to upload the firmware every time you want to recharge the batteries.

Has anyone figured it out yet?

Thanks in advance,
cosa
Hi,

I'm searching for a piece of code that demonstrates how to charge the batteries. It's very inconvenient to upload the firmware every time you want to recharge the batteries.

Has anyone figured it out yet?

Thanks in advance,
cosa
cosa
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 40
Joined: Mon Dec 04, 2006 1:00 am

Post by inaki » Mon Dec 04, 2006 8:36 pm

Post by inaki
Mon Dec 04, 2006 8:36 pm

Sorry but you don't need to upload the firmware after you recharge batteries at all. The firware does not erase because your battery goes low. How are you charging batteries ?
Sorry but you don't need to upload the firmware after you recharge batteries at all. The firware does not erase because your battery goes low. How are you charging batteries ?
inaki
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 233
Joined: Sun Mar 06, 2005 1:00 am
Location: EH

Post by cosa » Mon Dec 04, 2006 10:33 pm

Post by cosa
Mon Dec 04, 2006 10:33 pm

I write my own C(++) program - like example.c - and upload the .hex file to the robot. If I want to recharge the batteries I can't use the "press button up" mechanism because its implemented in the firmware (I guess so).
So every time I want to recharge the batteries I have to write the original firmware to the robot (and erase my program) and use the standard mechanism.
Now I'm searching for a piece of code to implement a recharge-function in my own c-program.
I write my own C(++) program - like example.c - and upload the .hex file to the robot. If I want to recharge the batteries I can't use the "press button up" mechanism because its implemented in the firmware (I guess so).
So every time I want to recharge the batteries I have to write the original firmware to the robot (and erase my program) and use the standard mechanism.
Now I'm searching for a piece of code to implement a recharge-function in my own c-program.
cosa
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 40
Joined: Mon Dec 04, 2006 1:00 am


3 postsPage 1 of 1
3 postsPage 1 of 1