These are lectures, thoughts, ideas and projects contributed by the Swift for Arduino community
Batchelor thesis - Investigating the suitability of Swift for Arduino for commercial use
contributed by Martijn BogaertAs Martijn's thesis project at the university of HOGENT he undertook to investigate the viability of Swift for Arduino as a commercial platform for the creation of internet of things devices. His research had many interesting conclusions and is well worth a read. He has kindly allowed us to link to his GitHub site with a summary of some of his findings and some sample code The Smart Bin Project. Please do take a look!
Hello World tutorial
contributed by Felix Pursian
This tutorial will take you through how to do the hello world of arduino but, more importantly, it also explains a lot of the concepts of making circuits, how resistors and LEDs work, even breadboards.
This is a fantastic tutorial for developers who are just getting started in the world of hardware. We really recommend it.
Elegoo 2560 Most Complete Starter Kit
contributed by Scott GouldScott's project is a Swift port of the tutorials for the tutorials for the Elegoo 2560 Most Complete Starter Kit from C to Swift and made them neater and more fun!
What a great way to get started in the world of Swift for IoT/Devices! You'll get a chance to practice and play with all sorts of hardware from Elegoo's kit, the Swift software making your projects easy to write so you can concentrate on the hardware.
The github page with the code is here.
Full Stack Swift
contributed by Axel RoestAxel attempted the brave, thought not to be possible. He built a full end-to-end solution device for detecting if his plants need to be watered. The microcontroller code reading the sensors is written in swift, the raspberry pi server code is written in swift... a daemon to store plant data and a Vapor server to serve it up as an API. And of course the iOS app is written in Swift to read and display it. An amazing piece of work! It has already inspired at least two more projects like it.
The link to the video is here.
The S4A contributor lectures
- Swift for Arduino contributors lecture 1 (state of the union/logic analysers)
- Swift for Arduino contributors lecture 2 (how do ints in S4A get compiled efficiently)