Exact match. Not showing close matches.
PICList
Thread
'[SX] Pulsin'
2005\10\12@160512
by
Buggn/a
|
|
(Dumb questions, no experience.)
I'm posibly giong to work with the SX and Ping))), and the output of the Ping))) will be more than one byte. How do I store the value?
RoboGeek
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91473
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\10\12@165100 by James Newtonn/a
|
|
What is "the ping"
You store multi-byte values in multi-file register locations.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91473#m91481
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\10\12@192759 by Jon Williamsn/a
|
|
You can write a custom PULSIN to give you as much resolution for the Ping))) as you need. If you want to use the native (8-bit) SX/B PUSLIN then you'll need to set the resolution accordingly.
James: The Ping))) is a low-cost ultrasonic range finder. You trigger it with a short pulse and and it returns the distance to target as a pulse width.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91473#m91523
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
|
|
[Quoting: "Jon Williams (Parallax)"]
You can write a custom PULSIN to give you as much resolution for the Ping))) as you need. If you want to use the native (8-bit) SX/B PUSLIN then you'll need to set the resolution accordingly.Elaborate please? Again, no experience.
RoboGeek
2005\10\13@150247 by Coriolisn/a
|
|
Hes talking about compiling the command PULSIN in SX/B, adjusting the pause between resolution ticks and rolling over the counter into a 16 bit value. But unless you have the actual components and are seeking to do this, I doubt anyone would be willing to take the time out and help you code it since it is a theoretical discussion at this point, just know that it can be done.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91473#m91691
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
|
|
RoboGeek:
I can give you lots of answers but as Paul points out, if you don't actually have SX/B and are not actively working with it then it won't be helpful. At any rate, here goes: The max expected pulse back from the Ping is 18.5 ms (Tin-max in the docs) then you could set the resolution value to 10; this would cause the PULSIN function to return a value from 100 uS to 25.5 ms (in 100 uS units).
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91473#m91706
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
|
|
I should be getting SX/B soon, but don't have it. Thank you for your help!
RoboGeek
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91473#m91982
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\10\17@124008 by Coriolisn/a
|
|
You know you can get started on SX/B before you ever purchase it, by using SXsim and SX/B you can do quite a few "on the computer" experiements with a $0 investment.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91473#m92186
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\10\17@133320 by Jon Williamsn/a
|
|
Good point, Paul, I should have made it! Hmm... I wonder if we can get our pal Guenther to add a pulse simulator to the hardware panel....
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91473#m92196
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
|
|
Didn't even think about that... Have to try it.
RoboGeek
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91473#m94107
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
|
|
Jon,
I have added the pulse simulator to the SXSim wish list.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91473#m94148
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
|
|
Hello,
I have created a circuit with an IR detector module and an rs232 module using the sx tech board. I know each module works but I was not sure if my code is correct. Can someone advise me if this is correct? I cannot see anything on hyperterminal or a VB program that I created.
' -------------------------------------------------------------------------
DEVICE SX28, OSCXT2, TURBO, STACKX, OPTIONX
FREQ 4_000_000
' -------------------------------------------------------------------------
' IO Pins
' -------------------------------------------------------------------------
IRin VAR RA.0 ' IR input
IRout VAR RA.1 ' IR output
' =========================================================================
' Vaiables
' =========================================================================
IRval VAR Byte 'pulsin variable
Temp1 VAR Byte 'counter variable
' =========================================================================
PROGRAM Start
' =========================================================================
Start:
' initialization code here
goto Main
Main:
for temp1 = 0 to 15
pulsin IRin,0,IRval
Serout IRout,T9600,IRval
next
end
GOTO Main
Thanks,
Curtis
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=126855
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
2006\05\24@201413 by PJMontyn/a
|
|
Curtis,
First verify that you can send data to the PC via RS-232 from the SX board. To do this, write a program that does something simple like send the letter "A" over and over. Once you know that is working, then you can concentrate on the IR part. Don't try and solve two problems simultaneously.
[list]Thanks,
PeterM[/list]
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=126855#m127522
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)
More... (looser matching)
- Last day of these posts
- In 2006
, 2007 only
- Today
- New search...