MobileOptimized 2020, Online – November 6-7, 2020
Full Stack Swift with Arduino, Alex Roest
This talk will present a new way to interface sensors to the embedded Arduino platform using the Swift for Arduino IDE, then collect the data on a Raspberry-Pi and finally present it using Vapor, a server-side-swift framework.
Hence a complete iot solution, fully in swift!
Microcontrollers are traditionally programmed in C or C++. A new application, "Swift for Arduino" allows Atmel/Arduino controllers to be written using swift.
Together with a database inject and API in Vapor Server Side Swift on a raspberry-pi and an iOS app written in SwiftUI we have a full iot chain fully written in swift.
The use case is a plant watering app, with sensors measuring the temperature and moistness of the earth.