<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>microbit Forum - Recent Threads</title><link>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum</link><description>For discussion about the bbc micro:bit</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Fri, 09 Aug 2024 06:50:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum" /><item><title>Help me my Tobbie-II goes zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz</title><link>https://community.element14.com/thread/54910?ContentTypeID=0</link><pubDate>Thu, 08 Aug 2024 06:13:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:038d3424-980e-408e-8a64-829b89cec116</guid><dc:creator>swithin</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/54910?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/54910/help-me-my-tobbie-ii-goes-zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Guys my Tobbie-II is not working.&lt;/p&gt;
&lt;p&gt;when it was moving forward it goes zzzzzzzzzzzzz&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz&lt;/span&gt;&lt;span&gt;zzzzzzzzzzzzz.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>RE: Help me my Tobbie-II goes zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz</title><link>https://community.element14.com/thread/223140?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2024 06:50:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e9867f25-470e-40a4-b246-8835eb529905</guid><dc:creator>JWx</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/223140?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/54910/help-me-my-tobbie-ii-goes-zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;or - if gears are not moving at all (and the motor generates this sound when stalled and unable to move the robot - similar to the situation when you prevent electric motor from rotating) it can indicate some mechanical problem resulting in the blockade that the motor cannot overcome. If you are confident that you can put it back together, you can disassemble the gearbox and try to find the blocking element&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help me my Tobbie-II goes zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz</title><link>https://community.element14.com/thread/223078?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 11:16:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:56bfad77-9ca3-4f96-aa9e-ad2b2355d51f</guid><dc:creator>JWx</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/223078?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/54910/help-me-my-tobbie-ii-goes-zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;from the photo it seems that it has transparent part of enclosure where gears can be seen - I suspect that one of gears got damaged or is not contacting properly (similar to toy cars with damaged gearboxes), and you will be able to see the point where gears are no longer moving when the motor is on. If damaged gear can be identified, maybe it can be replaced or returned to the proper position?&lt;br /&gt;&lt;img alt="tobbie2 fragment" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/147/Screenshot-2024_2D00_08_2D00_08-at-14_2D00_09_2D00_13-Accessories_2D00_Guide.pdf.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some garbled serial comms from Micro:bit</title><link>https://community.element14.com/thread/217159?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2023 14:54:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d28c6338-ec58-4047-85a1-8e5bc6131523</guid><dc:creator>baldengineer</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/217159?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/54030/some-garbled-serial-comms-from-micro-bit/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s a really good tip (and one I would have never thought of!)&lt;/p&gt;
&lt;p&gt;Thanks for sharing your finding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Some garbled serial comms from Micro:bit</title><link>https://community.element14.com/thread/54030?ContentTypeID=0</link><pubDate>Tue, 28 Nov 2023 21:33:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:db1db532-a833-4242-918a-2f518bd9676b</guid><dc:creator>pmulvey</dc:creator><slash:comments>7</slash:comments><comments>https://community.element14.com/thread/54030?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/54030/some-garbled-serial-comms-from-micro-bit/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;span&gt;My Serial writes are garbled when sent out to TeraTerm terminal program but Ok when viewed on the Serial monitor. Characters get dropped. This is quite useless as I want my class to receive the data in Python on the PC. I get this in both micro:bit Python editor and MS Makecode. I have used different micro:bits on different PCs, same result. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried Mu Editor and the micro:bit sends data across the serial port perfectly. I&amp;#39;m using V2. Is there an issue with the firmware used by MS Makecode and micro:bit Python editor?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I wrote a short Python program to read the serial port on the PC and I get the same results as with TeraTerm i.e. dropped characters, about 10% only, no major garbling.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>RE: Some garbled serial comms from Micro:bit</title><link>https://community.element14.com/thread/217146?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2023 12:56:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:87f07e21-04b4-4a23-99f5-59abe0c27029</guid><dc:creator>pmulvey</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/217146?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/54030/some-garbled-serial-comms-from-micro-bit/rss?ContentTypeId=0</wfw:commentRss><description>&lt;div&gt;Finally an answer:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks for contacting the Micro:bit Educational Foundation.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div dir="ltr"&gt;When a WebUSB connection is used to send a program directly to micro:bit, MakeCode and the Python Editor stay connected and ready for incoming serial data.&lt;/div&gt;
&lt;div dir="ltr"&gt;&lt;/div&gt;
&lt;div dir="ltr"&gt;With a serial terminal program connected, for some reason an occasional character still finds it&amp;#39;s way to WebUSB.&lt;/div&gt;
&lt;div dir="ltr"&gt;​&lt;/div&gt;
&lt;div dir="ltr"&gt;Use the three dots menu on the Download/send to micro:bit button to Disconnect, or close the WebUSB connected browser tab.&lt;/div&gt;
&lt;div dir="ltr"&gt;​&lt;/div&gt;
&lt;div dir="ltr"&gt;I have found this easy to forget. It&amp;#39;s taken a while, but I finally now do think &amp;quot;shut MakeCode&amp;quot; when serial is misbehaving!&lt;/div&gt;
&lt;div dir="ltr"&gt;&lt;/div&gt;
&lt;div dir="ltr"&gt;For the same reason, having more than one tab with MakeCode or the Python Editor open can lead to errors.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some garbled serial comms from Micro:bit</title><link>https://community.element14.com/thread/217045?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 08:14:22 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2e8783af-e3cd-4c17-b340-1859eb4c296d</guid><dc:creator>pmulvey</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/217045?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/54030/some-garbled-serial-comms-from-micro-bit/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Later I will prepare a full report of what is happening and put code up here etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some garbled serial comms from Micro:bit</title><link>https://community.element14.com/thread/217044?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 08:07:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cb1e2144-7eb0-4f46-8859-76b741f80330</guid><dc:creator>Gough Lui</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/217044?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/54030/some-garbled-serial-comms-from-micro-bit/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Can you attach example images, code, settings, results etc?&lt;/p&gt;
&lt;p&gt;We can&amp;#39;t help you if you can&amp;#39;t help us understand the issue you&amp;#39;re facing in more detail. I&amp;#39;m not sure what you mean by dropped characters - if it&amp;#39;s serial overflow, that is a possibility but still unlikely as serial is &amp;quot;slow&amp;quot; compared to the speed of modern computers.&lt;/p&gt;
&lt;p&gt;- Gough&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some garbled serial comms from Micro:bit</title><link>https://community.element14.com/thread/217043?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 07:49:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:95215c4a-31a0-4195-859c-9804700e5f69</guid><dc:creator>pmulvey</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/217043?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/54030/some-garbled-serial-comms-from-micro-bit/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;span style="font-size:inherit;"&gt;I have used TeraTerm and Python as the receiver of serial data from ESP, Pi Pico and Arduino and I have seen the garbled output from unmatched serial settings. Interestingly this seems to be down to dropped characters or most likely characters not sent as I don&amp;#39;t get hardly any wrong characters. When&amp;nbsp;using the MU Editor and the firmaware that it loads on to the microbit everything is OK, all characters are transmitted fine. I have tried putting a 20mS pause between each character of a string but same result.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some garbled serial comms from Micro:bit</title><link>https://community.element14.com/thread/217040?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 23:19:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8f5c41fc-069c-4e33-8015-c81054e1c19c</guid><dc:creator>Gough Lui</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/217040?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/54030/some-garbled-serial-comms-from-micro-bit/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Are you sure you are matching the correct baud-rate, parity, bit-length and stop-bits? This needs to match what is used by the program running on the Micro:bit and should match whatever serial monitor you were previously using. Common rates include 9600bps, 19200bps, 38400bps, 57600bps and &lt;strong&gt;115200bps &lt;/strong&gt;(this seems to be a Micro:bit default). Usually 8-bits, no parity, 1-stop-bit is customary.&lt;/p&gt;
&lt;p&gt;Have you ensured compatible flow-control is set? Usually, without dedicated handshaking lines, None should be used. If it is set to XON/XOFF, this could result in some unpredictable behaviour, while setting it to RTS/CTS without the lines connected could inhibit communications entirely.&lt;/p&gt;
&lt;p&gt;Are you only sending printable characters? As there are some escape sequences which can really &amp;quot;stuff up&amp;quot; terminals and cause them to change modes/display garbled data.&lt;/p&gt;
&lt;p&gt;- Gough&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some garbled serial comms from Micro:bit</title><link>https://community.element14.com/thread/217039?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 23:12:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b083f70b-e7fe-433c-8808-a32f37716102</guid><dc:creator>dougw</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/217039?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/54030/some-garbled-serial-comms-from-micro-bit/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t know about this specific situation, but serial data can easily get messed up if the receiving software is not keeping up with the incoming data rate. There have been all kinds of handshake protocols, drivers and and buffering schemes&amp;nbsp;over the years to try to ensure the receiving software is ready to receive. You may need to specify larger buffers or a different handshake protocol, or speed up your data reception code, or slow down the sending data, although I&amp;#39;m surprised the defaults don&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>programmer halo hd techtronique avec microPython sur micobit</title><link>https://community.element14.com/thread/53977?ContentTypeID=0</link><pubDate>Wed, 15 Nov 2023 17:13:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:19cb384b-ff5f-4f35-8d98-13c3a36aa43f</guid><dc:creator>didier.f</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/53977?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/53977/programmer-halo-hd-techtronique-avec-micropython-sur-micobit/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;hello&lt;/p&gt;
&lt;p&gt;je suis fran&amp;ccedil;ais&lt;/p&gt;
&lt;p&gt;avant de poser ma question, je voudrais savoir si je peux la poser en fran&amp;ccedil;ais, ou d&amp;#39;abord faire une traduction en anglais.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Traduction" data-ved="2ahUKEwi09LeDwMaCAxXYdKQEHba9DeIQ3ewLegQIBRAQ"&gt;&lt;span class="Y2IQFc" lang="en"&gt;before asking my question, I would like to know if I can ask it in French, or first do a translation into English&lt;/span&gt;&lt;/pre&gt;</description></item><item><title>RE: Rotation, Roll sensor, that is adjustable.  A buzzer that will let you know when the RC truck is about to roll over.</title><link>https://community.element14.com/thread/214336?ContentTypeID=1</link><pubDate>Sat, 16 Sep 2023 13:18:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:dd5acda8-91c2-4f8b-81f6-8bd2d01363ed</guid><dc:creator>beacon_dave</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/214336?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/53658/rotation-roll-sensor-that-is-adjustable-a-buzzer-that-will-let-you-know-when-the-rc-truck-is-about-to-roll-over/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;One way might be:&lt;/p&gt;
&lt;p&gt;In the main program loop, forever compare the current rotation angle with the tilt value stored by button B and if it is greater than or equal to, then turn the buzzer on, else turn the buzzer off.&lt;/p&gt;
&lt;p&gt;There is an example here which may help:&lt;br /&gt;&lt;a href="https://makecode.microbit.org/reference/input/rotation" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="y"&gt;https://makecode.microbit.org/reference/input/rotation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that you may want to disable the buzzer until button B has stored the desired tilt threshold value otherwise the buzzer may start sounding before button B has been set. You could also initialise the tilt threshold value to a very high tilt value and then pressing button B effectively lowers it.&lt;/p&gt;
&lt;p&gt;Also you appear to be measuring pitch and not roll in your code. This may be intentional due to the orientation of the micro:bit on the vehicle.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you are just starting out with the micro:bit then you may be interested in getting hold of a copy of this book:&lt;br /&gt;&lt;a href="https://www.mheducation.co.uk/save-the-world-with-code-20-fun-projects-for-all-ages-using-raspberry-pi-micro-bit-and-circuit-9781260457599-emea" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="y"&gt;https://www.mheducation.co.uk/save-the-world-with-code-20-fun-projects-for-all-ages-using-raspberry-pi-micro-bit-and-circuit-9781260457599-emea&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;or perhaps taking a look at the Physical Computing course on FutureLearn:&lt;br /&gt;&lt;a href="https://www.futurelearn.com/courses/build-a-physical-computing-prototype" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="y"&gt;https://www.futurelearn.com/courses/build-a-physical-computing-prototype&lt;br /&gt;&lt;/a&gt;where if I recall correctly, the final project is a remote control car using two micro:bits&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Rotation, Roll sensor, that is adjustable.  A buzzer that will let you know when the RC truck is about to roll over.</title><link>https://community.element14.com/thread/53658?ContentTypeID=0</link><pubDate>Thu, 14 Sep 2023 23:04:07 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:613b2a7e-c15a-4e89-a76a-a129dddeeaa9</guid><dc:creator>BenchMade</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/53658?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/53658/rotation-roll-sensor-that-is-adjustable-a-buzzer-that-will-let-you-know-when-the-rc-truck-is-about-to-roll-over/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I would like to know the steps on how to capture the role of an RC vehicle, &amp;nbsp;before it is about to roll on its side. &amp;nbsp;The micro:bit can be placed on the RC vehicle on the roll axis.&lt;/p&gt;
&lt;p&gt;Micro:bit will be placed on the RC truck, &amp;nbsp;Roll axis . &amp;nbsp;Then A switch will Capture 0 value of the roll value. &amp;nbsp;Then the RC truck will be tilted at 90&amp;deg; or whatever the role value is, before it tips over.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Here is what I have on my micro:bit, &amp;nbsp;to capture the data when the air switch is pressed. &amp;nbsp;And when the B button is pressed down, it captures the angle of the roll.&lt;/p&gt;
&lt;p&gt;what I don&amp;rsquo;t know is how to include the buzzer so when it gets to the point of the data captured on the B switch, it will start buzzing.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:360px;max-width:640px;" alt=" " src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/147/IMG_5F00_0878.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;There is a YouTube example.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;a href="https://www.youtube.com/watch?v=_6BpXRFIaes" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="y"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>mp3 player</title><link>https://community.element14.com/thread/52563?ContentTypeID=0</link><pubDate>Tue, 07 Mar 2023 13:56:50 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:526d05d4-2b4a-4f57-a04b-1d2ec112aee2</guid><dc:creator>naimlion</dc:creator><slash:comments>5</slash:comments><comments>https://community.element14.com/thread/52563?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/52563/mp3-player/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;please can i listen to my mp3 file in the speaker of my microbit v2 and not in the earphone connected to mp3 player,thx in advance&lt;/p&gt;</description></item><item><title>RE: mp3 player</title><link>https://community.element14.com/thread/206866?ContentTypeID=1</link><pubDate>Sat, 11 Mar 2023 13:59:18 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f4f4951b-2797-4169-ba9f-93f303b563d9</guid><dc:creator>bidrohini</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/206866?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/52563/mp3-player/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I think this may help:&amp;nbsp;&lt;a href="https://support.microbit.org/support/solutions/articles/19000125318-playing-audio-on-the-micro-bit"&gt;support.microbit.org/.../19000125318-playing-audio-on-the-micro-bit&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mp3 player</title><link>https://community.element14.com/thread/206711?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 22:11:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ad5be3a4-9c84-43db-be91-a3ed78766603</guid><dc:creator>naimlion</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/206711?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/52563/mp3-player/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;thx a lot really as you said it&amp;acute;s difficult.so i find a solution that i connect mini humberguer speaker to my mp3 player and i close the topic.&lt;/p&gt;
&lt;p&gt;thx again&lt;/p&gt;
&lt;p&gt;best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mp3 player</title><link>https://community.element14.com/thread/206699?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 17:15:22 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:daa437cd-424d-4af9-85c5-8b72e5953a7e</guid><dc:creator>dougw</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/206699?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/52563/mp3-player/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://community.element14.com/learn/learning-center/stem-academy/microbit/b/blog/posts/project-bbc-micro-bit-wav-sound-file-player-by-cabe"&gt;[PROJECT] BBC Micro:bit – WAV Sound File Player by Cabe&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://www.nchsoftware.com/howto/convert/wav_to_raw_files.html"&gt;https://www.nchsoftware.com/howto/convert/wav_to_raw_files.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://support.microbit.org/support/solutions/articles/19000125318-playing-audio-on-the-micro-bit"&gt;https://support.microbit.org/support/solutions/articles/19000125318-playing-audio-on-the-micro-bit&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mp3 player</title><link>https://community.element14.com/thread/206695?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 16:41:33 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2510c45a-ada7-414d-8a6a-83aa7c09ba65</guid><dc:creator>naimlion</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/206695?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/52563/mp3-player/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;thx but how convert mp3 to a raw audio format&lt;/p&gt;
&lt;p&gt;thx because i want to use only the speaker of microbit v2 with mp3 player&lt;/p&gt;
&lt;p&gt;thx in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mp3 player</title><link>https://community.element14.com/thread/206693?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 16:21:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6613cd0c-e4b6-4715-916d-ab2d94f854a2</guid><dc:creator>dougw</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/206693?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/52563/mp3-player/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;microbit v2 can play music on its speaker, but it appears you need to convert mp3 to a raw audio format before playing it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi player game</title><link>https://community.element14.com/thread/204316?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2022 02:45:41 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c4a220f2-ac08-4b6c-aa09-37964f9b46da</guid><dc:creator>rhubarbdog</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/204316?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/52188/multi-player-game/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I now have a new installation method .hex files&lt;/p&gt;
&lt;p&gt;One for microbit only controls,&lt;/p&gt;
&lt;p&gt;One for the host microbit&lt;/p&gt;
&lt;p&gt;And one for both of the 3rd party controllers I support&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have a new controller in the post which has an analogue joystick and 4 fire buttons so look out for support for that.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you see a controller with analogue joystick and an oled screen I&amp;#39;d love to try that.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Multi player game</title><link>https://community.element14.com/thread/52188?ContentTypeID=0</link><pubDate>Tue, 20 Dec 2022 10:04:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d100ad34-0b48-40d2-b343-5a4a3b42ab39</guid><dc:creator>rhubarbdog</dc:creator><slash:comments>7</slash:comments><comments>https://community.element14.com/thread/52188?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/52188/multi-player-game/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I have written a clone of fortnight (fortnite). The code is in repository &lt;a id="" href="https://github.com/rhubarbdog/microbit-two-weeks"&gt;https://github.com/rhubarbdog/microbit-two-weeks&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Enjoy&amp;nbsp;&lt;/p&gt;</description></item><item><title>RE: Multi player game</title><link>https://community.element14.com/thread/204315?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2022 02:40:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2489b156-6b72-48e2-a055-7e137dd1376e</guid><dc:creator>rhubarbdog</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/204315?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/52188/multi-player-game/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;As the README.md in the repository states.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a multi player mad dash from random locations round the edge of the map to the exit at the centre&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi player game</title><link>https://community.element14.com/thread/204250?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 21:00:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:39f595ed-1c17-4ef3-a165-14aad6165c07</guid><dc:creator>rhubarbdog</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/204250?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/52188/multi-player-game/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;As the README.md in the repository states.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a multi player mad dash from random locations round the edge of the map to the exit at the centre&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multi player game</title><link>https://community.element14.com/thread/204248?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 20:16:18 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9e8e17b8-7304-42f7-8681-ef7265c806d2</guid><dc:creator>kmikemoo</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/204248?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/learn/learning-center/stem-academy/microbit/f/forum/52188/multi-player-game/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;a href="https://community.element14.com/members/rhubarbdog"&gt;rhubarbdog&lt;/a&gt;&amp;nbsp; I&amp;#39;ve never played Fortnite but I&amp;#39;ve got a Micro:bit.&amp;nbsp; I&amp;#39;m willing to give it a whirl.&amp;nbsp;&lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/1f44d.svg" title="Thumbsup"&gt;&amp;#x1f44d;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>