Bill Siever
Bill Siever
  • 109
  • 66 392
Understanding Program/CPU and Verilog Behavior
This is an overview of how the value change dump (VCD) from a Verilog testbench can be examined to gain insight into the execution of a simple program. This can be used to understand the behavior of the RISC-V model, to debug Verilog, and to understand/debug the original program code.
Переглядів: 112

Відео

Debugging Verilog for `lui`
Переглядів 6621 день тому
An example of using the results of a testbench, which results in a "Value Change Dump" (VCD) file that can be viewed in Surfer, to debug the behavior of the `lui` instruction.
CSE260M FL24 Homework 7: Counting State Machine via Code
Переглядів 19621 день тому
Example of the code in simulation for our final assignment. RISC-V Assembly Language that controls a simple state machine for a counter.
CSE260M FL24 Homework 7 Counting
Переглядів 13421 день тому
An example of how the hardware should behave in our final assignment this semester: A simplified RISC-V processor is running code to control a counter (state machine implemented in RISC-V assembly language)
11.1 Data Structures & Algorithms: Single-Source Shortest Path & Dijkstra's Algorithm
Переглядів 6211 місяців тому
An introduction to a set of problems known as single-source shortest path problems. Full course playlist at: ua-cam.com/play/PLWJfbQMqNj4nDEpqyK7L3pWIE_wRdupne.html
12.5 Data Structures & Algorithms: Kruskal's Algorithm for Minimal Spanning Trees
Переглядів 7911 місяців тому
An overview of another popular approach to finding a Minimum Spanning Tree, called Kruskal's Algorithm. Full course playlist at: ua-cam.com/play/PLWJfbQMqNj4nDEpqyK7L3pWIE_wRdupne.html
12.4 Data Structures & Algorithms: Greedy Algorithms, Prim's Algorithm, and Dijkstra's Algorithm
Переглядів 4011 місяців тому
A look at Prim's Algorithm, Dijkstra's Algorithm, and their general pattern, which is an example of the concept of a Greedy Algorithm. Full course playlist at: ua-cam.com/play/PLWJfbQMqNj4nDEpqyK7L3pWIE_wRdupne.html
12.3 Data Structures & Algorithms: Justifying Prim's Algorithm is Optimal
Переглядів 7211 місяців тому
A brief argument that Prim's Algorithm will find a Minimal Spanning Tree. Full course playlist at: ua-cam.com/play/PLWJfbQMqNj4nDEpqyK7L3pWIE_wRdupne.html
12.2 Data Structures & Algorithms: Minimal Spanning Trees and Prim's Algorithm
Переглядів 7511 місяців тому
An introduction to Prim's Algorithm, one approach to finding a Minimal Spanning Tree. Full course playlist at: ua-cam.com/play/PLWJfbQMqNj4nDEpqyK7L3pWIE_wRdupne.html
12.1 Data Structures & Algorithms: More Graph Problems - Spanning Trees
Переглядів 6911 місяців тому
An introduction to another type of common graph problems, finding an optimal spanning tree. Full course playlist at: ua-cam.com/play/PLWJfbQMqNj4nDEpqyK7L3pWIE_wRdupne.html
11.5 Data Structures & Algorithms: Dijkstra's Algorithm's Complexity and a Proof
Переглядів 32011 місяців тому
An analysis of the time complexity of Dijkstra's Algorithm and making a case that it'll be correct (find shortest paths). Full course playlist at: ua-cam.com/play/PLWJfbQMqNj4nDEpqyK7L3pWIE_wRdupne.html
11.4 Data Structures & Algorithms: Dijkstras Algorithm
Переглядів 10611 місяців тому
We review our sample problem and then take a formal look at Dijkstra's Algorithm, which was the approach we actually used to find the shortest paths. Full course playlist at: ua-cam.com/play/PLWJfbQMqNj4nDEpqyK7L3pWIE_wRdupne.html
11.3 Data Structures & Algorithms: Investigating an Example Single-Source Shortest Path Problem
Переглядів 12911 місяців тому
We'll try to work through solving an instance of a single-source shortest path problem. Essentially we will follow Dijkstra's Algorithm, which we will look at formally next. Full course playlist at: ua-cam.com/play/PLWJfbQMqNj4nDEpqyK7L3pWIE_wRdupne.html
11.2 Data Structures & Algorithms: Intro. to Dijkstra and Dijkstra's Algorithm
Переглядів 2511 місяців тому
An introduction to the person behind the algorithm we'll look at next, Edsger Dijkstra. Dijkstra had many contributions to computer science, including the "Dijkstra's Algorithm" approach to the single-source shortest path problem. Full course playlist at: ua-cam.com/play/PLWJfbQMqNj4nDEpqyK7L3pWIE_wRdupne.html
10.5 Data Structures & Algorithms: Directed Acyclic Graphs (DAGs) & Topological Orders
Переглядів 23011 місяців тому
An introduction to a special type of graph, the directed acyclic graph, which can come up in certain types of problems, especially when identifying dependencies. In addition, we look at topological sort / topological orders. Full course playlist at: ua-cam.com/play/PLWJfbQMqNj4nDEpqyK7L3pWIE_wRdupne.html
10.4 Data Structures & Algorithms: Depth First Search (DFS)
Переглядів 36611 місяців тому
10.4 Data Structures & Algorithms: Depth First Search (DFS)
10.3 Data Structures & Algorithms: Breadth First Search (BFS)
Переглядів 8611 місяців тому
10.3 Data Structures & Algorithms: Breadth First Search (BFS)
10.2 Data Structures & Algorithms: Graph Implementations
Переглядів 4311 місяців тому
10.2 Data Structures & Algorithms: Graph Implementations
10.1 Data Structures & Algorithms: Intro. to Graphs
Переглядів 7111 місяців тому
10.1 Data Structures & Algorithms: Intro. to Graphs
9.8 Data Structures & Algorithms: B-Trees
Переглядів 3911 місяців тому
9.8 Data Structures & Algorithms: B-Trees
9.7 Data Structures & Algorithms: 2,3,4-Trees and Deleting/Removing Items
Переглядів 33511 місяців тому
9.7 Data Structures & Algorithms: 2,3,4-Trees and Deleting/Removing Items
9.6 Data Structures & Algorithms: 2,3,4-Trees and Inserting into the 2,3,4-Tree
Переглядів 68211 місяців тому
9.6 Data Structures & Algorithms: 2,3,4-Trees and Inserting into the 2,3,4-Tree
9.5 Data Structures & Algorithms: Red-Black Trees
Переглядів 3511 місяців тому
9.5 Data Structures & Algorithms: Red-Black Trees
9.4 Data Structures & Algorithms: AVL Tree Time Complexities
Переглядів 29911 місяців тому
9.4 Data Structures & Algorithms: AVL Tree Time Complexities
9.3 Data Structures & Algorithms: AVL Tree Practice
Переглядів 40311 місяців тому
9.3 Data Structures & Algorithms: AVL Tree Practice
9.2 Data Structures & Algorithms: AVL Tree Properties and Operations
Переглядів 8811 місяців тому
9.2 Data Structures & Algorithms: AVL Tree Properties and Operations
9.1 Data Structures & Algorithms: Ordered Set and Binary Search Tree (BST) Review
Переглядів 11511 місяців тому
9.1 Data Structures & Algorithms: Ordered Set and Binary Search Tree (BST) Review
8.6 Data Structures & Algorithms: Binary Search Tree Operation Time Complexities
Переглядів 19611 місяців тому
8.6 Data Structures & Algorithms: Binary Search Tree Operation Time Complexities
8.5 Data Structures & Algorithms: Binary Search Tree Inserts and Remove Operations
Переглядів 4311 місяців тому
8.5 Data Structures & Algorithms: Binary Search Tree Inserts and Remove Operations
8.4 Data Structures & Algorithms: Binary Search Trees (BSTs) for Ordered Collections.
Переглядів 4811 місяців тому
8.4 Data Structures & Algorithms: Binary Search Trees (BSTs) for Ordered Collections.

КОМЕНТАРІ

  • @Aurora_AFR
    @Aurora_AFR 19 днів тому

    thank you man

  • @Rick-wb5bs
    @Rick-wb5bs 24 дні тому

    What extension is this? Does it accepts Verilog VHDL?

    • @bsiever
      @bsiever 24 дні тому

      This example is shown in the RISC-V Venus simulator extension: marketplace.visualstudio.com/items?itemName=hm.riscv-venus . That extension is a RISC-V assembly language simulator and does not support a HDL (neither Verilog nor VHDL).

  • @aishanikashyap_2703
    @aishanikashyap_2703 28 днів тому

    I tried to download the app from Germany but it did not work .Is the app safe to download from a website ?

    • @bsiever
      @bsiever 25 днів тому

      I don't think the iOS app is available on websites. The Android app's package may be available, but I can't verify any particular source.

  • @R6Animations
    @R6Animations Місяць тому

    hey i tried to find device's but i didn't know how to get it? is it any other extension that works?

    • @bsiever
      @bsiever Місяць тому

      The Devices toolbox is considered "depricated" and no longer directly available. You can still get the Devices toolbox if you make a copy of a prior project that used it, like this empty project: makecode.microbit.org/_C733433TYJsd . I'm not sure how much longer it will work or be supported in any apps.

    • @bsiever
      @bsiever Місяць тому

      Two other options: To have the micro:bit control a computer/tablet and do things like act as shutter release for a phone App, you may be able to use the BLE-HID extension (Extension docs: makecode.microbit.org/pkg/bsiever/microbit-pxt-blehid and video of uses: ua-cam.com/video/n4J5GN72N_4/v-deo.html). If you want the phone to act as a controller for the micro:bit, you can probably use one of the robotics apps. There are some examples in the MakeCode forums that use the MBit app. Here's one thread with some examples/links/ideas: forum.makecode.com/t/video-micro-bit-v2-with-mbit-bluetooth-app-for-bot-car-robotbit/8934/2 (Searching the forum for MBit will find a few more).

  • @dr.familiar7853
    @dr.familiar7853 3 місяці тому

    neat explaination , thank you

  • @gorombolyierik
    @gorombolyierik 4 місяці тому

    hello i disabled the pairing but when i want to connect with my phone a menu is coming up saying you need to enter a 4 digit code but i disabled it and if a iset the 6 digit code thing then the microbit wont show the 6 six digit its just black

    • @bsiever
      @bsiever 4 місяці тому

      Are you using an Android or iOS phone? If you had previously paired your phone and micro:bit you may need to go to your Bluetooth settings and remove the micro:bit from the known/paired devices. (You may also want to double check all settings and update the micro:bit's program again)

    • @gorombolyierik
      @gorombolyierik 4 місяці тому

      @@bsiever android and i tried on a phone that had never been paired tovit and a phone that has been but still needs the code

    • @bsiever
      @bsiever 4 місяці тому

      @@gorombolyierik Can you share a link to the project? (As described here:makecode.microbit.org/share )

  • @brody9752
    @brody9752 4 місяці тому

    Thank you, I was struggling to understand the insertion algorithm and your video explained it perfectly.

    • @bsiever
      @bsiever 4 місяці тому

      Thanks! I'm glad it helped!

  • @DominoKiddoo
    @DominoKiddoo 5 місяців тому

    im on a mac with a microbit, how do i install it?

    • @bsiever
      @bsiever 5 місяців тому

      Here's an example project that includes the Bluetooth blocks: makecode.microbit.org/S35370-85499-02800-55821 . Open the link and select "Edit" to edit the program. It's best to use Chrome on a Mac because it supports "WebUSB" to program the micro:bit. Here's an overview of using WebUSB to put the program on the micro:bit: makecode.microbit.org/device/usb/webusb . Once the micro:bit has the program, it will act like a bluetooth device and can be "paired" to computers, tablets, phones, etc. as shown in the video. I hope that helps!

  • @fabriciors7125
    @fabriciors7125 5 місяців тому

    Thank you for sharing information. Is it possible via command to record the last 20 seconds of a video streaming camera? thank you

    • @bsiever
      @bsiever 5 місяців тому

      This video is more than 7 years old and I'm not sure that everything shown still works as described...It describes setting up a Pi to stream video. It should also be possible to use the stream produced to capture ~20s of the stream of video, but the approach would depend on the machine and operating system you are using to capture the segment of the stream. It would be also possible and easier to run a local command on the Pi to capture video for 20 seconds. An example using a picam can be found at: projects.raspberrypi.org/en/projects/getting-started-with-picamera/0. The `rpicam-vid` command shown in the fourth part of that article includes an option for the duration of the recording (`-t 20s`).

  • @lookyfunny8419
    @lookyfunny8419 8 місяців тому

    Hi there. In bitty app options I have only scan time and device filtering and no option like yours in video. App doesnt recognize mbit. Is there any direct link for bitty android app ? Thanks

    • @bsiever
      @bsiever 7 місяців тому

      Hi --- things to check: a) Are you sure Bluetooth is on/enabled on your phone? b) Did you update the project to disable Pairing (shown at 0:48 in the video)? c) You may want to try the "micro:bit pairing" (shown around 4:35 in the video). Pairing is/was required for the iOS app when the video was made. It might not be anymore. You might be able to try a different approach. Here's an old thread showing how the MBit app's controller could be used to interact with the micro:bit: forum.makecode.com/t/android-app-discord/7696/9 . It includes a link to generic code that worked at the time.

  • @samanthapennington4232
    @samanthapennington4232 10 місяців тому

    The BLE HID Extension isn't available when I search for it.

    • @bsiever
      @bsiever 10 місяців тому

      The full name is microbit-pxt-blehid. I just did a quick test and it looks like it's there --- I searched for "BLE" and it was listed first. If that still doesn't work, here's an empty project that already include the BLE HID blocks: makecode.microbit.org/S55587-75114-67388-20014

  • @ariitard
    @ariitard 10 місяців тому

    for 'mouse' how to tweak it such that microbit needs to be tilted more to move cursor?

    • @bsiever
      @bsiever 10 місяців тому

      There are several different approaches that may have subtly different behaviors. The easiest may be to just multiply the acceleration by a fraction before it's ever used. For example, in the example at makecode.microbit.org/20442-75928-77698-24331 you may want to try replacing the `acceleration` blocks (that set `newXAcc` and `newYAcc`) with `0.7 x acceleration`

  • @AnonymousYoutubeUserA
    @AnonymousYoutubeUserA 11 місяців тому

    It's odd how little views this has

    • @bsiever
      @bsiever 11 місяців тому

      The videos were just released on UA-cam yesterday, so I'm surprised they have any views or comments already! They had all been hosted in the school's learning management system (Canvas) and only available to the students who took the course in Fall of 2020, but a former student asked about them so I decided to make them public.

  • @darthvader-f7g
    @darthvader-f7g 11 місяців тому

    Nice explanation

  • @FactyTact
    @FactyTact 11 місяців тому

    will it work in microbit V1?

    • @bsiever
      @bsiever 11 місяців тому

      No, I'm afraid this is micro:bit v2 only extension. It relies on some updates and the additional memory in the v2.

    • @FactyTact
      @FactyTact 11 місяців тому

      ​@bsiever is there any other way to use micro:bit V1 as a keyboard. I have tried with this extention on bbc micro:bit v1 but it does not work. BTW thank you for quick reply.

    • @bsiever
      @bsiever 11 місяців тому

      @@FactyTact You might take a look at this thread: forum.makecode.com/t/anyone-ever-used-microbit-as-a-controller/9959. There are a few things that are mentioned that are relevant: 1) It has a link to an older Keyboard extension that worked on the V1 (github.com/kshoji/pxt-bluetooth-keyboard) and 2) I don't think that extension works with current versions of MakeCode, but the post also mentions a trick to access older versions of MakeCode, which may still work with that extension. Vegz78 mentions using an older version of MakeCode. Good Luck!

  • @plotaAAAA
    @plotaAAAA Рік тому

    i cant fiind devices extensions

    • @bsiever
      @bsiever Рік тому

      It's no longer officially supported, so it doesn't show up in the Extensions list. "Devices" may still work in older projects. You can try using this empty project, which already includes the Devices toolbox: makecode.microbit.org/_C733433TYJsd

  • @Andru_SL
    @Andru_SL Рік тому

    music

  • @steamthinkingroboticaeduca

    Hi, I bought the app and it works perfectly. I would like to implement some of this funcionalies for an APP that I am creating. Is it possible to acces to the code of the app to adapt it to my project? Thank you!

    • @bsiever
      @bsiever Рік тому

      Hi --- they MakeCode blocks for the Bluetooth Services used by the app can be used by other apps, including the one you are writing. Some of the specifications for those services can be found here: lancaster-university.github.io/microbit-docs/resources/bluetooth/bluetooth_profile.html . It's also possible to look at the service implementation in the source code of MakeCode and the micro:bit runtimes. If you haven't worked with bluetooth LE before, you may want to start by experimenting with a bluetooth browser App, like LightBlue (on iOS) or nRF Connect (iOS and Android).

    • @steamthinkingroboticaeduca
      @steamthinkingroboticaeduca Рік тому

      @@bsiever Thanks!

  • @omer_attas
    @omer_attas Рік тому

    great

  • @adamfalletta
    @adamfalletta Рік тому

    Thanks Bill, I appreciate you and your work on this project. Was wondering if you can point me in the right direction. I'm trying to use the BLE HID on Key Press Down as soon as PIN 0 is touched. I tried it out and it works fine but only when you release the key (i have a connected arcade button). Is there any possible way to achieve on KeyPressDown? Similar to how the HID Keyboard works with the Circuit Playground Express. Many thanks , Adam.

    • @bsiever
      @bsiever Рік тому

      Hi @TheRevVBand: Thanks! The problem is due to the way touches are detected, not this extension. Here's a demo that may be closer to what you want: makecode.microbit.org/_4maRTkH081XA . It will show a small heart on the "touch down" (while holding GND and P0). It seems to take about about a second for it to be detected, but it is distinct from the release. It'll show a large heart when P0 is released. For further general questions you may want to post to the micro:bit forum at: forum.makecode.com/

    • @adamfalletta
      @adamfalletta Рік тому

      @@bsiever Thanks for the prompt response! I've tried that code and it does not work the way I need to, but a step in the right direction. I'm trying to build real time BLE HID keyboards so i can hook them up to web based games. The controller needs to send a keystroke in real time. here is an example with an esp32... ua-cam.com/video/BkfmBk6OeQM/v-deo.html - would we be able to do something like this? - An even better example... ua-cam.com/video/QJr3OmvUpC4/v-deo.html - Thanks again. (i'll check the forum if we can't get it to work) =)

    • @bsiever
      @bsiever Рік тому

      @@adamfalletta You may want to take a look at Jurjen's Micro:bit-MaKey projects: gitlab.com/jurjendevries/makey-makey-microbit . If you just need 2-3 types of key event, you may want to mix-in one of my other extensions: Button Clicks (makecode.microbit.org/pkg/bsiever/microbit-pxt-clicks). Here's an example that sends keys as soon as A or B are pressed down by using Button Clicks: makecode.microbit.org/_1iHcAX0e4T5x . I think the underlying problem is due to how capacitive touch events are detected. There may be some workaround, but I won't be able to look into for a few weeks .

    • @adamfalletta
      @adamfalletta Рік тому

      @@bsiever That plugin is a great way for buttons to act like keypresses. The ultimate plugin would be for onPin touch Down - this way I could hook up an external arcade button (or sensors) and build my full line products. I could also listen for analog values and send keystrokes as soon as a certain threshold is reached. I appreciate your honesty and will circle back in a few weeks to check your availability as these projects are extremely important not only to me, my partners, but for many. I hold you in the highest regard Bill and I'm hopeful that you can find it in your heart to include me in your schedule on some point down the line. If you come across anything until then I will be very glad to hear it. Sincerely Adam

    • @bsiever
      @bsiever Рік тому

      @@adamfalletta Oh --- Are you using buttons? I thought you were using capacitive touch. If you're using buttons, you might get the behavior you want with pulse events, like this: makecode.microbit.org/_Xvec9tPzXbvR (Sends the key when P0 is connected to GND --- a button between GND and P0 should trigger it)

  • @Xyva43
    @Xyva43 Рік тому

    I'm trying to use the micro:bit as a mouse like you showed in the video on Windows 10 PC but it's not working, I've copied the code and connected it via bluetooth but nothing's happening

    • @bsiever
      @bsiever Рік тому

      Hi @Xyva --- I can't be sure it'll work with all set ups, but here are some things to try: 1) Here's my exact version to try: makecode.microbit.org/_7b6a48akA8zv ; 2) Unpair and then repair the micro:bit with Windows ; 3) Maybe try it on a different computer to see if it's the computer or the micro:bit that's the problem.

  • @anduranm
    @anduranm Рік тому

    I just want to connect a Bluetooth keyboard and the micro bit in the matrix led show me the letter that I pressed

    • @bsiever
      @bsiever Рік тому

      Hi, I'm sorry, but that's not something the extension shown here is able to do. This example makes the micro:bit act as a keyboard. Having the micro:bit connect to a bluetooth keyboard is technically possible, but I'm not sure if it'd be possible with MakeCode and I haven't heard about any extension that does that.

  • @DavidPicchi
    @DavidPicchi Рік тому

    Hi, Thank you so much for developing this extension. @time 7:05 of your video I see the begin of function called "move mouse". Could you share it? Thank a lot.

    • @bsiever
      @bsiever Рік тому

      Sure! Here it is: makecode.microbit.org/_YPWV6tfmr8TW (If you do cool things with the extension, please share!)

  • @NicelySatisfied
    @NicelySatisfied Рік тому

    does my pc need to have a bluetooth adapter?

    • @bsiever
      @bsiever Рік тому

      It needs to support Bluetooth Low Energy. Most PCs made in the last 5-6 years (since around 2017) support it. Older PCs may need an adapter. Bluetooth support must be enabled. For example, it won't work on school computers if the school disables bluetooth.

    • @NicelySatisfied
      @NicelySatisfied Рік тому

      @@bsiever The motherboard I bought doesn't support it so I'm going to have to get an adapter. Thanks for the information.

  • @JavierGarcia-se3vi
    @JavierGarcia-se3vi 2 роки тому

    Thank you very much for the tutorial, Greetings from Mexico! 😄

    • @bsiever
      @bsiever 2 роки тому

      Greetings from the U.S.! I hope it helps --- it's a bit out of date.

  • @Sternhammer89
    @Sternhammer89 2 роки тому

    Hi, I am a teacher with two classes building MicroBit buggies, we want to control them using BlueTooth and have iPads. After much searching and looking at out of date apps, I came across this video (having already found Martin Wooley's Bitty Controller). I have been trying to get it working but first realised my old class set of MicroBit V1's needed a firmware update. I then found the 'Devices' extension is no longer supported, but did manage to add it (before I found your responses below to the same problems). I did this but whenever I try to scan, no devices can be found. I have not yet had time to test the official MicroBit IOS app, but will hopefully do that shortly (it's also free which helps :-) )

    • @bsiever
      @bsiever 2 роки тому

      Hi Bill --- Are you sure you disabled "Pairing", which I show how to do at about 42 seconds into the video (ua-cam.com/video/UuGTBZRwC-8/v-deo.html)? This has to be done on each project and then, of course, the micro:bit needs to be updated with the new code. It may also be necessary to include at least one Bluetooth Service. The micro:bit _should_ show up in scans without much trouble if you disable pairing. (Disabling pairing makes it a lot easier to use Bitty Controller) Good Luck!

    • @bsiever
      @bsiever 2 роки тому

      One more idea. It's also possible to use the Yahboom's MBit app to control almost anything over Bluetooth without the Devices blocks. Here's a thread on the Makecode Forum where I describe the approach: forum.makecode.com/t/android-app-discord/7696/9

    • @Sternhammer89
      @Sternhammer89 2 роки тому

      @@bsiever Tried again, couldn't get BittyBlue to recognise the MicroBit, but after a couple of goes with the MicroBit IOS app I manage to display North and south arrows on the Microbit. It did keep disconnecting though.

  • @llmtube
    @llmtube 2 роки тому

    Thanks Bill!!! Such a great inspiration!!

    • @bsiever
      @bsiever 2 роки тому

      I'm really looking forward to seeing the cool projects others come up with!

  • @Matthew286_
    @Matthew286_ 2 роки тому

    so OP, thanks.

  • @michaelli3997
    @michaelli3997 2 роки тому

    Hi, thanks for making this, but I followed all the steps on a Windows 10 PC, it doesn't work, nothing happens when I press the button, I tried to re-pair the micro: bit, but nothing works, do you have any suggestions?

    • @bsiever
      @bsiever 2 роки тому

      Can you post on the extension discussion forum and include: a) a link to the micro:bit program you're using (use the share button in MakeCode) and b) a description of your computer? The discussion forum is as: github.com/bsiever/microbit-pxt-blehid/discussions

  • @maciekkrasnicki9773
    @maciekkrasnicki9773 2 роки тому

    Hi! I have one question, is there any possibility to connect micro:bit with PC via Bluetooth or other wireless option?

    • @bsiever
      @bsiever 2 роки тому

      Sure! If you want to see how to send data from the micro:bit to a PC, see one of my other examples: ua-cam.com/video/eJiddQwKPck/v-deo.html ; If you want the micro:bit to act like a Bluetooth HID device, see this demo: ua-cam.com/video/n4J5GN72N_4/v-deo.html (It shows a MakeCode extension I made). For other Bluetooth options, search for Bluetooth here: github.com/carlosperate/awesome-microbit/

    • @maciekkrasnicki9773
      @maciekkrasnicki9773 2 роки тому

      @@bsiever Okay, I've checked it:) And I have one more question, is there any way to connect with Robot MaqueenPlus Micro:bit to PC via bluetooth? I am asking, because if I use an extension for bluetooth then I cannot use an extension for MaqueenPlus. Do you know if there is any possibility to do it?

    • @bsiever
      @bsiever 2 роки тому

      @@maciekkrasnicki9773 Maybe. I've created a "fork" of the MaQueen+ Extension that you can try, but I have not tested it at all. You can add it by going to add extensions and in the search bar enter "bsiever/pxt-DFRobot_MaqueenPlus_v20", hit enter, and select the tile. You can then add Bluetooth (and remove Radio). Or you can open this test project that has both the MaQueen blocks and Bluetooth blocks: makecode.microbit.org/_CeUd19asyJLH . By the way, the RGB lights may interfere with Bluetooth behavior. It may be necessary to not use both in the same script. Good luck!

    • @bsiever
      @bsiever 2 роки тому

      @@maciekkrasnicki9773 In addition to my other suggestions, you may want to ask questions like this on the MakeCode Micro:bit forum: forum.makecode.com/c/microbit or ask DFRobot (makers of MaQueen)

    • @maciekkrasnicki9773
      @maciekkrasnicki9773 2 роки тому

      @@bsiever Hi again! Thank you very much for your great help:) Unfortunately, I have one more question. I created an app for Andrid in App Inventor to control MaqueenPlus, but I have one problem with downloading a program to a micro:bit via MakeCode. I created this app using BlocklyTalky in App Inventor (it works without any problems) and in MakeCode (unfortunately when I want to download a program on micro:bit V2 there is an error 927). I' ve checked it and it means that "The program is incompatible with the micro:bit version you are using". Do you have any idea how I can fix it? Is there any version of BlocklyTalky for micro:bit V2? Or is there any way to change micro:bit V2 "software" for micro:bit V1 "software"? Or maybe You know another way to create such an app? Please let me know, have a nice day:)

  • @niceman567
    @niceman567 2 роки тому

    Thanks for the video, I can't seem to find the "DEVICES" in extension, has that been discountinued?

    • @bsiever
      @bsiever 2 роки тому

      "Devices" is not being supported any longer, but it can still be added and used. See my other comments on this video for instructions to use it or look at this support article: support.microbit.org/support/solutions/articles/19000125262-makecode-devices-extension

    • @niceman567
      @niceman567 2 роки тому

      @@bsiever thanks a lot

  • @AndrewMcDonald_McScience
    @AndrewMcDonald_McScience 2 роки тому

    Very cool!! The last one for temperature collection reminds me of a website that I'm building with some college students. Would be happy to share it with you. Your input would be much appreciated.

    • @bsiever
      @bsiever 2 роки тому

      Sure! Please share!

  • @palpatel8809
    @palpatel8809 2 роки тому

    The devices extension is not showing

    • @bsiever
      @bsiever 2 роки тому

      See my comment below for details to add it yourself. Or try this project: makecode.microbit.org/_6p08qDUF2Vs8

  • @DJ-xk1ux
    @DJ-xk1ux 2 роки тому

    Nice 👍

  • @calebjoest6791
    @calebjoest6791 2 роки тому

    Rip i either buy glitchy app or buy an iphone...

    • @aayushtiru3950
      @aayushtiru3950 2 роки тому

      You can use kitronik move app it work just as nicely and is free and is on Android

  • @techmonstah
    @techmonstah 2 роки тому

    Very interesting with so many options. Like Loreto in the comments said, it'll help support accessibility needs!

    • @bsiever
      @bsiever 2 роки тому

      Loreto has already put together a great example of an assistive device: twitter.com/loretod101/status/1495154394266017794?s=20&t=P62lu0HidYqisjP3bwbjOQ

  • @darshnikmakwana1162
    @darshnikmakwana1162 2 роки тому

    can i use bluetooth and usb serial communication simultaneously ?

    • @bsiever
      @bsiever 2 роки тому

      Yes, you should be able to use it while also using USB serial!

  • @loretodumitrescu1486
    @loretodumitrescu1486 2 роки тому

    This is amazing!!! Thank you so much for developing this extension. It'll be a game-changer in supporting low-cost assistive technology. Can't wait to try it out.

  • @unai0675
    @unai0675 2 роки тому

    Good tutorial but when I connected my Micro-bit to the app in my menu doesn't show the monitor and control

    • @bsiever
      @bsiever 2 роки тому

      Are you using iOS? Unfortunately, I don't think the Android version of the app includes this feature.

  • @artjomskucajevs5706
    @artjomskucajevs5706 2 роки тому

    Am i able to connect to the microbit from a phone wirelessssly if its connected to an external powersupply ie. not a pc.

    • @bsiever
      @bsiever 2 роки тому

      Yes. The only reason it was connected in the video was to allow me to show the details of programming it. Once it is programmed, you can connect while it's on battery power (or other forms of power supply).

  • @happybreak5318
    @happybreak5318 3 роки тому

    thank you very much now it works

  • @makecodeandhardware1395
    @makecodeandhardware1395 3 роки тому

    This does not work for me. I have copied your above code and downloaded it to both V1.5 and V2.0 Microbit. I have used an HP Stream laptop which DOES have bluetooth. I get the message that they are paired, the laptop correctly recognizes the Microbit by name. When I click 'pair' as you did, I do not get the 'show console Device '' bubble. It only stays with the simulator bubble. Have done the whole process repeatedly. The Bluetooth console is enabled. Suggestions ?

    • @bsiever
      @bsiever 3 роки тому

      I just did a couple of quick tests. At first it behaved as you described: Bluetooth connected, but it didn't show data. I made a few minor changes / reprograms / reloads and it started working. Here's a slightly updated version of the project with a minor delay between each "send": makecode.microbit.org/_3yT8KAcHuho3 (My theory is that data was streaming in too fast and the PC's console couldn't keep up, so data was lost. I've experienced something like this before with other projects)

  • @bsiever
    @bsiever 3 роки тому

    The "Devices" extension doesn't seem to show up when you search for it now. You can manually add "Devices" manually to a new project. You'd: 1. Create a new project; 2. Add the Bluetooth extension (as shown); 3. Go to the gear menu in the upper right and pick "Project Settings"; 4. Click "Edit Settings As text"; 5. Type the line "devices": "*", right above the bluetooth line (include the double quotes (") and the comma (,)). 6. Click on the "Blocks" at the top to return to the editor view 7. For the "Devices" palette to be redrawn you may need to either reload the page or click "Blocks" and then JavaScript/Pyhton and Blocks again.

    • @aayushtiru3950
      @aayushtiru3950 2 роки тому

      Thanks for the tutorial I have been trying to connect my mobile but wasn't able to

    • @palpatel8809
      @palpatel8809 2 роки тому

      Can u please create a tutorial I need that for my project

    • @cicihyrum3469
      @cicihyrum3469 2 роки тому

      It didnt show up

    • @bsiever
      @bsiever 2 роки тому

      @@cicihyrum3469 You may have to reload the page/project. You can also try this link to an empty project that contains the Devices toolbox. Just hit the edit button and customize it: makecode.microbit.org/_C733433TYJsd

    • @dabitzz
      @dabitzz 2 роки тому

      @@palpatel8809 i made a tutorial on how to get the devices extension ua-cam.com/video/iChe5aYWhbE/v-deo.html

  • @eee22145
    @eee22145 3 роки тому

    This was helpful, I wanted to make a remote control car with my microbit

  • @davidperks1514
    @davidperks1514 4 роки тому

    Very interesting presentation. I'm off to test out these features.

  • @bsiever
    @bsiever 4 роки тому

    Here's the project code: makecode.microbit.org/_aykdWqRK4DKb

  • @dennisdunbar3940
    @dennisdunbar3940 4 роки тому

    Best explanation of how to set this up that I have found, thank you!

    • @bsiever
      @bsiever 4 роки тому

      Thanks! I'm glad it helped.

  • @AliciaCatalina
    @AliciaCatalina 5 років тому

    Thanks so much for amazing video, plus the instructions on how to make the camera into a webcam

  • @YaserFarid
    @YaserFarid 6 років тому

    Do you even know what is WebRTC?

    • @bsiever
      @bsiever 6 років тому

      WebRTC is an API for real-time communications in browsers. Unfortunately these videos were mis-titled and show UV4L rather than WebRTC.

  • @DeepankarMaithani
    @DeepankarMaithani 7 років тому

    what you did is used mjpeg streamer not the webrtc streaming. Webrtc streaming didnt worked for me. Did it work for you?

    • @bsiever
      @bsiever 6 років тому

      Sorry --- I've mostly ignored this since posting it. This video demonstrates the use of UV4L Server & mjpeg, NOT WebRTC. I've updated the UA-cam title (but not the video itself, which still contains mentions of WebRTC) . Thanks for the feedback.