<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Creating a Mobile App with Flutter: Interfacing Microcontrollers with AnyOperate!</title><link>/technologies/embedded/b/blog/posts/creating-a-mobile-app-with-flutter-interfacing-microcontrollers-with-anyoperate</link><description>Table of Contents

 Introduction 
 Recap 
 New App: Introducing AnyOperate! 
 Screens and their Classes 
 Protocol Overview 
 Block Diagram 
 Main Function 
 Let’s Study a Screen 

 Future&amp;lt;&amp;gt; Objects and Asynchronous Functions 
 Exception Handling: Try</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Creating a Mobile App with Flutter: Interfacing Microcontrollers with AnyOperate!</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/creating-a-mobile-app-with-flutter-interfacing-microcontrollers-with-anyoperate</link><pubDate>Wed, 26 Aug 2026 00:34:18 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8786a950-f20a-42a5-926b-d25a98c35045</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Made some improvements in &lt;a href="https://github.com/shabaz123/AnyOperate/releases" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;v0.3.0 of AnyOperate&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Now it works properly with CH340 series USB UART ICs. Previously, there was a bug in a serial port library and would pick the incorrect baud rate (19200 instead of 115200). That is corrected now. Also, now *DTR is deasserted if using CH340 (this is useful if the *DTR line is used for other purposes). Finally, the config screen had a minor cosmetic bug fixed.&lt;/p&gt;
&lt;p&gt;The screenshot below shows lots of config params for an MSPM0 target. I&amp;#39;m finding the app quite useful, I&amp;#39;m considering buying a small cheap Android phone to use exclusively for running it.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="494" src="/resized-image/__size/476x988/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8786a950-f20a-42a5-926b-d25a98c35045/Screenshot_5F00_20260826_5F00_012443.jpg" width="238" /&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=30062&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Creating a Mobile App with Flutter: Interfacing Microcontrollers with AnyOperate!</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/creating-a-mobile-app-with-flutter-interfacing-microcontrollers-with-anyoperate</link><pubDate>Wed, 19 Aug 2026 13:40:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8786a950-f20a-42a5-926b-d25a98c35045</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;ve published &lt;a href="https://github.com/shabaz123/AnyOperate/releases" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;AnyOperate release v0.2.0&lt;/a&gt;, which allows for WiFi setup from AnyOperate.&lt;/p&gt;
&lt;p&gt;Also, there is a &lt;a href="https://github.com/shabaz123/anyoperate_target" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;fuller Pi Pico W demo&lt;/a&gt;, which should be&amp;nbsp;usable&amp;nbsp;for custom projects. This also contains the ability to store parameters (or any variables) to Flash, using a 16-bit identifier. For example:&lt;/p&gt;
&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:df125581-ccbc-4e63-ab80-cc759d3f424c:type=c_cpp&amp;text=%20%20%20%20PersistentStatus%20result%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20uint16_t%20dutyCycleStorageIdentifier%20%3D%200x1001%3B%0D%0A%20%20%20%20int16_t%20dutyCycle%20%3D%2050%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20PersistentStore%3A%3AwriteInt16%28%0D%0A%20%20%20%20%20%20%20%20dutyCycleStorageIdentifier%2C%0D%0A%20%20%20%20%20%20%20%20dutyCycle%0D%0A%20%20%20%20%29%3B%0D%0A%20%20%20%20]&lt;/p&gt;
&lt;p&gt;And then it can be retrieved using that identifier.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not going to make any more changes to these apps for a while, since I think they are at a reasonably&amp;nbsp;usable state. Next step is to work on&amp;nbsp;an actual end project, which can hopefully use the Pico W demo code, and the AnyOperate app.&lt;/p&gt;
&lt;p&gt;The screenshot below shows the demo app CLI, which is accessible on a PC via USB Serial console or Telnet (using WiFi), but having to interact with the CLI is not necessary of course, since AnyOperate can be used via USB or BLE. The CLI does have some functionality not currently accessible via AnyOperate (such as reboot and factory settings).&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="323" src="/resized-image/__size/1064x646/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8786a950-f20a-42a5-926b-d25a98c35045/example_2D00_cli.png" width="532" /&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=30062&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Creating a Mobile App with Flutter: Interfacing Microcontrollers with AnyOperate!</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/creating-a-mobile-app-with-flutter-interfacing-microcontrollers-with-anyoperate</link><pubDate>Tue, 18 Aug 2026 19:25:56 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8786a950-f20a-42a5-926b-d25a98c35045</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;m not too happy that I&amp;#39;m using insecure Telnet, but I&amp;#39;ll run with it for now, and maybe remove that transport later. Anyway, as mentioned it is&amp;nbsp;very convenient&amp;nbsp;for debugging right now.&lt;/p&gt;
&lt;p&gt;I was more interested in how to set up the WiFi configuration. Now it&amp;#39;s easy, from AnyOperate (I still need to tidy this up before I commit these new changes to GitHub - I also need to think about an AP mode, in case there is no WiFi access point for the Pico to connect to).&lt;/p&gt;
&lt;p&gt;For now, when using USB or BLE, a WiFi Settings box appears; this was added to the DeviceMenuScreen which was a class discussed in the blog, which previously only gave Config and Status options.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="248" src="/resized-image/__size/560x496/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8786a950-f20a-42a5-926b-d25a98c35045/wifi_2D00_settings_2D00_option.jpg" width="280" /&gt;&lt;/p&gt;
&lt;p&gt;If WiFi settings is clicked, a new WifiSettingsConfigScreen is inserted in the stack of screens:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="340" src="/resized-image/__size/562x680/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8786a950-f20a-42a5-926b-d25a98c35045/configuring_2D00_wlan_2D00_credentials.jpg" width="281" /&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=30062&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Creating a Mobile App with Flutter: Interfacing Microcontrollers with AnyOperate!</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/creating-a-mobile-app-with-flutter-interfacing-microcontrollers-with-anyoperate</link><pubDate>Tue, 18 Aug 2026 06:29:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8786a950-f20a-42a5-926b-d25a98c35045</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;A benefit of using the simple ASCII based protocol; it is very easy to debug.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been busy adding WiFi capability (still a work-in progress). Since I don&amp;#39;t have the Flutter app ready for that yet, I can just use Telnet from a PC to the Pico W, and type the protocol request commands manually. The USB transport can be tested in a similar way of course. All three transports (USB, BLE, WiFi) carry the same ASCII based protocol. Once I&amp;#39;m reasonably confident that the microcontroller end is functioning, I can switch to coding and testing with the Flutter app.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="321" src="/resized-image/__size/1000x642/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8786a950-f20a-42a5-926b-d25a98c35045/telnet_2D00_example.png" width="500" /&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=30062&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>