[Microbit-Python] Help - ultrasound hcsr04 sensor

Nicholas H.Tollervey ntoll at ntoll.org
Thu Jul 20 23:17:45 EDT 2017


I believe this is a known problem and will be fixed in the next release
(in the not-too-distant-future).

N.

On 21/07/17 00:00, T Gamble wrote:
> Hi, 
> 
> The MicroPython solution posted here on
> GitHub https://github.com/fizban99/microbit_hcsr04 will not enable me to
> use the Mirco:Bit and Bit:Bot (seeBit:Bot
> <http://4tronix.co.uk/blog/?p=1490>) and HC-SR04 ultra sound sensor. The
> bit:bot provides pin15 for accessory connections, whereas the posted
> solution uses multiple pins. (I am restricted to pin15 on my bit:bot)
> 
> I've tried this on Microsoft MakeCode (block editor) and it works ok -
> setting ping trig and echo both to pin 15, from sonar block package/module.
> 
> I've been troubleshooting thus for hours on end & all I get on the
> MicroBit's LED matrix is the value '  -11 ' or 'Pairing Mode' weirdly!
> 
> Please help. Thanks.
> 
> Tim
> 
> 
> The opinions expressed are those of the individual and not the school.
> Internet communications are not secure and therefore the school does
> not accept legal responsibility for the content of this message. If the
> reader of this message is not the intended recipient, or the user
> responsible for delivering this communication to the intended recipient,
> you are hereby notified that any disclosure, distribution or copying of
> this communication is strictly prohibited.
> 
> 
> 
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/microbit/attachments/20170721/acf8dd39/attachment.sig>


More information about the Microbit mailing list