Could you make a short video on I2C? I am trying to get some of the usual Arduino Kit Sensors to run (not only I2C also single Wire bus or normal analog input) but I had no luck so far. So the idea is to just switch out the Arduino for the RPI pico with tinygo running I don't know if that is possible 😅
When you get two PICOs talking via SPI could you talk about how that compares to two PICOs talking via serial (UART)? Serial seems easier/simpler so I am trying to decide which way to go, thanks
Tony, I will definitely talk about it. Just remember, SPI is going to be significantly faster because it's a synchronous protocol. So, if you have a need for speed (apologies to top gun there ;) ) you might want to go the SPI route.
@@pragmatiktech Your point about speed, understood. In my case I want pass simple commands between two controllers. For example, something like "get encoder position" which would return just two bytes. Given the small size of the commands and responses I am thinking speed will not be an issue but I could be wrong. with SPI say I have a master with several slave (sorry terms) each slave has a channel select pin. Do I need to set a mutex in go to ensure I never set multiple channel select pins on at the same time? I am using go routines to pole slave controllers but I am concerned that I will try to communicate to multiple devices at the same time. Maybe now it is not an issue because go can only use one core, but eventually i hope to use multiple cores. --- Great channel thanks in advance
Lohi, I just checked and the link is working - I even VPN'ed via a couple of countries to double check. I've been having some issues with my site since it's a Notion site fronted with Cloudflare. Maybe something went wrong there. Would you please give it a shot now, and let me know if it works?
Really enjoying your videos! Very well made. So looking forward to the next ones. Thank you so much for your work.
Thank you very much!
Perfect! I was thinking of doing this and boom! You did it for me, thanks. Great stuff
So glad you have a TinyGo series will you be continuing this to add how to do file persistence writing to the flash and reading from the flash?
Could you make a short video on I2C? I am trying to get some of the usual Arduino Kit Sensors to run (not only I2C also single Wire bus or normal analog input) but I had no luck so far. So the idea is to just switch out the Arduino for the RPI pico with tinygo running I don't know if that is possible 😅
I2C is definitely on the cards. I may not get to it in the next couple of episodes, but I will try.
When you get two PICOs talking via SPI could you talk about how that compares to two PICOs talking via serial (UART)? Serial seems easier/simpler so I am trying to decide which way to go, thanks
Tony, I will definitely talk about it. Just remember, SPI is going to be significantly faster because it's a synchronous protocol. So, if you have a need for speed (apologies to top gun there ;) ) you might want to go the SPI route.
@@pragmatiktech Your point about speed, understood. In my case I want pass simple commands between two controllers. For example, something like "get encoder position" which would return just two bytes. Given the small size of the commands and responses I am thinking speed will not be an issue but I could be wrong.
with SPI say I have a master with several slave (sorry terms) each slave has a channel select pin. Do I need to set a mutex in go to ensure I never set multiple channel select pins on at the same time? I am using go routines to pole slave controllers but I am concerned that I will try to communicate to multiple devices at the same time. Maybe now it is not an issue because go can only use one core, but eventually i hope to use multiple cores. --- Great channel thanks in advance
Hey, I can't seem to get to your website??
Lohi, I just checked and the link is working - I even VPN'ed via a couple of countries to double check. I've been having some issues with my site since it's a Notion site fronted with Cloudflare. Maybe something went wrong there. Would you please give it a shot now, and let me know if it works?