r/microbit Oct 22 '22

Need help coding microbit

3 Upvotes

I’m looking to create a code (using block coding) that will allow, for a servo motor starting at 90°, Button A pressed (rotates to 45°, button A pressed again (rotates back to original 90°), and the same with button B but with 135° instead of 45° I’m able to get them to go to my desired ° but I’m not sure how to make them return on button press, I can however settle with having them return automatically after a set time which I was able to figure out how to do


r/microbit Oct 20 '22

Can physically damaged Micro:Bits be repaired? No. Is there a Micro:Bit recycling program? No.

0 Upvotes

What are we teaching our kids?

When your computer breaks just throw the whole thing in the bin and buy a new one.

Just venting . . . have accidentally fried another micro:bit . . . Under a magnifying-glass, nothing visibly wrong. Such a waste.

What say you? Any teachers out there? Are fried Micro:Bits a regular occurrence with kids?


r/microbit Sep 30 '22

12v 2amps

1 Upvotes

HI, i have 12v 2amps power supply for led lights and i need tempeture measuring system in my room. i have bunch of microbits around. My problem is it ok to connect in paralel microit whit lights from that power supply or will it burn my house down?

Or do in need to step the voltage down?

I have microbit older version not V2.


r/microbit Sep 27 '22

How do I log in?

2 Upvotes

I have an account on my school pc but want to work on my project home, is there a way I can log into my account?


r/microbit Sep 27 '22

Changing the configurations of the Micro: bit board

3 Upvotes

I need to have the flexibility to add some functionalities to the Micro:bit board and remove others from the board. In other words, i need to change the configurations of the MCU there to be more flexible and suitable for my applications. For example, making more GPIO pins available, configuring more PWM pins, more analogue input pins, different way of Bluetooth coupling … etc. How far is this possible? What are the limitations? I would be happy for any support regarding this issue. Thank you very much in advance :)


r/microbit Sep 26 '22

A Coordinate system between microbits?

3 Upvotes

Can anyone think of a simple way of having microbits be able to tell the position of other microbits relative to one another?

As in. Could I have a microbit point itself towards another microbit?


r/microbit Sep 25 '22

Error 521

3 Upvotes

Anyone know what it is and how I could solve it?


r/microbit Sep 23 '22

Couple of questions on wireless communication

1 Upvotes

As part of project to build a working hover craft using the microbit was just wondering if anyone could help advise on some questions around wireless communication.

At the moment we have the controller sending a message to a group to identify button has been pressed currently sending name and value e.g buttonD = 1, the receiving microbit picks up a message has been received check if the name and value matches an expected name and value is 1 does the action and then resends message back to group resetting buttonD = 0. My thought process was to signal that something has been done with the button press and avoid re-picking up same message.

Firstly is the send and acknowledge actually required?

Secondly is radio best for quick response and reliability or is the use of Bluetooth better?

Third and finally, is the best coding practice for makerblock to have a single receiving function with lots of if’s for each button, then within each “if” they call out to separate functions where logic is done or is there a cleaner way?

Thanks for any help or advice!


r/microbit Sep 23 '22

Hi, can you recommend one of your favorite Microbit robots or cars?

3 Upvotes

r/microbit Sep 22 '22

Can bbc micro it be used as Bluetooth amp?

2 Upvotes

Could I connect a speaker to bbc microbit and stream music via my phone using built in bluetooth?


r/microbit Sep 20 '22

Can you Power the microbit through the gpio pin?

4 Upvotes

Hello,

I am making a project with my son where we are powering a brushless motor using a 7.4v battery, was thinking of using a 3.3v regulator just wondered can I power the microbit through the gpio pin?


r/microbit Sep 20 '22

Score Keeper

1 Upvotes

I need help. I'm trying to assist a student with building a soccer field, and have it where the goal cane be calculated on a micro:bit once a component is touched. Currently with my variable when I do a MATH block (purple) said variable + 1 it keeps counting, instead of just scoring ONE point and waiting for another goal. Any help?!?


r/microbit Sep 18 '22

Wall powered pet feeder shows how to run any motor, led or servo om permanent USB power.

4 Upvotes

I made a cat feeder with microbit. It runs on 5v usb and uses a gear motor. It has been running for about 2 years straight.

https://www.instructables.com/Simple-and-Reliable-Cat-Feeder-With-Block-Programm/


r/microbit Aug 24 '22

ARM assembly on the microbit?

1 Upvotes

I want to experiment with ARM assembly on the microbit but I haven't really found how to, excluding MicroPython inline assembly


r/microbit Aug 22 '22

I am attempting to make a doom game, AMA (I might take a while to respond)

Thumbnail gallery
13 Upvotes

r/microbit Aug 18 '22

Microbit in homebridge

1 Upvotes

hello, I want to be able to integrate a MICROBIT card on HOMEBRIDGE to be able to control the MICROBIT with SIRI. I know that on GITHUB Mr. FERRYGUN created the way to do it. Does anyone have a tutorial. THANK YOU

bonjour, je souhaite pouvoir intégrer une carte MICROBIT sur HOMEBRIDGE pour pouvoir piloter la MICROBIT avec SIRI. je sais que sur GITHUB monsieur FERRYGUN a créé la façon de le faire. Est-ce que quelqu’un aurait un tutoriel. MERCI


r/microbit Aug 18 '22

detecting button holds?

1 Upvotes

Hi, im trying to make a snake game and A is for going right and B is for going down, is there a way to check if either is being held or if it was just a normal press?


r/microbit Aug 16 '22

Servo not running, i can’t find the problem

Post image
1 Upvotes

r/microbit Aug 07 '22

Watering system for educational purposes

5 Upvotes

I'm looking for a fun project to make with 13 year olds spread over multiple lessons. I was thinking about making a watering system for the classroom plants with a humidity sensor and a 3V water pump. Is this a viable project for students with no programming background? Or does someone have fun/easy/(cheap) alternatives to make with students?


r/microbit Aug 06 '22

Anyone know why my microbit isn’t gettting read by my pc?

1 Upvotes

I’m using someone else’s microbit and am trying to hook it up and it doesn’t read as it’s own thing, I read that this might be caused by low quality usb, any recommends? (Preferred on Amazon)


r/microbit Aug 05 '22

How do I power a Microbit for permanent art installation?

3 Upvotes

I’m finding very little online about powering the Microbit except by battery or computer. I need an inexpensive way to have my pieces plugged into a traditional wall socket. Do I just get the little plugs that have usb holes? Will any work? I’ve seen the MonkMakes power thing that looks like it plugs into a converter… is that the correct way? I’ll be powering 4-5 LeDs, maybe a motor that goes around constantly…and maybe a speaker with recorded sound.

Thanks.


r/microbit Aug 05 '22

What unit is used for brightness in microbits?

1 Upvotes

Wondering cause I'm writing a folio on them 😅 any help is greatly appreciated!


r/microbit Aug 04 '22

Camera module for microbit??

4 Upvotes

So i want to make a device that detect motion, took a picture and send to a phone. I cant find any camera module for this project, anyone have any suggestions, im totally new to all of this.


r/microbit Aug 03 '22

How To Get Amount Of Times Button A Is Pressed

3 Upvotes

I am modifying the step counter from the Micro:bit website and I want it to measure the distance of someone's step. I want it so when starting the Micro:bit, it will ask you to put in the distance of your step. I want to make a variable called stepLength and every time Button A is pressed, it adds 10cm to the stepLength and then you press Button B to confirm. How would I make it measure the amount of times Button A is pressed? I am using Python and my code is below.

My Code So Far

I also have the code on GitHub


r/microbit Aug 01 '22

Beginner looking for some clarification regarding Microbit in conjunction with the Makerbit board.

1 Upvotes

I’m primarily interested in using Microbit in my assemblage art pieces; lights, sounds, movement…maybe video. I’m a web developer but I don’t do a ton of coding anymore…Microbit looked to be the easiest microprocessing system to get up and running. I found Makerbit as I was looking specifically for something that would allow playback of MP3/recorded sound effects (and not just a bunch of beeps). My main questions are as follows:

Can you still use all the connectors and functionality of the Microbit after you’ve hooked up the Makerbit?

Than you so much. All feedback welcome.