Raspberry Pi Pico - Weather Station Part 2

  Рет қаралды 899

AllTheGearNoIdea

AllTheGearNoIdea

Күн бұрын

Hello and welcome to part 2 of a exciting new project where I will be building, an automated weather station based on the Pi Pico RP2040 Microcontroller. Please see the drop box link below for more information. If you require any additional information or have suggestions please leave them in the comments.
Today we will be writing micro python code for the anemometerwe built in part 1 of the weather station series.
We will then be taking a closer look at various types of encoder, including incremental, Qaudrature binary and Gray code encoders.
Thanks Best Regards Chris
Build, Share and Enjoy:
Download Link: 3D Files, Datasheets and Circuit Diagrams:
www.dropbox.co...
My other weather related video:
Part 1 of the wather station series: • Raspberry Pi Pico - We...
• Blow Me
If you want to learn more about the Raspberry Pi Pico and get started quickly the following videos provide a great introduction:
ExplainingComputer: • Raspberry Pi Pico
Gary Explains: • Raspberry Pi Pico - Re...
DroneBot: • CircuitPython with Ras...
Making Stuff with Chris DeHut: • Raspberry Pi PICO Vide...
See links below for video contents shameless pilfered from better and smarter people and KZbin channels than my own:
ExplainingComputer: • Raspberry Pi Pico
Digi Key - Switch Bounce: • What is Switch Bounce ...
Andreas Spiess - Power Profiler: • #386 How to measure lo...
Drone Explorer - Royd moor wind farm : • Checking out Royd Moor...
Read Me - The Legal Stuff:
Video content:
Video content is hosted by KZbin, and the standard KZbin licence applies unless otherwise stated adjacent to the video on the KZbin platform.
Other third-party content:
Some items including brochures, specifications and other documents from manufacturers of electrical and electronic equipment and similar are stored locally. These have been taken from publicly available sources, however copyright remains with the original owner, as do any specific terms of use for those items.
Information Provision:
All information presented is provided as-is and does not comprise any form of legal advice. Although the information provided covers many common situations, it is impossible to cover every eventuality. Your situation may be different when compared to any of the information presented here.
Liability:
The shown videos and any information provided in whatever format is provided for educational & entertainment purposes only.
While every care has been taken in the preparation of material, the author is not responsible for any loss, damage or injury resulting from any errors or omissions.
Materials may Include, but are not limited to the following:
* Software and Source code.
* Drawings and artwork, including circuit designs and mechanical designs
* Video contents.
* Third-party information, including datasheets.
The author is not responsible for your safety, use your own skill and judgement when making use of any information provided and if in doubt don’t be a dick, consult a suitably qualified person before proceeding.

Пікірлер: 35
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
Today we continue our weather station with an introduction to absolute encoder. Remember the software examples and 3D models can be down loaded using the link in the show notes.
@sUASNews
@sUASNews Жыл бұрын
You had me at Windy Miller! What a legend may he live on in our minds forever
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
Windy was the star of the show!
@danishnative9555
@danishnative9555 Жыл бұрын
Good luck with the re-branding. Always watch your videos, but mostly I admire you for your awesome British humor combined with electronics. Winning combination Chris, thanks.
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
I am still going to be doing vintage stuff I just need a change from swapping out wax capacitors. Thanks for watching regards Chris
@davidv1289
@davidv1289 Жыл бұрын
Thank you, Chris. Great teaching video combined with an interesting project. Gray code is used in aircraft beacon systems to encode altitude information (Mode C) in 100 foot increments into four octal numbers. Regards, David
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
Wow I suspect it probably has lots of uses I never heard of. There are several other none binary encoding schemes but I am not familiar with them.
@vintagesteelgarage
@vintagesteelgarage Жыл бұрын
Love the directional encoder explanation. I've been educated 😁
@horla402
@horla402 Жыл бұрын
Hello ! Just a quick message to tell you the first video in this series inspired me to buy a 3D printer and build my own weather station, and now I'm in way over my head and having a lot of fun ! So thank you very much for the inspiration :)
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
Wow that is fantastic. Having a 3D print will open up a whole world of possibilities and if your like me you going to love doing the 3D designs. I don’t know what I would do without one. I really love building things and just experimenting. It’s great that you can be doing something else while the printer builds. Please let me know how you get on with your builds and maybe share a video. Thanks best regards Chris
@horla402
@horla402 Жыл бұрын
@@allthegearnoidea6752 I love it so far ! It's great to have an idea pop up in mind, and being able to hold it in your hands a few hours later ! The weather station is really pushing my CAD abilities though, I find organic/aerodynamic parts very hard to design. I going okay so far, I chose an ESP32 as a micro controller, and I'm using AS5600 magnetic encoders for both the anemometer and the wind vane. Right now I'm having issues with balancing the wind vane, as well as writing decent code to not use too much power and send data via BLE, but I think I'll manage ! I'll record a quick video to show you how it's going :) Best regards Remi
@peterc2150
@peterc2150 Жыл бұрын
For a moment I thought I was watching an O.U. course! A great deal of work must have gone into the making of the video, love all the details in it. Maybe you could squeeze in some polynomial expansion for the battery charger, haha. Thanks Chris Regards Peter C
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
This video was a lot of work but hope people enjoy the show. Thanks for watching and very generous comments. I will see what I can do about those polynomials. Best regards Chris
@Brettski777
@Brettski777 Жыл бұрын
Great stuff. Thanks for putting the vid up 👍
@vintagesteelgarage
@vintagesteelgarage Жыл бұрын
Making good use of the home 3d printer Chris.
@robtitheridge9708
@robtitheridge9708 Жыл бұрын
Great video Chris .Ihad to rewatch the bit about Grey code befor i under stode what was happening .but thats old age for you.
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
Hello Rob lovely to hear from you and thanks for watching. Hopefully my Gray code explanation made sense on the second run. I don’t think my explanation was the best so good job. Best regards Chris
@michaelhyde9971
@michaelhyde9971 Жыл бұрын
Thanks for a great video
@SoddingaboutSi
@SoddingaboutSi Жыл бұрын
Grey beards! That's me! Wow a good video Chris. That took some time to do i bet? Thank you for this.
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
Thanks Simon that was a lot of work I hope it was fun to watch. Thanks regards Chris
@dizzydee5620
@dizzydee5620 Жыл бұрын
Hi Chris I'm late getting around to watching the latest video again. Fantastic informative stuff, I watched it with my son who has also just started learning Python himself for work related projects. I've done a little bit with arduino here and there but nothing so far with a Raspberry pi. I ordered a Pi with development board last night. I've been 3D printing the anemometer cups today and slicing the rest of the STL files, I did notice that the Greys encoder disc for the vane isn't the correct file, it's a duplicate of the anemometer slotted disc file with a different name. I'm very much looking forward to the next episode.👍 Neil
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
Sorry about the grey code wheel. I will look into this and drop you a message once I have uploaded the correct version. Sorry about that and thanks for letting me know. I thought the cups were probably the most difficult parts to print so if they came out ok you will find the rest easy. I haven’t full tested the weather vane yet I have found it a little unstable but that could just be the blustery nature of the wind at ground level. So glad someone is have a go. If you have any improvements I would be glad to upload some modifications. Thanks Chris
@dizzydee5620
@dizzydee5620 Жыл бұрын
@@allthegearnoidea6752 Hi Chris Update, I've now got the Greys encoder wheel, (and the middle platform,) files which were missing from the STL folder. They were in the STEP folder, I don't have Fusion360 so I tried to open them in Tinkercad which didn't work so I downloaded Freecad and converted them to STL with that. I'm waiting for some hardware to arrive now, Pi should be here today or tomorrow so I'll be able to have a play with that .🙂 Many thanks Neil
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
@@dizzydee5620 Hello Neil thanks for letting me know. I am not sure if your purposely going down the open source route but Fusion 360 is free for hobby use. It has some minor restrictions but I haven’t found them to be a problem. If you do convert the files into other formats I would be happy to include them with my files. Again if you want to make any mods or changes we can upload them as well. Let me know if you need anything. Thanks regards Chris.
@fredflintstone1
@fredflintstone1 Жыл бұрын
Nice Video Chris, now where is my book North by North West 🙂
@sdgelectronics
@sdgelectronics Жыл бұрын
Nice project. What's the Pi Pico like for speed on real time systems? I'm used to embedded C or assembly where you can control GPIO at hundreds of kHz of needed
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
It’s slow running micropython. But it has a dual core you can access in C. As you say PIO and several state machines can run very quickly but not tried it myself yet. I suggest Python runs about 100 times slower that C but would line of Python is some applications would be 10 lines of C.
@oldblokeh
@oldblokeh Жыл бұрын
Coming along nicely, Chris. I'm curious to know what printer filament you're using. ABS? PETG? PLA? Or, perhaps, something more exotic. Sorry if you already mentioned it in the previous video.
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
As this is a prototype I am using PLA+ from sunlu. I have been using this for a couple of years and it appears to survive well even when used outdoors. If I ever print a final version I would go for PETG. I’m actually interested to see how long the PLA version will survive and how it fails. Good to hear from you hope all is well with you. Best regards Chris
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
I would like to know about your 3D printing have you done much ? What is your preference
@oldblokeh
@oldblokeh Жыл бұрын
@@allthegearnoidea6752 Not as much experience as you have , I should think, Chris. I use an Ender 3 with PLA, CURA slicer, and have had very few failures. I'm just thinking of venturing into PETG. You very kindly send me files for some 9R59DS parts a while back and they turned out very well. I'm really grateful to you. Hope all's well with you, and I'm looking forward to the next instalment.
@daveodessa
@daveodessa Жыл бұрын
Good work Chris. Nice to see your project coming along. BTW graycode? Should it be greycode?
@davidv1289
@davidv1289 Жыл бұрын
It is Gray code, named for its inventor Frank Gray.
@daveodessa
@daveodessa Жыл бұрын
@@davidv1289 Good to know.
@allthegearnoidea6752
@allthegearnoidea6752 Жыл бұрын
I was going to say Frank Grey at bell labs but was beaten to it!
PicoMiteVGA: Raspberry Pi Pico Boot-to-BASIC Microcomputer
23:58
ExplainingComputers
Рет қаралды 127 М.
Every Developer Needs a Raspberry Pi
27:27
Sam Meech-Ward
Рет қаралды 546 М.
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Wian
Рет қаралды 17 МЛН
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 37 МЛН
Raspberry Pi Pico - Weather Station Part 1
52:36
AllTheGearNoIdea
Рет қаралды 2 М.
Raspberry Pi Pico W: Wireless Weather Station
17:13
ExplainingComputers
Рет қаралды 288 М.
How 3 Phase Power works: why 3 phases?
14:41
The Engineering Mindset
Рет қаралды 913 М.
Arduino vs Pico - Which is the Best Microcontroller For You?
20:38
Gary Explains
Рет қаралды 294 М.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 608 М.
PI PICO W SILICON LEVEL TEARDOWN
10:37
electronupdate
Рет қаралды 7 М.
Raspberry Pi Pico - DIY Macro Keyboard
16:00
Novaspirit Tech
Рет қаралды 100 М.
controlling lots of servos with a Raspberry Pi Pico
13:38
pileofstuff
Рет қаралды 13 М.
Raspberry Pi Pico W LESSON 32: Mobile Weather Station Project
39:46
Paul McWhorter
Рет қаралды 6 М.