Lynxmotion Tech Support

www.lynxmotion.com
It is currently Sat May 25, 2013 1:56 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 67 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
PostPosted: Fri Mar 16, 2012 1:59 pm 
Offline
Robot Guru
User avatar

Joined: Fri May 25, 2007 8:21 pm
Posts: 3869
Location: Central Coast, CA, USA
OH, sorry! No, just the XLS

The XLS hadn't shown up yet.

Thanks!

Alan

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


Top
 Profile  
 
PostPosted: Wed Mar 21, 2012 4:41 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Looks like I need to start soldering :D
Attachment:
Kurts-Arduino-Mega-shield-T.jpg
Kurts-Arduino-Mega-shield-T.jpg [ 81.56 KiB | Viewed 616 times ]

Attachment:
Kurts-Arduino-Mega-Shield-B.jpg
Kurts-Arduino-Mega-Shield-B.jpg [ 62.8 KiB | Viewed 616 times ]


:D :D :D

Kurt


Top
 Profile  
 
PostPosted: Wed Mar 21, 2012 5:27 pm 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1433
Location: Quebec Canada
Oh so nice...!

_________________
Eric Nantel
Qc Canada

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


Top
 Profile  
 
PostPosted: Wed Mar 21, 2012 6:06 pm 
Offline
Robot Guru
User avatar

Joined: Thu Nov 09, 2006 5:46 am
Posts: 2078
Location: Norway
Looking great!
Good luck with soldering and testing!
:D

_________________
[b]Kåre Halvorsen, Zenta[/b]
-----------------------------------------
Zenta's blog
http://zentasrobots.com/
Zenta's YouTube channel
http://www.youtube.com/ZentaOlbaid
-----------------------------------------


Top
 Profile  
 
PostPosted: Thu Mar 22, 2012 12:27 pm 
Offline
Robot Guru
User avatar

Joined: Fri May 25, 2007 8:21 pm
Posts: 3869
Location: Central Coast, CA, USA
Nice look'n board!

Alan KM6VV

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


Top
 Profile  
 
PostPosted: Fri Mar 23, 2012 3:12 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Thanks guys.

I am really slow at soldering and not that good at it, but here is the first one:
Attachment:
Mega-Shield.jpg
Mega-Shield.jpg [ 64.19 KiB | Viewed 579 times ]


Here it is with an XBee plugged in.

Attachment:
Mega-shield-with-XBee.jpg
Mega-shield-with-XBee.jpg [ 56.87 KiB | Viewed 579 times ]


Got other stuff to do for the rest of today so I probably wont start testing until tomorrow.

Kurt


Top
 Profile  
 
PostPosted: Fri Mar 23, 2012 3:16 pm 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1433
Location: Quebec Canada
Man.. put the power on that..!!!

_________________
Eric Nantel
Qc Canada

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


Top
 Profile  
 
PostPosted: Fri Mar 23, 2012 6:21 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
OK :lol:

I plugged it into my Uno32 board and crossed my fingers and plugged the UNO32 into my USB which powered it up. I am happy to say that so far I have not seen any blue smoke :D.

Have done a few simple tests and so far I have verified that: The 4 LED (D13, plus D38, D40, D42) appear to work. I am putting together my own simple test the shield program and I can blink them. Also tested that I can properly read the 3 buttons I added (39, 41, 43). And I can play notes on the speaker (44).

Will have to wait until tomorrow or so to test the voltage pins to make sure all of them are getting the voltages I expect and then test the different IO pins. Then when I get brave I will plug the XBee back in and start trying it out.

Kurt


Top
 Profile  
 
PostPosted: Fri Mar 23, 2012 6:41 pm 
Offline
Robot Guru
User avatar

Joined: Thu Nov 09, 2006 5:46 am
Posts: 2078
Location: Norway
Nice! Now the fun part begin.. :D

_________________
[b]Kåre Halvorsen, Zenta[/b]
-----------------------------------------
Zenta's blog
http://zentasrobots.com/
Zenta's YouTube channel
http://www.youtube.com/ZentaOlbaid
-----------------------------------------


Top
 Profile  
 
PostPosted: Sat Mar 24, 2012 11:57 am 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Thanks,

Have done some more testing this morning. Verified that ground pins connected, also VS and +5V appear to routed correctly. I also verified that I can talk to the PS2. I added PU resistors on pins 46 and 49, knowing that on some PS2s I have had, the internal PU of the arduino was not enough. Also Chipkits (Pic32MX) don't have PU on most pins and they don't behave the same... ie they dont turn of if you do: digitalWrite(pin, 1);pinMode(pin, INPUT);

I also wrote a simple test to see if the I2C EEPROM on the board works. It reads the 1 byte, writes a new value, reads it back in and compares that the write took. It then writes the old value back. I do this every once for every 2048 bytes until it fails. I went through the full 64K of the EEPROM and it appears to work :D

I also did some simple tests of the Battery voltage/Analog Input jumpers and code. Had to make some of my test code conditional on AVR as the chipkits analog voltage reference is 3.3V. That works. :D Also found a difference with the Max32 versus the Arduinos I have tested before. When I run on USB power only, the VIN pin has no voltage (on previous AVR boards this gave me the USB voltage). Actually I prefer this way as now when I have servos plugged in and the VL=VS jumper is in place... The board will not try to drive servos when only USB is plugged in. (Assuming VS for the servo power).

That is it for this round of testing...

Now to decide what my next step will be. I could start testing the XBee connections or I could start try using this now on my CHR-3 to see how well it performs. This may take me awhile as I will probably write my own servo library. I will probably start working on the servo code next...

Kurt
P.S. - I did try plugging the XBEE into the socket and it appears I can talk to it. I was able to use my configure program and configure it. Trying to decide to change the config program to have the XBee in API mode 2 and use XBee Arduino library instead of my own.


Top
 Profile  
 
PostPosted: Sat Mar 24, 2012 9:48 pm 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1433
Location: Quebec Canada
Look real good.
Not a lot of mistake :)

_________________
Eric Nantel
Qc Canada

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


Top
 Profile  
 
PostPosted: Mon Mar 26, 2012 9:55 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Thanks, maybe a few...

On the buttons, I probably should add a PU resistor to them as chipkit does not have them on all pins. The buttons are on 39, 41, 43. I believe 39 and 41 have one which I could use, but probably better to add simple one on the board itself...

Have tried some servo tests and I am not getting any signal on some of the IO pins (24, 26, 27, 32, 34). Trying to debug now to see if connection issue or???

Kurt


Top
 Profile  
 
PostPosted: Tue Mar 27, 2012 11:59 am 
Offline
Robot Guru
User avatar

Joined: Fri May 25, 2007 8:21 pm
Posts: 3869
Location: Central Coast, CA, USA
If you add PU resistors, do you have jumpers on the switches (so the resistors can be removed from the circuit)?

Alan KM6VV

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


Top
 Profile  
 
PostPosted: Tue Mar 27, 2012 4:00 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Nope, not yet. But then these IO pins are hard coded on the shield, IE the only access to them is the buttons, and of course the stack-able headers.

Have been doing some more investigation of why 5 IO pins are not working. It turns out 3 are sort-of by design (24, 26, 27). These are input only pins associated with the on chip USB, so a bad choice to use on my shield... 32 and 34 should work, but for some reason they are acting like they stackable header pins on the shield are making good contact with the socket on the main board. For now will simply punt and use other pins...

Kurt

P.S. - as for making any changes to the board... Not sure if I will or not as this may work good enough for me as is...


Top
 Profile  
 
PostPosted: Tue Mar 27, 2012 5:52 pm 
Offline
Robot Guru
User avatar

Joined: Fri May 25, 2007 8:21 pm
Posts: 3869
Location: Central Coast, CA, USA
Not that you need a change, if they're already dedicated to PBs. I hadn't heard that, at least not on the UNO.

Alan KM6VV

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 67 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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