
Learn how current, the flow of electrons, powers circuits; measure amps with a multimeter, relate volts, amps, and watts, and compare dc and ac usage.
Discover how analog and digital signals power microcontroller projects with the Swift i/o board, sensors, and ADC conversion, including resolution and LCD displays.
Explore breadboards as reusable, solderless platforms for building circuits with power rails, rows and columns, and power them from the usb port on the computer or benchtop supplies.
Explore how transistors function as amplifiers and switches, covering NPN/PNP BJTs and MOSFETs, gate voltage control, nanoscale sizing, and their role in modern computing.
Blink an led to reproduce morse code and transmit SOS with Swift IO micro. Learn to implement short and long flashes using arrays, for in loops, and if else statements.
Learn to control an LED with two dedicated buttons—on and off—using three state variables, nested if statements, and a ten millisecond debounce to set the LED high or low.
Demonstrates a two-button dimmer that adjusts an led’s brightness via pwm using rising-edge interrupts. Learn to clamp duty cycles with max/min and update the led in a simple main loop.
Read the potentiometer's analog value and map it to a pwm frequency from 50 hz to 1050 hz to control the buzzer pitch, using a 50% duty cycle.
Read the potentiometer's analog input as a percentage, then set the PWM duty cycle to control the LED brightness, demonstrating analog-to-digital conversion and PWM concepts.
Design and implement an RTC-based alarm clock that triggers a buzzer and led at the set time, with a stop button and automatic stop via a duration.
Use the accelerometer to motion-activate a dice roll, detecting shake or tilt with thresholds, and print a random 1–6 after the device steadies, with an LED indicator.
Explore driving a 240x240 TFT LCD with SPI in Swift, learn the coordinate system and 16-bit color, and create graphics by filling the screen, drawing lines, and colored squares.
Light up the lcd with a rainbow by drawing colored rectangles and converting 32-bit colors to 16-bit rgb565, exploring color depth, byte order, and Swift map usage.
Build a music player in Swift for the SwiftIO board that converts notes and time signatures into code, generates sine-wave audio samples, and plays multi-track scores through a speaker.
learn to control an led from your computer using uart serial commands, sending 1 to turn on and 0 to turn off via a usb serial connection and uart zero.
Create a two-player tic tac toe game on a ST7789 lcd using swift io, with a 3x3 grid, potentiometers and buttons, and colored squares.
Expand the blinky project by adding a second LED on a breadboard with power rails, wiring, and separate microcontroller pin control to blink two LEDs independently.
Explore debounce, the process of removing button bounces and other hardware transitions, and learn hardware and software fixes like capacitors and delays to stabilize microcontroller readings.
SwiftIO Micro / SwiftIO Playground
Explore the Realm of Hardware with Swift
Venture into an innovative space where Swift transcends its traditional boundaries of iOS, macOS, watchOS, and tvOS development. SwiftIO heralds a new era, introducing the world's first microcontroller that uses Apple's Swift programming language. This course invites you to meld the realms of software and hardware, enabling the creation of remarkable tech devices fully controllable with Swift.
Why Choose SwiftIO?
SwiftIO equips you with a powerful platform designed to bridge your software development expertise to the tangible world of hardware. This course demystifies the process, offering you the tools and knowledge to command LEDs, motors, servos, and a plethora of devices, bringing your code to life.
Development Environment: Visual Studio Code
Ditch the complexity for simplicity with Visual Studio Code, our recommended development environment. Tailored for SwiftIO, Visual Studio Code ensures a smooth transition for Swift developers into hardware programming. Coupled with the mm-sdk CLI tool, it offers a seamless workflow from code to deployment on your SwiftIO board.
Swift Among Titans
Join Swift as it stands among giants like C/C++ (Arduino), Python (MicroPython, CircuitPython), and Go (TinyGo) in the microcontroller domain. SwiftIO's introduction brings the elegant syntax and power of Swift to microcontroller-based projects, expanding its reach and capabilities.
What You'll Learn:
This comprehensive course covers all bases - from the fundamentals of electricity and circuit components to a deep dive into Swift programming. You'll start from scratch, building a solid foundation before moving on to more complex and impressive projects. Whether you're new to programming, electronics, or looking to leverage your Swift skills in new ways, this course has you covered.
Begin Your Journey
This course is your ticket to blending digital creativity with physical innovation. By its end, you'll not only grasp the essentials of using Swift in a new light but also gain the confidence to design and execute your own hardware projects.
Embrace the challenge and start transforming your digital expertise into physical creations with SwiftIO. Begin your journey into hardware programming today.