A very nice and clean introduction and a great overview of SPI in conjunction with the Pi Pico. I think it's great that you make the effort to show not only the code but also diagrams and tables. Absolutely great! Thank you very much.
Do you have recommendations for which breadboards are good ones, and where to buy them? I've bought quite a few that are semi junk, and can only grip thick wires, or that it's hard to push components into because the contacts don't line up with the holes well. The power rails are usually the worst part, especially for not gripping thinner jumper wires / bell wire.
Yes I will! I plan to start a series on STM32 beginning with some basic PCB design videos then going into programming tutorials. I will also have RTOS videos to cover pretty much all the devices I use (Pico, STM32, ESP32 etc) from now on.
Thank you for the movie. It would be great if you made a movie explaining how to use a SPI display with a Pico using MicroPython. Especially the XC3728 OLED that is used by Arduino. I found another movie however they do not provide any code, just a demonstration. Thank you
I need help with a project I am developing for my college degree... I am trying to connect 2 sensors (they need 5V and 170mA each) to my Raspberry Pi via SPI. They are both energised, and connected to the same miso, mosi and clock, as they should be. The problem comes with connecting the SS. I need two more wires for each radar: 1 for the SlaveSelect and another one for PinTurnOn. Is it mandatory that I use GPIO 24 and GPIO26 as SlaveSelect? Or I can use any I want? The thing is I am using any GPIO (free of course) I want at this moment and the radars work ONLY when the other radar is DISconnected. If I connect both, the screen just doesnt show anything, but as soon as I unplug one of them, the other one starts working... Any idea? I can give more dets if you were willing to help, thank you very much
Pls help me I Using python in my laptop. And I want to send data from python to AVR. Could you tell me What type connecting wire is appropriate ? Thanks you
I want to learn how to program my BLE module. I just purchased a BL651 from Laird connectivity. Sorry I'm a beginner self learning. I would love to have some guidance on how to interface the BL651 and send and receive the data using SPI protocol.
J Meng, the BL651 is way too advance. first you'll need to read the datasheet, make sense of it and write your own peripheral driver like the .h and the .c file which are the most complicated parts and then you can start with your main.c file to interface with it. try starting with something simple. there are many arduino and python bluetooth projects on online
People, PLEASE learn C/C++ for microcontroller programming. Python is incredibly slow compared to compiled code. Python is really only useful to learn the basics of programming. To actually make the most of the hardware, switch to a proper compiled language. It's like taking the training wheels off!
@@Stabby666 Yes, but does it really matter? Speed? Only, if you really need it. These interpreter languages like Python have their justification, especially since speed is compensated more and more with fast processors and libraries that implement the critical parts. These are a big step forward with abstraction layers of all languages like step from real binary coding to mnemonics and later compilers and linkers. We're no longer living in times of basic.
@@Stabby666 It's true it's also just a bit like going into a living nightmare of move semantics and a bowl of brace/bracket/paren pasta 🤣 c++ and python have their place! Often projects don't need a super tight loop, instead reacting to inputs on a human timescale. Why should you pay the heavy performance tax that writing performant C++ code incurs if you don't have a use for it and you don't have a boss breathing down your neck about the cost of 100s of thousands of units. Oh and one more thing: remember C coders are rolling their eyes at C++ programmers for using such "bloated" executables from an "overengineered" language, and behind those guys the assembler coders are sniffing at this C nonsense coming between them and the instruction set.
@@bakedbeings if your boss is breathing down your neck leading you to using a language that’s literally hundreds to thousands of times slower then a compiled language, get another job - he’s going out of business. If you can implement a project using a cheap 1 MHz part in C instead of getting the same performance using a 200mhz part with 100 times the flash, because you’re dicking around with python, then you’re losing money on every unit shipped due to laziness. It’s like they say, when all you have is a hammer, everything looks like a nail. I use ASM, C, C++, JavaScript, and used to spend most of my time writing Java, Perl, PHP and yes even Python. I’m not a language snob, but a professional should have more than one language in their toolkit and know which is appropriate. And to the previous guy, Python IS the modern version of BASIC. Indeed that’s the reason it was chosen as the default on the Raspberry pi, according to the founder.
The part about the MSB of the register is a bit confusing. Is there a max of 127 registers? Would seem so since your are forcing the MSB to a 1 or 0. Seems like the upper nibble of the register address would be an 0x8 and not a 0xF.
To force the MSB to a 1 and leaving the remainder unaltered, you would OR the byte value with 0x80. To force to a zero, you would AND the byte value with 0x7F.
Hello bro I like your videos for raspberry pico Actually I try to make a library in .cpp and I cant do this .. You can explain how to make a library for this platform? Thanks for read my cm
I also asking myself. I need to connect an encoder to it. I know it should work with stm32´s via a resistor between mosi and miso, but no clues if the rp2040 is capable. Did you find the answer?
I’m really trying to understand this new world of microcontrollers “New to Me” GOD gives me everything I need when God intends. Your explanations are right on cue. Good Job 👍