- Видео 277
- Просмотров 804 056
Making Stuff with Chris DeHut
США
Добавлен 27 июн 2020
Welcome to Making Stuff with Chris DeHut, my unique corner of the web.
Follow along as I explore a variety of subject matters and share those experiences with anyone wanting to watch and listen. Some videos are highly detailed, step-by-step videos such as the woodworking content. Other videos are very focused single subject videos explaining a concept, feature, or technique.
As is typical with most makers, the subject matter will be very diverse and there should be something for just about anyone interested in making things and learning.
Videos are posted at a rate of about 1 per week, usually on Friday.
This is the link to the companion site where you can find links to all the videos.
makingstuffwithchrisdehut.com/
All information contained on this channel and on the associated companion website is without warranty, the viewer or user of this information assumes all responsibility and liability.
Follow along as I explore a variety of subject matters and share those experiences with anyone wanting to watch and listen. Some videos are highly detailed, step-by-step videos such as the woodworking content. Other videos are very focused single subject videos explaining a concept, feature, or technique.
As is typical with most makers, the subject matter will be very diverse and there should be something for just about anyone interested in making things and learning.
Videos are posted at a rate of about 1 per week, usually on Friday.
This is the link to the companion site where you can find links to all the videos.
makingstuffwithchrisdehut.com/
All information contained on this channel and on the associated companion website is without warranty, the viewer or user of this information assumes all responsibility and liability.
047 Implementing Remote Robot (Zoomie)Tracking
With the ability to track the location of the robots, the Zcheduler is capable of doing MUCH MORE. The most obvious (and what is shown in this video) is the ability to show near real time location of each Zoomie.
However, the Zcheduler can now become another "SENSOR" for the Zoomie! The Zoomie has no "vision" of what is going on around it, but it can ask the Zcheduler for some very critical information such as how close other Zoomies are to it. This will play a key role in navigation.
YOU CAN DOWNLOAD THE SOURCE CODE FOR THIS EPISODE
VISIT OUR COMPANION WEBSITE
makingstuffwithchrisdehut.com
INDEX TO ZOOMTOWN VIDEO SERIES
makingstuffwithchrisdehut.com/zoomtown-p1
REPOSITORY FOR ZOOMTOWN SOURCE...
However, the Zcheduler can now become another "SENSOR" for the Zoomie! The Zoomie has no "vision" of what is going on around it, but it can ask the Zcheduler for some very critical information such as how close other Zoomies are to it. This will play a key role in navigation.
YOU CAN DOWNLOAD THE SOURCE CODE FOR THIS EPISODE
VISIT OUR COMPANION WEBSITE
makingstuffwithchrisdehut.com
INDEX TO ZOOMTOWN VIDEO SERIES
makingstuffwithchrisdehut.com/zoomtown-p1
REPOSITORY FOR ZOOMTOWN SOURCE...
Просмотров: 101
Видео
046 Zoomie Side Trip Plan (Robot Driving Instructions)
Просмотров 10319 часов назад
See how the Zoomie (robot) interprets the Trip Plan (driving instructions) and executes them. Follow along to see how the Trip Plan is received into the Zoomie via WiFi/MQTT and then processed for execution. YOU CAN DOWNLOAD THE SOURCE CODE FOR THIS EPISODE VISIT OUR COMPANION WEBSITE makingstuffwithchrisdehut.com INDEX TO ZOOMTOWN VIDEO SERIES makingstuffwithchrisdehut.com/zoomtown-p1 REPOSITO...
045 Scheduler Side Trip Plan (Robot Driving Instructions)
Просмотров 12521 день назад
This video details the robot driving instruction creation and coding. The robot needs to travel from place to place which is a lot more challenging than you may think. While it is a trivial task to select which roads to travel, there are many more sub-tasks required to get the robot from one road to another. There will be a follow up video from the Robot's perspective and what happens when it r...
ZoomTown Experiment Update 9-8-2024
Просмотров 17321 день назад
There has been a LOT of work performed on the ZoomTown Experiment in the last couple of weeks. This short (actually less than 8 mins.) video catches you up on the developments of the software and the status of al the Zoomie builds going on. VISIT OUR COMPANION WEBSITE makingstuffwithchrisdehut.com INDEX TO ZOOMTOWN VIDEO SERIES makingstuffwithchrisdehut.com/zoomtown-p1 REPOSITORY FOR ZOOMTOWN S...
The Vintage Computer Festival Should be on your MUST DO LIST!
Просмотров 54121 день назад
If you have any interest at all about computers and especially their history, you owe it to yourself to visit one of the Vintage Computer Festival shows. This gathering, organized by the Vintage Computer Federation, is an amazing event where you can buy and sell old computers, but more importantly, you can see and in many cases play with computers dating back to the 60s. These enthusiasts exhib...
044 Project Update, Building the Computer, and Top level Overview of the Code.
Просмотров 151Месяц назад
In this episode we will be exploring more about the Zcheduler computer and software. * Update on status of the ZoomTown Experiment. * A short "how to" video regarding the Zcheduler computer. * Explanation of the route planning and a top level view of the code. VISIT OUR COMPANION WEBSITE makingstuffwithchrisdehut.com INDEX TO ZOOMTOWN VIDEO SERIES makingstuffwithchrisdehut.com/zoomtown-p1 REPOS...
043 We are Transitioning into Phase III, Take a Look at the Whole System
Просмотров 228Месяц назад
Phase III of the Zoomtown experiment is beginning. This is the final development phase and this is when everything comes together. Take a look at the whole system in this video. VISIT OUR COMPANION WEBSITE makingstuffwithchrisdehut.com INDEX TO ZOOMTOWN VIDEO SERIES makingstuffwithchrisdehut.com/zoomtown-p1 REPOSITORY FOR ZOOMTOWN SOURCE CODE & OTHER DATA makingstuffwithchrisdehut.com/zoomtown-...
042 How to Park a Robotic Car (Zoomie) using a PICO and MicroPython
Просмотров 147Месяц назад
Parking the robotic car (Zoomie) utilizes multiple sensors to get the Zoomie in the correct position. In this video we will cover what sensors are used and why as well as the logic behind the maneuver. VISIT OUR COMPANION WEBSITE makingstuffwithchrisdehut.com INDEX TO ZOOMTOWN VIDEO SERIES makingstuffwithchrisdehut.com/zoomtown-p1 REPOSITORY FOR ZOOMTOWN SOURCE CODE & OTHER DATA makingstuffwith...
THANK YOU! 10K Subs On Making Stuff With Chris DeHut
Просмотров 2682 месяца назад
Our community has grown to 10,000 subscribers! I wanted to share my appreciation and came up with this video. THANK YOU FOR MAKING THIS HAPPEN AND BEING PART OF THE COMMUNITY
041 How to make turns with robots (Zoomies) using a PICO and MicroPython
Просмотров 1662 месяца назад
Turning can be both simple and very complex. In this video we take a look at the two different turning maneuvers the Zoomie uses. Ultimately, both are really simple and are proving reliable. VISIT OUR COMPANION WEBSITE makingstuffwithchrisdehut.com INDEX TO ZOOMTOWN VIDEO SERIES makingstuffwithchrisdehut.com/zoomtown-p1 REPOSITORY FOR ZOOMTOWN SOURCE CODE & OTHER DATA makingstuffwithchrisdehut....
040 Can a Vision System be Used as a "GPS" system on our PICO and MicroPython controlled Robot?
Просмотров 2352 месяца назад
In this video we explore the idea of using vision tracking to keep track of where all the Zoomies (Robotic cars) are located. There will be up to 16 Zoomies moving about ZoomTown at any given time, each Zoomie will need to have knowledge of the other Zoomie's locations. For example, when backing out of a driveway, the Zoomie will need to know about the cross traffic. NO SOURCE CODE FOR THIS EPI...
039 Can a QR Code Reader Help with Robot Localization on our PICO and MicroPython controlled Robot?
Просмотров 4382 месяца назад
Based on viewer feedback, we are taking a look at the Tiny Code Reader from Useful Sensors for the purpose of helping with localization. Keeping track of where the Zoomie is within ZoomTown is critical as it is with most robotic applications. We will explore a lot of the details on how this sensor can help with localization. #TinyCodeSensor #UsefulSensors NO SOURCE CODE FOR THIS EPISODE! VISIT ...
038 Achieving Robust Line Following and Position Tracking on our PICO and MicroPython controlled bot
Просмотров 1862 месяца назад
The Zoomie has moved up a notch on performance! The line following is very robust, so much so, I can push it nearly 45 degrees off course and it easily corrects course and continues on. Position tracking (localization) has improved significantly using the hybrid system of the AS5600 encoders, TCRT5000 photo reflective sensors, and some A3141 Hall effect sensors. This new method is bringing the ...
Short Video of Zoomies First Road Trips - ALMOST 10k Subs!!!!
Просмотров 1622 месяца назад
In this short video you will witness the first few road trips made with the autonomous robotic car called Zoomie. It is a major milestone during the long journey of development in the ZoomTown Experiment. VISIT OUR COMPANION WEBSITE makingstuffwithchrisdehut.com INDEX TO ZOOMTOWN VIDEO SERIES makingstuffwithchrisdehut.com/zoomtown-p1 REPOSITORY FOR ZOOMTOWN SOURCE CODE & OTHER DATA makingstuffw...
037 The Ever Evolving Zoomie and Viewer Suggestions
Просмотров 2923 месяца назад
In this video we will discuss some viewer suggestions and the evolution of the Zoomie. With these new suggestions, will the Zoomie evolve again? One suggestion has to do with the mechanical design of the Zoomie and how it could be modified to turn more accurately. The other suggestion is a sensor that can read markings which would be very useful for localization. VISIT OUR COMPANION WEBSITE mak...
036 New Concept for Position Tracking
Просмотров 8103 месяца назад
036 New Concept for Position Tracking
035 Time To Reevaluate ZoomTown and the Current Approach
Просмотров 3503 месяца назад
035 Time To Reevaluate ZoomTown and the Current Approach
034 Using the TCRT5000 for Line Following and More
Просмотров 2943 месяца назад
034 Using the TCRT5000 for Line Following and More
033 DON'T LET MICROPYTHON'S GARBAGE COLLECTOR RUIN YOUR PROGRAM
Просмотров 6013 месяца назад
033 DON'T LET MICROPYTHON'S GARBAGE COLLECTOR RUIN YOUR PROGRAM
032 Using a Hall Effect Sensor and a Magnet as Stop Sign to Control Your Robot
Просмотров 2024 месяца назад
032 Using a Hall Effect Sensor and a Magnet as Stop Sign to Control Your Robot
031 Collision Avoidance System For Robots
Просмотров 2164 месяца назад
031 Collision Avoidance System For Robots
030 Implementing Line Following on a Robot with Proportional Control
Просмотров 2144 месяца назад
030 Implementing Line Following on a Robot with Proportional Control
029 How to Steer a Robot with Encoder Feedback
Просмотров 2364 месяца назад
029 How to Steer a Robot with Encoder Feedback
E028 Adding Acceleration to Velocity Control for robots
Просмотров 2465 месяцев назад
E028 Adding Acceleration to Velocity Control for robots
E27 Implementing AS5600 Encoders into the Zoomie (robot)
Просмотров 4505 месяцев назад
E27 Implementing AS5600 Encoders into the Zoomie (robot)
026 Basic Motion Control for Zoomie (Autonomous Robot)
Просмотров 2345 месяцев назад
026 Basic Motion Control for Zoomie (Autonomous Robot)
025 Use MQTT for Remote Control of the Zoomie
Просмотров 2285 месяцев назад
025 Use MQTT for Remote Control of the Zoomie
024 Incorporating Mqtt into the PICO W to Give the Zoomie a Way to Communicate
Просмотров 2996 месяцев назад
024 Incorporating Mqtt into the PICO W to Give the Zoomie a Way to Communicate
E023 Take a Look at the Zoomie Program Framework with it's Deterministic Loop
Просмотров 2026 месяцев назад
E023 Take a Look at the Zoomie Program Framework with it's Deterministic Loop
E022 How to Plan & Structure a Large MicroPython Program
Просмотров 3996 месяцев назад
E022 How to Plan & Structure a Large MicroPython Program
That’s slicker than snot
Good morning craigcook1571 , Yup, sure is cool stuff. Cheers! Chris
Great stuff 😊
Good morning davidandrews8566, Glad you liked it!!!! Cheers! Chris
Thanks for sharing this information. Very informative. What type of wood is best for the beginner?
Thanks for the feedback and kind words!! BASSWOOD is the goto carving wood. Cuts easily and has clear and straight grain. Walnut is another wood that carves nicely but is usually more expensive. Cheers! Chris
i am having difficulty in reading the data i used the same code and same hardware my reading are in range of 0.1-0.3 degrees Celsius please help Chris
Unfortunately it is pretty hard to diagnose a problem when the only thing you are provided is the symptom you experience. Check your wiring (most often the problem). Check your connection to PICO (easy to miscount pin numbers) Sensor could be bad (depending on source, frequent cause) If you typed in the code, double check it ( very frequently the cause) Certainly possible, something is wrong in the code I posted. Chris
Instead of doing a re-saw, use the table saw
Great video!, How much data can you store with this configuration?
Glad you liked it. There is 2 mb of flash memory but that is also used to hold you programs, and the information you installed with the UF2 file. If you need a lot of storage - check out my other video on how to use an SD card with the PICO - you can store a LOT MORE data with that. Cheers! Chris
@@MakingStuffwithChrisDeHut alright, thank you!
Hi Chris, you are surely living the dream now. 😊
Getting close - but so much more work ahead. In a few days I will be posting another update with the "Master To Do List" - ugh Cheers! Chris
Question: (I am a beginner when it comes to this stuff so bare with me if my question has a super simple answer.) If the switch you used is rated for 10A 660V how were you able to power the switch through the pico? Was it simply because the Switch only needed the Volts and Amps needed to power the LED? I thought the component has to match the out voltage of the controller? If so, does this mean I can buy a 16v switch and use it as long as the application I plan to use it with doesn't output more than 5V?
Good morning himes1821, Electrical and electronics is a complex playground. Switches are rated for how much Voltage and Current they can safely switch on and off. That is their MAXIMUM rating. They can also switch on and off the lowest of voltages and currents. To further explain, purchase a switch rated for at least the voltage and current you plan to control (switch), it will be fine for everything below that as well. I hope that helps, Cheers! Chris
Hi Chris, my script starts with "from machine import Pin, Timer". When I try to debug, the first thing Ï get is an error: "machine not found". My Pico is engaged. What can I do? Regards, Rob
Good morning Robavhtube I never recall experiencing that so I asked Google and found some answers but they varied greatly. Unfortunately I don't have an answer at the moment to offer. When I get in the workshop this weekend if I have time I will try a few things that I think could cause that and if I find anything I will share it. Cheers! Chris
Thanks a lot, Chris, also for the quick answer.
Do you have a link to the fans? Im interested in getting an inline fan that can work safely with solvents. Do these fans work ok with these paints and their flammability? Thanks for the video and love the filter magnets. Im going to utilise that with my filter changes. I plan to use extra inkine filters to remove the smell. Thanks again
Good morning HomeWithDrew, The booth was intended for use with non-flammable paints (wood construction, plastic components etc.) and the fans, while being brushless are not rated as Explosion Proof. Those fans can easily cost hundreds of dollars or more. This is a link to the Amazon store that sells the fans I used. They have more choices today that might be suitable for your needs. www.amazon.com/stores/ACInfinity/page/16FAF5B9-1BA1-499D-AC31-B85736AF165C?ref_=ast_bln&store_ref=bl_ast_dp_brandLogo_sto Cheers! Chris
Hey! Thats brilliant! Thanks for sharing 👍
Good morning samverve, I am glad you liked it! Cheers Chris
I'm located in Westchester IL, my company would love some help in converting our avid machines to closed loop steppers if you had time!
Good morning Andrewneering, It would be fun if I could, unfortunately, time is not something I have a lot of. Between: life, RUclips, and my real job, I have so little time left. For my real job (CNC Applications Engineer) I often work in that area (lot's of industry around the airport). If I ever have time while in the area, I wouldn't mind stopping in to see what you got going though. Cheers Chris
Amazing!!!!! I am blown away
Good morning abdulrahmanbadran7849 , Thank you again! Cheers! Chris
That's Awesome
Good morning abdulrahmanbadran7849 , Thank you, I must admit I am very proud of that system. Cheers! Chris
how do you permenantly attach the z-axis probe crocodile to the spindle please??
Good morning abdulrahmanbadran7849, There is no probe in the spindle, can you be a little more specific? I suspect you are referring to how the tool length is measured. The metal block that the tool touches is wired to the control and acts as a switch to ground. The metal block has a spring-loaded top so that it moves a little and doesn't break the tool upon contact. The metal block is also electrically isolated from the machine whereas the tool is not and is essentially a path to ground for the electrical signal. Hope that helps Cheers! Chris
I only watched the intro to this so far.... But i haven't MUX'ed a uC since the days of shared address & data busses! Wow. (We're prolly same age, so I KNOW your remember that!) 🤪 But i like that it has an I2C interface! 👍👍
Good morning jeffro, Yeah, thank goodness things are getting "easier" at least in some ways! Cheers Chris
Nice job getting me started with graphics on the Pico! Well explained. It'll be at least a week before I actually get to programming, but now I know the steps involved, so thanks a big bunch o' somethin'. (Whatever ya like!) 'scribed! 👍👍 I'll be watching for more!
Good morning jeffro, Glad I could help and thanks for the kind words, much appreciated. Have fun with your project and keep us updated on the progress. Cheers! Chris
The newer versions of this sensor can operate from 2.8 to 5 V so you can run them off the 3.3 V source and not need a level shifter.
Good morning jerrywright9657, Thanks for sharing that information! Cheers! Chris
As CPU clock speed increases, debouncing gets harder. Imagine an infinitely fast clock, and this method breaks down. The only way to guarentee the position of a switch is to wait for it to settle down (10 milliseconds or so) or to sample its state multiple times (counting those samples) until you are statistically satisfied.
Good morning davidgari3240, Thanks for sharing that great information! Everyone will do battle with switch bounce and every bit of information helps. Cheers! Chris
Can you use these parts to get the led to dim and not just on/off?
Good morning c0zn1c, The A3144 is primarily a digital switch meaning it is either ON or OFF and it is an open collector signal thus not suitable for providing an analog signal. Out of curiosity, I just wired one up to see if there was any small transitional range you could use but did not see anything I would consider useful. Cheers! Chris
Hi Chris! Thanks so much for making this! I was wondering for a complete newbie how one might stream video like an mp4 to a display like this? Thank you!
Good morning owlytv , Being that it is a SPI interface I am not sure if that can handle the amount of data to display video. I have never looked into it but there are certainly some very clever programmers that may have been able to make that happen. As a side note, the Mini Cooper now uses a large, round display for their dashboard, I love the looks of that. Cheers! Chris
Make a video on TinyML and tensorflow lite or edge ai possibilities on pico
Good morning BrixBOMBAY, Unfortunately, that is not a topic I have planned. Cheers! Chris
Oh boy,those hard drives bring back memories - my first job was as a computer operator & the night shift we'd do backups onto those, ch aging them over when we filled their 10MB! The next shift would have to load them into a car to take to the off-site storage. Those were the days!
Good morning slinco65 , Thanks for sharing that experience. Isn't that crazy - backing up on to those massive drives to store only 10MB. Further, being only 10MB having to haul those monsters out to the car and driving them to offsite! That little amount of data can be backed up in an email and sent to myself! Cheers! Chris
Sadly a long way to come for the show. However we have a number of museums dedicated to the history of computing here in the UK. My favourite is the The National Museum of Computing which is housed at Bletchley Park, site of the Colossus computer and code breakers from WW2.
Good morning Peter, I agree, that would be a very long travel for one of these events. With the rich history of computing in the UK, I would expect something like that might exist, if not maybe a group can start something. The big difference is the awesome interaction with the people that used them or collect them and the sharing of their experiences and wisdom. Cheers! Chris
18:09 the model is Commodore SX-64
Good morning sergeb7945 , Thanks for clarifying! Cheers Chris
Thanks for showing off my early "Laptops" that I brought to VCF Midwest! I also had a great time at the show, so many interesting conversations talking about computing in years past.
Good morning SteveMaves, How awesome those are your laptops! Thanks for sharing that information and thanks for being part of that great "festival". Am I correct in assuming all the exhibitors their share a tremendous passion for sharing their wisdom about the early years? Cheers, and thanks for posting! Chris
Looking great man!
Good morning gordonw9208, Thanks! It has been a lot of work and right now it is very overwhelming. There is so much to do all at once but we are very close (about 6-8 weeks) from starting some experiments running a single Zoomie or perhaps a couple. Cheers! Chris
Cool stuff Chris!
Good morning RCWalletVacuum, I am glad you enjoyed that. I figured there is a lot of people that have never been to one of these events and they would love to see this stuff. Try to make time next year if there is one in your area. Cheers! Chris
Super nostalgic. Thanks for the pictures and narration. Unfortunately, the nearby West Coast 2024 festival was about 1 month ago. 2025 for sure.
Good morning oraflores, Glad you enjoyed the "trip" with me on this one. I really wanted to just have a full day of nerding out there but my back had other plans that day. Next year I shall try again and I may try to do some indepth stories - there is an insane amount of wisdom at that show! Be sure to mark your schedule for next year Cheers! Chris
I remember those 14" 10MB Drives, with WAAAY to many TTL Chips! In 1976, I DIDN'T want a game machine, so I chose the Heathkit H-8! They were the only 2.
Hello tubeDude48 ! Those 14" drives are BEASTS! I really wanted to take that one home but simply don't have room for much more stuff. A Heathkit H-8!!!!! That was an amazing piece of kit. Cheers Chris
@@MakingStuffwithChrisDeHut - Thanks! On E-Fleece they go for a hefty price.
Hi. just received my set to upgrade my hobby cnc. in configuring those switches in the stepper drives, I'm in quandary as to what to use - FOC or PWM? Hope you can enlighten me.
Hello mariomanus3176, It would help if you could provide me with some more information about your setup. Most probably, you will not use PWM though. Cheers Chris
@@MakingStuffwithChrisDeHut Thank you for the response Chris. First off, I'm just a hobbyist with no engineering background. On the process of upgrading my open loop diy CNC based on a Chinese 3018 with nema17 drivers to close loop. Ordered a set of 4 nema23 stepper motor and HBS57H drivers. The manuals I found online for the drivers were not that complete on how to set up its switches. Also tried looking for information at forums but still skeptical with what Im doing.
@@mariomanus3176 What control software are you using for this machine?
@@MakingStuffwithChrisDeHut i'm using GRBL 1.1f on an MKS DLC32 controller and UGS/Candle and gSender for the G code sender.
@@mariomanus3176 I am not familiar with that software and controller, but it sure sounds like it should be configured for Step & direction outputs and therefore your stepper drive would need to be set the same way.
A walk down "Memory Lane", first laptop I purchased was the Sinclair 1000. Interesting video!!! My wife walked past and I said all these people are suffering from "Lack of Youth" no young people there. Are those Peltier devices on the table in back of you? Just wondering
Good morning donaldhoudek2889 , Isn't that cool! I never recall seeing a Sinclair 1000 laptop -a British only system perhaps? Or are you referring to the Timex Sinclair 1000 (of which I have one hanging on the wall of cool stuff I use as the background in my more current videos)? Yes, very much a "lack of youth" event - I didn't feel old at all there! Peltier devices? Could you be more specific? Cheers! Chris
VIC 20 man here. What is good is you look back and it doesn't make you feel old. The youngsters make not agree ...
Hello nigelworwood8530, It sure is a trip to see all that old hardware for both the consumer and business markets. It amazes me the evolution of computing, how much changed and seeing it all at one time, sort of like a time travel machine. Cheers! Chris
I didn't know this was in the area. I'll have to catch it next year.
Hi Lee, Yeah, I should have mentioned that to you but I had forgotten about it myself until the day before the show. Be sure to check it out next year! Cheers! Chris
Thanks a lot I am a beginner , enjoying it to watch your videos
Good morning PetPal-ox7mx, I am glad to hear the videos are helping, have fun programming and experimenting! Cheers! Chris
Great work! This is the best option I’ve seen. Where can we find the files,if you’ve uploaded them. Thanks!
Good morning ppatrickd799 , Unfortunately, the design is really custom to the component you want to store. Being that they are simply square or rectangle, it should be pretty easy to design your own with most any CAD system. Cheers! Chris
anyone know why when I only have one pot connected, I get values to change on both X and Y?
That would require posting something showing the wiring and the source code, otherwise it is all just guessing. Chris
Important video, made the same experience. Sadly in Germany Ardafruit retailer's are scarce and overpriced and or unreliable (one piece 18€ or straight out not delivering and scamming you). One is better off buying some PS5 Hall Sensor analgogue stick replacements on ebay for 8€ and soldering those to pcbs harvestet from cheap ones.
Hello RTSFan1337, Thanks for sharing your experience. It is unfortunate there is so much garbage being sold like this so bringing awareness to the problem may help save someone the same frustration. Chris
In your example you have a 'while True' loop that only has a very short delay of .0001 seconds. This delay is very important due to the way that interrupts work in MicroPython. Under the hood there is a two stage process: when a pin change is detected an internal interrupt handler sets a flag. A scheduler will see this flag and call the users interrupt handler. Without the short delay in the 'while True' loop, a 'busy loop' is created that never gives the scheduler a chance to run and the users handler will not be called. To let the scheduler run, loops should have a call to utime.sleep() or machine.idle(). I discovered this the hard way!
You are correct, it is always a good idea to have some sort of delay in a loop. It appears to be more of a problem in Python that in any other language I have programmed in. Thanks for sharing your experience. Cheers! Chris
Greetings, Thank you very much for the video! It is very helpful! I would appreciate if I could ask you for a quick clarification. I am planning a small project: I want to attach a high-accuracy temperature and humidity sensor to RPi Pico and record measurements into an microSD card. The SD card will be connected via SPI interface, and the sensor needs to be connected via I2C bus. My question is about power: I will provide power to the SD card adaptor by connecting to PIN40: VBUS and I will provide power to I2C by connecting to PIN36: 3V3. Is my thinking correct? Thank you!
Good morning! PIN 40 VBUS will have 5V at it from the USB supply, I am not sure of how much current is available but suspect it would be enough to power and SD card device. PIN 36 3V3 can provide 3.3V at 300 mA which also should be enough to power your sensor. I am guessing at this because I have no idea what specific devices it is you are using. Sorry I can't be more specific. Cheers! Chris
@@MakingStuffwithChrisDeHut Good evening! Thank you for the response. Much appreciated! I am using Grove - I2C High Accuracy Temperature and Humidity Sensor (SHT35). For some reason it took me a long time to find the microPython library for this sensor! The datasheet states that "the sensor operates on a wide supply voltage range of 2.15 V to 5.5 V, making it compatible with a variety of assemblies". For some reason I thought that I need to provide 3.3V to both the microSD card and the sensor. For the microSD card I will use the same setup as you demonstrated in the video. Thank you!
Chris, this is the best explanation of the reasoning behind using a frequency of 1000 Hz that I have found. Thanks for explaining why almost all the PWM coding I have seen uses 1000 Hz.
Glad it was helpful! Cheers! Chris
Hi Chris, always happy to help if required. The way you are going is good. 😊
Good morning Peter! Thanks for the offer of help. Depending on how this next couple of weeks go, will help me decide how much help I need. With all the development, debugging, and changes happening right now, it is very hard to see what is around the corner. At present, I am still fighting what are problems with localisation that are seemingly impossible to fix - it is like playing the "whack-a-mole" game. Thanks very much for offering a helping hand and I will keep you posted. Cheers Chris
I would pay someone for this video with the audio fixed. this said, great stuff!
Hello Mike, I just checked the video, the audio is working. What is it that seems wrong? I might be able to clean it up. Chris
I'm a bit confused, I was planning on buying a relay module rated for 3.3VDC, but how to power the coil externally?
Rightfully so! There are so many different combinations of "relay modules" out there that it is very difficult to determine if one will work over the other just by their description. Especially all the cheap varieties found on Aliexpress and Amazon. At issue is two things: Voltage and Current draw. While the voltage may be 3.3 volts, it may require .25 amps (250 mAmps) which the PICO cannot supply. Some modules provide a connection for the external power source. From the PICO you are only supplying the Logic signal (ON or OFF), which then controls a "power switch" for the external power to control the coil. My suggestion is to buy from a reputable supplier (Sparkfun, Adafruit, Digikey, Mouser, etc.) and review their documentation. Cheers! Chris
I wonder if there's a catalog of components, I mean I found your video because I searched for multiplexer, shift register
Aside from a website like Digikey or Mouser, I am not aware of any such "catalog". One thing is for certain though - THERE ARE A LOT OF ELECTRONIC COMPONENTS!!!!! Cheers! Chris
More very impressive progress. ATB 😊
Thank you! Cheers!
Hey Chris ... so you are going to programm each and every route by hand??? But that's what Dijkstra's Algorithm (also known as A-Star or A* Algorithm) is for. You just need to setup the roads and "costs" once and thats it. It can calculate ANY route in zoomtown - no need to program all of them by hand. Another benefit: if you "close down" a road for maintenance reason, all handmade routes will fail but the algorithm still works and finds the 2nd best route (avoiding the closed down road of the best route). I am pretty sure there are ready-to-use versions of Dijkstra's for python.
the setup will need 1. all the "knots" (=points where you have several possible ways to go). a knot would be each parking lot and each crossing 2. for each knot it needs the "neighbours" = other knots that could be reached from the current knot. note: knot a could lead to knot b but knot b NOT to knot a -> one-way-road 3. for each neighbour it needs the "cost" of travelling. this is usually the distance between the two knots multiplied with a factor (which could be < 1 for the roads AROUND the city and > 1 for those THROUGH the city ... or all have factor 1 the use the shortest way regardless where it goes along) So the workload for setup is not too big (especially since zoomtown is very symmetric). For sure less work and more flexible than hard-coding all routes :) If I counted correctly, zoomtown has 52 knots and each knots leads to 1-3 other knots, most of them with same cost as many others due to the symmetry.
Good morning Tomek! I actually had written the software originally to use Dijkstra's algorithm and only decided to not use it recently. These algorithms all work on the principle of "Shortest Path" which is great for shipping, and even for navigation for non-commercial vehicles. However, even navigation systems have options to choose from Shortest Path or No Highways, or Use Highways. The reason I decided against using it was specifically "Shortest Path" as that would direct ALL traffic through the "city center" creating a LOT more traffic in that area. ZoomTown was designed with the outer bypass "highway" to alleviate congestion in the center areas. To make the traffic flow more "natural" I decided against those routines in hopes that a human "most likely me" will be able to add randomness to the flow of traffic, thus mimicking how people actually drive. Once the trips are created, they are saved so it is essentially a one-and-done process. During the last week or so I have been able to get all the marker tape on the guidelines, and get all the magnets into the roads and get all the parking barriers back up again. Yesterday morning I started to expand all my trip testing beyond the area seen in last weeks video. So far it is working pretty good. Programming each trip to test takes about 15 seconds, with the primitive graphic simulation so it isn't that difficult of a task either. I was hoping to take of the USB cable this weekend as there is very little interaction I have with the Zoomie anymore. Once I do that, testing gets easier as I won't need to make sure the cable doesn't snag on something. As Steve Woodgate mentioned regarding the QR sensor, perhaps for ZoomTown version 2, this could be yet a follow on experiment. There are different algorithms that all accomplish the same result (get from A to B) but they do it differently. You also indicated that there is a means of adding "weight" to one road over another, that would be interesting to see as well. We could be having a lot more fun with this well beyond the original experiment :-) Cheers! Chris
@@MakingStuffwithChrisDeHut do you still have the code for your Dijkstra's adaptation? I guess you used the knot-to-knot distance to have it calculate the best route? Then please try increasing these values for the inner-city-ways drastically (say multiply by 100 or so ... we pretend these road segments to be longer than they really are so they get a lot more unattractive for Dijkstra). In that case these roads will only be used if *no other possibilty* is found (e.g. if you want to reach a parking lot in the city you have to go to the city, it's not possible without) ...
@@tomek3633 Darn it, I hit the wrong button and just deleted my response... You described the routine in a way that I had not heard (seen) before and I just realized the power of this routine. I am really tired right now after working in a very hot customer shop today (100 degrees F). I will respond with a email message tomorrow morning. This is spawning a whole new idea that will be AWESOME - I think. Cheers! Chris
@@MakingStuffwithChrisDeHut always a pleasure to give a little nudge :) I am looking forward to the results!
I have an MQTT broker running on an RPi 2. I just checked it with htop and it's been running for 535 days without a reboot. I tend to forget it's there.
Good morning William, I am the same as you, I had one running and completely forgot about it for over a year. It was just sitting there running on my desk that I used to film at. It certainly is nice when something just runs without needing attention! Cheers! Chris
I have started looking for my old Raspberry Pi 400. If I can find it and refresh the system, I would be willing to help with your route making teams. At the risk of overthinking it, I had a few questions about that, though: (1) Do you just want a single path between each start/end pair? Or a few or, possibly, all? (2) I assume you want a "simple" path -- no repeating roads, right? (3) Do you want to limit the number of roads traversed to a certain maximum number (a path can be quite circuitous)? (4) Do you want to include _any_ paths that pass through the center of town as you discussed when mentioning the "shortest trip" algorithms? In general, what are the rules you want us Zoomie Volunteers to use in selecting paths? Also, maybe more just of interest to your subscribers than of any practical use here, there is a Python package called Network X which seems to be a pretty comprehensive system for networks including paths. One particular function I saw that might be useful is this one: networkx.org/documentation/networkx-1.10/reference/generated/networkx.algorithms.simple_paths.all_simple_paths.html Seems you could run this to create a list of possible paths between two points and save them (or a few of them). You could loop through this to calculate for all 992 pairs of parking spaces. Once saved, you could randomly choose one for that start/end pair as requested. Depending on how fast it works, you might even do this on the fly as requested. Happy Zooming
This is another WOW episode, great advances ! Good news !!! pi pico2 is out and is about 50% faster than original pi pico. Bad news!!! pi pico2 w not yet available. ZOOMTOWN2 is in the horizont. 😉
Were getting close to running experiments! Cheers Chris