Posts

Showing posts from August, 2025

Xiao ESP32S3 display on 240*240 ST7789 SPI LCD/FT6236U cap. touch using TFT_eSPI in Arduino Framework.

Image
This video show steps how Xiao ESP32S3 display on 1.54" 240*240 ST7789 SPI LCD using TFT_eSPI in Arduino Framework. Connection: ST7789V2 Xiao ESP32S3 ---------------------------- GND GND VCC 3V3 SCL GPIO7 SDA GPIO9 RES GPIO1 DC GPIO2 CS GPIO3 BLK GPIO4 FT6236 ---------------------------- SCL GPIO6 SDA GPIO5 INT GPIO43 (Not used) RST GPIO44 Library used: TFT_eSPI  https://github.com/Bodmer/TFT_eSPI To setup, scroll down to "Tips" section: Create a new folder in your Arduino library folder called "TFT_eSPI_Setups". You then place your custom setup.h files in there. Edit the User_Setup_Select.h file to point to your custom setup file. Create my custom setup file, Setup_ST7789_XIAOESP32S3.h , under TFT_eSPI_Setups folder. // Setup_ST7789_XIAOESP32S3.h in // ..\Arduino\libraries\TFT_eSPI_Setups\ // // Modify // ..\Arduino\libraries\TFT_eSPI\User_Setup_Select.h to load it. // #include <../TFT_eSPI_Setups/Setup_ST7789_XIAOESP32S3.h> #de...

Local-host DeepSeek-R1 on Android Phone, Poco F7 Pro, using Termux+Ollama.

Image
This video show steps to host DeepSeek-R1 on Android Phone locally, using Termux+Ollama. Tested on Poco F7 Pro. Basic steps: Download and install F-Droid, an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. https://f-droid.org/ Install Termux (a Terminal emulator with packages) in F-Droid. Run Termux To grant right to Termux to access storage. termux-setup-storage Change repo, it will improve download greatly. termux-change-repo Update and upgrade. pkg update -y && pkg upgrade -y Install necessary software: pkg install git cmake golang proot-distro -y Install Ubuntu: proot-distro install ubuntu Login Ubuntu: proot-distro login ubuntu Install Ollama: curl -fsSL https://ollama.com/install.sh | sh Run Ollama server in background, you have to press [ENTER] to return to command line: ollama serve & Pull deepseek-r1:1.5b to local: ollama pull deepseek-r1:1.5b Once deepseek-r1:1.5b pulle...