-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create block for TFMini rangefinders #1715
Comments
Any chance someone could forward me a pdf of the pages linked? I don't
have access.
…On Wed, Jan 22, 2020, 7:15 PM dcarrier-parallax ***@***.***> wrote:
The TFMini rangefinders work with a collection of blocks, but to bring it
in line with support of other products, it would need a single block,
likely with I2C and serial support. They use the same protocol, so a single
code base should work.
The product pages are at: https://www.parallax.com/product/28350 and
https://www.parallax.com/product/28360
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1715?email_source=notifications&email_token=AEWSVOFTJXKTKDNWLZKX2JLQ7EDULA5CNFSM4KKQBUX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IIEB3NA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEWSVOADCDR7LYONCEJNNULQ7EDULANCNFSM4KKQBUXQ>
.
|
I checked: the first page is just a placeholder; no information except a picture. The second link doesn't exist yet. Here's code and datasheets from the product folders... For the TFmini-S: For the TFmini Plus: |
Okay, I own one of these (the mini-s I think). I believe they are both
UART devices, so it's just a matter of parsing their stream. Shouldn't be
too difficult.
I might be neat to do a library that just handles UART distance detectors,
including the laserPing...
…On Thu, Jan 23, 2020 at 9:01 AM Parallax Git Administrator < ***@***.***> wrote:
I checked: the first page is just a placeholder; no information except a
picture. The second link doesn't exist yet.
[image: image]
<https://user-images.githubusercontent.com/1266318/73005793-64a77c80-3dbe-11ea-8de2-57482d891ca8.png>
Here's code and datasheets from the product folders...
For the TFmini-S:
TFmini C Example v1.0.zip
<https://github.com/parallaxinc/BlocklyProp/files/4104379/TFmini.C.Example.v1.0.zip>
TFmini-S-01 A00 Datasheet.pdf
<https://github.com/parallaxinc/BlocklyProp/files/4104382/TFmini-S-01.A00.Datasheet.pdf>
For the TFmini Plus:
TFmini Plus-01-A04-Datasheet.pdf
<https://github.com/parallaxinc/BlocklyProp/files/4104385/TFmini.Plus-01-A04-Datasheet.pdf>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1715?email_source=notifications&email_token=AEWSVOETIVDRBPWGCEGHQA3Q7HEQDA5CNFSM4KKQBUX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJYCEVQ#issuecomment-577774166>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEWSVOGVLT4MW53PRDLNHBTQ7HEQDANCNFSM4KKQBUXQ>
.
|
Warning: The TFmini and the TFmini-S use different command protocols -- the latter being an improvement over the former. Out of the box the device sends a 9-byte packet every 10ms; inside that packet is the distance measurement (defaults to CM). The TFmini-S is easy to use; I have coded experimental code in Spin (will port to an object later), and I did a simple demo in Blockly for Ken. The problem with Blockly is that the serial blocks do not include an RX Flush block -- and this is important when dealing with a device that is constantly transmitting. In my demo I used a custom block to call fdserial_rxflush() -- but if Ken changes the pin numbers on the serial initialization block, he'll have to edit the custom block. Anyway, he has the code and will make it available at some point. |
The TFMini rangefinders work with a collection of blocks, but to bring it in line with support of other products, it would need a single block, likely with I2C and serial support. They use the same protocol, so a single code base should work.
The product pages are at: https://www.parallax.com/product/28350 and https://www.parallax.com/product/28360
The text was updated successfully, but these errors were encountered: