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!
@skf9573 жыл бұрын
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!
@conordunne5472 жыл бұрын
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.
@PrintNPlay2 жыл бұрын
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! kzbin.info/www/bejne/oai2h4pmgJh1kLs
@brentenyam91933 жыл бұрын
You are a fucking genius dude You just started slapping wires on that like it was nothing.. crazy
@PrintNPlay3 жыл бұрын
If anyone asks, I did it in one take and it worked first try! ;)
@HanWechgelaer3 жыл бұрын
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.
@brianjongraham23963 жыл бұрын
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 ?
@PrintNPlay3 жыл бұрын
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.
@Revolution_Son2 жыл бұрын
Does anyone have the C version of the Morse code script?
@charliesrccrawler93253 жыл бұрын
👌🏻👌🏻👌🏻👌🏻👍🏻👍🏻
@jyvben15203 жыл бұрын
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
@vizionthing3 жыл бұрын
Is it just me or is the sound for the pico non existent ?
@PrintNPlay3 жыл бұрын
Hey there! Is it difficult to hear or flat out missing?
@vizionthing3 жыл бұрын
@@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 KZbin then its all my end.
@PrintNPlay3 жыл бұрын
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.
@vizionthing3 жыл бұрын
@@PrintNPlay Still, awesome content and well presented - thank you.
@Alperic273 жыл бұрын
Would not cost much more time to teach people to wire things with some semblance of structure/organization...
@PrintNPlay3 жыл бұрын
Thanks for the note! I'll try to keep my wiring cleaner in the future.
@ZebraandDonkey3 жыл бұрын
Very nice. I didn't realize it has a temp sensor. I think I have a project for my pico now. thanks.
@adityashukla78493 жыл бұрын
Thank you. This was the type of video people would like to see when deciding whether or not to buy pico.
@erik20303 жыл бұрын
That is exactly the reason why I'm here lmao XDD
@FilamentFriday3 жыл бұрын
Nice summary. You should zoom in when covering the code. Impossible to read it on my iPhone screen.
@PrintNPlay3 жыл бұрын
Thanks for the suggestion CHEP! Will try to do so in the future!
@burgerking2203 жыл бұрын
lmfao. Did you really expect to read code on a phone screen??
@AndersJackson3 жыл бұрын
@@burgerking220 yes, if the code is short enough. And there are other forms of small screens, like pads, not only phones.
@coolfred90833 жыл бұрын
@@burgerking220 I mean.. yeah? It's not unrealistic.
@CptDangerous Жыл бұрын
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.
@darsparx2 жыл бұрын
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
@tubegor3 жыл бұрын
Great projects and ingeniously explained. Thanks.
@W4TRI3 жыл бұрын
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.
@PrintNPlay3 жыл бұрын
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.
@flethacker2 жыл бұрын
@@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'
@roddy72562 жыл бұрын
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
@PrintNPlay2 жыл бұрын
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
@roddy72562 жыл бұрын
@@PrintNPlay sweet man will do thank you!
@robertlongoria7653 жыл бұрын
Thanks very clear...I would like to see the Pico use “bolt on” BT with Android App Inventor.
@StephenZura3 жыл бұрын
Nice video with good use of a Breadboard!
@Kenfin76 ай бұрын
my speaker was just playing intervals of high pitched notes, and not hotcrossed buns or mario
@河崎達夫2 жыл бұрын
T.Kawasaki I sent a message as shown below. But it was solved. The reason was my input error, sorry.
@Joe_Galaska3 жыл бұрын
Thank you, I enjoyed your video. I would enjoy more Pico content.
@peterbernev98502 жыл бұрын
I didn't even try to pwm the buzzer :D I will build a small musical instrument
@dadofoogs2 жыл бұрын
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!
@KrisRyanStallard3 жыл бұрын
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.
@michaelstoeckel29542 жыл бұрын
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.
@W4TRI3 жыл бұрын
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.
@PrintNPlay3 жыл бұрын
Adding dual inputs should be no trouble. From a code perspective, it would be easier, actually!
@W4TRI3 жыл бұрын
@@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.
@W4TRI3 жыл бұрын
@@PrintNPlay I can also see a game here. It can measure your sending accuracy. Kinda like Guitar hero for CW!
@河崎達夫2 жыл бұрын
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?
@J-D_3 жыл бұрын
Love me some Pico!
@scottduede81343 жыл бұрын
This is very useful for better learning breadboard wiring.
@kingslave503 Жыл бұрын
Como se puede editar un archivo uf2
@Zoltar3583 жыл бұрын
Thanks for the video. I've already implemented your music example to play "Twinkle, twinkle little star"... and it works just fine :)
@PrintNPlay3 жыл бұрын
Glad to "hear" it!
@ste765393 жыл бұрын
It's pronounced 'Tho - nee' not "thone -ee". The clue is in the spelling. Double 'n'.
@PrintNPlay3 жыл бұрын
Thanks for the correction! I will do my best to pronounce it correctly in the future.
@uksuperrascal3 жыл бұрын
Would be a great video if I could read the code and hear the speaker sound.
@PrintNPlay3 жыл бұрын
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
@ericderuijter18233 жыл бұрын
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..
@PrintNPlay3 жыл бұрын
Let me see what I can do. May not all be in one video, but I will try to cover sensors as I go!
@MrEdwardhartmann3 жыл бұрын
Nice video - you should play around with the PIO programming - It's so much different from the the normal python programing.
@PrintNPlay3 жыл бұрын
I'll check it out!
@TBL_stevennelson3 жыл бұрын
Thanks for such a great set of projects to test and learn from You should write for a magazine.
@PrintNPlay3 жыл бұрын
I'm glad you enjoyed them! You are too kind
@packratswhatif.39902 жыл бұрын
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.
@john-r-edge2 жыл бұрын
Great presentation. Could you show the code larger in the video. Even at 200% the code would still fit on screen. Thanks.
@djwmunro3 жыл бұрын
Great video thanks.
@abrahammorales93208 ай бұрын
Where can I find the materials like the jumpers, speakers, and buttons in large amounts?
@PrintNPlay8 ай бұрын
I've ordered most of my bulk stuff from AliExpress
@abrahammorales93208 ай бұрын
@@PrintNPlay Thanks
@summerWTFE3 жыл бұрын
Nice video! Why the resistor to ground?
@PrintNPlay3 жыл бұрын
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!
@summerWTFE3 жыл бұрын
@@PrintNPlay ah yes! That makes sense... thanks for the explanation.
@yakup59983 жыл бұрын
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
@damainx3 жыл бұрын
Could the same code work for ESP8266 / 32?
@PrintNPlay3 жыл бұрын
Since both support MicroPython, much of it should be reusable / modifiable to work.
@estebanvillalobos23033 жыл бұрын
very cool content
@kayleenamanda3 жыл бұрын
Really enjoying these!
@TheUnofficialMaker3 жыл бұрын
I converted temp to F by adding a line after temp: temp = temp * 1.8 + 32
@mossfoobar83223 жыл бұрын
Very nice you got a new sub
@certified-forklifter3 жыл бұрын
nice!
@SourRaccoon3 жыл бұрын
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?
@PrintNPlay3 жыл бұрын
The code needs to be compiled on your computer and transferred to the Pi. I will have a tutorial out soon!
@SourRaccoon3 жыл бұрын
@@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.
@jyvben15203 жыл бұрын
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
@SourRaccoon3 жыл бұрын
@@jyvben1520 I tried that already......
@jyvben15203 жыл бұрын
@@SourRaccoon did you prep the pico to work with micropython, or are you using the circuitpython version ? that uses code.py
@jimmynoname40892 жыл бұрын
Push that into the pi?
@adrianbromley61563 жыл бұрын
Very helpful thanks
@braindamage_eclipse3 жыл бұрын
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.
@PrintNPlay3 жыл бұрын
Very odd. I haven't seen anyone damaging it by soldering. Does the pin will work for general IO?
@Jesse-wm6sz3 жыл бұрын
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?
@PrintNPlay3 жыл бұрын
Absolutely! By saving your code to the pico as main.py, it is automatically run on startup, eliminating the need for a computer
@raysrcsandtech3 жыл бұрын
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
@PrintNPlay3 жыл бұрын
It, unfortunately, won't run without some modification. The general concepts are the same, but the gpio references will be different.
@raysrcsandtech3 жыл бұрын
@@PrintNPlay Thanks for a fast reply, I shall have a go at translating it for regular Pi
@skyquake._3 жыл бұрын
I am a beginner , can I get the circuit diagram please , it gonna help me a lot
@PrintNPlay3 жыл бұрын
Sure thing. Will add it to the description in the next day or two and will reply here with it as well
@skyquake._3 жыл бұрын
@@PrintNPlay thank you very much sir , I will be waiting
@PrintNPlay3 жыл бұрын
Sorry about the delay. Will have it ready tomorrow.
@skyquake._3 жыл бұрын
@@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!
@oscarmendez5903 жыл бұрын
Nice presentation. Right to the point
@PrintNPlay3 жыл бұрын
Glad you enjoyed it! The next one will be out soon!
@prernagokhale87193 жыл бұрын
Hey I liked ur project. I hv implemented it and its working . can u explain why only one LED is blinking ?
@PrintNPlay3 жыл бұрын
Glad you liked it! Which project only has one light blinking for you?
@prernagokhale87193 жыл бұрын
@@PrintNPlay Morse code has o ly one LED blinking
@mikaeladoyle8372 Жыл бұрын
Very well put together video.
@nathanaelsmith35533 жыл бұрын
I want to use C with mine
@PrintNPlay3 жыл бұрын
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!
@jeremycbarnhart23053 жыл бұрын
Your channel rocks
@PrintNPlay3 жыл бұрын
Thank you!
@scottmccagg96543 жыл бұрын
Excellent tutorial
@PrintNPlay3 жыл бұрын
Glad you enjoyed it!
@yakup59983 жыл бұрын
keep going ruspberry pi pico
@peter7329 Жыл бұрын
You are pronouncing thonny wrong please do better
@PrintNPlay Жыл бұрын
I no longer pronounce it wrong, please be nicer!
@peter7329 Жыл бұрын
Sorry I was only being silly
@peter7329 Жыл бұрын
Great projects
@PrintNPlay Жыл бұрын
Haha all good! No big deal, thanks for watching
@taranagnew4363 жыл бұрын
can yow code any raspberry pi with Microsoft makecode?
@PrintNPlay3 жыл бұрын
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 :)
@taranagnew4363 жыл бұрын
@@PrintNPlay can you reply if you can or not?
@ronboprime3 жыл бұрын
you do not look like you sound amigo lol. great vid tho! thanks!
@MagicPlants3 жыл бұрын
It's "THAHHNEE" like Py-THON not THONE-EE like BONEY lol
@PrintNPlay3 жыл бұрын
Message received! Let me know if I got it right in my latest one... Pronunciations are apparently a weakness of mine.
@MagicPlants3 жыл бұрын
@@PrintNPlay Blessing in disguise, all the extra comments drive up your interaction rate. :D GO KZbin ALGORITHM! lol I have subbed and I appreciate the beginner project to get used to the Pico!
@PrintNPlay3 жыл бұрын
@@MagicPlants It's been treating me alright the past week or two... Gotta make sure not to make it mad :D
@PrintNPlay3 жыл бұрын
Not sure if you are kidding or not, but here is the creator of Python talking about it and calling it pie-thon. kzbin.info/www/bejne/gGGkomdqhd-YY9k
@AndersJackson3 жыл бұрын
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? :-)
@PrintNPlay3 жыл бұрын
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!
@AndersJackson3 жыл бұрын
@@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.
@thirty-twobits2 жыл бұрын
Dude! Why was it so cold in your house? Great vid!