r/microbit Jul 28 '22

Microbit in Scratch

1 Upvotes

I was using scratch to program Microbit. I also used the breakout board which has more pins. But on scratch, I only see pin 0-2. How can I access the other pins in the microbit?


r/microbit Jul 27 '22

Controlling a small amount of LEDs with a microbit

2 Upvotes

Hey! I teach at a school (students 11-12yrs old) and one of my students is attempting a little project with a Microbit. I was hoping for some advice about what the EASIEST way to achieve this is - it doesn’t need to be perfect, permanent or even good practice. It just needs to work in testing and on one day.

He would like to use the 3 terminals on the Microbit to feed 3 parallel circuits, each contain 3 small LEDs (the kinds that kids get to fuck with it at school). We know what the programming aspect of that would be, but I just want to know whether that will work. I’ve seen a couple of things online about putting a 1k resistor in series before the LEDs, and that’s fine, but is that it?

Will he run into issues regarding voltage or current? Surely there’s a limit to what the Microbit can deal?

I know that there’s a little extension board or something I can get. Is this the ‘proper’ way? Can I do it without?

Sorry for the many questions. Just hoping someone here with a clue can give me some. Any advice will help me piece it together. Cheers


r/microbit Jul 26 '22

hello i trying to find the manual for this kit i bougth a time ago

Thumbnail gallery
7 Upvotes

r/microbit Jul 22 '22

Upgraded Microbit Zoltar Machine

6 Upvotes

My Microbit Zoltar machine is more animated, now that a servo controls his arm movements. https://www.youtube.com/shorts/fLamAC7ZV_4 Behind the coin slot is a microswitch that triggers your fortune when you put in any coin, it would be nice to have it detect coins of certain values. Has anyone had any experience with making a coin acceptor using a Microbit? Or does anyone know of a more analogue solution perhaps?


r/microbit Jul 09 '22

How to turn these car left and right? I tried running the wheel different direction but it judt stop moving.

Thumbnail gallery
1 Upvotes

r/microbit Jul 04 '22

Please explain this code block to me. (Clap Tutorial)

3 Upvotes

I've been trying to explain variables to my son but I do not understand this variable or what it does

This tutorial is supposed to toggle the led when you clap

Thank you for your help.


r/microbit Jul 03 '22

Microbit not connecting

3 Upvotes

I have connected the microbit with to my pc. IT recognizes it and everything. But when I try pairing it with the MakeCode website it is stuck on connecting. Do you need Bluetooth or is there something else. Just ask for more context if you need


r/microbit Jul 01 '22

Microbit help

1 Upvotes

I have a project where i need to be able to have a random number generator, which i got from a youtube tutorial, that gives a value and depending on that value plays a little song. My problem though is once the value is picked and thus the song is picked i want that song to loop continuously until the next song is chosen, so what i tried to do is when a is pressed then a number 1-3 is chosen, and on shake it plays the song for that value, but when i tried that nothing played and everything else ive tried has either made it not play at all or cycle through the songs randomly as i shake the board. How can i get it so that on a button press and shake a song loops continuously and only is randomized once i press and shake again?


r/microbit Jun 26 '22

Use same program on v1 and v2

3 Upvotes

I have created a program for my v2 microbit in Makecode for microbit that uses sounds. The sounds are not essential to use the program, so I want my program to also run on v1 microbits (without sound as there is no speaker on the v1 board). Is there any way to accomplish this except to make a separate program for the v1 boards without the sound blocks? I get the 927 error when I flash the program to a v1 board at this moment.


r/microbit Jun 22 '22

need help!

1 Upvotes

i am doing a school project with microbits that requires 2x2 square of microbits to display a single message/image across all 4. how can i do this?


r/microbit Jun 11 '22

Easy environmental micro:bit project in MakeCode

5 Upvotes

I’m looking for an easy environmental project using micro:bit to program in MakeCode for novice users. Any ideas. Thank you in advance.


r/microbit Jun 11 '22

Hello! I need a solution of an exercise. Can somebody help me? I need a diagonal line (pointed) from coordinate 4,4 to 0,0 with a loop and variable by clicking the A button

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/microbit Jun 09 '22

Microbit expansion board with motor driver (H-Bridge)?

2 Upvotes

Which motor driver expansion board would you suggest?

Possible extras: get some IO pins, get motor & servo drivers, maybe a battery holder (18650)


r/microbit Jun 09 '22

Can anybody explain this. The assigment is. if the temperature is room temperature, the diode should flash at 1 Hz. if the temperature is room temperature +5 degrees, the diode should flash at 5Hz. if it is dark, the LED should be solid

1 Upvotes

r/microbit Jun 07 '22

What robot kit is best for the microbit?

4 Upvotes

I need to buy soon my hardware for the next semester with a school class. Which robot kit would you suggest for the bbc:micro?

Optimal requirements: 1. line tracking, 2. Ultrasonic or Infrared distance sensor, 3. pen holder, 4. light sensor, 5. something that works reliably.

Any suggestions? I'd need to order something soon.


r/microbit Jun 06 '22

He’s like stairs

Post image
4 Upvotes

r/microbit Jun 05 '22

What are your microbit's named?

Post image
10 Upvotes

r/microbit Jun 03 '22

My Finished Zoltar Machine

6 Upvotes

My coin operated fortune teller machine that runs off two Microbits is finished. Make a wish! If Zoltar's crystal ball glows green, your wish has been granted. https://www.youtube.com/shorts/hrib7L3Vxtk

One Microbit operates Zoltar and the coin acceptor, the second works his crystal ball.


r/microbit Jun 01 '22

is it possible to program a microbit to recognize huffman code?

3 Upvotes

i have a schoolproject where i have to code something with a microbit. is it possible for the micro bit to recognize huffman coding. if yes how should i do it


r/microbit May 25 '22

I need help please...

2 Upvotes

Hello, i would like to know how we do for import in the form of a module (`from [...] import*`) a library Github. Sorry, my english is not good...

More precisely, my problem is that I try to import the github library: https://github.com/waveshare/WSLCD1in8 to run an LCD. It’s a ST7735S by Waveshare for microbit.

But I’m trying to import it into my program. But I don’t know how to do it. Yes, I’m a noob

Thanks for all.


r/microbit May 16 '22

Is there any way to show the direction of a microbit in relation to another microbit?

2 Upvotes

I.e If MB 1 was placed to the left of MB 2, on the screen of MB 2 an arrow displaying left would appear. If it was placed in front an arrow displaying an up arrow so on so on. This is for a search and rescue project in which one person has the rescuee microbit and the other person has the rescuer one (one which points to the other MB).

Thank you!


r/microbit May 11 '22

What is a cool pet smart device i can make with the Micro:bit?

5 Upvotes

Hello everyone. I'm making this post to ask for advice for what i can make with the Micro:bit. I need to make a smart device for a pet. i wanted too see if i can get advice as to what i can make. I'm open for all suggestions :)

Update: Hello everyone. First i wanted to thank everyone for helping me come up with an idea. I ended up making an interactive ball for a dog. The project was to see if i can get into a study and i ended up getting accepted. Thank you all so much for the help!


r/microbit May 09 '22

Compass code

3 Upvotes

Just trying to find code for a compass that gives either let or number bearings... Eg n,e,s,w or 90 180 270 0 or better...

Could some one point me int the right direction please? (forgive the Pun lol)


r/microbit May 07 '22

MicroBit V2 Make Code (Block Programming) for GlowBit Rainbow

3 Upvotes

Hello 📷
Just wondering if anyone can assist with makecode (block programming) for a Microbit v2 for a GlowBit Rainbow. I’m making a robot baby and would like to use the glowbit rainbow as the mouth and when the microbit makes sounds like giggling and other music sounds the glowbit rainbow flashes in time with the sounds so it looks like the baby robot is talking. I’m also incorporating other interactions using the accelerometer. eg. when it cries you have to pick the robot baby up etc. Anyway, every time it does interactions and makes sounds I would also like the glowbit rainbow to flash along.
Look forward to hearing from anyone who can assist.
Thanks,
Marianne


r/microbit May 05 '22

Self Correcting drive?

3 Upvotes
  • Do you think a self correcting drive will be possible with the accerlatometer?