Тёмный

Getting Started with micro:bit Part 4: Remote Burglar Alarm 

SparkFun Electronics
Подписаться 234 тыс.
Просмотров 70 тыс.
50% 1

For this episode of Getting Started with micro:bit, we create a simple messenger app using the Bluetooth Low Energy (BLE) radio on two separate micro:bits. Afterwards, we create a light sensor that sends a wireless signal to a receiving micro:bit in order to catch a sandwich thief.
micro:bit: www.sparkfun.com/news/2336
Messenger app: pxt.microbit.org/52840-28944-...
AlarmSensor: pxt.microbit.org/79922-92047-...
AlarmNotifier: pxt.microbit.org/34118-07026-...

Опубликовано:

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@fernandoz6329
@fernandoz6329 7 лет назад
Awesome explanation. I'm glad finding your channel
@avaxo.07
@avaxo.07 3 года назад
Thank you so much for this. Helped me so much for my project. Great video!
@faizuromg7230
@faizuromg7230 3 года назад
You are the best!!!and great explanation
@augustine486
@augustine486 6 лет назад
this is so cool!!!
@ZainTechSavvy
@ZainTechSavvy 4 года назад
This is so helpful
@psycho_blaze
@psycho_blaze 7 лет назад
This is some amazing stuff to teach children about the coming future of technology
@farukche3848
@farukche3848 4 года назад
I tested the radio signal lol. Mine radio worked at over 50 meter distance
@DmitryEljuseev
@DmitryEljuseev 7 лет назад
Great totorial, thanks. I also ordered one to my son. Stupid questions: What is the maximum pin current for "1" and "2" pins? Do they have transistor output, or its a direct CPU pin? If there are several hex-apps placed in a microbit folder, which one will be started? Is it possible to have automatic Arduino-like upload in IDE? Thanks.
@ShawnHymel
@ShawnHymel 7 лет назад
According to the edge connector info page (tech.microbit.org/hardware/edgeconnector_ds/), you can have up to 3 pins sink/source up to 5 mA. Other than that, I believe it's 0.5 mA per pin. As far as I can tell, the pins are directly connected to the CPU, so it's not a lot of current to work with. If I recall correctly, the .hex file with the latest date stamp is the one that's used when you upload multiple .hex files. I've heard of custom scripts that will look for .hex files in your downloads directory and automatically copy them to your MICROBIT drive. Other than that, the mu micropython editor (codewith.mu/) has an automatic uploader.
@DmitryEljuseev
@DmitryEljuseev 7 лет назад
Thanks. Thats weird that some people connect speaker directly to it, like here - www.suppertime.co.uk/blogmywiki/2016/02/microbit-sound/
@AbdullahKahramanPhD
@AbdullahKahramanPhD 5 лет назад
Man, you are so lucky, mine is only 1 year old and I don't know what technology will bring when he is 7
@StuffWithKirby
@StuffWithKirby 7 лет назад
Haha 42, nice
@shawnhymel7647
@shawnhymel7647 7 лет назад
:)
@brettryan8737
@brettryan8737 Год назад
why are there rolls of tape hanging off the fridges
@minsmarv
@minsmarv 9 месяцев назад
I need to do this for a project but I don't have my own micro bits and I can only do it in school so where can I buy them??
@sparkfun
@sparkfun 9 месяцев назад
www.sparkfun.com/products/17287
@tatsuhirofujiwara7029
@tatsuhirofujiwara7029 7 лет назад
notif squad
@tatsuhirofujiwara7029
@tatsuhirofujiwara7029 7 лет назад
oooh
@jackietwotwo6587
@jackietwotwo6587 7 лет назад
HOw far can this radio signal reach within the microbit can I be like 2 houses away
@shawnhymel7647
@shawnhymel7647 7 лет назад
I didn't test the extent of it's range, but I suspect that it would only work a couple of rooms away. BLE is a low-power technology, so I wouldn't expect much more than that.
@sparcky500
@sparcky500 7 лет назад
Hey! The micro:bit's radio can reach around 21 meters (70 feet) over an open area(given it isn't disturbed by other electronics). So I belive two houses is a bit to much(as Shawn also said). Though we tested it's range with a remote controlled car in our office and it easily reached 15 meters. Hence the possibility is there :)
@joshua_colson
@joshua_colson 5 лет назад
Does anyone know how to do this using the python module
@ShawnHymel
@ShawnHymel 5 лет назад
I saw your comment below first, but here is my introduction to using MicroPython with the micro:bit (in case someone else is looking for it :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ZIW_6rxYNBg.html
@diesws4465
@diesws4465 6 лет назад
Hi, I have a Question. Where I can buy the speaker and so on? Because your vids are very cool and I want to do the same. Sry for Bad English I am from Germany!
@ShawnHymel
@ShawnHymel 6 лет назад
We sell the speaker, wires, and other components at SparkFun: www.sparkfun.com/products/7950. You can see if there is a company that sells SparkFun parts you need in Europe: www.sparkfun.com/distributors
@dan.timonea596
@dan.timonea596 6 лет назад
You can very easily use your headphones, just don't put them in your ear.
@josephkreifelsii6596
@josephkreifelsii6596 6 лет назад
Speaker? Looks more like a buzzer
@ShawnHymel
@ShawnHymel 6 лет назад
It is a small metal speaker (www.sparkfun.com/products/7950) that works with a square wave. Because there is no piezo element, it's not really considered a "piezo buzzer." That being said, it's tuned for 2kHz, so it's really meant to be used like a buzzer.
@josephkreifelsii6596
@josephkreifelsii6596 6 лет назад
Cool. Thanks for that
@jvrpapa05
@jvrpapa05 7 лет назад
first
@fionaandmartineverett9843
@fionaandmartineverett9843 7 лет назад
i will name mine 69 get it
@TheTigero
@TheTigero 7 лет назад
Ugh this isn't better than teaching code! It's the same thing, stop with the click and drop interfaces, they aren't doing anyone any favors
@josephkreifelsii6596
@josephkreifelsii6596 6 лет назад
Agrred
@WaveLivina
@WaveLivina 6 лет назад
This method for teachers teaching in school..and for amathur like me. For advance learner and uviversity students should use advance language like java, c++ etc. Thanks to developer for introducing interesting and better GUI for better understanding in programming.
@joshua_colson
@joshua_colson 5 лет назад
Yes but keep in mind the microbit is meant for year 7s in the UK which is when your 11 so this is to teach basic coding concepts and to Keep younger people interested in programming because let's be honest if you tried to teach a kid to program through print statements in python many lose interest although I understand your frustration I want to know how to do this using the microbit python module
@ShawnHymel
@ShawnHymel 5 лет назад
After talking to some teachers, it seems that right around 7th or 8th grade (in the US) is where many students want to transition from graphical programming (like Scratch or MakeCode) to text-based programming. For using Python on the micro:bit, I threw together a couple of videos on how to get started with MicroPython: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ZIW_6rxYNBg.html
Далее
Episode 9 - Making a room alarm with your microbit
14:32
How to measure wind & water with micro:bits • KCJ
6:44
Schoolboy - Часть 2
00:12
Просмотров 5 млн
micro:bit V2 - The new BBC micro:bit - Hands on
11:57
Controlling the Micro:bit from a Phone App
11:05
Просмотров 21 тыс.
Flawless Electroplating for 3D Prints
10:41
Просмотров 33 тыс.
Schoolboy - Часть 2
00:12
Просмотров 5 млн