line_edited.png

SwiftIO Circuit Playgrounds

Explore hardware using Swift

Here you’ll find a new possibility of Swift language, Usually used for iOS development, Swift could now run on microcontroller.

 

Its features and advantages makes the hardware development more accessible to all of you. You could easily use Swift to control different electronic devices around you, and even build some splendid projects.

playgrounds_edited.png

COMING SOON...

hardware.png

SwiftIO Circuit Playgrounds

SwiftIO Circuit Playgrounds is a super beginner kit. All components are prewired. After you successfully download the code, it starts immediately to work. You don't need to spend more time building the circuit.

It required no prior knowledge. You could follow our online guidebook and start with example codes. As you get more familiar, you could continue to explore interesting projects. 

It contains modules for light, control, sound, display, as well as sensors. So there are endless possibilities. You could use a button to control a LED, record your voice and play it back through a speaker, display data on a tiny screen...

playgrounds3.png

SwiftIO Feather

hardware.png

SwiftIO Feather is smaller in size but is powerful enough for most of your projects. It could do simple tasks like light LEDs, read sensor values, like many other circuit boards, what's more, it could also deal with audio and display with ease. Its powerful performance, plus the efficiency of Swift language, has huge potential in hardware development.

It follows the specification of the Adafruit Feather system to be compatible with its various hardware. And it could be easily embedded in your projects and powered with a lithium-ion battery.

Tech specs

  • Microcontroller

  • Power

  • Memory

  • LED

  • USB

i.MX RT1062 Crossover Processor with Arm® Cortex®-M7 core @600MHz

3.3V, or lithium-ion battery

8MB external flash, 32MB SDRAM

Built-in RGB LED

Type-C

  • Pins

DigitalIn/Out

AnalogIn

PWMOut

  • Communication

I2C

SPI

UART

I2SIn

I2SOut

CAN

36

14

14

2

2

3

1

1

1

featherPinout.png

MadMachine IDE

software.png

MadMachine IDE is the integrated development environment for SwiftIO board. It eliminates the complicated usages and provides you with a simple and clear interface. Thus, you could start your own code with ease.

 

In brief, you could use it to write code, compile and download code to the board. In addition, there are built-in examples for your reference.

 

The IDE is based on Electron, there are two versions in total: macOS and Windows. They are available for free download. Find their download links below.

IDE.jpg

For developers, there is also a CLI tool mm-sdk. You could edit code anywhere you like, like Xcode or VS code, then use the tool to compile it (the IDE also uses it to build your project). Find its tutorial here.

SwiftIO framework

Swift.png

SwiftIO framework is the Zephyr RTOS-based framework of our project. It abstracts all the low-level hardware and provides you with simple usage, including all the classes like DigitalOut, AnalogIn, PWM, I2C, SPI, etc. 

 

In your project, you need only to import it, then use the read or write method in each class. In this way, you could easily control the SwiftIO board.

@2xStructure.png

​Get started

Believe me, it’s really easy to start your first project. Just need a SwiftIO board, your computer, a USB cable and a SD card. Later on, you will use more electronic components to explore more about hardware.

​Let's enjoy

In the end

Why start this project?

There are many languages that could run on microcontrollers now, like C on Arduino, Python on MicroPython and CircuitPython, Go on TinyGo, .NET on NetDuino. Swift language is such an efficient and powerful language that could have huge potential in the microcontroller world, especially for some complicated applications and projects.

 

In addition, Swift language is now connected so tightly to the Apple system, and usually for iOS development. But it deserves more attention in other fields. So we came up with a cross-platform solution - the IDE on both Mac and Windows, as well as the CLI tool. 

We would like to take full advantages of Swift language on microcontroller world. And one day, maybe you could program the small screens in SwiftUI style.

MADMACHINE
CONTACT US
NEWSLETTER

​Be the first to know any update!

  • Discord-Logo-White
  • Twitter
  • GitHub-Mark-Light-120px-plus
  • YouTube