Lynxmotion Tech Support

www.lynxmotion.com
It is currently Sun May 19, 2013 9:41 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Tue Jul 05, 2011 5:59 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
My BotBoarduino JR (BBJR) board arrive today :D, so I decided to try some basic tests

Step 1 plug in board and see if USB installs. Yes, installed as comm25 with name of "Lynxmotion Botboarduino JR" :). I configured IDE for this port and I choose Arduino demilove or Nano and was able to download test program. Note to self, did not see RX/TX pins blink at all, need to investigate.

So far the debug program is blinking the 3 LEDS installed on digital IOs 7, 8, 9 as well as the standard one on a 13.

Also displays a simple text menu on debug terminal and allows me to choose test. So far I tested I can make sound on speaker on pin 5.

Well that is as far as I have tested so far, Will continue some over the next couple of days.

Kurt


Top
 Profile  
 
PostPosted: Tue Jul 05, 2011 6:34 pm 
Offline
Robot Guru
User avatar

Joined: Fri May 25, 2007 8:21 pm
Posts: 3868
Location: Central Coast, CA, USA
Sounds like fun!

I'm still waiting for mine. ;>)

Alan KM6VV

_________________
Visit:
http://groups.yahoo.com/group/SherlineCNC/
http://tech.groups.yahoo.com/group/HexapodRobotIK/


Top
 Profile  
 
PostPosted: Tue Jul 05, 2011 8:04 pm 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1431
Location: Quebec Canada
IT'S ALIVE...!

_________________
Eric Nantel
Qc Canada

Always liked Robot... Now i am learning to make some...! Wonderfull...


Top
 Profile  
 
PostPosted: Wed Jul 06, 2011 9:56 am 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
kurte wrote:
did not see RX/TX pins blink at all, need to investigate.

Verified LEDs wrong direction. Need to make sure fixed in next version.

KM6VV wrote:
Sounds like fun!

I'm still waiting for mine. ;>)

Hopefully will finish testing soon and they can make the real versions.

DiaLFonZo wrote:
IT'S ALIVE...!

:D - Yep and most of it testing out fine!

So far test program verified can output to all digital and analog pins. LEDs work(except RX/TX), buttons work. Sound works.

Next tests, check to verify right voltages getting to power pins. verify jumpers are as expected, try connecting to SSC-32 using software serial...

Kurt


Top
 Profile  
 
PostPosted: Fri Jul 08, 2011 10:05 am 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Quick update on testing...

I verified most of the jumpers and voltages... Works off USB or can choose to only run on external power.

Changed test program to talk to SSC-32 on digital pins 2,3 with new soft serial. Tried analog slider on one of the analog pins, tried I2C/SRF08 on analog pins 4,5 (SDA/SCL).

Next to try PS2... Then if all works try with ported phoenix code.

Kurt


Top
 Profile  
 
PostPosted: Fri Jul 08, 2011 11:53 am 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
PS2 appears to work. We have a PU resistor on P6, which I used. I also used the ps2x library by Bill Porter...

In case any one wishes to look at current test code.

Kurt


Attachments:
Botboarduino_Test-110708a.zip [3.37 KiB]
Downloaded 104 times
Top
 Profile  
 
PostPosted: Fri Jul 08, 2011 12:57 pm 
Offline
Robot Guru
User avatar

Joined: Fri May 25, 2007 8:21 pm
Posts: 3868
Location: Central Coast, CA, USA
Botboarduino JR,

That's a mouthful!

This is a "mega" board, or a UNO sized board? (You call it mega in the code.)

Hard to follow along without having the board.

Have fun!

Alan KM6VV

_________________
Visit:
http://groups.yahoo.com/group/SherlineCNC/
http://tech.groups.yahoo.com/group/HexapodRobotIK/


Top
 Profile  
 
PostPosted: Fri Jul 08, 2011 2:05 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Looks like I need to do some more editing of the test program comments. Started off with code I was using to test mega shield, now testing Botboarduino JR, which is Atmega328 based... There is an image of the current prototype board in Jim's post...

The board is standard BB2 sized and holes. It will have the standard Arduino shield connectors. Couple of placement issues in this version don't allow me to test shields...

Yep having fun.

Kurt


Top
 Profile  
 
PostPosted: Sat Jul 09, 2011 12:07 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Quick update, I have no moved it to my CHR-3 and it appears to be working. Looks like one of my servos has problems, need to get some new ones...
Then do some more testing.
Kurt


Top
 Profile  
 
PostPosted: Fri Jul 22, 2011 11:45 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Another quick update. After some diversion with Botboarduino Mega Shield and DIY remote code, today I started to play again with the Phoenix code running on Botboarduino JR. Still need to replace the one servo with bad gears, but first problem I ran into was that when I entered into balance mode the robot went nuts. This evening I finally tracked the issue down :D

The problem was in the lines like:
Code:
            BalCalcOneLeg (-LegPosX[LegIndex]+GaitPosX[LegIndex],
                        LegPosZ[LegIndex]+GaitPosZ[LegIndex],
                        (LegPosY[LegIndex]-cInitPosY[LegIndex])+GaitPosY[LegIndex], LegIndex);

The problem is that the array cInitPosY is a static array that was moved out of the data space and into the program space. Needed to change the lines to look like:
Code:
            BalCalcOneLeg (-LegPosX[LegIndex]+GaitPosX[LegIndex],
                        LegPosZ[LegIndex]+GaitPosZ[LegIndex],
                        (LegPosY[LegIndex]-(short)pgm_read_word(&cInitPosY[LegIndex]))+GaitPosY[LegIndex], LegIndex);

So far it appears to be happier... Need to test more. May next try to hook up XBEE. To do some will need to use 2 software serial objects. Should be fun to see how to properly handle the inputs...

Kurt


Top
 Profile  
 
PostPosted: Mon Jul 25, 2011 11:59 am 
Offline
Lynxmotion Founder
User avatar

Joined: Mon Oct 31, 2005 10:46 am
Posts: 9325
Location: my quiet place
This sounds awesome! Thanks for the update!

_________________
Jim Frye, the Robot Guy
http://www.lynxmotion.com
I've always tried to do my best...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group