How to make a compass with a BBC Micro:bit | Coding | STEM | Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

ความคิดเห็น • 18

  • @rnagra3225
    @rnagra3225 9 หลายเดือนก่อน +1

    Thank you for this and providing the sample code!

  • @factzbyaparna2775
    @factzbyaparna2775 9 หลายเดือนก่อน +1

    Thank you so much for such a great explanation!

  • @saraypinerez2649
    @saraypinerez2649 3 ปีที่แล้ว +2

    Thanks for the video! It helped me a lot

  • @qpphil5150
    @qpphil5150 3 ปีที่แล้ว +2

    Great video!

  • @ConexSpot
    @ConexSpot 3 ปีที่แล้ว +2

    That is so cool

  • @mattplayground
    @mattplayground 5 ปีที่แล้ว +4

    Nice video! Two comments:
    A.) Time lapse or summarize last two cardinal directions. We the viewer could see where you were going.
    B.) A logical AND might be better here to check for a valid condition. For example North could also be less than 135. OR can be more ambiguous.

    • @iNimbleSloth
      @iNimbleSloth  5 ปีที่แล้ว

      Glad you liked it, thanks for commenting and the feedback!

  • @gartmorn
    @gartmorn 5 ปีที่แล้ว +3

    A few more lines of code and I take it you could have NE, NW etc etc?

    • @iNimbleSloth
      @iNimbleSloth  5 ปีที่แล้ว +1

      Thanks for watching and commenting! Yes definitely, I only omitted these as I wanted to make this video as quick and simple to follow as possible. Have you used a Micro:bit before?

    • @gartmorn
      @gartmorn 5 ปีที่แล้ว +2

      Yes I have been using different platforms but I'm not the greatest at coding! I'm playing with pi4 just now and considering giving pico 8 a go. I also want to try a spectrum emulator as I have a book with spectrum codes! My youngest is 15 so I'm trying to get him interested. I really started in electronics building circuits but microcontrollers are now a big favourite if only I was better at coding!!

    • @iNimbleSloth
      @iNimbleSloth  5 ปีที่แล้ว +2

      I've not come across Pico 8 before but just Googled it, looks great. What language are you coding with on the Pi4? I tried a bit of Python with my youngest on Pi and he did Scratch at school. Talking of microcontrollers, we've also played about with the Arduino Uno, although not done any videos yet. Coding comes with practice but I am still very much a novice, I do enjoy it though.

    • @gartmorn
      @gartmorn 5 ปีที่แล้ว +1

      @@iNimbleSloth I've done a little bit of both but really just using others code and modding it rather than doing stuff from scratch(excuse the pun).

  • @ventinator0
    @ventinator0 3 ปีที่แล้ว +2

    why does it say 529 :(

    • @iNimbleSloth
      @iNimbleSloth  3 ปีที่แล้ว

      The most likey course for this is that the version of hex file is wring. I did this on an original microbit,. Try visiting makecode.microbit.org and import the hex file and then re-download. I'd like to know how you get on.

  • @hammerbugg
    @hammerbugg 4 ปีที่แล้ว +2

    Dude now all you need to do is make this download content

    • @iNimbleSloth
      @iNimbleSloth  4 ปีที่แล้ว +1

      Just uploaded to my site, quick page with nothing fancy - www.inimblesloth.com/microbit-compass/ Download is a ZIP containing both the letters and arrows versions as pre-compiled hex files. You need to extract the ZIP file and then copy your chosen hex file onto the micro:bit. There's a link on that page as to where you can open and edit those hex files. Have fun :-)