- 814
- 149 775
MakeCode and Hardware
United States
เข้าร่วมเมื่อ 11 พ.ย. 2018
Hi, I'm Frank Schmidt: This is a TH-cam Channel about using Microsoft MakeCode programming system and Hardware to use with that system. MakeCode and MakerMakeCode are twin systems developed by some great programming engineers at Microsoft that can be used as block coding, super easy ! The coding system shows active simulators on the computer screen. This MakeCode system also has a text coding "tab" which shows the block code converted into JavaScript text code. MakeCode works with Chrome Operating System (Chromebooks) among other OS based machines and it also works off line using Chrome. There are no fees or subscriptions required. You can save and share your program . This allows teachers to show students how to program using simulation and the upload their code to actual hardware in the classroom. This coding system is all open source with many people contributing to its development. arcade.makecode.com/32675-71779-63712-20239
LEGO Car RC Batteries Micro:bit CreateAI
We now use 3.7V LiPo recharge battery with Dupont connector to power the CreateAI Micro:bit. This is more wearable than the 2X AAA Micro:bit battery pack. Red Dupont connector is better than white JST. Dupont is reversable , JST is not. JST comes in many different sizes. Here is the receive code for Microbit on Moon Rover Car, LEGO Technics build. Yahboom Superbit powers car. Code: tinyurl.com/5cp8zs23....Thank you , Jason ! !
มุมมอง: 98
วีดีโอ
Lighthouse 3D Print with Micro:bit control Neopixel :Tina2 Printer
มุมมอง 12116 ชั่วโมงที่ผ่านมา
tinyurl.com/5n7b95j7 This is the MakeCode link for the lighthouse neopixel and music. .stl file that I made for 2 part lighthouse in this video. tinyurl.com/2bajmst2 Adding supports did not work well for me. If you add supports and it works well for you then please make a video of it and post a link to the video.
Lego moon rover wheels and Create AI
มุมมอง 60วันที่ผ่านมา
tinyurl.com/33muc28z This is the code for receiving micro:bit for Create AI control of moon rover. Pink wheels are 3D printed; the wheel is PLA and the tread is TPU. This Create AI is in Beta, like when we burn toast at 4 in the morning.
Cute bot and Mbit app location permission required
มุมมอง 45วันที่ผ่านมา
for this app to work you must allow location permissions.
LEGO Moon Rover Wheels 3D Printed CreateAI Micro:bit RC
มุมมอง 19014 วันที่ผ่านมา
Using Yahboom Superbit for motor driver expansion board with 'radio' control via Micro:bit CreateAI tilt signals. 3D printed pink wheels in PLA filament and tires are pink TPU filament on Tina2 Basic 3D printer by Weedo.
LEGO Bot Car RC with Micro:bit CreateAI and Superbit
มุมมอง 41521 วันที่ผ่านมา
tinyurl.com/u6ete4yd Above is the code in the Micro:bit onboard the car. Yahboom Superbit is the motor driver expansion board on the car. Wheels and motors are from Ailexpress , Geekservo 3v DC motors. Micro:bit on pink wrist band is trained in CreateAI which is still in beta. Each action (tilt) sends a signal via 'radio' to the car.
LEGO Bot Car Superbit CreateAI Micro:bit Radio Control
มุมมอง 5721 วันที่ผ่านมา
tinyurl.com/3dfmfbcn www.yahboom.net/study/spider:bit Spider Handle Control is the code with radio extension which controls the Yahboom Superbit motor board. CreateAI Micro:bit is for programming the 'radio' send code along with the Machine Learning system.
LEGO Car Controlled with CreateAI Micro:bit
มุมมอง 43428 วันที่ผ่านมา
tinyurl.com/3dfmfbcn www.yahboom.net/study/spider:bit Spider Handle Control is the code with radio extension which controls the Yahboom Superbit motor board. CreateAI Micro:bit is for programming the 'radio' send code along with the Machine Learning system.
Radio with CreateAI Micro:bit Send and Receive Signals
มุมมอง 240หลายเดือนก่อน
We have programmed our Microbit V2 with CreateAI Machine Learning so that it can learn different motions or actions. I programmed it to then send a radio signal to another Microbit and the second Microbit shows the action learned by the first Microbit.
CreateAI Micro:bit Adding Music
มุมมอง 208หลายเดือนก่อน
The Micro:bit learns 'actions' such as tilt, clap and drop or spin. Then it shows an LED display. We have added different music with each action. We print a wrist band to wear the Micro:bit and use a smaller battery.
MicrobitV1 Superbit V1 Mbit App Best Code for Cooper
มุมมอง 84หลายเดือนก่อน
tinyurl.com/5n6ckkry To use this code we pair the Microbit with cell phone bluetooth. When the Microbit is powered on hold down the A and B buttons on front and press the reset button on back of the Microbit then release the reset button and it should pair with the phone.
Code for Cooper, Music Bot Car
มุมมอง 163หลายเดือนก่อน
tinyurl.com/2s46favf The notes can be changed and more music added. Superbit V1 and Microbit V1. When I now click on the above link and the MakeCode environment installs on my browser with the control code for the Superbit I then try to download that code to my V1 Microbit and get the message that the code is not compatible with the connected device (Microbit). But I choose "download anyway". T...
Helical Gears LEGO 3D Printed Tina2 and Kiri:Moto Slicer
มุมมอง 2152 หลายเดือนก่อน
Helical Gears LEGO 3D Printed Tina2 and Kiri:Moto Slicer
5.2mm Plus Hole LEGO Technic Gears and Axles. Chromebook Tina2 Printer
มุมมอง 1932 หลายเดือนก่อน
5.2mm Plus Hole LEGO Technic Gears and Axles. Chromebook Tina2 Printer
TPU Printing LEGO Plus Hole Using Chromebook and Kiri:Moto Slicer
มุมมอง 1042 หลายเดือนก่อน
TPU Printing LEGO Plus Hole Using Chromebook and Kiri:Moto Slicer
Chromebook 3D Printing Weedo Tina2 Kiri: Moto
มุมมอง 392 หลายเดือนก่อน
Chromebook 3D Printing Weedo Tina2 Kiri: Moto
Chromebook Tina2 Printer MakeCode Hardware Gears
มุมมอง 362 หลายเดือนก่อน
Chromebook Tina2 Printer MakeCode Hardware Gears
Temperature Settings LEGO Printing Chromebook and Tina2 3D Printer
มุมมอง 442 หลายเดือนก่อน
Temperature Settings LEGO Printing Chromebook and Tina2 3D Printer
64 Tooth LEGO Gear 3D Printed Tina2 by Weedo and Chromebook
มุมมอง 682 หลายเดือนก่อน
64 Tooth LEGO Gear 3D Printed Tina2 by Weedo and Chromebook
Chromebook Slicer Weedo Tina2 Printing LEGO Mechanical Technic
มุมมอง 1072 หลายเดือนก่อน
Chromebook Slicer Weedo Tina2 Printing LEGO Mechanical Technic
Chromebook Slicing .stl File for Weedo Tina2 3D Printer : LEGO Beam
มุมมอง 1592 หลายเดือนก่อน
Chromebook Slicing .stl File for Weedo Tina2 3D Printer : LEGO Beam
Bread Board LEGO Base Plate 3D Printed for Soldering Practice
มุมมอง 1522 หลายเดือนก่อน
Bread Board LEGO Base Plate 3D Printed for Soldering Practice
SkidDisc for Bot Car to Allow Turning : 3D Printed WeeDo Tina 2
มุมมอง 652 หลายเดือนก่อน
SkidDisc for Bot Car to Allow Turning : 3D Printed WeeDo Tina 2
666 subscribers 😈
Can you share the link for the lighthouse file you could not convert to STL ? Any plans to get the lighthouse spinning ?
Uploaded to my google drive. I'm no longer interested in it as I made my own light house file.drive.google.com/drive/folders/1bckWQF2lVjpzA8UIe8LY7scLWoFcgBr_?usp=sharing
Latest versions of Android and iOS ask you to allow this explicitly on an app by app basis as it could be used to track your location in certain circumstances. Before this simply using Bluetooth in one app could allow other apps to access this information without your knowledge. With the setup youve shown here i dont think you need to be worried .
These pink weal's were printed by Tina 2. And we are waiting for new parts to arrive. We are going to do new designs for the weal's
Hi, thanks for sharing. Could you say the description of the lipo battery please? And what kind of charger do you use?
Thank you for the question. Here is a link to the battery on Amazon. You can see a picture of it. 3.7 v and 380 Mamp hrs. tinyurl.com/nheedv6f . For the charger on this battery I used the Adafruit Feather board which I had in my kit but it is expensive. You can use this charger: tinyurl.com/6czek5zj . You must choose a battery with the correct JST connector to fit the Microbit : Here is the official Microbit identification: Battery connector JST S2B-PH-SM4-TB... I am happy to answer questions.
how do u get else if?
found it thanks
@@noobyshadow OK good, we are happy to answer any questions if we know the answers.
i would suggest training with more than 3 samples per action - the more samples per action the more accurate the detection
Point well taken, that will be for Monday's lesson.
Also, where can I buy this small servo motor ?
Thanks for the video. The small servo motor may have a huge advantage over the lego version. Will it be compatible with any lego hubs ?
Only works with "plus" hub or called "X" hub. Not round hole hubs. You can buy the small motors in several places. Search for "Geek Servo Motor for Lego". They are red: DC wheel motor and gray: servo motor. Here is one place where I buy them: www.aliexpress.us/w/wholesale-geek-servo-motor.html?spm=a2g0o.home.search.0
Very creative
THANK YOU SO MUCH! This video literally saved me. I had just finished my assignment and wanted to add an extension to see what happens and it legit ruined everything. But after your video, it worked. Thank you so much again!
Are you using Jacdac ? or just using MakeCode ? I can't find people using Jacdac. Please reply. Thanks .
nigre
Thanks. Great clear video. What game was this?
This is a good question: The game is Arcade Flappy Rage, here is the game: tinyurl.com/mtrepf54 Here is the link to the guy who wrote it and the location on Forum MakeCode Arcade where I find games: forum.makecode.com/t/flappy-rage/11915 I am happy to answer other questions too.
cool
One question: how is the helicopter programmed?
Place sure sounds busy busy !
hello, nice project. the links seems to not working.
I just tried both links, they work for me. Have you tried to copy them and paste into a different browser? If working in Chrome you can try Edge or Brave browsers. Please tell me if they do not work after trying this. I can send you links via message if you wish.
Next step - use these gears to create a gearbox?
Well done 👍 To think just a few short weeks ago you didn't know any of this & now you're teaching others how to do it ! 👏
I saw the twin girls from the library today at Walmart and mentioned that I had the ghost cookie cutter finished for their use. Now it's on to making an American football cookie cutter with Denver Broncos logo for their dad. Cookies galore for MakeCode and Hardware. We will build a fork lift to hoist ourselves up using Microbit after eating all the 'test cookies'.
how do you import stuff into MakeCode Arcade
You can use Kirstan Pedersen's app for importing a photo image. You will have to work to learn how to use it. kristianpedersen.github.io/Convert-Image-to-MakeCode-Arcade-Sprite/
You can look at this video on this channel : MakeCode Arcade Convert a picture into a sprite or background; Pedersen
How did you select the raised object to delete it ? I have contacted the author of the stl , he kindly agreed to make seperate stl files for each object . Have a look on the files section of this Tinkercad link ....
The way I delete any unwanted object in Tinkercad (after I imported the .stl file) is to cover it with a negative (hole) block and then merge the object and hole together, join them. That deletes the object.
do you have the link to the STL with the elevated component? Regarding the jittery mouse in Kiri - what browser are you using ? Have you tried any others?? For the stringing try slowing the print speed down % see if that makes any difference Do all Filaments give this stringing?? What setting are you using in Kiri? Would also be interesting to slice the models with Weebuilder and/or Cura & see if they give as much stringing?
www.thingiverse.com/thing:6755259
I have not tried printing the shown files will all other filament that I have. In regards using a different browser: I see that videos show that for this to be done on a Chromebook the user must first activate Linux and act as a 'developer'. Not likely that I would recommend that to the kids and be responsible for damages. I'll use Chrome on the Chromebook and not recommend other browsers.
Tina2 basic profile is set to 200 °c as default as it's a good general setting that will cover a range of filaments different filaments may need different temperature - good idea to print a simple test print with each new filament to confirm what temperature it prints best at You may also need to alter print speeds, Kiri defaults to 50 , I've found with some of my filament 40 to 45 gives better results
Tina & Kiri are a good combination it seems
As of Mon 2 September, settings for Tina2 Basic printer are now built in to Kiri slicer !
Could you please link to the original thingiverse page & attribute the designer ?
My friend, you are doing such a brilliant experimental (and tiring) work. Thanks for sharing!
Thank you Fotios. We are inspired by all the MakeCode and Microbit teachers and parents ! I would love to make this education more affordable so all kids can learn electronics/coding/3D printing for their future years.
id be tempted to fit the leds inside the eye sockets plus maybe fit 1 behind the teeth! might also be fun to replace the standard Leds with single WS2812 / Neopixel type leds so that different colours can ve used?
Looks like you might have edison DNA?
Tina & Tinkercad + your ingenuity seem to be a great combination !
Thanks KITS ! Looking forward to new learning lessons, LIFE = School !
Not useful.
Your 3d / Cad designing powers go from strength to strength! sometime it might be useful to show viewers how to merge different STL files in Tinkercad
Thanks for the note. I hope others have 3D printers and can make use of the LEGO designs. I have not had any questions about how to do this in the comments section. Also, It is fiddly working in Tinkercad at present. I have not mastered it. Off to Colorado next week so I may be off-line for a while.
to think that only a short time ago , you had never even used a 3d printer or CAD software!! And now look at how far you've come
What a brilliant idea! Now the sky is the limit. I am soooo jealous, I will start a competion for innovative pieces 😂😂.
Thanks for the comments ! We will try to find new ideas for LEGO Technic.
I just love to see you so creative and reporting about the results. Thank you so much for sharing!
"Legos since i was small" - She is only 10!!!🤣
@Keeping_IT_Simple : They are 10. Twin sisters. You will meet them when next you visit the Ozarks of Missouri for a coding day at the library ! Thanks for all you do for us.
It looks like the internet of things, ΙοT, Thingiverse!
Yes, and we can print gears and other LEGO compatible parts for bot cars as we need them. Thanks for your interest and comments !
Models such as dory require supports in order to print correctly In wiibuulder there should be q "generate supports " checkbox ? Also a previous print you mentioned difficulty in removing the raft - try changing bed adhesion from raft to Brim .
I don't understand : " there should be q "generate supports " checkbox ? " I see customize support settings ; but if that is the correct window then I'll need to find someone on TH-cam to walk me through the steps.
@@makecodeandhardware1395 have emailed you
What software
Microsoft MakeCode Software which has Bluetooth notation and the Yahboom Superbit power board for motors. The app on the cell phone is BST M_Bit app , free , for iPhone or for Android.
Also the values I am using are Kp = 0.02 and Kd = 0.015. Elecfreaks is recommending Kp = 0.05 and Kd = 0.06. For me those are unstable values.
Difficult to believe that this was not tested well by Elecfreaks before offering it as a lesson with the hardware bot car. I have found this also with MakeCode and Microbit for Jacdac with Kittenbot Kits hardware: Software developers do not seem to have hardware in their possession and so push out the programming and say : "It should work". Then we find, after buying the kits, they do not work as advertised.
In that code with the if else cascade I suspect the and needs to be or. One of the issues with the "fused offset value" aka error seems to be it is relatively insensitive when the robot is on the line. That is, the error is not linear with how far off the line you are. With a high enough Kp you can get it to follow a straight line very nicely. But on turns it still behaves like the classic Bang-Bang algorithm. I am using Kp of 0.02 and Kd of 0.015, much, much smaller that what is in the lesson. Anyway, it does work, just not well. I am going to experiment with my own error calculations next.
Thank you for this note, @jdonwells. It's great to have someone who knows about programming to offer helpful hints. I am not at all a coder nor programmer.
I like this project. How could I do it too?
Hi, Smartclass. Do you have any of the parts shown in this video ? It would be best to start with the BBC Microbit. Then you would need some LEGO Technic parts, like for the car shown. The car uses 4 DC wheel motors, they are red ones. You need 4 Mecanum wheels. The power board, which has the battery and the Microbit plugs into it; is from Kittenbot called the Robotbit. The battery is rechargeable. So you need to think about what parts you have and where to get the parts that you need. I am happy to help out with information.
@@makecodeandhardware1395 Thank you. I have the microbit board, the robotbit extension board and the DC motors but I don't know how to make the connections as in the video. Do you know if the video camera can be connected to robotbit?
@@smartclass1167 : OK, to begin with; the Microbit always plays audio (music) out of pin 0 so you do not have to code P0 for that in Makecode. There is a jumper that you remove from P0 and ground on the Robotbit. Plug either wire of the speaker into either pin and the music should play through any small speaker. On the motors you will need to test each one by plugging in to the motor pins. You can use regular wheels but you will need non-drag wheels if you want to turn left or right, or a roller ball. For example: one drive motor to M1 and another drive motor to M2, then the other two wheels are trailing wheels. Or all 4 motors to M1, M2, M3 and M4 with Mecanum wheels as shown. Let me know if you have problems, this video was from 3 years ago so I have to look at the kit again and make another video if you need it. Thanks for asking.
@@makecodeandhardware1395 Thank you for your kindness. I will try in the next days.
@@smartclass1167 ok
You saving on your electric bill ?.. Video is a Bit dark
great progress in only a week .... imagine what further progress you will make in a month or a year!!!!
Welcome Tina!!!
Thank you so much for the troubles and the expenses you go through on testing all those microbit gadgets. And obviously for sharing all these you learn!
Fan only has to cool the pla as it comes out of the nozzle for a couple of seconds How is Bernie looking close up ?
see snaps via WhatsApp
Oh, I really like the 3D printing stuff getting into microbit programming. I might use it educationally speaking, next school year!
This my first printer. I got it on Monday afternoon (today is Wed.) and printed several pre- coded files on the included micro SD card. Now I am getting new files from Thingiverse. The printer is said to be for classroom use and we can use it that way for sure. I made a Microbit driven fan to cool the print as it is making. We are very happy with this printer; super simple and the newest version has been well de-bugged. Thanks as always for your comment.
Is that a 3v or 5v fan ? Suggest either having 2 fans or using a 12v ducted fan might be better until you have modified your printer
Maybe we need an update to this video now we have updated the firmware?
This is an interesting point. I have re-watched this video and believe that my comments on MakeCode are valid. When making videos I often have 3 browsers open and many tabs on each one open. We now have failed downloads for many MakeCode programs at the library and coffee shop; this is happening ever more often. I have NOT seen notes from Microsoft that we must close all other browsers and all other pages before attempting to download to hardware but suspect (there's no reason not to) that there is firmware interference if all these other tabs and browsers are open. This may be an issue that should be acknowledged by Microsoft and / or fixed by them. They should at least make consumers aware of the issue. (Kind of like: Your bus won't start if the headlights are turned on. You should be told that by someone.) So I'll leave the video up. If Kittenbot want to inform users of DuckyBot how to turn off RGB LED in Jacdac then I'd like to see them do it. Or, they may just be shipping the module with updated firmware. Thanks for the comment.
@@makecodeandhardware1395 my suggestion in no way was meant to suggest your views were invalid! Sorry if I gave that impression. I am not sure about the multiple tab problem ( not really a problem more a byproduct of how browsers & microcontroller connect to each other) can be " solved" but you are absolutely correct that the issue should be acknowledged & people told about it significantly more than they current are doing !