From: <co...@lo...> - 2006-11-03 04:30:32
|
Thanks for getting back to me so quickly Dave! I just built a cable that simply is a "loop" (3 pin cable where the two outside pins are connected.) That should ground out the ADC line and return a value of "0." I tested this with a voltmeter again, to make sure it wasnt a stupid error on my part. I then plugged it into ADC.7 on the back of the board, the farthest away from the edge that has the power jack. when I do "i2c-io 0x0b get ADC.7" I STILL get "1023." Whats going on here??? Do I have to set some register on the ATmega128? I am using a standard SVN copy of i2c-io that I havent modified btw. Thanks! Cody >-----Original Message----- >From: Dave Hylands [mailto:dhy...@gm...] >Sent: Thursday, November 2, 2006 10:22 PM >To: 'General mailing list for gumstix users.' >Subject: Re: [Gumstix-users] Fwd: ADC pins on Robostix > >Hi Cody, > >> > > I am working on a project using robostix/gumstix boards as the embedded >> > controller. I for some reason unknown cannot get the ADC pins on the >> > robostix to function. Using i2c-io from the gumstix, they always return >> > "1023" no matter what the actual value is according to a volt meter. Yet, >> > everything else on the boards functions as normal. >> > >Is there some register I have to set first, a jumper to set? >> >> Hmm. They should work fine. I will double check just to be sure >> tonight when I get home. > >I verified that everything does in fact work as expected. > >One thing to be aware of is that the ADC pins on the top of the board >are labels as 1-8, but the signals labelled on the back of the board >are ADC0-7. > >It's the labels on the back of the board that are used by the ATMega >processor. Being off by a pin has been encountered by several people. > >Also make sure that you've plugged in the the power jack into the >robostix and not some other poer jack on another board. > >-- >Dave Hylands >Vancouver, BC, Canada >http://www.DaveHylands.com/ > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >gumstix-users mailing list >gum...@li... >https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: <co...@lo...> - 2006-11-03 05:39:41
|
I downloaded the mentioned versions for consistency. When I do "i2c-io 0x0b get f.7" with my "loop" plugged in, I get 0 (as expected.) And when I unplug it- I get 1 (as expected.) Didnt get anything between 62 and 64... >-----Original Message----- >From: Dave Hylands [mailto:dhy...@gm...] >Sent: Friday, November 3, 2006 12:05 AM >To: 'General mailing list for gumstix users.' >Subject: Re: [Gumstix-users] Fwd: ADC pins on Robostix > >Hi Cody, > >On 11/2/06, co...@lo... <co...@lo...> wrote: >> Thanks for getting back to me so quickly Dave! >> >> I just built a cable that simply is a "loop" (3 pin cable where the two >> outside pins are connected.) >> That should ground out the ADC line and return a value of "0." >> I tested this with a voltmeter again, to make sure it wasnt a stupid error >> on my part. >> >> I then plugged it into ADC.7 on the back of the board, the farthest away >> from the edge that has the power jack. >> when I do "i2c-io 0x0b get ADC.7" I STILL get "1023." >> >> Whats going on here??? Do I have to set some register on the ATmega128? I >> am using a standard SVN copy of i2c-io that I havent modified btw. > >I'm using the i2c-io.hex from here: >http://davehylands.com/gumstix-wiki/i2c-io/ > >and the i2c-io program from within the i2c-io-2.6.15.tar.gz (it also >works on later versions of the kernel). > >What happens if you try f.7? This is the digital version of the same pin. > >Do you get the same effect on other ADC pins? > >What does > >i2c-io 0x0b readreg pinf > >report? > > >If you power off the board, do you measure continuity between the >ADC.7 pin and the +5 pin? > >You should also check for continuity between pin 64 and pin 62? Pin 62 >is AREF, and pin 64 is AVCC. These should be connected to each other, >and you should also be able to measure continuity between either of >these pins and the +5 pin on the ADC pins. > >Looking at this photo: >http://docwiki.gumstix.org/Image:Robostix-Top.jpg > >Pin 64 is the leftmost pin of the ATMega128 along the top. > >-- >Dave Hylands >Vancouver, BC, Canada >http://www.DaveHylands.com/ > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >gumstix-users mailing list >gum...@li... >https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Dave H. <dhy...@gm...> - 2006-11-03 05:52:55
|
Hi Cody, On 11/2/06, co...@lo... <co...@lo...> wrote: > I downloaded the mentioned versions for consistency. > > When I do "i2c-io 0x0b get f.7" with my "loop" plugged in, I get 0 (as > expected.) And when I unplug it- I get 1 (as expected.) So that means that the ADC pin is connected up fine. > Didnt get anything between 62 and 64... OK - that's the problem then. AREF is supposed to be connected to AVCC. Next thing to do is figure out which pin isn't connected. With the robostix on its own, power it up and see what you measure on each of these pins. They should both be at +5. The one that isn't is obviously not soldered down properly. There's a capacitor near those pins as well. The side furthest way from the processor should also be at +5, as should the center row of pins on the ADC connector. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: <co...@lo...> - 2006-11-03 06:07:28
|
The pin of the capacitor that is farther away from both the CPU and the power jack is NOT +5V! and 62 and 64 are not connected. Now what? >-----Original Message----- >From: Dave Hylands [mailto:dhy...@gm...] >Sent: Friday, November 3, 2006 12:52 AM >To: 'General mailing list for gumstix users.' >Subject: Re: [Gumstix-users] Fwd: ADC pins on Robostix > >Hi Cody, > >On 11/2/06, co...@lo... <co...@lo...> wrote: >> I downloaded the mentioned versions for consistency. >> >> When I do "i2c-io 0x0b get f.7" with my "loop" plugged in, I get 0 (as >> expected.) And when I unplug it- I get 1 (as expected.) > >So that means that the ADC pin is connected up fine. > >> Didnt get anything between 62 and 64... > >OK - that's the problem then. AREF is supposed to be connected to AVCC. > >Next thing to do is figure out which pin isn't connected. With the >robostix on its own, power it up and see what you measure on each of >these pins. They should both be at +5. The one that isn't is obviously >not soldered down properly. > >There's a capacitor near those pins as well. The side furthest way >from the processor should also be at +5, as should the center row of >pins on the ADC connector. > >-- >Dave Hylands >Vancouver, BC, Canada >http://www.DaveHylands.com/ > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >gumstix-users mailing list >gum...@li... >https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Dave H. <dhy...@gm...> - 2006-11-03 06:49:39
|
Hi Cody, On 11/2/06, co...@lo... <co...@lo...> wrote: > The pin of the capacitor that is farther away from both the CPU and the > power jack is NOT +5V! > and 62 and 64 are not connected. So, if its still under warranty, I'd send it back to get it replaced (contact Don to get an RMA number). If it's not under warranty, then you can try and fix it yourself, although this really depends on your soldering skills. The parts in question are really small and require the right kinds of tools. What's the revision of your board? I'm really surprised that the cap doesn't have +5 on it. This is the side that's really close to the AD0 pin on the header. Looking at this photo: http://docwiki.gumstix.org/images/e/e4/Robostix-Top.jpg you can actually see the trace going from the +5 to the capacitor and then over to pin 62. Just to be clear, I put a picture over here: http://www.davehylands.com/gumstix-wiki/Robostix-IO/Robostix-AVCC.jpg and I put red dots at all of the places that should measure +5 from AVCC (this is for R341 and I think it's the same for R790) The chip on the right is the voltage regulator. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: <co...@lo...> - 2006-11-03 07:02:44
|
Dave, Everything checks out except pin 62, which just gave me zero volts. I have had the board about 3 days, but I have a deadline by the end of the month for this robot to work (im writing an article for servo)- so if the fix is just a few minutes with soldering iron, I would like to go for that. If you have time, Could you please explain to me how to fix this? Otherwise, I will just email Don. THANKS! Cody >-----Original Message----- >From: Dave Hylands [mailto:dhy...@gm...] >Sent: Friday, November 3, 2006 01:49 AM >To: 'General mailing list for gumstix users.' >Subject: Re: [Gumstix-users] Fwd: ADC pins on Robostix > >Hi Cody, > >On 11/2/06, co...@lo... <co...@lo...> wrote: >> The pin of the capacitor that is farther away from both the CPU and the >> power jack is NOT +5V! >> and 62 and 64 are not connected. > >So, if its still under warranty, I'd send it back to get it replaced >(contact Don to get an RMA number). > >If it's not under warranty, then you can try and fix it yourself, >although this really depends on your soldering skills. The parts in >question are really small and require the right kinds of tools. > >What's the revision of your board? > >I'm really surprised that the cap doesn't have +5 on it. This is the >side that's really close to the AD0 pin on the header. Looking at this >photo: >http://docwiki.gumstix.org/images/e/e4/Robostix-Top.jpg >you can actually see the trace going from the +5 to the capacitor and >then over to pin 62. > >Just to be clear, I put a picture over here: >http://www.davehylands.com/gumstix-wiki/Robostix-IO/Robostix-AVCC.jpg >and I put red dots at all of the places that should measure +5 from >AVCC (this is for R341 and I think it's the same for R790) > >The chip on the right is the voltage regulator. > >-- >Dave Hylands >Vancouver, BC, Canada >http://www.DaveHylands.com/ > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >gumstix-users mailing list >gum...@li... >https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Dave H. <dhy...@gm...> - 2006-11-03 07:15:15
|
Hi Cody, > Everything checks out except pin 62, which just gave me zero volts. > I have had the board about 3 days, but I have a deadline by the end of the > month > for this robot to work (im writing an article for servo)- so if the fix is > just a few minutes with soldering iron, I would like to > go for that. > > If you have time, Could you please explain to me how to fix this? > Otherwise, I will just email Don. It's probably a cold solder joint underneath pin 62. I think that the boards are assembled using solderpaste, and if there's a manufacturing problem, the solderpaste might not melt completely. Since the trace goes to pin 62 before going to pin 64, it pretty much has to be a bad solder joint. The first thing to try is to just heat up the pin and remelt the solder. This may be sufficient. If not, then you may need to add a tiny amount of extra solder. It's important that you don't get a solder bridge between two of the pins. I normally use a magnifier to inspect solder joints. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: Gonzalo Z. A. <gon...@vt...> - 2006-11-07 22:33:30
|
Hi, anyone knows how to enable php on boa web server? or if there is other options as lighttpd and php. Regards Gonzalo Zapata |
From: Wojciech T. <wojtek@VoIPMan.ORG> - 2006-11-08 00:52:59
|
I am working on integrating PHP into uClinux brach for Blackfin. I don't see why it wouldn't work with gumstix... Wojtek ----- Original Message ----- From: "Gonzalo Zapata Arca" <gon...@vt...> To: "General mailing list for gumstix users." <gum...@li...> Sent: Tuesday, November 07, 2006 4:30 PM Subject: [Gumstix-users] BOA and PHP > Hi, anyone knows how to enable php on boa web server? or if there is > other options as lighttpd and php. > > Regards > > Gonzalo Zapata > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Wojciech T. <wojtek@VoIPMan.ORG> - 2006-11-08 00:53:57
|
I am working on integrating PHP into uClinux brach for Blackfin. I don't see why it wouldn't work with gumstix... Wojtek ----- Original Message ----- From: "Gonzalo Zapata Arca" <gon...@vt...> To: "General mailing list for gumstix users." <gum...@li...> Sent: Tuesday, November 07, 2006 4:30 PM Subject: [Gumstix-users] BOA and PHP > Hi, anyone knows how to enable php on boa web server? or if there is > other options as lighttpd and php. > > Regards > > Gonzalo Zapata > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Dave H. <dhy...@gm...> - 2006-11-03 05:05:19
|
Hi Cody, On 11/2/06, co...@lo... <co...@lo...> wrote: > Thanks for getting back to me so quickly Dave! > > I just built a cable that simply is a "loop" (3 pin cable where the two > outside pins are connected.) > That should ground out the ADC line and return a value of "0." > I tested this with a voltmeter again, to make sure it wasnt a stupid error > on my part. > > I then plugged it into ADC.7 on the back of the board, the farthest away > from the edge that has the power jack. > when I do "i2c-io 0x0b get ADC.7" I STILL get "1023." > > Whats going on here??? Do I have to set some register on the ATmega128? I > am using a standard SVN copy of i2c-io that I havent modified btw. I'm using the i2c-io.hex from here: http://davehylands.com/gumstix-wiki/i2c-io/ and the i2c-io program from within the i2c-io-2.6.15.tar.gz (it also works on later versions of the kernel). What happens if you try f.7? This is the digital version of the same pin. Do you get the same effect on other ADC pins? What does i2c-io 0x0b readreg pinf report? If you power off the board, do you measure continuity between the ADC.7 pin and the +5 pin? You should also check for continuity between pin 64 and pin 62? Pin 62 is AREF, and pin 64 is AVCC. These should be connected to each other, and you should also be able to measure continuity between either of these pins and the +5 pin on the ADC pins. Looking at this photo: http://docwiki.gumstix.org/Image:Robostix-Top.jpg Pin 64 is the leftmost pin of the ATMega128 along the top. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |