microsoft / pxt-sonar Goto Github PK
View Code? Open in Web Editor NEWA Microsoft MakeCode package to handle sonar sensors and pings
Home Page: https://makecode.microbit.org/pkg/Microsoft/pxt-sonar
License: MIT License
A Microsoft MakeCode package to handle sonar sensors and pings
Home Page: https://makecode.microbit.org/pkg/Microsoft/pxt-sonar
License: MIT License
Please add icon.png <100Kb to aid search on makecode.microbit.org
I ve been trying to make mesures of a distance with ultrasound (I've tried the sensor sonar:bit V1.6, VMA306 and SRF005) . The mesures the micro:bit gives me are always 0.64 times the real distance mesured with a ruler. ( I did tests from 5cm to 200 cm)
Could you tell me why do i find this proportional coefficent equal to 0,64 ?
Bests regards,
Emily
For the same ultrasonic sensor, test data with Arduino code was normal, while test data with microbit code was wrong.
After oscilloscope test, I found that the data returned by pulseIn() function was wrong.
See the link for details: https://support.microbit.org/support/tickets/38499
Hi, thanks for developing this extension.
I think it is better to add millimeters (caculated to hundreadths place value) unit in case of measuring closer things.
Check the suggestion please.
JaeHwan
Hi,
with the HC-SR04 ultrasonic distance sensor and the pxt.microbit,org editor for the BBC Microbit the Package don't work.
The output is always "0".
The hardware works fine (tested with an Arduino Uno)
Shure that this package should work?
Best regards
There are important files that Microsoft projects should all have that are not present in this repository. A pull request has been opened to add the missing file(s). When the pr is merged this issue will be closed automatically.
Microsoft teams can learn more about this effort and share feedback within the open source guidance available internally.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.