This is my work in progress ~50cm
Robotic Arm with 6 AXIS Servo motors, an Arduino and a RaspberryPi ( for image recognition in phase 2):
While writing the C++ code in Arduino I found I needed a way to send easily and fast commands to Arduino with my iPhone using Bluetooth.
Basically I need to control my robotic arm using an external device instead of running and running again the code on the Arduino board.
For this reason: I’ve attached a BLE board to Arduino and I have created a simple app (completely written in
SwiftUI 😍😎) that use BLE connection to connect to Arduino BLE board and send string commands that are parsed and executed.
Commands sended are like:
Continue reading “Debug (and control) your Robotic Arm with iOS”
Very often a lots of iOS applications use your gps position to retrieve data or to lock / unlock contents positions based.
With Android you can use lots of apps called
Fake GPS or similar that allow you to change your real gps position with a mocked one.
On Android development side this can be blocked checking via code the:
Continue reading “iOS – Fake GPS position: how to use and prevent”
Every time you upload a
screenshot on the App Store for a new app submission, you receive from Apple this error message:
“Images can’t contain alpha channels or transparencies.”
Continue reading “Remove alpha channel from png images”
I want to introduce you to the new “
App Icon Maker“, a simple and free utility for macOS that helps you to convert the images in the 3 Apple formats, @1x, @2x, and @3x. Continue reading “macOS – App Icon Maker free utility”
PrivateFrameworks are always a joy.
Today, for a personal project I discovered how to use private
Login.framework to lock programmatically via code (Swift or C) the screen of my mac book. Continue reading “Swift / C – Lock macOS programmatically”
A simple tutorial for find and identify the wrong typed words of the user in your application using the
UITextChecker framework and the NatualLanguage framework. Final result:
Continue reading “Swift – Identify misspelled words and errors in phrases”
Very often you create a
new class or a new view controller and customize it before start coding.
Every time you select from
XCode, New File, the file type and add it to your project, like this: Continue reading “Create your own XCode template”
Why this guide?
My need was to control the robot asking simple commands through
Google Home and Alexa like: “ Alexa, clean the bathroom“.
With my robot, this was not possible. With the app, you can configure the zones but you can’t simply ask for cleaning only one zone, two times, for instance, all in automatic.
Continue reading “Xiaomi Roborock – control via socket API”
In my personal case I use three different git services for store / share my personal / work code:
Github // my blog code, free open sources code Gitlab // my work code, on-premise installation Bitbucket // my personal code, free private repo
Every service uses
different SSH keys to use. Must be configured separately. Continue reading “Use multiple GIT accounts on same machine / macOS”