Open to internships & collaborations

Mohamed Hany Afifi

I study electrical engineering, and I build power electronics and the firmware that runs them.

I'm in my fourth year at MUST, working on converters, motor control on STM32 and PLC logic. On the software side I write Python tools, and lately I've been building a full Android app in Kotlin.

Banha, Egypt · UTC+2

01

About

I'm an electrical engineering student at Misr University for Science and Technology (MUST). In 2022–23 I studied abroad at Istanbul University and Sakarya University in Turkey. That year pushed me to be a lot more independent, and it showed me how differently people learn and work.

I've always wanted to know how things actually work, from a circuit on a breadboard to the code running on a microcontroller to what a computer is doing underneath. Along the way I picked up circuit design, embedded C and some full-stack development. The part I enjoy most is where hardware and software meet, and I pick projects that make me learn something new.

Long term, I just want to keep learning until I can leave a positive mark on the world.

Based in
Banha, Egypt
University
MUST, 4th year, Electrical Engineering
Exchange
Istanbul & Sakarya, 2022–23
Languages
  • ArabicNative
  • EnglishFluent
  • TurkishAdvanced
Learning now
FreeRTOS on STM32, Docker, Rust
02

Skills

What I use, and how often. The highlighted ones I use every week.

Power & control

  • Power electronics
  • Control systems / PID
  • Power systems & protection
  • PLC · IEC 61131-3
  • Ladder logic
  • Renewables / MPPT
  • Transmission & distribution

Embedded

  • C
  • STM32
  • C++
  • ARM assembly
  • AVR
  • PIC16F877A
  • UART / I²C
  • Raspberry Pi
  • KiCad PCB design

Software

  • Python
  • Kotlin
  • Jetpack Compose
  • Android · Room · Hilt
  • Java
  • JavaScript
  • HTML & CSS
  • SQL
  • discord.py
  • PyQt5
  • React · Node.js

Engineering tools

  • MATLAB & Simulink
  • Control System Toolbox
  • LTspice
  • Proteus
  • ETAP
  • DIgSILENT PowerFactory
  • CODESYS
  • AutoCAD Electrical
  • Revit
  • Blender
03

Experience

  1. Summer 2025

    Embedded systems

    MUST Electronics Lab · 6th of October, Egypt

    • Worked on firmware for an STM32-based data logger used in a motor-control research project: peripheral drivers in C, UART/I²C debugging, and documentation.
    • Built several projects on the PIC16F877A: a traction elevator controller, a robot driven by remote or over Wi-Fi, and multi-mode LED circuits.
    • Learned a lot about reading datasheets carefully and working around hardware quirks.
    • STM32
    • C
    • UART / I²C
    • PIC
  2. 2024 – now

    Freelance automation & scripting

    Independent · Remote

    • Python automation for small businesses: web scrapers, file processors and simple dashboards.
    • Discord bots for online communities. People use them every day, so bugs get reported fast.
    • Python
    • Automation
    • discord.py
    • Web scraping
  3. 2023 – now

    Founder & lead developer

    Obsidian Codex · programming collective

    • Started a small group of friends who build projects together.
    • I do most of the code reviews and architecture calls, and try to keep things moving when motivation dips.
    • Leadership
    • Code review
    • Architecture
    • Mentoring
04

Projects

Some of these started as coursework, and some I made just because I wanted them. The previews are rebuilt in HTML and SVG, so they run right here in your browser. Open a project for the details, and a few of them you can play with.

More projects

Renewables · SimulinkCompleted

PV panel and buck converter with a perturb-and-observe tracker, compared against incremental conductance under changing irradiance.

  • MPPT
  • P&O
  • Simulink
Power systems · ETAPCompleted

Overcurrent relay coordination for a 3-bus radial network, with TCC curves set for selective fault isolation.

  • ETAP
  • Overcurrent
  • TCC
Power electronics · MATLABCompleted

A 400 V, 50 Hz voltage-source inverter with sinusoidal PWM, and THD compared across modulation indices using FFT.

  • VSI
  • SPWM
  • THD
Power quality · STM32In progress

ADC captures from an STM32, analysed in MATLAB to measure THD and pick out the harmonics non-linear loads inject.

  • STM32
  • FFT
  • THD
  • MATLAB
Industrial control · CODESYSCompleted

A conveyor that routes each item to the right bin based on sensor input, with an emergency stop and fault indication.

  • PLC
  • Ladder logic
  • CODESYS
Robotics · AVRCompleted

IR sensor array and a PD controller on an ATmega328P, tuned for sharp corners, on a PCB I designed in KiCad and soldered by hand.

  • AVR
  • PD control
  • KiCad
Python · discord.pyIn use

Moderation, levelling, mini-games and a small economy, running on live community servers.

  • Python
  • discord.py
  • Bot API
Desktop app · PyQt5Prototype

A small browser on PyQt5 and QtWebEngine with tabs, cookies and a basic DOM inspector.

  • Python
  • PyQt5
  • QtWebEngine
Communications · MATLAB GUICompleted

A MATLAB app with 6 signal types, 6 modulation schemes and an SNR slider, plus a built-in assistant called Aura.

  • MATLAB
  • AM / FM / SSB
  • SNR
Python · PyGameCompleted

My own take on Flappy Bird, with custom graphics, simple physics and difficulty that ramps up.

  • Python
  • PyGame
Godot · GDScriptComing soon

A 2D adventure with hand-drawn pixel art, made with my friend Omar Hossam.

  • Godot
  • GDScript
  • Pixel art

A few more

AI · local LLMsOngoing

A general-purpose assistant that runs entirely on local models through Ollama.

  • Python
  • Ollama
  • RAG
Web · React + NodeBeta

Pulls posts from Twitter and Instagram through their REST APIs and shows engagement numbers in one place.

  • React
  • Node.js
  • REST APIs
Java · ForgeCompleted

A Forge mod that adds NPCs with branching dialogue and simple quests.

  • Java
  • Forge
  • Modding
Java · PaperCompleted

Warps, a simple economy and event-based rewards for a live Paper server.

  • Java
  • Bukkit
  • Paper
05

Lab

Small tools I made for this site. Two of them are the maths behind my own projects: the boost converter and the motor's PID loop. They all run in your browser.

f = 2.0 kHz Vpp = 4.0 V Vrms = 1.41 V 0.2 ms/div
Waveform
06

Education

  1. Misr University for Science and Technology

    B.Sc. Electrical Engineering · in progress, 4th year

    My home university. One more year to go after this one.

  2. Istanbul University

    Exchange, on scholarship · 2022–23

    Took advanced engineering courses there.

  3. Sakarya University

    Exchange semester · 2022–23

    Focused on computer engineering. Honestly some of the best courses I've taken.

  4. Ayn Jaloot Secondary School, Mecca

    High school diploma · 2019–2022 · 99.3 %

    Where the maths and science foundation came from.

Coursework

Completed · semesters 1–6 17
  • Electrical Circuits I & II
  • Electronics I & II
  • Microprocessors
  • Programming & Algorithms
  • Electromagnetic Fields I
  • Measurements I
  • Signals & Systems
  • Logic Design
  • Computer Interfacing
  • Digital Signal Processing I
  • Communication Systems I
  • Systems Engineering
  • Numerical Analysis
  • Vector Calculus & Linear Algebra
  • Probability & Statistics
  • Engineering Mechanics I & II
  • Thermodynamics I
This year · semesters 7–8 8
  • Control Systems I
  • Electric Machines I & II
  • Power Electronics I & II
  • Power System Analysis I & II
  • High Voltage Engineering
  • Power System Protection & Switchgear
  • Digital Control Systems
  • Fluid Mechanics
Final year · semesters 9–10 7
  • Operation & Control of Power Systems
  • Economics of Generation & Operation
  • Computer Relaying in Power Systems
  • Power Distribution Systems
  • Power System Planning
  • Microprocessor Applications in Power Systems
  • Senior Project I & II

Training & certificates

  • Classical automationRelays, PLCs, factory control
  • Power engineeringGeneration, transmission, protection
  • Power electronicsConverters, inverters, switching devices
  • Python ProgrammingUdemy
  • Google AnalyticsGoogle
  • Digital Skills (Developer)Google
  • STEM ProgramMinistry of Education, KSA
07

Away from the bench

  • Chess

    Sitting around 1900 Elo and still climbing. Yes, I will sacrifice the rook.

  • Games & modding

    Minecraft is my main creative outlet, and I've written mods and plugins for it. I love RPGs, and lately I've been enjoying a bit of Fortnite.

  • Arabic poetry

    Formal or colloquial, I'm honestly in love with it.

  • Tinkering

    There's always something half-built on my breadboard.

  • 3D modelling

    Blender for fun: game assets, mechanical parts I want to see before I build them, random objects.

  • Travel

    Studying in Turkey gave me a taste for new places. Also, soğuk baklava has a special place in my heart.

08

Contact

I'm looking for internships in power electronics and embedded systems. If you're working on something interesting, I'd like to hear about it. Email is the quickest way to reach me.

Or read my CV online