changing the code in the MR-C3024

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
223 postsPage 15 of 151 ... 11, 12, 13, 14, 15
223 postsPage 15 of 151 ... 11, 12, 13, 14, 15

Post by stuuk » Sat May 17, 2008 12:28 am

Post by stuuk
Sat May 17, 2008 12:28 am

I sorted the LED

Here is my finished C3024

It's not elegent and not as compact as Ayu's but it works as good as the original.

Image
I sorted the LED

Here is my finished C3024

It's not elegent and not as compact as Ayu's but it works as good as the original.

Image
stuuk offline
Savvy Roboteer
Savvy Roboteer
Posts: 44
Joined: Sun Apr 27, 2008 8:34 pm

Post by badlands » Sat May 17, 2008 4:22 pm

Post by badlands
Sat May 17, 2008 4:22 pm

Nice job Stu. Very impressive.

Where did you get your battery connector from - looks like the original one used on the RN1 so you can use the same battery pack?


Did you keep a bom list?

How you get the robobasic code uploaded? i cant see a mini jack socket on there.
Nice job Stu. Very impressive.

Where did you get your battery connector from - looks like the original one used on the RN1 so you can use the same battery pack?


Did you keep a bom list?

How you get the robobasic code uploaded? i cant see a mini jack socket on there.
badlands offline
Savvy Roboteer
Savvy Roboteer
Posts: 28
Joined: Thu Feb 07, 2008 11:23 pm

Post by stuuk » Sat May 17, 2008 10:40 pm

Post by stuuk
Sat May 17, 2008 10:40 pm

Hi Badlands

The battery connecter is salvage from some old equipment its similar but not quite the same but the battery fits, also would have preferred 90 degree but couldn't find one anywhere.

By a bom list i guess you mean a parts list?
I'll put something together for you if you want.

The 3 pin header at the top of the board is my rs232 connection.
As i had a few servo lead cables spare and rs232 cables it was easier for me to make it that way.

The 3 pin header right of the eeprom is my head LED connector.

I'm still looking for a suitable small peizo speaker, i tried one of those flat ones you get in some greeting cards but it was barely audible

All my connecting wiring is on top of the board so aside from my crap soldering the underside is pretty clean.

Cheers

Stu
Hi Badlands

The battery connecter is salvage from some old equipment its similar but not quite the same but the battery fits, also would have preferred 90 degree but couldn't find one anywhere.

By a bom list i guess you mean a parts list?
I'll put something together for you if you want.

The 3 pin header at the top of the board is my rs232 connection.
As i had a few servo lead cables spare and rs232 cables it was easier for me to make it that way.

The 3 pin header right of the eeprom is my head LED connector.

I'm still looking for a suitable small peizo speaker, i tried one of those flat ones you get in some greeting cards but it was barely audible

All my connecting wiring is on top of the board so aside from my crap soldering the underside is pretty clean.

Cheers

Stu
stuuk offline
Savvy Roboteer
Savvy Roboteer
Posts: 44
Joined: Sun Apr 27, 2008 8:34 pm

Post by stuuk » Sat May 17, 2008 10:43 pm

Post by stuuk
Sat May 17, 2008 10:43 pm

Hi Badlands

The 3 pin header is my rs232 connection but I temporarily soldered jumper wires to my home made ISP programmer to upload the firmware.

Thanks
Hi Badlands

The 3 pin header is my rs232 connection but I temporarily soldered jumper wires to my home made ISP programmer to upload the firmware.

Thanks
stuuk offline
Savvy Roboteer
Savvy Roboteer
Posts: 44
Joined: Sun Apr 27, 2008 8:34 pm

Using C3024 with C

Post by Lord » Tue Aug 05, 2008 7:48 pm

Post by Lord
Tue Aug 05, 2008 7:48 pm

i-Bot wrote:The code is not fully functional. It should be complete, but I did not debug all the ports, and functions, since I was working at the time on an Olimex board not the C3024. I did not check the Gyro code !


I´ve been testing my robonova using the files from the upload.zip (C3024_motion and C3024_io) some of the functions don't seem to work properly, i was wondering if you have a more recent version of these files.
I'll be glad to test and debug these files and inform of any bugs if necessary
i-Bot wrote:The code is not fully functional. It should be complete, but I did not debug all the ports, and functions, since I was working at the time on an Olimex board not the C3024. I did not check the Gyro code !


I´ve been testing my robonova using the files from the upload.zip (C3024_motion and C3024_io) some of the functions don't seem to work properly, i was wondering if you have a more recent version of these files.
I'll be glad to test and debug these files and inform of any bugs if necessary
Lord offline
Newbie
Newbie
Posts: 2
Joined: Tue Aug 05, 2008 7:32 pm

Post by i-Bot » Wed Aug 06, 2008 8:22 am

Post by i-Bot
Wed Aug 06, 2008 8:22 am

I have not further developed the code, though I have used parts of it elsewhere and found some of the bugs. I did not make a structured testing and fixing though.

The bugs are in the bits of code I used to make the C calling interface. Usually where I changed registers to reflect the calling and return values. I also changed some used registers to avoid registers that should be preserved. The core of the code is orginal, so I would not expect errors deep into the routines.

If you want to make a structured testing, I can help you to fix any parts. I just don't have time to test and fix it all.

The reason I stopped with these routines was that although they have the function of the existing C3024, they also have many of the limitations. This is mainly in the large amount of time taken in the motion interrupt routine, and the heavy processor load of some of the background functions. These mean that I still could not use the serial port on interrupt.
I have not further developed the code, though I have used parts of it elsewhere and found some of the bugs. I did not make a structured testing and fixing though.

The bugs are in the bits of code I used to make the C calling interface. Usually where I changed registers to reflect the calling and return values. I also changed some used registers to avoid registers that should be preserved. The core of the code is orginal, so I would not expect errors deep into the routines.

If you want to make a structured testing, I can help you to fix any parts. I just don't have time to test and fix it all.

The reason I stopped with these routines was that although they have the function of the existing C3024, they also have many of the limitations. This is mainly in the large amount of time taken in the motion interrupt routine, and the heavy processor load of some of the background functions. These mean that I still could not use the serial port on interrupt.
i-Bot offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by Lord » Wed Aug 06, 2008 8:54 pm

Post by Lord
Wed Aug 06, 2008 8:54 pm

i-Bot wrote:The bugs are in the bits of code I used to make the C calling interface. Usually where I changed registers to reflect the calling and return values. I also changed some used registers to avoid registers that should be preserved. The core of the code is orginal, so I would not expect errors deep into the routines.


Thanks a lot i-Bot. I'll try to correct the C interface of the routines I'm interested in.

I assume you took the original disassembled code and identified the snippets of code that correspond to each of the roboBasic commands. Is that correct?
i-Bot wrote:The bugs are in the bits of code I used to make the C calling interface. Usually where I changed registers to reflect the calling and return values. I also changed some used registers to avoid registers that should be preserved. The core of the code is orginal, so I would not expect errors deep into the routines.


Thanks a lot i-Bot. I'll try to correct the C interface of the routines I'm interested in.

I assume you took the original disassembled code and identified the snippets of code that correspond to each of the roboBasic commands. Is that correct?
Lord offline
Newbie
Newbie
Posts: 2
Joined: Tue Aug 05, 2008 7:32 pm

Checksum formula

Post by pkv » Fri Sep 23, 2011 1:07 am

Post by pkv
Fri Sep 23, 2011 1:07 am

http://robosavvy.com/Builders/limor/handsup_analyzed.doc
http://robosavvy.com/Builders/limor/simpledance_analyzed.doc

Next steps (help anyone?)
- decyphering the checksum


Hello All. I am new for this forum, although I bought my Robonova a while ago. I thought that the decifering of the checksum could be challenging problem, so I tried to do this.

I have analized *.doc files and found that the least significant byte of a sum of all bytes in 128-byte chunk equals the first byte of the checksum. The second byte of the checksum equals 3F (at least for the full 128-byte chunks). The checksum of the last chunk contains correct the least significant byte of the sum, but does not have 3F (which can be indication of the last chunk).
http://robosavvy.com/Builders/limor/handsup_analyzed.doc
http://robosavvy.com/Builders/limor/simpledance_analyzed.doc

Next steps (help anyone?)
- decyphering the checksum


Hello All. I am new for this forum, although I bought my Robonova a while ago. I thought that the decifering of the checksum could be challenging problem, so I tried to do this.

I have analized *.doc files and found that the least significant byte of a sum of all bytes in 128-byte chunk equals the first byte of the checksum. The second byte of the checksum equals 3F (at least for the full 128-byte chunks). The checksum of the last chunk contains correct the least significant byte of the sum, but does not have 3F (which can be indication of the last chunk).
pkv offline
Newbie
Newbie
Posts: 1
Joined: Thu Sep 22, 2011 11:42 pm

Post by i-Bot » Fri Sep 23, 2011 11:46 am

Post by i-Bot
Fri Sep 23, 2011 11:46 am

I noticed as this old thread re-opened that my old ISP hosting web files referenced in some posts here was no longer available.

Have put the files here:
http://robosavvy.com/Builders/i-Bot/webfiles/

If any files are missing please let me know.

Many subsequent posts made improvements and corrections to these files, so do read the full thread and related threads.
I noticed as this old thread re-opened that my old ISP hosting web files referenced in some posts here was no longer available.

Have put the files here:
http://robosavvy.com/Builders/i-Bot/webfiles/

If any files are missing please let me know.

Many subsequent posts made improvements and corrections to these files, so do read the full thread and related threads.
i-Bot offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by jobo » Sat Jun 30, 2012 10:54 pm

Post by jobo
Sat Jun 30, 2012 10:54 pm

hi
At first sorry of my english :oops: .
I have a question because of this topic. Is this an instructions, how to program MR-C3024 in C? If not, can anybody say me where can i find an instructions?

jobo
hi
At first sorry of my english :oops: .
I have a question because of this topic. Is this an instructions, how to program MR-C3024 in C? If not, can anybody say me where can i find an instructions?

jobo
jobo offline
Newbie
Newbie
Posts: 4
Joined: Tue Jun 26, 2012 4:08 pm

Post by limor » Wed Jul 18, 2012 9:33 am

Post by limor
Wed Jul 18, 2012 9:33 am

yes, it is about re-flashing the Robonova controller board. you can program in C using avrstudio and flash your own code etc.
yes, it is about re-flashing the Robonova controller board. you can program in C using avrstudio and flash your own code etc.
limor offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Post by fp35wj0 » Fri Nov 30, 2012 8:38 am

Post by fp35wj0
Fri Nov 30, 2012 8:38 am

nice job, :D
nice job, :D
fp35wj0 offline
Newbie
Newbie
Posts: 2
Joined: Fri Nov 30, 2012 8:35 am

Post by fp35wj0 » Mon Dec 10, 2012 8:49 am

Post by fp35wj0
Mon Dec 10, 2012 8:49 am

I met the same thing. :?
I met the same thing. :?
fp35wj0 offline
Newbie
Newbie
Posts: 2
Joined: Fri Nov 30, 2012 8:35 am

Previous
Previous
223 postsPage 15 of 151 ... 11, 12, 13, 14, 15
223 postsPage 15 of 151 ... 11, 12, 13, 14, 15
cron