SiliconWit.COM SiliconWit.COM
Dr. Sam Macharia's avatar

Dr. Sam Macharia

Educator, Researcher, and Engineer

An educator, researcher, and engineer interested in mechatronics engineering, computing, science, and the philosophy of science.

About Dr. Sam Macharia

Dr. Sam Macharia is a mechatronics engineer, researcher, and educator passionate about the intersection of engineering, computing, science, and the philosophy of science. His current focus includes collaborative work in cutting-edge areas such as Internet of Things (IoT), Artificial Intelligence of Things (AIoT), and biomolecular machines. He holds a PhD from Gifu University, Japan and is currently a lecturer at Dedan Kimathi University of Technology, Kenya, and he founded SiliconWit for collaborative innovations in research, education, and product development.

Focus

πŸ“š Engineering Education
πŸ”¬ IoT/AIoT Systems and Biomolecular Machines Research
πŸ’» Mechatronic Products Development

πŸ”¬ Research Contributions

Biomolecular Machines

Active spiralling of microtubules driven by kinesin motors

Novel spiral motion patterns in kinesin-driven microtubules and their implications for cellular organization

Published: August 31, 2025

molecular-motorsmicrotubuleskinesinspiral-motioncytoskeleton

Linking path and filament persistence lengths of microtubules gliding over kinesin

Quantitative analysis of the relationship between different persistence measures in microtubule-motor systems

Published: August 30, 2025

microtubuleskinesinpersistence-lengthgliding-assaysmechanical-properties

Effects of defective motors on biosensor performance

Comprehensive study of how motor protein defects impact the performance of molecular motor-powered biosensors

Published: August 29, 2025

biosensorsdefective-motorsmolecular-shuttlesbiotechnologyresilience
Iot And Aiot

Design and Calibration of a 3D-Printed Cup-Vane Wireless Sensor Node

Development of cost-effective wireless environmental sensing systems for IoT applications

Published: August 28, 2025

wireless-sensors3d-printingenvironmental-monitoringIoTwind-energy

Practical Integration of IoT, Intercropping, and Gravity-Fed Drip Systems for Water-Efficient Smallholder Farming

Comprehensive study of IoT applications in precision agriculture for sustainable water management

Published: August 28, 2025

precision-agricultureIoTwater-efficiencysmallholder-farmingsustainable-agriculture

πŸ“š Education Contributions

Code Based Mechanical Design

Code-Based CAD in Action

See what code-based CAD can do: 8 complete CadQuery examples that produce colorful 3D models, from parametric Lego bricks to planetary gear sets, each showing what becomes possible when your CAD model is a Python script

Published: March 5, 2026

cadquerypythonparametric-design3d-modelingmechanical-engineeringshowcase

Custom Enclosure from PCB Data

Parse KiCad PCB files to auto-generate enclosures with standoffs, port cutouts, ventilation patterns, snap-fits, and lids, all driven by real board data with CadQuery

Published: March 4, 2026

cadquerypythonenclosure-designpcbkicad3d-printingsnap-fitparametric-design

FEA-Driven Structural Optimization

Close the loop between CadQuery geometry and FreeCAD FEM to optimize a parametric bracket through automated parameter sweeps and Pareto front analysis

Published: March 4, 2026

cadqueryfreecadfeacalculixstructural-optimizationpareto-frontparametric-designcapstone

Heat Sink Design & Thermal Optimization

Model thermal resistance from junction to ambient, compare straight, pin-fin, and radial fin geometries, sweep parameters, and generate optimized heat sinks with CadQuery and matplotlib

Published: March 4, 2026

cadquerypythonheat-sinkthermal-managementoptimizationnatural-convectionparametric-designmatplotlib

Involute Gear Systems

Generate mathematically-perfect involute spur gears, meshing pairs, and a complete gear train with housing using CadQuery, from parametric equations to 3D-printable assemblies

Published: March 4, 2026

cadquerypythongearsinvoluteparametric-designmechanical-engineeringgear-train3d-printing

Lattice Structures & TPMS for Additive Manufacturing

Generate strut-based lattices and triply periodic minimal surfaces with CadQuery for lightweight additive manufacturing parts

Published: March 4, 2026

cadquerylattice-structurestpmsgyroidadditive-manufacturing3d-printinglightweight-designgenerative-design

Parametric Hardware Library from Engineering Standards

Build a reusable library of ISO-standard fasteners (hex bolts, socket cap screws, nuts, and washers) generated from standards tables using CadQuery and Python

Published: March 4, 2026

cadquerypythonparametric-designfastenersISO-standardsmechanical-engineeringhardware-library

Spring Design with Engineering Stress Verification

Design compression, extension, and torsion springs from load requirements using CadQuery with Wahl correction and Goodman fatigue analysis

Published: March 4, 2026

cadqueryspring-designhelical-springsstress-analysisfatiguewahl-factorgoodman-diagrammechanical-design
Pcb Design Kicad

ATmega328P Breakout Board: Through-Hole PCB from Scratch

Design your first PCB in KiCad 9: a minimal ATmega328P breakout board with ISP header, crystal oscillator, power LED, and pin headers. Covers project setup, schematic capture, PCB layout, home etching, and blink firmware

Published: March 5, 2026

kicadpcb-designatmega328pthrough-holehome-etchingavrembedded-systemsbreakout-board

ATmega328P Sensor Shield: SMD Components and CNC Milling

Design an SMD sensor shield with ATmega328P TQFP-32, I2C temperature/humidity sensor, SPI light sensor, and double-sided PCB layout. Learn SMD footprints, fine-pitch soldering, and CNC milling for PCB fabrication in KiCad 9

Published: March 5, 2026

kicadpcb-designatmega328psmdi2cspicnc-millingsensor-shieldtqfp

Code-Based PCB Design with KiCad Scripting

Recreate the ATmega328P breakout board from Lesson 1 using Python and KiCad's scripting API. Introduction to SKiDL for programmatic netlists, parametric footprints, automated DRC, and the future of code-driven electronics design

Published: March 5, 2026

kicadpcb-designpythonskidlscriptingautomationparametriccode-driven-design

ESP32 Battery-Powered IoT Sensor Node

Design a battery-powered ESP32-C3 IoT sensor node with TP4056 lithium charging, solar panel input, BME280 environmental sensor, and deep sleep optimization. Power-aware PCB layout for months of battery life

Published: March 5, 2026

kicadpcb-designesp32-c3batteryiotsolarbme280deep-sleeplow-power

ESP32 WiFi/Bluetooth DevKit: RF-Aware PCB Design

Design an ESP32-WROOM-32 development board with USB-UART bridge, antenna keepout zone, auto-reset programming circuit, and RF-aware PCB layout. Learn wireless PCB design considerations in KiCad 9

Published: March 5, 2026

kicadpcb-designesp32wifibluetoothrf-designantennausb-uartdevkit

Motor Driver and Sensor Integration Board

Design a mixed-signal board combining a DRV8833 dual H-bridge motor driver, MPU6050 IMU, current sensing resistors, and screw terminals. Learn thermal management, power and signal separation, and protection circuits in KiCad 9

Published: March 5, 2026

kicadpcb-designmotor-driverdrv8833mpu6050imucurrent-sensingh-bridgethermal-management

RP2040 USB-C Development Board: Dual-Core ARM with PIO

Design an RP2040 development board with external QSPI flash, USB-C, PIO breakout headers, RGB LED, and 4-layer PCB. Learn QFN package layout, high-speed QSPI routing, and the RP2040 minimal circuit in KiCad 9

Published: March 5, 2026

kicadpcb-designrp2040usb-cqfnqspipioraspberry-pidevelopment-board

STM32 USB-C Four-Layer PCB: Black Pill Style Board

Design a Black Pill style STM32F411CEU6 board with USB-C connector, LDO regulation, and 4-layer stackup. Learn power and ground plane design, via stitching, impedance-aware USB routing, and advanced KiCad 9 layout techniques

Published: March 5, 2026

kicadpcb-designstm32f411usb-cfour-layerimpedancevia-stitchingblack-pill

STM32 USB Development Board: Blue Pill Style PCB

Design a Blue Pill style STM32F103C8T6 development board with USB, SWD debug header, crystal oscillator, and 3.3V regulation. First professional fab house order with Gerber, BOM, and pick-and-place file generation for JLCPCB

Published: March 5, 2026

kicadpcb-designstm32usbswdarm-cortex-m3jlcpcbgerberdevelopment-board
Parametric Mechanical Cad Freecad

Cam and Follower Mechanism

Design a cam and follower mechanism for programmed motion control with rise-dwell-return profiles in FreeCAD

Published: December 17, 2025

freecadcamfollowermotion-controlparametric-designmechanism-design

Four-Bar Linkage Mechanism Design

Master parametric design by creating a four-bar linkage mechanism with spreadsheet-driven parameters in FreeCAD

Published: December 17, 2025

freecadfour-bar-linkagekinematicsparametric-designmechanism-design

Geneva Mechanism

Design a Geneva mechanism for precise intermittent motion and indexing with parametric slot control in FreeCAD

Published: December 17, 2025

freecadgeneva-mechanismindexingintermittent-motionparametric-design

Pantograph Mechanism

Design a pantograph mechanism for motion scaling and copying with ratio-driven parametric control in FreeCAD

Published: December 17, 2025

freecadpantographmotion-scalingparametric-designmechanism-design

Python Scripting for Advanced CAD Design

Introduction to Python scripting in FreeCAD. Learn the basics, generate an involute gear, and discover how code-based design extends into full parametric engineering workflows

Published: December 17, 2025

freecadpythonscriptinggenerative-designparametric-designoptimization

Scissor Lift Mechanism Design

Design a parametric scissor lift mechanism with repeating geometry and scalable stages in FreeCAD

Published: December 17, 2025

freecadscissor-liftkinematicsparametric-designmechanism-design

Scotch Yoke Mechanism

Design a Scotch yoke mechanism for sinusoidal motion conversion with parametric stroke control in FreeCAD

Published: December 17, 2025

freecadscotch-yokesinusoidal-motionparametric-designmechanism-design

Slider Crank Mechanism Design

Learn parametric CAD modeling by designing a complete slider crank mechanism in FreeCAD from scratch

Published: December 17, 2025

freecadslider-crankkinematicsparametric-designmechanism-design

Toggle Clamp Mechanism Design

Design an over-center toggle clamp mechanism with mechanical advantage and self-locking behavior in FreeCAD

Published: December 17, 2025

freecadtoggle-clampover-centerparametric-designmechanism-design
Mechanics Of Materials

Lesson 2.3: Beam Deflections and Stiffness Analysis

Master beam deflection analysis for precision engineering applications including PCBs, medical imaging C-arms, and CNC machine gantry rails

Published: November 23, 2025

solid-mechanicsbeam-deflectionelastic-deformationstiffness-analysisprecision-engineeringPCB-designmedical-imagingCNC-machiningmechatronics

Practical Laboratory Experiments: Structural Analysis with Python and FreeCAD

Hands-on laboratory series combining analytical methods, Python programming, and FreeCAD FEM analysis for real-world engineering applications in robotics, 3D printing, and aerospace structures

Published: November 1, 2025

solid-mechanicslaboratorypythonfreecadfem-analysisshear-forcebending-momentstress-analysisroboticsstructural-design

Lesson 2.2: Bending Stresses in Simple Beams

Master bending stress analysis in engineering beams through real-world applications including electric train pantographs, crane jibs, and 3D printer gantry rails

Published: October 17, 2025

solid-mechanicsbending-stressbeam-analysisflexural-formulastructural-designpantographcrane-jibgantry-rail

Lesson 2.1: Shear Force and Bending Moment in Beams

Master shear force and bending moment analysis for industrial beam structures including robotic arms, conveyor systems, and solar trackers through practical engineering applications

Published: September 21, 2025

solid-mechanicsstructural-analysisshear-forcebending-momentbeam-designindustrial-applicationsmechatronicsmaterial-handling

Lesson 2.4: Combined Bending and Torsion Loading

Master combined stress analysis through real-world applications including drone arms, wind turbine shafts, and robotic grippers experiencing simultaneous bending and torsional loads

Published: September 19, 2025

solid-mechanicscombined-loadingvon-mises-stressequivalent-stressmulti-axis-loadingdrone-armwind-turbinerobotic-gripperfailure-theory

Lesson 2.5: Composite and Built-up Beam Systems

Analyzing bending stresses in hybrid CNC machine beds with aluminum-steel composite construction

Published: September 18, 2025

solid-mechanicscomposite-beamsCNC-bedtransformed-sectionmulti-material

Lesson 1.3: Compound Bars in Multi-Material Systems

Analyzing linear actuator rods with steel-aluminum segments to understand load sharing and deformation compatibility

Published: September 18, 2025

solid-mechanicscompound-barslinear-actuatormulti-materialload-sharing

Lesson 1.4: Thermal Stresses and Strains

Master thermal stress analysis for heated mechanical systems. Learn thermal expansion calculations, stress development in constrained components, and thermal design for mechatronic applications.

Published: September 18, 2025

solid-mechanicsthermal-stresspiston-cylinderextruderthermal-expansion

Lesson 1.5: Torsion of Circular Shafts

Analyzing torsional stresses and angular deformation in Geneva mechanism crankshafts and rotating mechatronic systems

Published: September 17, 2025

solid-mechanicstorsionGeneva-mechanismcrankshaftshear-stressangular-deformation

Lesson 2.6: Principal Stresses and Failure Criteria Analysis

Applying Mohr's circle analysis for critical stress evaluation in mechatronic joint design and failure prediction

Published: September 17, 2025

solid-mechanicsprincipal-stressMohrs-circlefailure-analysismechatronic-joints

Lesson 1.1: Introduction to Mechanics of Materials in Mechatronics

Understanding stress, strain, and material properties through the analysis of a crank-slider connecting rod system

Published: September 16, 2025

mechanics of materialssolid-mechanicsmechatronicscrank-sliderstress-strainconnecting-rod

Lesson 1.2: Simple Stress and Strain in Actuator Systems

Analyzing axial stress and strain in CNC actuator shafts, including material selection for precision positioning

Published: September 16, 2025

solid-mechanicsactuator-shaftaxial-stressmaterial-selectionCNC-systems

Chapter 2 Assignments: Structural Analysis in Mechatronic Systems

Comprehensive assignments covering shear force, bending moment, stress analysis, deflections, combined loading, composite beams, and failure analysis in mechatronic applications

Published: September 16, 2025

solid-mechanicsassignmentsstructural-analysismechatronicsbeam-analysisrobotics

Lesson 1.6: Thin-Walled Pressure Vessels

Learn pressure vessel stress analysis for pneumatic actuators and mechatronic systems. Master hoop stress, longitudinal stress, and wall thickness design calculations with practical examples.

Published: September 16, 2025

solid-mechanicspressure-vesselspneumatic-actuatorhoop-stresslongitudinal-stress
Spatial Mechanics

Lesson 3: 3D Rotation Matrices and Spatial Transformations

3D rotation matrices, Euler angles, arbitrary axis rotations (decomposition and Rodrigues methods), and homogeneous transformations for robotics and aerospace applications

Published: November 21, 2025

spatial-mechanics3d-rotationseuler-anglesrodrigues-formularotation-matriceshomogeneous-transformationsgimbal-lock

Lesson 2: Planar Transformations and Mathematical Foundations

Master 2D robot kinematics through complex number mathematics for SCARA robot PCB assembly programming

Published: September 26, 2025

spatial-mechanicsplanar-transformationscomplex-numbersrotation-matricesSCARA-robotforward-kinematicsinverse-kinematicselectronics-manufacturing

Lesson 5: Advanced Spatial Mechanisms Analysis

Complex spatial linkage analysis through humanoid robot hand design covering spherical joints, universal joints, and multi-finger coordination

Published: September 15, 2025

spatial-mechanicsadvanced-mechanismsspherical-jointshumanoid-roboticsmulti-finger-coordination

Lesson 6: Computer Simulation and System Integration

Real-time spatial mechanics simulation through multi-robot coordination systems covering numerical methods and distributed control integration

Published: September 14, 2025

spatial-mechanicscomputer-simulationmulti-robot-systemsnumerical-methodsreal-time-control

Lesson 1: Kinematic Joints and Degrees of Freedom in 3D Systems

Master kinematic joint analysis and DoF calculations through industrial robotics, medical devices, and agricultural automation applications

Published: September 12, 2025

spatial-mechanicskinematic-jointsdegrees-freedomroboticsconstraint-analysismedical-roboticsagricultural-automation

Lesson 4: Elementary Matrix Methods and Link Modeling

Systematic kinematic modeling of parallel mechanisms through Stewart Platform analysis using DH parameters and elementary matrices

Published: September 12, 2025

spatial-mechanicsmatrix-methodsstewart-platformDH-parametersparallel-kinematics
Planar Mechanics

Lesson 5: Cam-Follower Systems and Motion Programming

Understanding cam design principles and follower motion laws through CNC machine tool cam-driven feed system optimization

Published: September 10, 2025

planar-mechanicscam-designfollower-systemsmotion-programmingCNC-systemspressure-angles

Lesson 6: Force Analysis and Mechanism Synthesis

Understanding static force analysis and mechanism synthesis through multi-DOF robotic manipulator system design and actuator optimization

Published: September 8, 2025

planar-mechanicsforce-analysismechanism-synthesisrobotic-manipulatorsactuator-sizingvirtual-work

Lesson 3: Velocity Analysis and Instantaneous Centers

Understanding velocity polygons and instantaneous centers through crank-slider engine and compressor mechanism analysis

Published: September 7, 2025

planar-mechanicsvelocity-analysisinstantaneous-centerscrank-slidervelocity-polygonsengine-design

Lesson 1: Kinematic Joints and Constraint Analysis

Understanding joint types, degrees of freedom, and constraint relationships through modular robotic arm design using GrΓΌbler's equation

Published: September 6, 2025

planar-mechanicskinematicsjointsDOFgrublers-equationrobotic-armsconstraints

Lesson 2: Position Analysis of Planar Linkages

Understanding vector loop equations and geometric constraints through four-bar linkage suspension system optimization

Published: September 6, 2025

planar-mechanicsposition-analysisfour-bar-linkagevector-loopsgeometric-constraintssuspension-systems

Lesson 4: Acceleration Analysis and Dynamic Forces

Understanding acceleration polygons and inertial forces through Geneva mechanism indexing system design for packaging and assembly automation

Published: September 1, 2025

planar-mechanicsacceleration-analysisgeneva-mechanismdynamic-forcesindexing-systemsautomation
Modeling And Simulation

Inverse Kinematics: Math vs AI Approaches

Compare traditional trigonometric solutions with neural network approaches for robotic arm control and motion planning

Published: September 5, 2025

modelingsimulationroboticsinverse-kinematicsaineural-networks

Spring-Mass System Simulation

Build interactive spring-mass system simulations to explore vibrations, resonance, and damping. Learn natural frequency calculations and forced vibration analysis for mechanical design.

Published: September 4, 2025

modelingsimulationspringsvibrationresonance

Simple Pendulum Modeling

Build a mathematical model of a simple pendulum and create an interactive simulation to understand oscillatory motion

Published: September 3, 2025

modelingsimulationpendulumphysicspython
Applied Mathematics

The Art of Simplification: Spherical Cows and Model Building

Understanding the power and limitations of abstraction in engineering and applied science through the lens of the iconic "spherical cow" model.

Published: September 2, 2025

modelingsimulationapplied-mathengineeringabstraction

Linear Algebra in Applied Mathematics

Understanding matrix operations and their applications in solving real-world problems

Published: September 1, 2025

linear-algebramathematicsmatrix-operationsapplied-mathematicsengineeringproblem-solving

πŸ› οΈ Product Development

Siliconwit Io

Getting Started with SiliconWit.IO

A simple introduction to connecting industrial devices with SiliconWitIO

Published: August 27, 2025

siliconwit-ioindustrial-iotdevice-connectivityautomationtutorialgetting-started
Room Activity Scan

Activity Monitor Firmware

Getting started with the HLK-LD2420-based activity monitoring firmware for ESP32-S3

Published: December 12, 2024

ESP32-S3HLK-LD2420MQTTfirmwareembedded-systemsIoT

πŸ“ Blog Posts

Science And Engineering

The Philosophy Behind Artificial Intelligence

Exploring the philosophical implications and ethical considerations of AI development and implementation

Published: August 25, 2025

AIphilosophyethicstechnology

Contribution Stats

136
Total SSU
2021
Member Since
Kenya
Location
5
Research Contributions
57
Education Contributions
2
Product Development
1
Blog Posts

Connect & Follow