Thank you for these truly imaginative and well presented examples of what is possible with such a low cost, accessable little board. I wish you and the Pico had been around 60 years ago when I was a kid! Now THAT would be a trick!
This is the kind of stuff I wish we did in my electronics class or was a option back then. This is the stuff I would've lived for back then and would've made overthinking with programming less of a issue as it is now XD
Thank’s for your very clear instructions. You are an exception, most others does not e.g. Explain. What Pin is, they just put it there. The same with the way the tones are created. GREAT!
Hope you loved this Pico video! Want to see a robot arcade cabinet that has its controls based on the Pico? Check it out here! ua-cam.com/video/kwSVW0K3BZY/v-deo.html
Morse code project needs to be expanded! Great stuff James! Marking this watch later till I can find a couple of these boards available. Camakit says a month on preorder.
I'm already looking at ways to build a system to send a receive with a pair of them. Although, I'd we are being honest, it might be better suited to an ESP32 with its built in wireless tech.
@@PrintNPlay "Although, I'd we are being honest, it might be better suited to an ESP32 with its built in wireless tech." Pico W has entered the room and says 'hold my chips'
One tiny niggle: the ratio of long to short in morse is 3 to 1 not 2 to 1 as your code appears to specify. The inter-element spacing should be one short and the inter-character spacing one long. Inter-word spacing is basically anything over 3 longs. However, every morse operator has their own 'fist' or style and that is determined by how they space elements and characters/words. For instance, I tend to lengthen the long in the letters 'f' & 'l' to 4 or 5 shorts to change the rhythm. Machine generated morse is very recognisable on air as it is very boringly exact ... unless the code generates some random, small differences. 🙂 But great projects. Does MicroPython not have the += construct? I noticed you didn't use that.
I enjoyed this video. A good follow up would be a blog post that goes a little more in depth explaining a bit more of the underlying theory and why of things. I get that there are resources out there for beginners already. I just think you would be particularly good at creating that sort of content.
Thanks for such a well presented, excellently clear and informative tutorial. More of the same please. I'll be checking out your other channels and videos. Best regards.
It would be awesome to add another unit And add some listening code code for inbound messages. Turning this into a semi encrypted transmission device using walkie-talkies. You would also need a keying line of code. Possibly some resistance for the speaker wires. Worth the research and it would be pretty neat if you could get it to work!
James I can see the last part of the 3rd project as a memory keyer and a morse trainer. Maybe a future option for Iambic paddles or straight key? Iambic reads two inputs where ST K reads one.
T.Kawasaki Great video, thanks. But when I tried the third example, I had an error massageI, that "MusicNotes" is not recognaized. How I can soleve this?
So, since only one led is illuminated at a time, it's okay for them to share a resistor. And since it doesn't matter which side of the circuit the resistor is on, as long as the LED is connected to it, I tied them at ground level. Basically, I was trying to do it with as few components as possible. Hope that makes sense!
Great video and explanation. Can you do a project with timers for ralais , external temp sensors , ph sensor , flow sensor . .. for a small reef tank controller something like reef pi but more basic and cheaper..
Hey man I have a question, I am trying to make a wireless game pad for Commodore 64 and Nintendo nes, ignore the wireless part, how do I make a game pad for a retro system with this thing if I plan to add wireless later? I’m confused where to start
Sorry about the delay in reply. I've actually been working on a dual USB / C64 joystick controller. Be glad to fire you some info if you want to send me an email! Printnplayjay@gmail.com
great video. building along with you. I think this pico has a damaged thermistor, maybe done by me when putting on the rails. The room I'm in is 73f / 22.78c , but the one i've got in my breadboard is reporting about 15c... meanwhile another un-touched pico is reporting 22-23 ... -_- I didn't linger on any of the pins excessively with the soldering iron, and the other two projects work great. very weird. guess i'll try to solder this known good one and see if i destroy it or not.
Can you build a drone using pico and build a gyroscope and a flight controller? can you also do the control circuit with the NRF and control the drone? Would be a legend
I am new to python and micro python, where can I find a reference to the commands available to micro python. I need to know the syntax of said commands and any variations of the code.
Nice pico projects, can You show how to write or read multiple i/o pins at once ? I looked in the rp2040 datasheet for this but can't figure it out yet.
Sorry about the code. It was pointed out to me that it's only clear on a 1080p display and not great on phones. The code is provided in the description, if you want to see it yourself. Let me know if you have any questions
I wonder, when I have a line like temp = 27 - ((currentvoltage - 0.706) / 0.001721) can the measured temperature ever be above 27 deg? I currently have above 29 deg C and the pico thinks its 21.4 I know this is not a precision device but thats really to far away from the real temp.
Nice set of projects. I have one question, why is the conversion factor for voltage 3.3/ 65535 ? I read that the Pico has a 12 bit ADC so why is the conversion factor not 3.3/4095 ?
Excellent question! While the ADC does, indeed, return a 12 bit value, its converted to a 16 bit value with MicroPython to keep compatibility between other boards running MicroPython. Here's the relevant snippet from the Pico Python SDK An ADC has two key features: its resolution, measured in digital bits, and its channels, or how many analogue signals it can accept and convert at once. The ADC on RP2040 has a resolution of 12-bits, meaning that it can transform an analogue signal into a digital signal as a number ranging from 0 to 4095 - though this is handled in MicroPython transformed to a 16-bit number ranging from 0 to 65,535, so that it behaves the same as the ADC on other MicroPython microcontrollers.
If you "save a file to the device" and give it the special name main.py, then MicroPython starts running that script as soon as power is supplied to Raspberry Pi Pico in the future. datasheets.raspberrypi.org/pico/raspberry-pi-pico-python-sdk.pdf
Hi, the simplicity of this video makes me want to play around with Pico too. How about making Pico a standalone and not dependent on a PC, is that possible?
Will the Morse Code .... code work on a normal Raspberry Pi, my local Pico supplier they are out of stock right now. So in the mean time I wanted to play with that morse code program
Great video, thanks. But here are some comments. It IS a standalone computer, just not a desktop computer with an operating system. I wouldn't put the components so cloes to the Pi, those connectors on the side could shortcut to the led. I also usually prefere to use the red tracks as positive and blue of the breadboard as ground. That will make me do less errors. PWM uses constant frequence, but varies the propotion between how long it should stay high and low. But the frequence are the same in PWM. But as you have in your code, you can also change the frequence in those PWM ports of this RPi software. Why don't you use the RPi B model to develop this on? :-)
All good points! I think how the term "computer" is used has definitely changed over the years. Although, even with the adoption of what is presently considered a computer, the Pico is fully capable of emulating older computers and being useable as such so... Hopefully the point wasn't lost, if for a lack of more appropriate phrasing. Spacing of components is definitely important. Don't want to short our the device, or the USB port it's connected to. And finally, I do enjoy coding on my Pi 400, but it's been easier for me to do screen recording on my desktop. Thanks for taking the time to share your thoughts!
@@PrintNPlay thanks for the comments. Yes, this little computer have the capacity (and more) to emulate a PDP 11 minicomputer (that is real mini computers ) Computers that run original Unix, with serveral concurent users. :-) Has actually run Unix on one and have also been in the CPU of a PDP 8 and fixed a problem. The CPU was about 2 meters hight, in a full 19" rack. I nealy fitted into the CPU. :-) Yes, that was about 1993, and these computers was already old then.
I will have C content coming in the future, but Ben Heck Hacks has been doing some with it and he's super knowledgeable... If you're not already following him, definitely check him out!
5:40 nope, ADC(4) is not on pin 4, it is the fourth ADC project suggestion, play sound from file, not embedded, scan for music files (*.mus), show list, select, play
@@PrintNPlay This is quite subjective I have age related hearing loss, so I don't pick up high frequencies, but to rule that out I got the windows sound settings up and watched the level indicator - it only moves a few pixels during the speaker sections, but your voice shows up just fine, thought I'd ask around, if you can hear it while viewing on UA-cam then its all my end.
Totally understand. I will make sure audio levels are better in the future. Thanks for taking the time to let me know, and sorry that the audio wasn't better in this one.
@@PrintNPlay Blessing in disguise, all the extra comments drive up your interaction rate. :D GO UA-cam ALGORITHM! lol I have subbed and I appreciate the beginner project to get used to the Pico!
Not sure if you are kidding or not, but here is the creator of Python talking about it and calling it pie-thon. ua-cam.com/video/J0Aq44Pze-w/v-deo.html
Thank you for these truly imaginative and well presented examples of what is possible with such a low cost, accessable little board. I wish you and the Pico had been around 60 years ago when I was a kid! Now THAT would be a trick!
Very nice. I didn't realize it has a temp sensor. I think I have a project for my pico now. thanks.
Thank you.
This was the type of video people would like to see when deciding whether or not to buy pico.
That is exactly the reason why I'm here lmao XDD
This is the kind of stuff I wish we did in my electronics class or was a option back then. This is the stuff I would've lived for back then and would've made overthinking with programming less of a issue as it is now XD
Great projects and ingeniously explained. Thanks.
Thank’s for your very clear instructions. You are an exception, most others does not e.g. Explain. What Pin is, they just put it there. The same with the way the tones are created. GREAT!
Nice video with good use of a Breadboard!
Hope you loved this Pico video! Want to see a robot arcade cabinet that has its controls based on the Pico? Check it out here!
ua-cam.com/video/kwSVW0K3BZY/v-deo.html
Morse code project needs to be expanded! Great stuff James! Marking this watch later till I can find a couple of these boards available. Camakit says a month on preorder.
I'm already looking at ways to build a system to send a receive with a pair of them. Although, I'd we are being honest, it might be better suited to an ESP32 with its built in wireless tech.
@@PrintNPlay "Although, I'd we are being honest, it might be better suited to an ESP32 with its built in wireless tech." Pico W has entered the room and says 'hold my chips'
Thank you, I enjoyed your video. I would enjoy more Pico content.
This is very useful for better learning breadboard wiring.
One tiny niggle: the ratio of long to short in morse is 3 to 1 not 2 to 1 as your code appears to specify. The inter-element spacing should be one short and the inter-character spacing one long. Inter-word spacing is basically anything over 3 longs. However, every morse operator has their own 'fist' or style and that is determined by how they space elements and characters/words. For instance, I tend to lengthen the long in the letters 'f' & 'l' to 4 or 5 shorts to change the rhythm. Machine generated morse is very recognisable on air as it is very boringly exact ... unless the code generates some random, small differences. 🙂
But great projects. Does MicroPython not have the += construct? I noticed you didn't use that.
I enjoyed this video. A good follow up would be a blog post that goes a little more in depth explaining a bit more of the underlying theory and why of things. I get that there are resources out there for beginners already. I just think you would be particularly good at creating that sort of content.
Really enjoying these!
Thanks very clear...I would like to see the Pico use “bolt on” BT with Android App Inventor.
Thanks for the video. I've already implemented your music example to play "Twinkle, twinkle little star"... and it works just fine :)
Glad to "hear" it!
Nice summary. You should zoom in when covering the code. Impossible to read it on my iPhone screen.
Thanks for the suggestion CHEP! Will try to do so in the future!
lmfao. Did you really expect to read code on a phone screen??
@@burgerking220 yes, if the code is short enough. And there are other forms of small screens, like pads, not only phones.
@@burgerking220 I mean.. yeah? It's not unrealistic.
Thanks for such a well presented, excellently clear and informative tutorial. More of the same please.
I'll be checking out your other channels and videos.
Best regards.
Very well put together video.
It would be awesome to add another unit And add some listening code code for inbound messages. Turning this into a semi encrypted transmission device using walkie-talkies. You would also need a keying line of code. Possibly some resistance for the speaker wires. Worth the research and it would be pretty neat if you could get it to work!
Nice presentation. Right to the point
Glad you enjoyed it! The next one will be out soon!
Love me some Pico!
James I can see the last part of the 3rd project as a memory keyer and a morse trainer. Maybe a future option for Iambic paddles or straight key? Iambic reads two inputs where ST K reads one.
Adding dual inputs should be no trouble. From a code perspective, it would be easier, actually!
@@PrintNPlay Input 1 is Dit and 2 is Dah. I have 2 boards on order now with Canakit and they say the end of Feb to ship.
@@PrintNPlay I can also see a game here. It can measure your sending accuracy. Kinda like Guitar hero for CW!
Great presentation. Could you show the code larger in the video. Even at 200% the code would still fit on screen.
Thanks.
You are a fucking genius dude You just started slapping wires on that like it was nothing.. crazy
If anyone asks, I did it in one take and it worked first try! ;)
very cool content
Great video thanks.
Thanks for such a great set of projects to test and learn from
You should write for a magazine.
I'm glad you enjoyed them! You are too kind
I didn't even try to pwm the buzzer :D
I will build a small musical instrument
Excellent tutorial
Glad you enjoyed it!
Your channel rocks
Thank you!
T.Kawasaki
Great video, thanks. But when I tried the third example, I had an error massageI, that
"MusicNotes" is not recognaized. How I can soleve this?
Nice video! Why the resistor to ground?
So, since only one led is illuminated at a time, it's okay for them to share a resistor. And since it doesn't matter which side of the circuit the resistor is on, as long as the LED is connected to it, I tied them at ground level.
Basically, I was trying to do it with as few components as possible.
Hope that makes sense!
@@PrintNPlay ah yes! That makes sense... thanks for the explanation.
Nice video - you should play around with the PIO programming - It's so much different from the the normal python programing.
I'll check it out!
Very nice you got a new sub
Great video and explanation. Can you do a project with timers for ralais , external temp sensors , ph sensor , flow sensor . .. for a small reef tank controller something like reef pi but more basic and cheaper..
Let me see what I can do. May not all be in one video, but I will try to cover sensors as I go!
Very helpful thanks
Hey man I have a question, I am trying to make a wireless game pad for Commodore 64 and Nintendo nes, ignore the wireless part, how do I make a game pad for a retro system with this thing if I plan to add wireless later? I’m confused where to start
Sorry about the delay in reply. I've actually been working on a dual USB / C64 joystick controller. Be glad to fire you some info if you want to send me an email! Printnplayjay@gmail.com
@@PrintNPlay sweet man will do thank you!
great video. building along with you. I think this pico has a damaged thermistor, maybe done by me when putting on the rails. The room I'm in is 73f / 22.78c , but the one i've got in my breadboard is reporting about 15c... meanwhile another un-touched pico is reporting 22-23 ... -_- I didn't linger on any of the pins excessively with the soldering iron, and the other two projects work great. very weird. guess i'll try to solder this known good one and see if i destroy it or not.
Very odd. I haven't seen anyone damaging it by soldering. Does the pin will work for general IO?
Can you build a drone using pico and build a gyroscope and a flight controller? can you also do the control circuit with the NRF and control the drone? Would be a legend
I am new to python and micro python, where can I find a reference to the commands available to micro python. I need to know the syntax of said commands and any variations of the code.
Nice pico projects, can You show how to write or read multiple i/o pins at once ? I looked in the rp2040 datasheet for this but can't figure it out yet.
Como se puede editar un archivo uf2
Where can I find the materials like the jumpers, speakers, and buttons in large amounts?
I've ordered most of my bulk stuff from AliExpress
@@PrintNPlay Thanks
Hey I liked ur project. I hv implemented it and its working .
can u explain why only one LED is blinking ?
Glad you liked it! Which project only has one light blinking for you?
@@PrintNPlay Morse code has o ly one LED blinking
I converted temp to F by adding a line after temp: temp = temp * 1.8 + 32
Would be a great video if I could read the code and hear the speaker sound.
Sorry about the code. It was pointed out to me that it's only clear on a 1080p display and not great on phones. The code is provided in the description, if you want to see it yourself. Let me know if you have any questions
my speaker was just playing intervals of high pitched notes, and not hotcrossed buns or mario
I wonder, when I have a line like temp = 27 - ((currentvoltage - 0.706) / 0.001721) can the measured temperature ever be above 27 deg?
I currently have above 29 deg C and the pico thinks its 21.4
I know this is not a precision device but thats really to far away from the real temp.
Nice set of projects. I have one question, why is the conversion factor for voltage 3.3/ 65535 ? I read that the Pico has a 12 bit ADC so why is the conversion factor not 3.3/4095 ?
Excellent question! While the ADC does, indeed, return a 12 bit value, its converted to a 16 bit value with MicroPython to keep compatibility between other boards running MicroPython.
Here's the relevant snippet from the Pico Python SDK
An ADC has two key features: its resolution, measured in digital bits, and its channels, or how many analogue signals it
can accept and convert at once. The ADC on RP2040 has a resolution of 12-bits, meaning that it can transform an
analogue signal into a digital signal as a number ranging from 0 to 4095 - though this is handled in MicroPython
transformed to a 16-bit number ranging from 0 to 65,535, so that it behaves the same as the ADC on other MicroPython
microcontrollers.
nice!
How do I put the code on my pico so when I disconnect it from my computer and plug it into another power source it will run my code?
The code needs to be compiled on your computer and transferred to the Pi. I will have a tutorial out soon!
@@PrintNPlay Thank you, I received my board 3 days ago, I've been trying to do this ever since and I can't find documentation anywhere I look.
If you "save a file to the device" and give it the special name main.py, then MicroPython starts running that script as soon as power is supplied to Raspberry Pi Pico in the future.
datasheets.raspberrypi.org/pico/raspberry-pi-pico-python-sdk.pdf
@@jyvben1520 I tried that already......
@@SourRaccoon did you prep the pico to work with micropython, or are you using the circuitpython version ? that uses code.py
Hi, the simplicity of this video makes me want to play around with Pico too. How about making Pico a standalone and not dependent on a PC, is that possible?
Absolutely! By saving your code to the pico as main.py, it is automatically run on startup, eliminating the need for a computer
Will the Morse Code .... code work on a normal Raspberry Pi, my local Pico supplier they are out of stock right now. So in the mean time I wanted to play with that morse code program
It, unfortunately, won't run without some modification. The general concepts are the same, but the gpio references will be different.
@@PrintNPlay Thanks for a fast reply, I shall have a go at translating it for regular Pi
keep going ruspberry pi pico
Could the same code work for ESP8266 / 32?
Since both support MicroPython, much of it should be reusable / modifiable to work.
I am a beginner , can I get the circuit diagram please , it gonna help me a lot
Sure thing. Will add it to the description in the next day or two and will reply here with it as well
@@PrintNPlay thank you very much sir , I will be waiting
Sorry about the delay. Will have it ready tomorrow.
@@PrintNPlay I still didn't got the circuit diagram ... Sir .. when you will give me .. please pin it in the description area .. please thank you!
Great video, thanks. But here are some comments.
It IS a standalone computer, just not a desktop computer with an operating system.
I wouldn't put the components so cloes to the Pi, those connectors on the side could shortcut to the led.
I also usually prefere to use the red tracks as positive and blue of the breadboard as ground. That will make me do less errors.
PWM uses constant frequence, but varies the propotion between how long it should stay high and low. But the frequence are the same in PWM. But as you have in your code, you can also change the frequence in those PWM ports of this RPi software.
Why don't you use the RPi B model to develop this on? :-)
All good points! I think how the term "computer" is used has definitely changed over the years. Although, even with the adoption of what is presently considered a computer, the Pico is fully capable of emulating older computers and being useable as such so... Hopefully the point wasn't lost, if for a lack of more appropriate phrasing.
Spacing of components is definitely important. Don't want to short our the device, or the USB port it's connected to.
And finally, I do enjoy coding on my Pi 400, but it's been easier for me to do screen recording on my desktop.
Thanks for taking the time to share your thoughts!
@@PrintNPlay thanks for the comments.
Yes, this little computer have the capacity (and more) to emulate a PDP 11 minicomputer (that is real mini computers )
Computers that run original Unix, with serveral concurent users. :-) Has actually run Unix on one and have also been in the CPU of a PDP 8 and fixed a problem. The CPU was about 2 meters hight, in a full 19" rack. I nealy fitted into the CPU. :-)
Yes, that was about 1993, and these computers was already old then.
Push that into the pi?
Does anyone have the C version of the Morse code script?
I want to use C with mine
I will have C content coming in the future, but Ben Heck Hacks has been doing some with it and he's super knowledgeable... If you're not already following him, definitely check him out!
5:40 nope, ADC(4) is not on pin 4, it is the fourth ADC
project suggestion, play sound from file, not embedded, scan for music files (*.mus), show list, select, play
can yow code any raspberry pi with Microsoft makecode?
I haven't done much with it yet, but I'll try and get some time in on it and see what I have to show :)
@@PrintNPlay can you reply if you can or not?
👌🏻👌🏻👌🏻👌🏻👍🏻👍🏻
Is it just me or is the sound for the pico non existent ?
Hey there! Is it difficult to hear or flat out missing?
@@PrintNPlay This is quite subjective I have age related hearing loss, so I don't pick up high frequencies, but to rule that out I got the windows sound settings up and watched the level indicator - it only moves a few pixels during the speaker sections, but your voice shows up just fine, thought I'd ask around, if you can hear it while viewing on UA-cam then its all my end.
Totally understand. I will make sure audio levels are better in the future. Thanks for taking the time to let me know, and sorry that the audio wasn't better in this one.
@@PrintNPlay Still, awesome content and well presented - thank you.
I don't hear anything.
T.Kawasaki
I sent a message as shown below. But it was solved. The reason was my input error, sorry.
It's pronounced 'Tho - nee' not "thone -ee". The clue is in the spelling. Double 'n'.
Thanks for the correction! I will do my best to pronounce it correctly in the future.
you do not look like you sound amigo lol. great vid tho! thanks!
It's "THAHHNEE" like Py-THON not THONE-EE like BONEY lol
Message received! Let me know if I got it right in my latest one... Pronunciations are apparently a weakness of mine.
@@PrintNPlay Blessing in disguise, all the extra comments drive up your interaction rate. :D GO UA-cam ALGORITHM! lol I have subbed and I appreciate the beginner project to get used to the Pico!
@@MagicPlants It's been treating me alright the past week or two... Gotta make sure not to make it mad :D
Not sure if you are kidding or not, but here is the creator of Python talking about it and calling it pie-thon.
ua-cam.com/video/J0Aq44Pze-w/v-deo.html
Would not cost much more time to teach people to wire things with some semblance of structure/organization...
Thanks for the note! I'll try to keep my wiring cleaner in the future.
You are pronouncing thonny wrong please do better
I no longer pronounce it wrong, please be nicer!
Sorry I was only being silly
Great projects
Haha all good! No big deal, thanks for watching
Dude! Why was it so cold in your house? Great vid!
I'm just a pretty chill guy