![Penguin Tutor](/img/default-banner.jpg)
- Видео 221
- Просмотров 903 651
Penguin Tutor
Великобритания
Добавлен 27 окт 2013
I'm Stewart Watkiss - known by my website PenguinTutor. I'm a maker and author. I create videos for makers - featuring Raspberry Pi, Arduino, Electronics and 3D printing.
How to videos. How to design new projects, how to make them work and completing the project.
Includes information on Raspberry Pi and Linux and how to get the most of your Raspberry Pi.
I'm based in the UK but my projects can be completed anywhere and my books on Electronics, the Raspberry Pi and games programming are available worldwide.
Please subscribe to my channel to find out about new projects I'm working on and how you can complete them yourself.
--
Thanks
Stewart
See the accompanying website www.penguintutor.com
How to videos. How to design new projects, how to make them work and completing the project.
Includes information on Raspberry Pi and Linux and how to get the most of your Raspberry Pi.
I'm based in the UK but my projects can be completed anywhere and my books on Electronics, the Raspberry Pi and games programming are available worldwide.
Please subscribe to my channel to find out about new projects I'm working on and how you can complete them yourself.
--
Thanks
Stewart
See the accompanying website www.penguintutor.com
Raspberry Pi Pico 2 and Pimoroni Pico Plus 2
Raspberry Pi have released a new version of the Pico. The Pico 2. This is microcontroller based board with a new upgraded microcontroller. The microcontroller is known as RP2350 which is an upgrade from the RP2040 used on the earlier model.
There are lots of other new features and upgrades from the original RP2040, but really it’s the Hazard3 that is the main new feature, which is a RISC-V open source hardware design for the microcontroller. A great thing is that code can be compiled for either architecture and when you install it onto the board it will just boot into the appropriate core. You could in theory even run some code on a ARM core and a Risc-V core although you probably want to...
There are lots of other new features and upgrades from the original RP2040, but really it’s the Hazard3 that is the main new feature, which is a RISC-V open source hardware design for the microcontroller. A great thing is that code can be compiled for either architecture and when you install it onto the board it will just boot into the appropriate core. You could in theory even run some code on a ARM core and a Risc-V core although you probably want to...
Просмотров: 377
Видео
MERG model railway dcc controller kits
Просмотров 193Месяц назад
This video explains about the DCC model railway controller kit from MERG (Model Electronics Railway Group). In this video I’ll be looking at three kits, including a DCC command station, handset controller and a RJ22 connector kit. This provides a way of controlling model railway DCC locomotives and accessories, using CBUS and a home made controller. Generally the kits are fairly straight forwar...
MERG - Model Electronics Railway Group - About the Kitlocker
Просмотров 216Месяц назад
I have joined MERG. The Model Electronics Railway Group. A group that specifically focuses on the use of electronics and related fields in model railways. It sounded right down my street so I signed up and I’ve been to a local face-to-face meeting as well as virtual meetings on some of the special interest groups including the Raspberry Pi and 3D printing groups. I won’t be able to attend all t...
Making a shed for a model railway using python code
Просмотров 417Месяц назад
I'm working on a project to design model buildings using code. The idea is that you can create template files which describe the building using JSON. Those can then be loaded into the application, tweaked for the particular design, scaled to the appropriate model railway scale and then saved as and SVG file ready for further tweaking in InkScape, or that can be sent straight to a laser cutter. ...
Raspberry Pi Pico Model Railway point controller - overview and project update
Просмотров 2082 месяца назад
Latest update on my Raspberry Pi Pico powered model railway point controller. A way to control points / turnouts on a model railway / railroad using a Raspberry Pi Pico RP2040 based microcontroller. Designed for HO / OO model railways, this works with most solenoid based points. It includes a Raspberry Pi Pico W with web server, a Capacitor Discharge Unit ( ruclips.net/video/0MFyRfsgugk/видео.h...
Using a Raspberry Pi 5 with an SSD - It didn't go to plan! New NVMe M.2 HAT+
Просмотров 4,2 тыс.3 месяца назад
Raspberry Pi have released their new NVMe HAT which allows you to connect a SSD through the PCIe connector on a Raspberry Pi. There are also third party boards that do the same. I decided to try with the Pimoroni NVMe Base compared with the Raspberry Pi M.2 HAT . Unfortunately, it didn’t go quite to plan and I spent much of my time trying to work out what went wrong. The video below explains wh...
Create laser cut Raspberry Pi Pico case for model railway project - FreeCAD, Inkscape and Lightburn
Просмотров 2373 месяца назад
This video shows how I designed a wooden laser cut enclosure for a Raspberry Pi Pico based electronics project. The project is for a points controller for a model railway. It houses two electronics PCBs with the electronics required to control model railway solenoids. It is based around a wood box, which has a sloping top with switches for controlling the points. The design takes you through th...
PiQuarium - Raspberry Pi Touch Screen display with fish feeding scheduler and home automation
Просмотров 2584 месяца назад
My Raspberry Pi Touch screen project designed for use with my tropical fish aquarium. We've recently introduced some new pets into our home. This time tropical fish. We thought it would be useful to provide some information about the fish for visitors and inspired by a visit to the London Aquarium Sea Life Centre we loved their digital displays. So why not do the same at home? We also share the...
Using MCP23008 GPIO expanders with a Raspberry Pi Pico - with dual I2C devices
Просмотров 1,7 тыс.4 месяца назад
The Raspberry Pi Pico is a great little microcontroller and it comes with 26 GPIO ports, but sometimes that’s just not enough. Or even if it is sometimes you may want to the GPIO ports located differently, perhaps run on a different voltage or perhaps have more power for each pin. One solution to these issues is to use one or more MCP23008 GPIO expanders. Technically the MCP23008 ic known as a ...
Designing a model railway point controller capacitor discharge unit - Railroad CDU
Просмотров 3464 месяца назад
This video is going through the electronics design of a model railway point controller capacitor discharge unit. In the UK we normally call them railway points, but a common term in the US is a railroad switch. They may also be known as a railway junction, or a railroad crossing. In the model railway world then these are normally operated by solenoids. Some use servo motors, but this video is s...
Raspberry Pi Pico with 2 x SPI SSD1306 OLED displays
Просмотров 9705 месяцев назад
This video shows how you can use two SPI SSD1306 OLED displays on a Raspberry Pi using only a single SPI bus. The SSD1306 OLED displays are small screens which are commonly used for displaying text for hobby electronic projects. The SSD1306 OLED displays are usually monochrome. Some are available with two colours, but they are not user configurable and usually have the top line of text in one c...
Pico Lights Plus - Camping light home automation with a Raspberry Pi PicoW
Просмотров 4585 месяцев назад
Pico Lights Plus is a custom electronics circuit for controlling 12V (or 5V) LED lights. Originally designed for home automation for camping it can also be used for model railway lighting or controlling 5V COB lights. It is based around a custom electronics PCB with a Raspberry Pi Pico W. It provides a way to control the LED lights using buttons (including arcade style buttons) and a web interf...
Electronics - Rotary Encoder - with a Raspberry Pi Pico
Просмотров 7587 месяцев назад
This video is based around a rotary encoder used with a Raspberry Pi Pico. A rotary encoder is used to detect a rotary position or rotary movement. It can be used in a similar way to the potentiometer voltage divider used in an earlier video, but the rotary encoder does not have an upper and lower limit. The rotary encoder can instead provide a relative position. This is useful when you want to...
Christmas light automation with Raspberry Pi and Pi-mote
Просмотров 3098 месяцев назад
Christmas light automation with Raspberry Pi and Pi-mote
Raspberry Pi 5 breadboard stand for electronic circuits RPi5
Просмотров 7379 месяцев назад
Raspberry Pi 5 breadboard stand for electronic circuits RPi5
Scratch 3 on a Raspberry Pi - includes Raspberry Pi 5 and Bookworm OS version
Просмотров 1,5 тыс.10 месяцев назад
Scratch 3 on a Raspberry Pi - includes Raspberry Pi 5 and Bookworm OS version
Arduino LDR (light dependent resistor) automatic light circuit
Просмотров 1,4 тыс.Год назад
Arduino LDR (light dependent resistor) automatic light circuit
Understanding Electronics - Voltage Divider - With Arduino bar graph circuit
Просмотров 3,1 тыс.Год назад
Understanding Electronics - Voltage Divider - With Arduino bar graph circuit
Understanding electronic components - Resistor, calculations and colour code
Просмотров 497Год назад
Understanding electronic components - Resistor, calculations and colour code
Google Bard for Makers - Alternative to ChatGPT - creating code for Raspberry Pi Pico
Просмотров 806Год назад
Google Bard for Makers - Alternative to ChatGPT - creating code for Raspberry Pi Pico
Programming a Badger 2040W menu system - E-Ink display in MicroPython
Просмотров 1 тыс.Год назад
Programming a Badger 2040W menu system - E-Ink display in MicroPython
Badger 2040W the hackable ID badge with WiFi
Просмотров 1,4 тыс.Год назад
Badger 2040W the hackable ID badge with WiFi
Introduction to guizero - creating GUI apps using Python
Просмотров 3,5 тыс.Год назад
Introduction to guizero - creating GUI apps using Python
Electronic Crimp Connections, Love them or hate them they are very useful
Просмотров 320Год назад
Electronic Crimp Connections, Love them or hate them they are very useful
LCD display on the Raspberry Pi Pico with CircuitPython
Просмотров 4 тыс.Год назад
LCD display on the Raspberry Pi Pico with CircuitPython
Power for the Raspberry Pi Pico - Guide to using VBUS, VSYS and 3V3 for external power circuits
Просмотров 40 тыс.Год назад
Power for the Raspberry Pi Pico - Guide to using VBUS, VSYS and 3V3 for external power circuits
Introduction to CircuitPython on Raspberry Pi Pico with NeoPixels
Просмотров 2,1 тыс.Год назад
Introduction to CircuitPython on Raspberry Pi Pico with NeoPixels
Pico Display - Updated tank game for the Raspberry Pi Pico with PicoGraphics
Просмотров 1,2 тыс.Год назад
Pico Display - Updated tank game for the Raspberry Pi Pico with PicoGraphics
I'd hold off for the Pi Pico 2 W. People tend to buy without thinking that they will produce another board, and end up just spending MORE money! jezzzz
@@tubeDude48 There will be a 2W later this year, but I have some projects that don't need WiFi. At less than £5 it's not much to buy a standard Pico 2.
@@PenguinTutor - I understand. I just hate putting money in Upton's coffer!
your link to your page missing "g". Good intro to rp2350 boards.
Thanks for pointing that out. Fixed it now.
Really bad audio. Could not understand much.
Your content is very professional and very nice. But there are some problems with your RUclips channel, if you want we can discuss the problems. Solving the issues will help the channel grow and get more subscribers and views
Great vid mate, If possible, could you give some advice, I am looking to use the pico w in my car, What id like to do is power it from a 12V battery, That is the issue i have, i dont know how. The reason i want to use the pico W in my car is mainly as a way to.., press a button, power on, side lights of the car turn on for 30 seconds, power off. I have done the coding for the powr on, delay, power off, but i dont know how to power a 5V pico from a 12V battery, I wont be using the car battery, infact I will be using a 2nd battery I will be placing in the boot, i havent chosen yet if it will be a leisure battery or a car battery. I have other plans to make that battery multi purpose, such as connecting a convertor to power my airsoft batteries and a mini cooler. My end goal for the pico W is to bring a feature to my car that other cars have, such as pressing the key fob to unlock the car and the main lights turn on, i think its like a courtesy lights, sadly my interior light doesnt turn on with the unlock, it only turns on when opening the door, so other ways around my issue is impossible, but that is my intention, courtesy lights. other future ideas are of course, RGB within the car which, once i have a solution for the powering, ill be using my Pico WH for it. I have put a post on reddit but the moderators keep removing my post, i have tried posting on respberrypi and raspberry pi projects. not sure why but mods on both pages remove my posts about this.
@@elusive62 You could use either a cigarette lighter style usb charger, or a 12V to 5V buck converter.
@@elusive62 Although possible without, I would recommend keeping the two power supplies completely isolated from each other. Eg using relays or opto isolators.
I mean the two 12v supplies, the car and your electronics supply. You will also need to make sure all your signals to the Pico are only 3.3V and you increase the signal to be enough to drive whatever outputs you are using (eg relays). Or it may be possible to drive opto-isolators / optocouplers directly depending upon voltage and current requirements.
@@PenguinTutor the only part the wiring would come together would be at the sidelights, I did consider using the VCC as a signal for the pico to begin the timed "sidelights on" for 30 seconds, but i think it would be much more simpler to put a button i would press to begin the timer.
@@PenguinTutor Thanks for response.
penguin tutor can you plssss show how to activate the cursor on the lcd pls (with makecode)
Unfortunately I don't think that is possible, or at least not with the standard extensions. To turn the cursor on and off involves sending a special code signal to the LCD display. Unfortunately the library used in MakeCode does not have an option for sending that code. You could most likely turn the cursor on and off by using Circuit Python on the microbit, but not makecode.
Bruh 💀 but AI says its true on makecode
IT Made a Code that really Said ShowCursor(true) Like fr😭
@@The3DTechGuy Which is one of the problems with AI. It doesn't actually understand but just puts together what statistically looks right. Sometimes AI can come up with code that works, but often it doesn't. It's possible someone has created a makecode extension that does include that, but I suspect it's just AI getting it wrong.
thanks man! very easy to follow
Just One Word. He is a Legend
can i know why u use 3x 100nF this orange i dont see it on 3:36 and i dont know for what it is used
Capacitor C1 is connected between the UART connector and the Reset pin of the ATmega328p. This is to reduce the risk of any transient noise on that pin from causing a reset. C2 is connected directly across the supply near to the IC. This is to reduce noise on the power supply going to the ATmega328. Typically these should be as close as possible to the power pin of the microcontroller (pin 7). These are standard for any circuit which uses ICs with one typically next to the supply pin of every IC. You can create a circuit without one, but it is recommended one is included - hence the reason it's sometimes left-out out during a prototyping stage, but then added when creating a permanent circuit. C3 is similar to C2, but used for the Analog to Digital circuitry within the ATmega. It's connected to AVCC supply connection (pin 20). The supply does need to be connected to the AVCC pin even if not using the A/D converter. If the A/D converter is used then the datasheet recommends using a low-pass filter is used for that supply, so I compromised with an additional capacitor. Looking at the circuit diagram for the UNO then they don't appear to use use either a capacitor or a low-pass filter near to the AVCC pin, but they do include an additional 100nF capacitor as part of the power supply circuitry, it's just not physically close to that pin. So again optional, I'd suggest C2 is more important.
Nice presentation and clear coverage. I tried to use 2 RPI (instead of RPI and Uno) connected to communicated via SPI using python but does not seem to work. Any suggestion or a script that you can point me to?
Thanks for the comments. That's not something I've tried. Most code for the Raspberry Pi will assume that it's a controller (master), and act accordingly. I don't have any suggestions for examples of using RPi to RPi at the moment as I've normally used either UART or network for that. I am wanting to look further into various BUS technologies / protocols in future so I will try and look into at least some form of RPi peer-to-peer in future.
Great library. I want to do everything people do with blender via python. I don't see any update to the library for last 2 years , did you jump on to something else ?
I'm still using it occasionally for my own videos and it does what I need. But I'm not really sure of the best way to take it forward. It feels quite complicated to use even for myself.
Its only a guess but in the export options (or maybe other places) check the segments options for curves. normally this is 50 segments per circumference. if its too low then this will borke your curves when manipulated/converted by the program?
Thanks - perhaps it was something like that. I didn't knowingly change anything when I re-exported later, but perhaps that could have been the reason.
One tip I would pass on is dont use the minus/hyphen key in names. if u should need to use it in a formula for parametric work it tends to be treated as an arithmetic minus operator, ,lol, learned that the hard way. I use Underscore OR just one whole word with capitals at the start of each word.
Good point. I was not planning to do anything code wise or use anything in the FreeCAD spreadsheet etc, but you are right that if I did then using underscores usually makes life easier. I'm not sure in FreeCAD, but you can normally get around the use of hyphens by using quote or escape characters, but it's easier if you don't need to. It's the same reason I often avoid spaces in filenames although there are usually ways around it, it's usually easier to avoid in first place.
Excellent ,excellent tutorial. been looking for one on CAD to laser for a while now. so few out there that is as helpful as yours.
Hello....Ctrl-alt-f3 cmd not working, pl suggest to me another way to fix it
In that case you may need to reboot and choose boot to recovery mode as shown at 18:19
Still perfectly usefull on Ubuntu 22.04, thanks so much !
excellent video and helped explain how graphics work in Kicad
Your book explains basic Python and Pygame Zero in a very good way. Is it possible to get the code for the games in book from somewhere online?
The source code for all the games is available in GitHub github.com/Apress/beginning-game-programming-with-pygame-zero
@@PenguinTutor Thank you! :)
great video
At 13:00, I would have thought you would have labeled them Up and Down. Nice project though.
I was about to. In fact if you look at the source code on github there is still an up.png and down.png in the design folder. One reason I changed my mind is because the switch on the left of the layout goes left and right rather than up and down. I did think about having an up and down line, but other than one double track section for a station there is no where that would make sense, and as it is a circular track it doesn't have a destination to have as the primary direction. As the track is circular I did think about having inner and outer track, but again one of the sidings is innner and the other is outer. I'm also planning to use it on another layout (not built yet) where the tracks will not be in a loop so it wouldn't make sense there. It was at Model Key World when my son was using a DCC controller where the points were all controlled with buttons 1 and 2 on the DCC controller that I decided to go with 1 and 2. In fact none of the options are ideal. One thing though is that I've made the source code available, and changing it would be as simple as either editing the html file and changing it to use the different image files, or saving the up and down button files over the top of the button1.png and button2.png files. You could even change the html so that some have up and down, and some have left and right, but I wanted to keep it generic so you wouldn't need to customise if using it on a different layout. A major factor is that interface is not really intended to be used. The web API will be used by the GUI and I just thought I may as well create a basic web page so that you could control it with say a mobile phone if you wanted to.
On a 7" Tablet all the coding done in small font, comfortable for a big monitor, is completely unreadable or very hard to follow. So, please, for future videos, keep into consideration for this especially if you can have free space available on your screen. Thks
Here is how easy it was to setup with my new replacement Raspberry Pi 5 ruclips.net/user/shortsSl1Cod2KKOM - shown here with the Pimoroni NVMe Raspberry Pi base, but also just as easy with the official Raspberry Pi M.2 HAT+
For the full length video explaining my earlier problems see: ruclips.net/video/MVHeyq3WbHM/видео.htmlsi=-RTQnd0wzPz6_fhn
Since making this video I ordered a new Raspberry Pi 5. Connected it to the Pimoroni NVMe base (the RPi HAT+ is in use with my other RPi5). It still needed the EEPROM to be updated but then once rebooted it detected the drive straight away. Enabled boot from NVMe using rpi-config, removed the SD card and it now boots from the SSD. So it does look like I just had one RPi5 which doesn't work with the NVMe drives.💻
Built my first PI this last winter - PI-5. Installed Ubuntu with 2280 hat. No problem. Tried to install Pi-Star, and couldn't get the NVMe drive to work, nor the UI. Ended up with a full Raspberry PI OS and a 2240 hat as everything fit together nicer and worked. One issue remains: if I unplug then plug in the PS, everything works. The button on/off switch on the Pi-5, or a sudo reboot always fails. I have to unplug then plug back in the PS. Using recommended PS. Made all the config changes. At present I'm at a loss on boot issue, though everything is up and running, so I'm operational.
You save my day! Thanks and God bless you.
In case it's of help to others who may come here to troubleshoot, I'll mention that heeding the recommendations of using certain recommended brands and models of NVMe SSDs is important (at least for now). I'm using an Argon ONE v3 case with MVMe base. I flashed a Western Digital SN850X with Ubuntu Desktop 23.10 and wasted a lot of time trying to get it to work. Boot wouldn't complete (link down). I then tried Pi OS Debian distro and that, too, didn't complete boot. I tried a second WD SN850X and still no love. I then ordered a Kingston KC3000 NVMe SSD (all of my SSDs are 2280) having seen it on compatibility lists, and it booted without hesitation (Ubuntu 23.10). I'll re-flash it with Ubuntu Server LTS next, but the Ubuntu Desktop is very snappy on the Pi 5 w/SSD. The Pi OS Debian Bookworm is snappy as well.
Wow, Raspberry Pi is soo great... r Remind me again, what's the current draw of a Raspberry Pi on startup? (It's 5 Amps). And is Raspberry Pi deterministic and safety critical? (It isn't). Can you do ADC operations with a Raspberry Pi? (No) Can you easily use bare metal programming on a Raspberry Pi? Debatable, but most people who use it probably have no idea how. There is a very good reason microcontrollers exist in the world of microprocessors, just like the invention of nail guns and rocket and jackhammers didn't make hammers obsolete. MCUs are simpler to program on a hardware level, the architecture is easier to understand, which is essential for real time operations; they can typically control more peripherals, do so with a lower response time, and as I said, in a deterministic manner. Traditional operating systems are fast enough for the human eye, but if you're running several cascade control loops with various sensors, and the time constant of each inner loop needs to be 10 times faster than the outer one, you VERY quickly go from micoseconds to miliseconds, to ten miliseconds, to 100 miliseconds... and that's 10 fps, for people out there. Sure, you're not going to build a spacecraft with Arduino Uno, which is why actual embedded MCUs are much more powerful, but for simple prototyping Arduino probably the least painful way to go.
I got a 500gb kit from pimoroni and have had no issues. It was a huge increase in speed.
I did as well and the Pimoroni NVMe worked well first time. My problems were due to a silly mistake by me - ordering the wrong kind of SSD for a second upgrade and hardware problem with my second Raspberry Pi. I'm ordering a new Raspberry Pi to replace the one that didn't work.
See *Computers Explained.* Chris had no problems interfacing to NVMe.
Thanks 👍
HI thanks for the excellent video, I wanted to ask you how it is possible to add export in raw format to video capture? Thank you very much
Most proprietary "raw" formats are designed for a specific camera. A "raw" format from picamera would be to just capture the image as an array of pixels. This can be done using array = picam2.capture_array("main") That will give a 3 dimensional Numpy Array which you can then manipulate and convert / save as required. An alternative is to capture into the PIL format which can be manipulated and / or exported - eg. export as an uncompressed TIFF image = picam2.capture_image("main") (then process as required) Or if you want raw video capture then use: config = picam2.create_video_configuration(raw={}, encode="raw") picam2.configure(config) encoder = Encoder() picam2.start_recording(encoder, "test.raw") This is all covered on the Picamera2 documentation at: datasheets.raspberrypi.com/camera/picamera2-manual.pdf
Thanks 👍
Excellent tutorial. Yours is the best refresher video I have seen to stir my grey matter reminding of 40+ years ago at college doing City & Guilds Electronics!
This tutorial was perfect for what I am working on! Thank you for explaining how to select a transistor and calculating the resistor for the base! Much appreciated!
i try to ctrl alt and all the F´s but none of them worked :( im stuck here, you know if theres something more i can do?
In that case you will need to reboot, select recovery mode with root shell and then try the recovery from there.
Hi, does it matter if I use C++ instead of Python and use the Arduino IDE? or do I have to code in Python
You can use C++. Raspberry Pi have provided a tool chain based around visual studio, but I believe others have created the steps needed for the Arduino IDE. Or there is an Arduino RP2040, but that's quite expensive compared with the Pico.
Amazing work !
My problem is that it's saying the I need to install a few more things but networking simply doesn't work (or I don't know how to fix it) So both dpkg and apt --fix-broken doesn't work. Can anyone help? Thank you
Do you have a physical ethernet port, connecting by cable often works even if your wireless driver doesn't. The alternative is that you can download files on a different computer, transfer by USB stick and then install using dpkg, but that can get very tedious if there are lots of dependencies that also need to be downloaded.
I keep running into this error message : File "C:\Users\mario\AppData\Local\Programs\Thonny\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\mario\AppData\Local\Programs\Thonny\lib\site-packages\thonny\workbench.py", line 2027, in toolbar_handler handler(*args) File "C:\Users\mario\AppData\Local\Programs\Thonny\lib\site-packages\thonny unning.py", line 527, in cmd_run_current_script self.execute_current("Run") File "C:\Users\mario\AppData\Local\Programs\Thonny\lib\site-packages\thonny unning.py", line 459, in execute_current filename = editor.save_file() File "C:\Users\mario\AppData\Local\Programs\Thonny\lib\site-packages\thonny\editors.py", line 314, in save_file result = self.write_local_file(save_filename, content_bytes, save_copy) File "C:\Users\mario\AppData\Local\Programs\Thonny\lib\site-packages\thonny\editors.py", line 334, in write_local_file f = open(save_filename, mode="wb") FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\mario\\AppData\\Local\\Temp\\0f9c0e8b-ddc3-45d6-be61-e22d09b0c37e_pico-animation-code.zip.37e\\pico-animation-code\\image_convert.py'
during the animation I made it 12 frames and labeled it similarly but continued to receive internal error messages, I could be uploading the images wrong into the pico though, should I make it a file and upload it? or individually?
The error appears to be due to a problem writing to a file. It appears to be trying to write into a zip file. Have you extracted the files from the zip first?
At 04:25, which commands you used to reach that screen. Please help
If you are still in Ubuntu then you can try CTRL-ALT-F3 to get a terminal. If not then reboot, which should put you at the Grub screen. If you've set boot to automatically boot to Ubuntu then you can hold down shift when booting to bring up the grub menu. From the Grub Menu choose Ubuntu wth recover, then choose a root prompt. I hope that helps.
Since baterries were mentioned, do somebody know some good solution with Pico for a baterry powered device? Im looking for some. Thanks
Found this channel from the rpi meeting in london, rlly cool video! :)
also C/C++ is miles away better then python /shmython beleive me i know from '90 era of computers and electronics and programming ;)
MCP23S17 is SPI interface / protocol and is better then i2c, and is 16 bits and i use it alot and check my channel to learn some real for automation. :) all is FROM BULGARIA ;) watch and learn how to do it properly
The thonny always flash over your ppt at first minute. That feels like a flash bomb and hurt my eyes😰.
Sorry if it's a bit bright. I tend to use colours that are accessible, including light coloured backgrounds and (when possible) increased fonts and cursor size. This is in response to some of my earlier subscribers that said how difficult it was to read the screen sometimes. Although I've also noticed that in Thonny even the dark themes have a very bright background for the main part of the editor.
@@PenguinTutor No what I mean is that in the first minute of your video, thonny's window will always appear in the top half of your screen and then disappear. This causes the top half of the screen to be flickering constantly.
@@cubeleaf7895 Oh yes I see what you mean. Sorry about that. I didn't see that in the video editor, but then it does flash away pretty quickly. I created the presentation in Google Slides, it's one of only a few times I've used that for creating videos. Perhaps I'll switch back to LibreOffice Impress in future. Thanks for pointing it out.
Oooh, what a fascinating chip. One use i can think of for this is to have it at a distance from the processor just using 4 core cable
Yes indeed. I2C can run for a few meters so as long as it's not too far. I'm planning to use the MCP23008 on a different PCB although I'm my current project they will be in the same enclosure.
usage: certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ... Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. certbot: error: argument -n/--non-interactive/--noninteractive: ignored explicit argument 'ginx'
Thanks for the very useful video. One question, though: You casually mention to use a Schottky diode. This is for the power supply, so a DC voltage. Then neither the higher switching speed nor the lower forward voltage drop of a Schottky diode seems to be important when using a 5V or even 3.3V external power supply. Wouldn't a regular 1N4148 or 1N4001 also be usable in such a situation?
I normally use a Schottky rectifier diode because of the low voltage drop. This means less power loss. Particularly when using a battery. It's not going to be much in the grand scheme of things, but even a little can help. Another potential benefit could be that if the voltage from the power source is greater than USB then that will be dominant, although if that is important a MOSFET would be a better option. A regular rectifier diode would work fine instead.
my ic2 oled ssd1306 shows a block char (like 178) when sent char above 127, used it to build big numbers (portrait view), used a tca9548a on 1 i2c bus to drive 4 oleds.
The I2C multiplexer is one of the ideas I had in mind when I said "there are ways around the I2C address issue". I like the idea for using block chars, reminds me of creating box menus using ASCII characters in DOS programs back in the 90s. I'm currently looking at using bitmap fonts to create large numbers. I only need digits so looking at creating custom images and blit then to half the screen at a time giving values up to 99.
Another benefit of the SPI interface is that the coms are normally a lot faster, which means that you can get more fps. If you 'play games' and limit precisely which areas of the screen you draw/show, you can get very high fps.