![MakeCode and Hardware](/img/default-banner.jpg)
- 769
- 129 402
MakeCode and Hardware
United States
Registrace 11. 11. 2018
Hi, I'm Frank Schmidt: This is a CZcams 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 Technics Blue Gear 3D printed Weedo Tina 2
Used Thingiverse to find the gear file as .stl. Then took that .stl file into Tinkercad and added a 5mm hole to the center of the gear. Then exported the modified .stl file to Wiibuilder and converted the .stl into .gcode file for printing on Tina2. Using a new to me dark blue metallic finish PLA filament.
zhlédnutí: 65
Video
Tina2 Weedo 3D Printer : Successes and Failures
zhlédnutí 37Před 2 hodinami
Printing a large object with a small raft or base below it may not print well.
Weedo Tina2 3D Printer Success and Failure
zhlédnutí 41Před 4 hodinami
Learning how 3D printing works using a classroom Tina2. Automatic bed leveling, very portable, PLA filament used.
LEGO Trailer Hitch 3D Print for MakeCode and Microbit
zhlédnutí 102Před 9 hodinami
Weedo Tina2 prints 3D for Classroom ; self-leveling bed, prints PLA filament only. Many print files for LEGO on Thingiverse web site. We can then download the .stl file into Tinkercad to merge print pieces(beams and hitches or other connecters ). Now we can save as a new .stl file and drag it into Wiibuilder to convert into a .gcode file for the Tina 2 printer . The Weedo system explains this o...
Weird Gear LEGO Technic
zhlédnutí 805Před 16 hodinami
3D Printed on Weedo Tina2 PLA printer. Thanks Jason for the gcode file.
LEGO Gears Weedo Tina2 Printer Microbit
zhlédnutí 86Před 19 hodinami
The form factor of this 3 gear system seems to fit the LEGO Technics pieces. The drive hub fits the servo motor axle correctly. No clean-up was required after printing the gear system. Thingiverse has files for many gears and other pieces.
Weedo Tina2 LEGO Gear Printing MakeCode Microbit
zhlédnutí 189Před 21 hodinou
Thingiverse has print files for LEGO Technic parts like gears and more ! For Weedo Tina2 printer just download the files and put a file (.stl) into Wiibuilder system and make it into a gcode file that Tina2 can read and press "print". tinyurl.com/2zczdfnz : The MakeCode file for V2 Microbit and BST M_Bit app shown.
LEGO Gear Printing Weedo Tina2 Thingiverse
zhlédnutí 90Před 21 hodinou
We use Thingiverse and search for "Lego gear". We download all files. These will be .stl files which we then take into Wiibuilder so we can slice and convert to gcode files. The Tina2 printer understands gcode files. Now press 'print from TF' and the Tina2 finds the microSD card and the gear file and then starts printing the gear. There are several gear files for different gears on this Thingiv...
3D Printing LEGO Tri-Brick and Printed Pink Vase
zhlédnutí 9Před dnem
Anna explains Weedo Tina2 3D printer making a brick.
Yahboom WiFi Camera. Microbit
zhlédnutí 102Před 14 dny
tinyurl.com/547vvvpk This program will download all the code and extensions that you need for the Yahboom WiFi Camera. Load it on the Microbit. Then unplug the USB from Microbit and plug it into the Yahboom expansion board. Now plug in power to the expansion board. On your mobile device you will see , under connections WiFi, the Yahboom camera broadcasting a local WiFi signal. Click on this. No...
Benchy LEGO Baseplate MakeCode Microbit Radio Control , WeeDo Tina2
zhlédnutí 117Před 14 dny
Benchy Boat , a benchmark print to test 3D printing machines. See Wikipedia for 3DBenchy.
Benchy Boat with MakeCode and LEGO Base Plate, Radio Remote Control :WeeDo Tina2
zhlédnutí 443Před 14 dny
tinyurl.com/mwc3jf29 : Send number code for MakeCode Arcade and Meowbit tinyurl.com/7kzpjh8p : Receive number code to drive the motor with Yahboom Superbit and MakeCode Microbit. The fan motor is a DC 'arduino type' two wire 3.5-5volt motor. It is Velcroed onto LEGO blocks and snapped onto the base plate. This can run all day by plugging a USB from wall wort to Superbit recharge port with 18650...
Weedo Tina2 Cooling Fan LEGO and MakeCode Microbit
zhlédnutí 114Před 14 dny
Showing Yahboom Motor Driver with red block motor and cooling fan for the Weedo Tina 2 - 3D printer. Print time was near one hour and the 18650 recharge battery ran the fan for that time period.
WeeDo Tina 2 LEGO and MakeCode Arcade Radio Control
zhlédnutí 101Před 14 dny
tinyurl.com/mwc3jf29 : Send number code for MakeCode Arcade and Meowbit tinyurl.com/7kzpjh8p : Receive number code to drive the motor with Yahboom Superbit and MakeCode Microbit. 3D printed "Kitty Ring" using WeeDo Tina 2 printer. It is a test file in PLA filament which is pre-loaded onto the included micro SD card. All of the pieces are LEGO compatible for bricks/blocks and technics.
LEGO with Cutebot Pro Advanced Kit Build
zhlédnutí 126Před 14 dny
LEGO with Cutebot Pro Advanced Kit Build
Jacdac Fail to Update Firmware on RGB Module
zhlédnutí 100Před 21 dnem
Jacdac Fail to Update Firmware on RGB Module
Circuit Cube Video Recording TankFragment
zhlédnutí 33Před 21 dnem
Circuit Cube Video Recording TankFragment
Line Tracking Microbit Cutebot Pro Not Work
zhlédnutí 68Před 21 dnem
Line Tracking Microbit Cutebot Pro Not Work
Showing Gray Scale Numbers Cutebot Pro
zhlédnutí 80Před 21 dnem
Showing Gray Scale Numbers Cutebot Pro
Kittenbot Robotbit EDU 2 Wheel Bot Car With Bluetooth Control
zhlédnutí 97Před 28 dny
Kittenbot Robotbit EDU 2 Wheel Bot Car With Bluetooth Control
Robotbit EDU Expansion Board by Kittenbot; LEGO Compatible
zhlédnutí 121Před 28 dny
Robotbit EDU Expansion Board by Kittenbot; LEGO Compatible
Microbit Comparison Cutebot Pro vs Yahboom Smart car vs DF Robot Maqueens
zhlédnutí 93Před 28 dny
Microbit Comparison Cutebot Pro vs Yahboom Smart car vs DF Robot Maqueens
Cutebot with ESP 32 Cam Onboard Broadcast to Android Phone; LEGO Technic
zhlédnutí 88Před 28 dny
Cutebot with ESP 32 Cam Onboard Broadcast to Android Phone; LEGO Technic
Servo Cutebot Bluetooth App ; How to Build Out the Car; LEGO Technic
zhlédnutí 199Před měsícem
Servo Cutebot Bluetooth App ; How to Build Out the Car; LEGO Technic
Cutebot Securing LEGO Technic to Bot Car with Spacers
zhlédnutí 112Před měsícem
Cutebot Securing LEGO Technic to Bot Car with Spacers
ESP-32 Cam Cutebot and App Control with LEGO Technic
zhlédnutí 217Před měsícem
ESP-32 Cam Cutebot and App Control with LEGO Technic
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 CZcams 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 !
😢
Interesting..😎😎
Thanks Navigation is working exactly as shown through IR remote control thanks for sharing the code
I am very happy to see this new robot. I have 10 of the Maqueen Plus V2 for my classroom and I have to say the quality of the robot has gone down in a year's time. They came out with a version 2.1 that has reversed the IR gray scale addresses. They also changed the motor ratio such that it goes faster, but needs a higher speed to overcome inertia and start moving. I like the higher gear ratio because first of all I don't need robots zipping across the classroom too fast to catch and the kids often don't understand why the robot just sits and hums instead of moves. One thing I am looking at is the wheel encoders! That opens up some advanced projects. The gray scale sensors adds the possibility of PID control for line following. Prior to this robot the only one with gray scale IR sensors was the Maqueen Plus. For that reason it was the only robot I would consider buying. It looks like Elecfreaks might be looking to take that away from DFRobot.
We have had Maqueens for over 5 years. The Cutebot Pro is the first Elecfreaks product that I have bought. Thanks to your questions I am discovering its capabilities. I see that Cutebot is used as a platform for public education robotics in the new CODERS program sponsored by Missouri State Univ. for rural schools (as opposed to VEX, LEGO EV3 or Pitsco edu. robots) which prompted me to buy one with a donation from a local retired pharmacist. We will learn more about the Cutebot. Thanks for the comments !
Do a search with your battery supplier for "18650 flat top " These should fit ?
What I want to know is: are the line following ir sensors grey scale or black and white?
I have not tested them , Don. Will do that this week. If I read your question correctly; "Does this follow a grey line on white in addition to following a black line on white ? " Watch this channel for the test project.
@@makecodeandhardware1395 actually will the ir sensors return the reflected amount (0 to 1024) instead of just 1 or 0. Maqueen Plus V2 will do that. Which means PID control can be used.
@@jdonwells You may have already seen this program; Don. I see in the Cutebot Pro extension a reference to gray value under 'tracking sensor' so to me this implies that with MB V2 that may be possible, PID control. I have not got that far with the new Cutebot Pro car. We are focused on remote control with BST M_Bit app and donated cell phones. Thanks for the input. Very interesting question. tinyurl.com/3fcd23h5
@@jdonwells , see my latest video, Don; for the answer. (spoiler : YES 0-255 ) But I don't know about PID control.
@@makecodeandhardware1395 I have a slide show to explain PID control. docs.google.com/presentation/d/1QdxlaT2WuEbwisWb3d1CxsuiMVr19kL6_wUgoftC0sw/edit?usp=sharing PID is something engineers actually use. It is an advanced topic. I teach at a high school so I like to push the kids.
Thanks for the comparison! This helps a lot of us teachers. I especially liked the "battery fit" part.
I love the experimentation you do, on fixing stuff onto the non-LEGO surfaces to make them LEGO brick or LEGO Technic compatible. I have tried some myself, by others (like yourself, mind you), too. I will publish some inside a new video, sometime in the future...
That would be great to see. Do you watch this guy on CZcams ? isogawa yoshihito : great channel for being a "maker" with LEGO Technic. www.youtube.com/@ISOGAWAYoshihito/videos
This is SO useful !! Thanks for sharing, especially the cheap camera side (esp32-cam) and the power trick with the cheap rechargable battery!
Our friend, Jason Davies visited us here in Missouri, USA ; from England, and he programmed these cameras with Arduino so the firmware now works with WiFi built in. I left the programming "hat" on the camera board because that has the micro-USB plug for power input. You can also just use one hat for many boards to program them and then plug battery direct into pins on the camera without the board. You must have a browser installed on the mobile device; or laptop. I find that Safari sometimes does not work on iPhone. But, Edge and Chrome always work for me with this camera. Thanks, as always, for the comment.
what about facing her forwards ?
Great explanation for beginners Functions are also a good way of breaking a program up into smaller chunks of code, this can make the code easier to read & understand - particularly by someone who didn't write the code !
Wow, that's very cool. Nice to have something that is somewhere between a power-hungry stepper, servo, abd dumb old rotary motor.
I like the encoder motors ! I am looking for any other bot car in this price range that has encoder wheel motors; I don't find any as yet. I think Cutebot Pro is expected to expand functions to add camera and machine learning (like the DF Robot Maqueen Mechanical) ; so maybe we can build out really smart cars. Cutebot Pro is designed for LEGO Technic beams and axels which snap together ; Maqueen structural parts must be bolted on. I think this will help a lot to snap together with no screw driver or pliers needed. Plus, Elecfreaks has great tutorials and study documentation for learning how the car works.
kow about fitting a servo to the roller ball arm so you have rear wheel steering?
Do you mean she discovered 'hidden' attributes in the remotely controlled app?
Trying to use all tab screens on the cell phone app she tries to find which A-Z command relates to which icon that she presses. She tries to 'discover' which lines of code apply to which 'keys' that she presses on which window on the screen. The app has many options the way it creates the phone screen choices and in the code it looks like many 'send signals ' beyond A-Z , like 1,2,3 .
Do the values of rgb not range from 0 - 255 ?
I think they do range from 0-255. It is difficult to know because the colors displayed are not correct; 255 in the red bubble and 0 and 0 in green and blue does not give red. I have tried all three different RGB type options in setting the system on start.
@@makecodeandhardware1395 maybe try a different colourbit type device ? What about the 8*8 I saw in previous video ?
@@Keeping_IT_Simple I'm not trying to resolve the problem, just making an observation. See my next video for the next project.
Very creative : )
Your information is SO crusial, thanks for sharing!
Thank you for your nice comment. We watch your channel also, thank you for your projects too !
Very-very intersting cube-stuff here. This non-programmable building sets are perfect for early ages. Thanks for sharing!
What permissions does it require ....
Yes, educational robotics need to get cheaper and your videos show us the way!
Keep up, my guy👌
Nice to see that you continue to do interesting things with Microbit.
Thanks for the nice comment, Matx25, I hope you are well and happy.
We are well and busy with school and work, unfortunately not much time for new electronic/Microbit projects.
Love your videos bro!
@oldhorn420 . It was because of the help you gave me from your steering video. My assembly is different but it uses your basic ideas. Thank you for your help ! !
Oh, this work of yours testing all this new sensor + activator stuff available for Micro:bit, I find it invaluable. I just wish I had more time to 'play' with it. Thanks for sharing!
You are welcome ; we learn all this together so that makes CZcams very useful. Now we have learned that LEGO bricks work so well with Technic parts so Motors on Bricks can activate LEGO projects along with all these sensors that fit together.
Plz code
This system has no code. Jacdac is a Microsoft system using Kittenbot Jacadaptor and Kit B which has a motor board and a power board. The servo motor (positional or continuous) plugs into the motor board. When you turn on the switch of the battery power board then the motor shows up on the computer screen. Now you can swipe left or right and the motor turns if a Microbit V2 is plugged into the computer by USB. We have many videos about this. You can also add code in MakeCode.
@@makecodeandhardware1395 ahh get it, thanks dude!
@@makecodeandhardware1395 I also want to get my first red motors. Which yahboom kit should I get? I was trying to get the spider kit with the 2 red motors and the super:bit expansion board
@@oldhorn420 www.aliexpress.us/item/3256801369449222.html?spm=a2g0o.productlist.main.5.2be55e90NjcnGx&algo_pvid=e3c64f26-8364-48bf-bfec-661b61b7c7d2&algo_exp_id=e3c64f26-8364-48bf-bfec-661b61b7c7d2-2&pdp_npi=4%40dis%21USD%2166.66%2166.66%21%21%2166.66%2166.66%21%402103146c17161532764242396e8f1f%2112000027177155246%21sea%21US%211961664117%21&curPageLogUid=b8VB3vyNq8Sl&utparam-url=scene%3Asearch%7Cquery_from%3A
www.aliexpress.us/item/3256801369449222.html?spm=a2g0o.productlist.main.5.2be55e90NjcnGx&algo_pvid=e3c64f26-8364-48bf-bfec-661b61b7c7d2&algo_exp_id=e3c64f26-8364-48bf-bfec-661b61b7c7d2-2&pdp_npi=4%40dis%21USD%2166.66%2166.66%21%21%2166.66%2166.66%21%402103146c17161532764242396e8f1f%2112000027177155246%21sea%21US%211961664117%21&curPageLogUid=b8VB3vyNq8Sl&utparam-url=scene%3Asearch%7Cquery_from%3A
Fit a bright led to the lighthouse!
As I can see, those sensors use the GROVE type connectors...
Yes, I think the intention by the designers of the Sensor Kit is to make it more child friendly. I find RGB is NOT correct. The code suggests pins12,13,14 but there are only 2 data pins per connector, like 12 and 13. Also, 255 on red bubble of RGB series does not show red. Is it GRB ? I cannot make that work either. Much to learn.
@@makecodeandhardware1395 , I think you are right. There should 3 data pins for colour. I do not have time now to look up their data sheets. I suppose the 3rd bit is hidden somewhere - read carefully...
These are SO interesting. Thanks for sharing, keep up the good job!
I am not a big fan of LEGO Bricks because this developed after I was a child. But they are very popular so we add motors to them to learn coding and electronics. I find most kids are very experienced with LEGO Bricks. Our local library has a monthly STEM session with Bricks for kids.
Oh my God, there is a LOT to learn! Keep hitting us with these videos!
Have you used Bill Siever's 'date / time' extension in Make Code ? github.com/bsiever/microbit-pxt-timeanddate we have a video about it.
@@makecodeandhardware1395 , this is GREAT, thank you a lot - NO, I've never seen this extension, I actualy tried to do something similar to another microcontroller board (PICOED, rasberry-pi based - python accesed). Very clever stuff, indeed. THANKS!
Very, very interesting stuff here. I personally prefer programming using sensors, instead of remote control, to "promote" automation to my students. Thanks for your presentations and for sharing the program shown!
Back to base-ics ?
Thanks for all your help, @Keeping_IT_Simple ! ! !
Great proof (Frank Scmidt) that Bailey (a granddaughter I presume) does a great job at programming. Be proud!
Woah! Thanks for sharing!
So does it turn like a tank?
Thanks for sharing!
This is not an expensive kit set. DF Robot makes the voice recognition module. I attached it with Velcro to a clear plastic square. There are two Microbits : one for 'send' using voice commands and one Microbit on the DF Robot Micro Maqueen 2 wheel car. The I2C board is by Keyes Studio.
Well done guys, especially how you programmed the behaviour of the motors in response to the various sensors.
Play with the code