Posts

Showing posts with the label raspberry pi pico

Raspberry Pi Pico and JavaScript

Image
A match made in heaven? If you rewind back to one of my first posts on this blog (although I had been "doing" stuff way before then, I just didn't record it), I was setting up a Raspberry Pi 1 to run nodeJS - basically "server-side JavaScript", it was more than capable and was very useful and handy thing to do. Well, the Raspberry Pi 5 has just been announced to be available from 23rd October - yes, I've got an order in for a 4GB and 8GB version - well, the specs for the RPi5 are just mindblowing.  It is like having a full blown desktop replacement machine in a small form factor, you don't need to "buy a PC" anymore, a £50 RPi v5 will do all you need it to do... if indeed you want to use it as a "PC replacement". Personally, I'm more of the, it should be an IoT hardware integration device and not something you use for playing the latest triple-A games on or complaining about "dropped frames" from streaming YouTube videos...

LoRa LoRa LoRa

Image
...and that is not THIS type of Lorra Lorra laughs : Cyla Black although, my laughs were more tears of woe and then tears of joy-ish What is LoRa and why is it spelt that way? well, you could DuckDuckGo and search for it, however, simple description: "Lo-ng Ra-nge comms" . [UPDATE: okay, I'll answer the question, "why bother? why not just use WiFi?" - that is such a non-Gen X question.  Right. WiFi sucks a LOT of power, I mean a LOT.  It also requires an AP (access point), one device will have to be a gateway router for one device to connect to the other... and also, well, the "LoRa" name says it all... can you move your laptop outside your house, walk down the street, keep walking, keep walking some more and still get a signal to that WiFi AP? no. no you cannot. Ah, ha, then you'll attempt to be smart and say, "4G" or "5G", well, yes, but that needs another device, such as your phone to be required, then you have to connect yo...

Z80 retro-computer - the size of your wallet (if you have a fat wallet)

Image
I short while ago, I teased that I was going to do some time-travelling back to the 1970/80s.... I did actually purchase a Z80 MBC3 device , getting around the Brexit problem of not being able to purchase items from The Netherlands because of the massive VAt charge for importing the goods into the UK - yeah, great, thanks populace dim-witted knuckle-scraping thug heads for that decision - anyway, way arond it was for the seller to pay a small fortune themselves in fee's / costs and also for me and to get the item via eBay too.... yep, of course there is a loop-hole.  don't expect it to stay open for too long though. More info at github  and a new WEBSITE to purchase the kits from I received the board and all the parts and was ready to do a soldering session and then a really odd thing happened in the UK - the sun came out...for more than 1 day.  This meant I had to switch from doing things "in the house" and go and do all those "other things" that involve ...

Automated boats/ships - part 1

Image
So...I've had a radio controlled boat / ship, well, it's 4ft long, so it's still a boat, but it's mighty large, since covid-19 lockdown time - I bought the boat around April/May2021-ish (I think).... my plan was when the lockdown lifted to visit the Warminster boating lake and use the radio controlled boat on a Sunday morning for a bit of fun and for something different. The boat I bought was a replica of one I starting building way back in the mid-1980s, the boat knocked around for a while, I fitted the prop-shaft and rudder and fitted a period correct water cooled fuel engine - the one's that were used in RC planes.  I never got the engine working properly.  Anyway, I did keep the boat with me until the end of the 1990s when I sold it to my sisters husband (at the time) who was more skilled at this sort of things.  He rebuilt the engine and got it working/running.  However, he didn't do anything in relation to the radio control gear.  He did paint the boat how...

PICO C-code - (part 2) MicroPython and then down into C-Code for sdcard integration

Image
Following on from my previous post about PICO, VGA and using the PICO DEMO board .... I had concluded that I was able to use the pico demo board to get a VGA output - awesome! I had concluded that I was able to build the MCUME emulator code and that it was failing to read the SDCard.....with a "Card not ready yet" error message (3). As I'm a stubborn old-git, I refused to let something like a simple error message prevent me from proceeding. I tried a few more things, even use a bit of MicroPython in an attempt to read the card - that failed too. However, I then noticed on the website for the product that it states: Please note that VGA Demo Base only currently works with the C/C++ Pico SDK! At which point I did a Homer Simpson and face-palmed my forehead. Okay, time to get blowing off the C code cobwebs properly then.... I then tried a few variants of other people C code and found that didn't work either. I kept coming back to the PIN diagram: and the reference from...