Embedded Garage

From the power stage to the bytes on the bus.

I'm Sanket S. Shahane, an embedded engineer in Nashik, India. I work on STM32 firmware, CAN and Modbus communication, and power electronics. Embedded Garage is where I publish the tools and notes that come out of that work.

In 4+ years of industry work I have owned products from end to end: the schematic and PCB in Altium, the firmware, and the validation on the bench. I write protocol stacks from the standards, including UDS and ISO-TP for vehicle diagnostics.

Oscilloscope view of a buck converter. It needs JavaScript to draw.
  • Switch node, 5 V per division
  • Inductor current, 100 mA per division
Duty
42 %
Output
5.04 V
Ripple
332 mA
Peak
1.17 A
A buck converter with 12 V in, 400 kHz switching, a 22 µH inductor and a 1 A load. Move the duty cycle and the output voltage and current ripple follow.

Tools

Power electronics calculator

Pick a converter, enter the voltages and current you need, and get a complete design: inductor, capacitors and the rest, in values you can actually buy. You choose whether the design should favour efficiency, long life or the fewest parts.

The buck converter is live. Boost is next.

Open the calculator

What I work on

Firmware and communication

Bare-metal and FreeRTOS firmware on STM32 and ESP32. On the wire: CAN and CAN FD, ISO-TP and UDS diagnostics, Modbus RTU and Modbus TCP.

Power electronics

DC-DC converters, gate drive and motor control, from the design equations to the bench. My M.Tech is in power electronics, from NIT Surat.

PCB design

Schematic and layout in Altium Designer: microcontroller boards, power stages and sensor front ends.

Projects

Modbus TCP library for STM32

A Modbus TCP client and server library for STM32 with FreeRTOS, written from the public Modbus specification on an STM32H7 Nucleo board.

Finished.

Source code: not published yet.

Seamless microgrid transition control

My M.Tech thesis: control that moves a microgrid between grid-connected and islanded operation without a break, on single-phase and three-phase hardware prototypes. The STM32F407 firmware was generated from MATLAB Simulink and checked on hardware against simulation.

M.Tech thesis, 2023.

Source code: not published yet.

All projects

Notes

All notes

Contact

I'm open to conversations about embedded firmware and power electronics roles and collaborations. Write to embeddedgarageofficial@gmail.com, or use the form.

Enter your name.
Enter a valid email address.
Add a little more detail.