Welcome to Oracle Communities
Register and Participate in Oracle's online communities. Learn from thousand of experts, get answers to your questions and share knowledge with peers.
Choose a layout and drag widgets onto your Overview Page to customize it. Widgets placed on the page below can be configured by selecting the symbol.
Automating a Barn Using Arduino, Raspberry Pi, Micronaut, Streaming, Docker, Kubernetes, an Autonomous Database, and the Cloud
In this session learn about a project to automate tasks in a barn, including scheduling when the lights turn on and off, temperature monitoring, and a webcam. Explore the model and learn about the hardware and software used in it. At its core, the system uses an Arduino, Raspberry Pi, and various pumps, solenoids, motors, and sensors to simulate the automation of specific tasks such as filling a water bowl, opening, and closing doors, monitoring the environment and turning on and off lights on demand or via a schedule.
The hardware runs a client that has been implemented in several languages for demo purposes (currently Node and Groovy). The client interfaces with a messaging queue via a cloud-based microservice (also implemented in Node and Groovy with Micronaut) for messaging to both store sensor data in an autonomous database instance and stream data to the Angular front end in real time via server-sent events. The Raspberry Pi client also receives commands for remotely performing specific tasks on demand. The persisted data is formatted and displayed on a web application running in a Docker container that is deployed to a cloud-based Kubernetes cluster.
Look at both the hardware and software that power this system and see how the project can be used as a playground for learning new technologies, languages, and frameworks.
He’s obsessed with technology and programming and feels extremely lucky to get paid to do what he loves every single day. When not learning a new language, tool, or framework he can usually be found volunteering at his local school working with the FLL Lego Robotics club, working on his barn automation project built with Raspberry Pi and various sensors with a web-based interface, or making new friends at a conference.
Todd has been happily married to his lovely wife Rhonda for 16 years. He lives in the beautiful Appalachian mountains of North Georgia with their 13-year-old daughter, 11-year-old son, seven chickens, a potbelly pig, a dog, and a cat.
* US$300 free credits available in select countries and valid for up to 30 days. You can run a maximum of 8 instances across all available services and up to 5 TB of storage during the promotional period. Oracle Cloud credits are consumed at discounted rates during the 30-day promotional period. The capacity limits listed under each service are only estimates and reflect the maximum capacity you can get if you consume your entire credits on one service during the promotional period. The maximum capacity per service you get can be less if you consume multiple services. The list of services and capacity estimates are subject to change. Your credit balance is available to you on the Oracle My Services dashboard.