Building A dense Python Playground Like severalpeople, [Ramin Assadollahi] includes abound fondness for the computers of time. Finding his itch for nearly instant boot times and blank metal programming weren’t being adequately scraped by any of his trendy devices, he setto create the PortablePy: a pocket-sized device which will drop him directly into a Python prompt where and whenever the urge hits him.
The device is power-driven by the Adafruit PyPortal Titano, which mixes a ATSAMD51J20, ESP32, associate array of sensors, and a 3.5″ diagonal 320 x 480 color TFT into one turn-key unit. The PyPortal is intended to run CircuitPython, however the scripts square measuresometimesborn on the device over USB. That’s fine for many applications, however [Ramin] needed his transportable to be usable while notthe requirement for a numberlaptop.
For a really mobile expertise, he had to work out some way to play some Python code on the device itself. the solutionconcluded up being the M5Stack CardKB, a small QWERTY board that communicates over I2C. Once he verified the conception was sound, he wrote a straightforward file management application and token Python editor that would run right the PyPortal.
The final step was packaging the totalissue up into one thing he mighttrulypop out the bench. He designed a 3D written clamshell case galvanized by the classic Game Boy Advance SP, ensuringto depart enough spacewithin the bottom [*fr1] to pack in a very charging board and LiPo pouch battery. He did need totake awaya number of the connectors from the rear of the PyPortal to urge everything to suitwithin the case, however the compact consequenceappearswell worth the effort.
While associate overall success, [Ramin] notes there square measuremany lingering problems. For one issue, the keyboard is virtually a pain to kind on. He’s considering building a custom keyboard with softer buttons, however it’s a long goal. a lot oflike a shot he’s specializing inrising the software packagefacet of things therefore its easier to jot down code and manage multiple files.
It seems like [Ramin] isn’t trying to compromise on his goal of constructing the PortablePy fully standalone, however if your convictions aren’t as sturdy, you mayperpetually connect a tool like this up to your mobile to form things a touch easier.