simonmonk / raspirobotboard

Source for the RaspiRobotBoard Python library.
42 stars 20 forks source link

Range Finder problem #1

Open jonathanwein opened 11 years ago

jonathanwein commented 11 years ago

Hi, no matter what I do, the range finder ALWAYS returns 0. I followed the assembly instructions, to the best I can. I did receive a different transistor than the one on the assembly tutorial. can someone please tell me where i can troubleshoot this? or find out what's wrong? thanks, jonathan

simonmonk commented 11 years ago

The important thing about the transistor is that it is PNP NOT the more common NPN.

What transistor did you use?

Si

On 17 Aug 2013, at 13:23, jonathanwein notifications@github.com wrote:

Hi, no matter what I do, the range finder ALWAYS returns 0. I followed the assembly instructions, to the best I can. I did receive a different transistor than the one on the assembly tutorial. can someone please tell me where i can troubleshoot this? or find out what's wrong? thanks, jonathan

— Reply to this email directly or view it on GitHub.

Simon Monk. http://www.simonmonk.org

jonathanwein commented 11 years ago

Hi, I used the transistor found in the kit I bought. it says: "2N2907 8529". I'm a novice at this, and don't really know the difference between PNP and NPN. what can the problem her? if it isn't the transistor?

thanks, Jonathan

On Aug 18, 2013, at 1:16 AM, simonmonk notifications@github.com wrote:

The important thing about the transistor is that it is PNP NOT the more common NPN.

What transistor did you use?

Si

On 17 Aug 2013, at 13:23, jonathanwein notifications@github.com wrote:

Hi, no matter what I do, the range finder ALWAYS returns 0. I followed the assembly instructions, to the best I can. I did receive a different transistor than the one on the assembly tutorial. can someone please tell me where i can troubleshoot this? or find out what's wrong? thanks, jonathan

— Reply to this email directly or view it on GitHub.

Simon Monk. http://www.simonmonk.org — Reply to this email directly or view it on GitHub.

jonathanwein commented 11 years ago
Hi,

Please help me solve this problem with my rang finder. i'm not a technician and have no idea what's wrong. thanks, jonathan

Begin forwarded message:

From: yoyo yowtravelblog@gmail.com Subject: Re: [raspirobotboard] Range Finder problem (#1) Date: August 20, 2013 10:36:15 AM GMT+03:00 To: simonmonk/raspirobotboard reply@reply.github.com

Hi, I used the transistor found in the kit I bought. it says: "2N2907 8529". I'm a novice at this, and don't really know the difference between PNP and NPN. what can the problem her? if it isn't the transistor?

thanks, Jonathan

On Aug 18, 2013, at 1:16 AM, simonmonk notifications@github.com wrote:

The important thing about the transistor is that it is PNP NOT the more common NPN.

What transistor did you use?

Si

On 17 Aug 2013, at 13:23, jonathanwein notifications@github.com wrote:

Hi, no matter what I do, the range finder ALWAYS returns 0. I followed the assembly instructions, to the best I can. I did receive a different transistor than the one on the assembly tutorial. can someone please tell me where i can troubleshoot this? or find out what's wrong? thanks, jonathan

— Reply to this email directly or view it on GitHub.

Simon Monk. http://www.simonmonk.org — Reply to this email directly or view it on GitHub.

simonmonk commented 11 years ago

Hi Jonathan,

That transistor should be fine.

Check the stripboard very carefully for any bridges.

Si.

On 24 Aug 2013, at 20:48, jonathanwein notifications@github.com wrote:

Hi, Please help me solve this problem with my rang finder. i'm not a technician and have no idea what's wrong. thanks, jonathan

Begin forwarded message:

From: yoyo yowtravelblog@gmail.com Subject: Re: [raspirobotboard] Range Finder problem (#1) Date: August 20, 2013 10:36:15 AM GMT+03:00 To: simonmonk/raspirobotboard reply@reply.github.com

Hi, I used the transistor found in the kit I bought. it says: "2N2907 8529". I'm a novice at this, and don't really know the difference between PNP and NPN. what can the problem her? if it isn't the transistor?

thanks, Jonathan

On Aug 18, 2013, at 1:16 AM, simonmonk notifications@github.com wrote:

The important thing about the transistor is that it is PNP NOT the more common NPN.

What transistor did you use?

Si

On 17 Aug 2013, at 13:23, jonathanwein notifications@github.com wrote:

Hi, no matter what I do, the range finder ALWAYS returns 0. I followed the assembly instructions, to the best I can. I did receive a different transistor than the one on the assembly tutorial. can someone please tell me where i can troubleshoot this? or find out what's wrong? thanks, jonathan

— Reply to this email directly or view it on GitHub.

Simon Monk. http://www.simonmonk.org — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub.

Simon Monk. http://www.simonmonk.org

sgriset commented 7 years ago

Simon not sure if you still checking since this is an old board. Give the form factor of my robot project I want to use LV-MaxSonar-EZ and not the HR-SR-04, so I moved back to the version one of your board I got several years back from Sparkfun. I have setup your inverter circuit on a breadboard using PNP 2N3906 transistor. The problem I'm having is I get the following error when running the program: File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 289, in open self.fd = os.open(self.portstr, os.O_RDWR|os.O_NOCTTY|os.O_NONBLOCK) OSError: [Errno 2] No such file or directory: '/dev/ttyAMA0'

Any suggestions on troubleshooting this would be greatly appreciated

Thank you in advance for your help