Reza Farashahi

Electronics and embedded systems engineer, PhD

I design circuit boards, write the firmware that runs on them, and get them talking over the air. Recent boards include a solar-powered LoRaWAN sensor shield and the 36-channel FPGA bias board that drives a steerable 5.2 GHz radio surface.

  • Auckland, New Zealand
  • PhD in wireless engineering, Auckland University of Technology
  • Altium Designer, STM32, FPGA, LoRaWAN, C / C++ / Python
Top side of a green 4-layer circuit board with nine repeated DAC and op-amp channel blocks and 40-pin headers at the top and bottom
Bias board for the radio surface, 4-layer, designed in Altium. How it works

Built, measured, deployed

Projects where I worked on real hardware, from simulation through fabrication to bench measurement. Boards come first, then the firmware and software around them.

Hardware

PCB design for AUT GeoEnviroSense

EnviroNode interface shield

Altium Designer4-layer PCBNUCLEO-WL55JC1 shieldbq24074 solar chargerBQ29700 protectionTPS63802 buck-boostINA219TPS22917 load switch9 sensor socketsmicroSD

Part of my role is designing a seamless interface for the node's sensors and power management. This shield is that interface: a 4-layer board I designed in Altium that plugs onto the NUCLEO-WL55JC1, replacing the modules and loose wiring of the first nodes. Solar charging, battery protection, power monitoring and every field sensor now sit on one board.

  • Power path: solar input over USB-C or a screw terminal into a bq24074 charger, an 18650 battery pack with BQ29700 protection and a reverse-polarity FET, and a TPS63802 buck-boost for a steady 3.3 V with under-voltage lockout (off at 3.0 V, back on at 3.3 V).
  • Battery monitoring: an INA219 on a Kelvin-connected 0.5 Ω shunt, so every uplink reports battery voltage and current.
  • Sensors: keyed sockets for two BME280s on separate I²C buses, leaf wetness, soil moisture, PT1000 soil temperature, a Davis anemometer, a rain gauge and spares, each with TVS protection and series resistors.
  • Low power: the sensors sit behind a TPS22917 load switch, powered only while being read and off by default at reset.
  • A microSD slot for logging data on the node.
PCB design for my PhD

FPGA control board for the surface

Altium Designer4-layer PCB36 bias channelsMCP4728 12-bit DAC ×9LM324 gain stageDE0-Nano (Cyclone IV)I²CVHDL

Each group of cells on the radio surface needs its own precise, stable bias voltage. I compared a microcontroller, a Raspberry Pi and an FPGA for the job, and chose the FPGA for its parallel I/O and room to scale to larger surfaces.

  • Designed a custom 4-layer PCB in Altium: nine identical channel blocks, each an MCP4728 quad 12-bit DAC with an LM324 gain stage, for 36 independent bias outputs.
  • FPGA drives the DACs over I²C, implemented in VHDL.
  • The op-amp stages boost the DAC outputs to the varactor bias range.
  • Brought up and verified on the bench with an oscilloscope before connecting it to the surface.
RF hardware for my PhD, 2020 – 2025

Reconfigurable intelligent surface at 5.2 GHz

5.2 GHzdual-polarisedvaractor-tunedHFSS + PythonVNA-measured

A surface made of small tuned cells that acts like a steerable mirror for radio waves. Changing the bias voltage on each cell changes the phase of its reflection, so the reflected beam can be pointed where coverage is needed.

  • Designed a new dual-polarised unit cell with a single varactor diode for quasi-continuous phase control.
  • Wrote a Python tool that ran HFSS design sweeps in parallel across about 50 university lab computers, using a shared network drive as the job queue. The design search ran close to 50 times faster.
  • Measured fabricated cells in a waveguide set-up on a vector network analyser and compared them against simulation for both polarisations.
  • Optimised the surface with a genetic algorithm, using live S21 measurements between two horn antennas.
Measurement for my PhD

Over-the-air link test in an anechoic chamber

USRP SDRQPSKBERSNRanechoic chamber

After the bench measurements, I tested the surface in a live radio link. A USRP software-defined radio transmitted a QPSK signal towards the RIS, and the receiver picked up what the surface reflected. The anechoic chamber keeps stray reflections out of the measurement.

  • Generated and received the QPSK signal with the USRP, with the received constellation shown live on the laptop.
  • Measured the bit error rate and signal-to-noise ratio with the surface in the environment, to see how the RIS changes the quality of the link.
RIS link test in the chamber. The laptop shows the received QPSK constellation.

Firmware and software

Firmware for AUT GeoEnviroSense

KoreroNET & EnviroNode LoRaWAN sensor nodes

STM32WL55 dual-coreLoRaWAN AU915The Things NetworkI²C sensor busINA219 power monitoringsolar + Li-ionSTOP2 sleep

Solar-powered field nodes for environmental monitoring. KoreroNET listens for birdsong and classifies it with on-device AI. EnviroNode, on the same platform, reports weather and soil data. Both send their results over LoRaWAN to a web dashboard.

  • Evaluated and optimised the power consumption of the LoRaWAN link on solar power. I measured current and time in each state (sleep, sensing, transmit, receive windows), then cut energy per cycle with deep sleep, compact 32-byte frames, faster data rates where the link allows, and no unnecessary rejoins or retries.
  • Set up sensor management over I²C: two BME280 air sensors on separate buses, an INA219 battery monitor, detection at start-up, graceful handling of failed sensors, and automatic bus recovery.
  • Leading version 2: the first custom PCB, a leaner communication scheme and an improved web app.
Software, published in IEEE Access 2025

WiPy-RT: fast ray tracing for RIS channels

Pythonray launchingreflection + diffractionSTL scenes

A ray-tracing engine written in Python that predicts signal strength across a room or a city, including surfaces like the RIS. It follows up to six reflections plus diffraction around building edges.

Benchmarked on the KAIST urban map against WiThRay, a MATLAB reference simulator, with 200,000 rays.

0.7 s
WiPy-RT, full urban coverage map
15 min 14 s
Reference simulator, same scene
98%
Less optimisation time for space-time-coding surfaces, from a faster phase calculation (IEEE CAMA 2021)
Try it live in your browser

A cut-down 2-D version of the same idea: an office floor at 5.2 GHz with concrete walls. The room on the right is out of sight of the transmitter. Switch the RIS on and steer its beam into the room.

Reflections
RIS
Phase control
+11°
Received power
−110−70−30 dBm

Transmitter 20 dBm, isotropic, vertically polarised. Paths are found with the image method: direct, up to two wall reflections (Fresnel coefficients for concrete, ITU-R P.2040), knife-edge diffraction at wall ends, and a 32 × 16-element RIS summed cell by cell in 3-D. Walls are treated as opaque. The full engine does 3-D ray launching with up to six reflections.

Earlier and smaller projects

Industry, 2017 – 2018

Sensor antennas & microwave parts

As a microwave engineer at Nasim Setare Persian, I designed, simulated and tested sensor antennas and passive microwave devices, from specification through EM simulation to VNA measurement.

antennasEM simulationVNA
Prototype

Intraoral 3D scanner

Embedded and sensing work on a dental scanner prototype. A microcontroller read optical sensors over SPI and streamed the data over Wi-Fi, with a Python pipeline on the host.

Embedded C/C++SPIWi-FiPython
Infrastructure

Networked assessment platform

A Linux-based platform for supervised assessments. A dedicated router gives local service access only, blocks the wider internet, and lets supervisors oversee browser sessions.

Linuxnetworkingmonitoring

Hardware, firmware and the radio in between

I started in electrical engineering, moved into telecommunications, and worked in industry as a microwave engineer designing and testing sensor antennas and passive microwave parts.

My PhD at Auckland University of Technology was on reconfigurable intelligent surfaces: flat panels of tunable cells that steer wireless signals. I designed the unit cell, had it fabricated and measured it, built the FPGA-based control board, and wrote a fast Python ray-tracing simulator to predict how the signals travel.

Today I lecture in electrical engineering and embedded programming at NZSE, and I work with AUT's GeoEnviroSense group on solar-powered LoRaWAN sensor nodes.

Focus
PCB design, embedded C/C++, RF & wireless
Silicon
STM32 (incl. dual-core WL55), FPGA, Raspberry Pi
Radios
LoRaWAN (AU915), Wi-Fi, sub-6 GHz RF, antennas
Bench
VNA, oscilloscope, logic analyser, multimeter
Based
Auckland, New Zealand

Skills

Hardware & PCB

  • Altium Designer schematic, 4-layer layout
  • Power design solar charging, buck-boost, protection
  • Mixed-signal design DACs, op-amps, bias
  • Board bring-up & test
  • FPGA VHDL, Cyclone IV

Firmware

  • C / Embedded C
  • C++
  • STM32 HAL dual-core WL55
  • SPI, I²C, UART, ADC
  • Low-power sleep & watchdogs

Wireless & RF

  • LoRaWAN AU915, TTN, OTAA
  • Wi-Fi
  • Antenna & microwave design
  • Metasurfaces / RIS
  • Propagation & ray tracing

Tools & lab

  • Python, MATLAB
  • Git, Linux, Docker
  • HFSS
  • VNA, oscilloscope
  • Logic analyser, multimeter

Experience

  1. Jan 2025 – now

    Lecturer

    NZ Skills & Education College (NZSE), Auckland

    I teach Level 6 electrical engineering, C and Python, microcontrollers, networks, operating systems, Linux and Docker. I also design the lab work on circuit verification, testing and debugging, and guide students through hardware–software integration projects using Git.

  2. 2023 – 2025

    Teaching & Research Assistant

    Auckland University of Technology

    Supported embedded software, operating systems, microcontroller and electrical labs, covering digital I/O, SPI, I²C and USART. Validated circuits, sensor interfaces, FPGA work and prototypes with scopes, logic analysers and multimeters.

  3. 2020 – 2025

    PhD Researcher, Wireless Engineering

    Auckland University of Technology

    Reconfigurable intelligent surfaces: unit-cell design, FPGA control hardware, genetic-algorithm optimisation and ray-tracing propagation modelling.

  4. 2017 – 2018

    Microwave Engineer

    Nasim Setare Persian, Shiraz

    Designed, simulated and tested sensor antennas and passive microwave devices.

Publications

With B.-C. Seet and X. Li, Auckland University of Technology.

  • 2025
    WiPy-RT: A Fast Ray Tracing Modeling Platform for RIS-Assisted Wireless Channels
    IEEE Access
  • 2024
    Framework for propagation modeling of IRS-assisted communication based on ray tracing
    Physical Communication, vol. 63, 102301
  • 2024
    Dual-Polarized Reconfigurable Intelligent Surface Unit Cell with Single Varactor Diode
    IEEE MeditCom
  • 2021
    Fast Phase Distribution Calculation for Space-Time Coding Intelligent Reflecting Surfaces
    IEEE CAMA
2020 – 2025
PhD, Wireless Engineering
Auckland University of Technology
2015 – 2018
MSc, Telecommunication Engineering
Shiraz University of Technology
2010 – 2015
BSc, Electrical Engineering
Bahonar University of Kerman

Get in touch

For hardware, firmware or RF work, email is the fastest way to reach me.