Welcome to telemtrix-rpi-pico-w Discussions! #1
Replies: 2 comments 12 replies
-
The original Telmetrix Raspberry Pi Pico library was created using the Raspberry Pi Pico C++ SDK. The SDK was used because there was no Arduino Core library for the Pico at that time. Now that an Arduino Core library is available, the Telemetrix library for the Pico W will be based on the Arduino Core. The motivating reason for moving from the Raspberry Pi Pico C++ SDK to the Arduino Core is that setting up a development environment can be challenging for the average user. To support WiFi, the user's network SSID and Password must be compiled into Pico code. The simplest environment to do this in is the Arduino IDE environment. There is somewhat of a challenge here: Telemetrix for the Pico (non-wifi) uses PICO GPIO pin numbering. The Arduino Core library uses Arduino pin designations. This library will provide the option to use either pin numbering designations, defaulting to the original Pico GPIO pin numbering scheme. The rationale is that if you already have Telemetrix applications written for the Pico and wish to reuse them for the Pico W, you will not have to change to a new pin numbering system. If you are more comfortable with the Arduino pin numbering scheme, you may choose to use that instead. The Python side of the library will take care of any necessary pin mapping required. Initially the code will be developed using a non-WiFi version of the Pico. Once all the features are functional, a Pico W will be acquired, and the WiFi port will be available. Currently, the Pico W is extremely hard to come by (at least where I live), so I am beginning with a non-WiFi Pico. The first order of business is to get the new code to blink the Board LED. I will report back here when each milestone is accomplished. |
Beta Was this translation helpful? Give feedback.
-
22-8-22 Going through the PWM feature, I am adding two new commands. One optionally sets the PWM frequency, and the other optionally sets the range. The default frequency is 1Mhz, and the default range is 20000. The defaults make it compatible with the non-WiFi Pico library. |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
This discussion section will act as a blog of sorts. I will provide status updates when there is work in progress and explain and rationale for design and coding decisions.
It will address both the Python side of the Telemetrix implementation and the Pico W side.
Please feel free to post questions or new ideas. They are always welcome.
Beta Was this translation helpful? Give feedback.
All reactions