Skip to main content

Posts

Showing posts with the label knowledge-sharing

Arduino UNO and Python

When we talk about microcontrollers, like Arduino, the first thing that comes to mind is "C/C++". C/C++...  To write something complex, one needs to know C/C++. But is that really the case? I just want to share how I do everything I want with Arduino using Python. Why Python?  Why choose Python, you might ask? One of the reasons is the availability of numerous libraries that are already developed, making integration with controllers super fast. For instance, I've integrated MediaPipe with my Arduino. The result? The LCD displays hand positions, and using 5 LEDs, I can indicate the number of fingers I'm showing with my hand. When I show 0 fingers, all lights are off.  For 1 finger, 1 LED lights up.  For 2 fingers, 2 LEDs light up.  For 3 fingers, 3 LEDs light up.  For 4 fingers, 4 LEDs light up.  And for 5 fingers, all 5 LEDs light up. So, there you have it: a simple demonstration of integrating MediaPipe with Arduino using just one script. Could you ac...

How to Create and Deploy a Static Website in 5 Simple Steps from Scratch Using GitHub Pages (Free)

This guide will walk you through creating and deploying a simple website using GitHub Pages. Steps: 1. You Should Have a GitHub Repository Before you begin, make sure you have a GitHub account and a repository where you will store the files for your website. 2. Basic Settings Read and Write Permissions: - Go to the "Settings" tab within your repository. - Click on "Actions" and then "General." - Workflow Permissions section. Select "Read and write permissions" and "Allow GitHub Action to create and approve pull request." Build and Deployment Settings: - Go to the "Settings" tab within your repository. - Click on "Pages." - Under "Build and deployment," select the branch you want to deploy (for example, Branch -> Main). 3. Create GitHub Configuration File GitHub Actions allows you to automate, customize, and execute your software development workflows right in your GitHub repository. You can create custom...