3 Easy

  Рет қаралды 138,970

Print 'N Play

Print 'N Play

Күн бұрын

Пікірлер: 145
@RetroverseMedia
@RetroverseMedia 11 ай бұрын
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!
@skf957
@skf957 3 жыл бұрын
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!
@conordunne547
@conordunne547 2 жыл бұрын
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.
@PrintNPlay
@PrintNPlay 2 жыл бұрын
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
@brentenyam9193
@brentenyam9193 3 жыл бұрын
You are a fucking genius dude You just started slapping wires on that like it was nothing.. crazy
@PrintNPlay
@PrintNPlay 3 жыл бұрын
If anyone asks, I did it in one take and it worked first try! ;)
@HanWechgelaer
@HanWechgelaer 3 жыл бұрын
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.
@brianjongraham2396
@brianjongraham2396 3 жыл бұрын
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 ?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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_Son
@Revolution_Son 2 жыл бұрын
Does anyone have the C version of the Morse code script?
@charliesrccrawler9325
@charliesrccrawler9325 3 жыл бұрын
👌🏻👌🏻👌🏻👌🏻👍🏻👍🏻
@jyvben1520
@jyvben1520 3 жыл бұрын
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
@vizionthing
@vizionthing 3 жыл бұрын
Is it just me or is the sound for the pico non existent ?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Hey there! Is it difficult to hear or flat out missing?
@vizionthing
@vizionthing 3 жыл бұрын
@@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.
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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.
@vizionthing
@vizionthing 3 жыл бұрын
@@PrintNPlay Still, awesome content and well presented - thank you.
@Alperic27
@Alperic27 3 жыл бұрын
Would not cost much more time to teach people to wire things with some semblance of structure/organization...
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Thanks for the note! I'll try to keep my wiring cleaner in the future.
@ZebraandDonkey
@ZebraandDonkey 3 жыл бұрын
Very nice. I didn't realize it has a temp sensor. I think I have a project for my pico now. thanks.
@adityashukla7849
@adityashukla7849 3 жыл бұрын
Thank you. This was the type of video people would like to see when deciding whether or not to buy pico.
@erik2030
@erik2030 3 жыл бұрын
That is exactly the reason why I'm here lmao XDD
@FilamentFriday
@FilamentFriday 3 жыл бұрын
Nice summary. You should zoom in when covering the code. Impossible to read it on my iPhone screen.
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Thanks for the suggestion CHEP! Will try to do so in the future!
@burgerking220
@burgerking220 3 жыл бұрын
lmfao. Did you really expect to read code on a phone screen??
@AndersJackson
@AndersJackson 3 жыл бұрын
@@burgerking220 yes, if the code is short enough. And there are other forms of small screens, like pads, not only phones.
@coolfred9083
@coolfred9083 3 жыл бұрын
@@burgerking220 I mean.. yeah? It's not unrealistic.
@CptDangerous
@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.
@darsparx
@darsparx 2 жыл бұрын
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
@tubegor
@tubegor 3 жыл бұрын
Great projects and ingeniously explained. Thanks.
@W4TRI
@W4TRI 3 жыл бұрын
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.
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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.
@flethacker
@flethacker 2 жыл бұрын
@@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'
@roddy7256
@roddy7256 2 жыл бұрын
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
@PrintNPlay
@PrintNPlay 2 жыл бұрын
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
@roddy7256
@roddy7256 2 жыл бұрын
@@PrintNPlay sweet man will do thank you!
@robertlongoria765
@robertlongoria765 3 жыл бұрын
Thanks very clear...I would like to see the Pico use “bolt on” BT with Android App Inventor.
@StephenZura
@StephenZura 3 жыл бұрын
Nice video with good use of a Breadboard!
@Kenfin7
@Kenfin7 6 ай бұрын
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_Galaska
@Joe_Galaska 3 жыл бұрын
Thank you, I enjoyed your video. I would enjoy more Pico content.
@peterbernev9850
@peterbernev9850 2 жыл бұрын
I didn't even try to pwm the buzzer :D I will build a small musical instrument
@dadofoogs
@dadofoogs 2 жыл бұрын
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!
@KrisRyanStallard
@KrisRyanStallard 3 жыл бұрын
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.
@michaelstoeckel2954
@michaelstoeckel2954 2 жыл бұрын
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.
@W4TRI
@W4TRI 3 жыл бұрын
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.
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Adding dual inputs should be no trouble. From a code perspective, it would be easier, actually!
@W4TRI
@W4TRI 3 жыл бұрын
@@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.
@W4TRI
@W4TRI 3 жыл бұрын
@@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_
@J-D_ 3 жыл бұрын
Love me some Pico!
@scottduede8134
@scottduede8134 3 жыл бұрын
This is very useful for better learning breadboard wiring.
@kingslave503
@kingslave503 Жыл бұрын
Como se puede editar un archivo uf2
@Zoltar358
@Zoltar358 3 жыл бұрын
Thanks for the video. I've already implemented your music example to play "Twinkle, twinkle little star"... and it works just fine :)
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Glad to "hear" it!
@ste76539
@ste76539 3 жыл бұрын
It's pronounced 'Tho - nee' not "thone -ee". The clue is in the spelling. Double 'n'.
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Thanks for the correction! I will do my best to pronounce it correctly in the future.
@uksuperrascal
@uksuperrascal 3 жыл бұрын
Would be a great video if I could read the code and hear the speaker sound.
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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
@ericderuijter1823
@ericderuijter1823 3 жыл бұрын
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..
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Let me see what I can do. May not all be in one video, but I will try to cover sensors as I go!
@MrEdwardhartmann
@MrEdwardhartmann 3 жыл бұрын
Nice video - you should play around with the PIO programming - It's so much different from the the normal python programing.
@PrintNPlay
@PrintNPlay 3 жыл бұрын
I'll check it out!
@TBL_stevennelson
@TBL_stevennelson 3 жыл бұрын
Thanks for such a great set of projects to test and learn from You should write for a magazine.
@PrintNPlay
@PrintNPlay 3 жыл бұрын
I'm glad you enjoyed them! You are too kind
@packratswhatif.3990
@packratswhatif.3990 2 жыл бұрын
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-edge
@john-r-edge 2 жыл бұрын
Great presentation. Could you show the code larger in the video. Even at 200% the code would still fit on screen. Thanks.
@djwmunro
@djwmunro 3 жыл бұрын
Great video thanks.
@abrahammorales9320
@abrahammorales9320 8 ай бұрын
Where can I find the materials like the jumpers, speakers, and buttons in large amounts?
@PrintNPlay
@PrintNPlay 8 ай бұрын
I've ordered most of my bulk stuff from AliExpress
@abrahammorales9320
@abrahammorales9320 8 ай бұрын
@@PrintNPlay Thanks
@summerWTFE
@summerWTFE 3 жыл бұрын
Nice video! Why the resistor to ground?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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!
@summerWTFE
@summerWTFE 3 жыл бұрын
@@PrintNPlay ah yes! That makes sense... thanks for the explanation.
@yakup5998
@yakup5998 3 жыл бұрын
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
@damainx
@damainx 3 жыл бұрын
Could the same code work for ESP8266 / 32?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Since both support MicroPython, much of it should be reusable / modifiable to work.
@estebanvillalobos2303
@estebanvillalobos2303 3 жыл бұрын
very cool content
@kayleenamanda
@kayleenamanda 3 жыл бұрын
Really enjoying these!
@TheUnofficialMaker
@TheUnofficialMaker 3 жыл бұрын
I converted temp to F by adding a line after temp: temp = temp * 1.8 + 32
@mossfoobar8322
@mossfoobar8322 3 жыл бұрын
Very nice you got a new sub
@certified-forklifter
@certified-forklifter 3 жыл бұрын
nice!
@SourRaccoon
@SourRaccoon 3 жыл бұрын
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?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
The code needs to be compiled on your computer and transferred to the Pi. I will have a tutorial out soon!
@SourRaccoon
@SourRaccoon 3 жыл бұрын
@@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.
@jyvben1520
@jyvben1520 3 жыл бұрын
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
@SourRaccoon
@SourRaccoon 3 жыл бұрын
@@jyvben1520 I tried that already......
@jyvben1520
@jyvben1520 3 жыл бұрын
@@SourRaccoon did you prep the pico to work with micropython, or are you using the circuitpython version ? that uses code.py
@jimmynoname4089
@jimmynoname4089 2 жыл бұрын
Push that into the pi?
@adrianbromley6156
@adrianbromley6156 3 жыл бұрын
Very helpful thanks
@braindamage_eclipse
@braindamage_eclipse 3 жыл бұрын
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.
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Very odd. I haven't seen anyone damaging it by soldering. Does the pin will work for general IO?
@Jesse-wm6sz
@Jesse-wm6sz 3 жыл бұрын
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?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Absolutely! By saving your code to the pico as main.py, it is automatically run on startup, eliminating the need for a computer
@raysrcsandtech
@raysrcsandtech 3 жыл бұрын
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
@PrintNPlay
@PrintNPlay 3 жыл бұрын
It, unfortunately, won't run without some modification. The general concepts are the same, but the gpio references will be different.
@raysrcsandtech
@raysrcsandtech 3 жыл бұрын
@@PrintNPlay Thanks for a fast reply, I shall have a go at translating it for regular Pi
@skyquake._
@skyquake._ 3 жыл бұрын
I am a beginner , can I get the circuit diagram please , it gonna help me a lot
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Sure thing. Will add it to the description in the next day or two and will reply here with it as well
@skyquake._
@skyquake._ 3 жыл бұрын
@@PrintNPlay thank you very much sir , I will be waiting
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Sorry about the delay. Will have it ready tomorrow.
@skyquake._
@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!
@oscarmendez590
@oscarmendez590 3 жыл бұрын
Nice presentation. Right to the point
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Glad you enjoyed it! The next one will be out soon!
@prernagokhale8719
@prernagokhale8719 3 жыл бұрын
Hey I liked ur project. I hv implemented it and its working . can u explain why only one LED is blinking ?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Glad you liked it! Which project only has one light blinking for you?
@prernagokhale8719
@prernagokhale8719 3 жыл бұрын
@@PrintNPlay Morse code has o ly one LED blinking
@mikaeladoyle8372
@mikaeladoyle8372 Жыл бұрын
Very well put together video.
@nathanaelsmith3553
@nathanaelsmith3553 3 жыл бұрын
I want to use C with mine
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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!
@jeremycbarnhart2305
@jeremycbarnhart2305 3 жыл бұрын
Your channel rocks
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Thank you!
@scottmccagg9654
@scottmccagg9654 3 жыл бұрын
Excellent tutorial
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Glad you enjoyed it!
@yakup5998
@yakup5998 3 жыл бұрын
keep going ruspberry pi pico
@peter7329
@peter7329 Жыл бұрын
You are pronouncing thonny wrong please do better
@PrintNPlay
@PrintNPlay Жыл бұрын
I no longer pronounce it wrong, please be nicer!
@peter7329
@peter7329 Жыл бұрын
Sorry I was only being silly
@peter7329
@peter7329 Жыл бұрын
Great projects
@PrintNPlay
@PrintNPlay Жыл бұрын
Haha all good! No big deal, thanks for watching
@taranagnew436
@taranagnew436 3 жыл бұрын
can yow code any raspberry pi with Microsoft makecode?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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 :)
@taranagnew436
@taranagnew436 3 жыл бұрын
@@PrintNPlay can you reply if you can or not?
@ronboprime
@ronboprime 3 жыл бұрын
you do not look like you sound amigo lol. great vid tho! thanks!
@MagicPlants
@MagicPlants 3 жыл бұрын
It's "THAHHNEE" like Py-THON not THONE-EE like BONEY lol
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Message received! Let me know if I got it right in my latest one... Pronunciations are apparently a weakness of mine.
@MagicPlants
@MagicPlants 3 жыл бұрын
@@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!
@PrintNPlay
@PrintNPlay 3 жыл бұрын
@@MagicPlants It's been treating me alright the past week or two... Gotta make sure not to make it mad :D
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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
@AndersJackson
@AndersJackson 3 жыл бұрын
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? :-)
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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!
@AndersJackson
@AndersJackson 3 жыл бұрын
@@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-twobits
@thirty-twobits 2 жыл бұрын
Dude! Why was it so cold in your house? Great vid!
@PrintNPlay
@PrintNPlay 2 жыл бұрын
I'm just a pretty chill guy
Connecting a Ultrasonic Sensor to the @raspberrypi Pico
2:53
Print 'N Play
Рет қаралды 15 М.
Raspberry Pi Pico W: Wireless Weather Station
17:13
ExplainingComputers
Рет қаралды 290 М.
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 20 МЛН
АЗАРТНИК 4 |СЕЗОН 3 Серия
30:50
Inter Production
Рет қаралды 1 МЛН
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 2 МЛН
Raspberry Pi Pico
16:16
ExplainingComputers
Рет қаралды 311 М.
Turning a Raspberry Pi Pico into a GPU!
16:42
element14 presents
Рет қаралды 123 М.
Raspberry Pi Pico 2 | Everything You Need To Know
7:04
Core Electronics
Рет қаралды 53 М.
Hacking my garage door with the Raspberry Pi Pico W
11:50
Jeff Geerling
Рет қаралды 340 М.
13 Stunning Raspberry Pi Projects for 2024!!!
10:23
ToP Projects Compilation
Рет қаралды 264 М.
Raspberry Pi Pico: Inputs & Servo Control
17:20
ExplainingComputers
Рет қаралды 132 М.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 610 М.
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 20 МЛН