Intro to Zig on Embedded

Workshops Day (Mon) • 08:30 • Duration: 4h

NOTE: Workshops require a separate ticket!

Provided Equipment

You will be provided with a Raspberry Pi Pico microcontroller and all required supporting circuitry. You get to take it home too.

Description

Robust error handling, comptime, and explicit memory allocation all make Zig an excellent tool for creating embedded applications. Felix and Matt are founders of the Zig Embedded Group and work on MicroZig, a framework that sets you up with all the prerequisites to program your microcontroller.

In this session, you will be taken from setting up an environment for embedded Zig development, to controlling a servo motor with analog and digital signals. During our session we will briefly cover:

  • Electronic Circuits
  • Hardware Interrupts
  • Programming and Debugging hardware
  • Bootloaders
  • Debugging techniques
  • Peripherals:
    • General Purpose Input Output (GPIO)
    • Analog-to-Digital converter (ADC)
    • Pulse-Width Modulation (PWM)

Requirements

  • Laptop with USB-A port running:
    • Linux 3.16+
    • Windows 8.1+
    • macOS 10.13+, hub adapter like this works for the USB-A port for thunderbolt-only machines

Instructors