Posts
Balancing the Tech Debt
Did you ever work on a legacy code base and thought "How the hell did we get here?"? Here are my thoughts on how to handle tech debt.
The Value of Complex Types
Discover the value of complex types in programming, focusing on their role in ensuring code safety and reducing bugs. This post explores the benefits of strong type systems, particularly in TypeScript, and illustrates their practical application in web development.
IoT — Building an automated greenhouse Pt. III
Complete the automated greenhouse project by integrating Google Cloud Functions to send notifications when soil moisture levels drop. This guide covers setting up cloud functions, modifying device code, and ensuring the system runs smoothly with Firebase, ultimately providing a robust solution for maintaining your greenhouse.
IoT — Building an automated greenhouse Pt. II
Continue building an automated greenhouse by adding an interface to configure soil moisture reference values and implement authentication with Firebase. This guide explains protecting database access, setting up user authentication, and updating sensor data references in Firestore.
IoT — Building an automated greenhouse Pt. I
Start building an automated greenhouse using a Raspberry Pi, sensors, and an analog-digital converter. This guide covers setting up the hardware, enabling SPI, connecting a soil moisture sensor, and writing a Node.js program to read and send sensor data to the cloud.
IoT — Data visualization
Learn to visualize IoT data by setting up Firebase and using Recharts to create dynamic charts. This guide covers connecting to Firestore, querying sensor data, and displaying it in a React app with interactive graphs.
IoT — going serverless
Explore the benefits of serverless architecture for IoT projects, focusing on using Firebase for real-time data management and deployment. This guide covers setting up Firebase, authenticating with Google, and migrating from traditional storage solutions to a serverless approach for efficient, scalable applications.
IoT — Internet of things and the cloud
Discover how IoT leverages cloud computing to manage and process data from connected devices. This post covers setting up a Node.js app on Heroku, using Git for deployment, and integrating MQTT for real-time data synchronization.
IoT — Communication protocols
Explore the various communication protocols used in IoT, focusing on MQTT for efficient machine-to-machine communication. This guide explains MQTT's lightweight binary protocol, its publish/subscribe model, and how to implement it using a message broker and Node.js.
IoT — Reading and sending sensor data
Learn how to read and send sensor data using a Raspberry Pi and a DHT11 sensor. This guide covers setting up the sensor, installing necessary libraries, and creating a Node.js application to collect and transmit temperature and humidity data to a server.
IoT — Setup and first steps with the Raspberry Pi Zero
Set up and start using the Raspberry Pi Zero, including preparing the operating system, enabling WiFi and SSH, and finding the device on your network. Learn to install Node.js and create a simple project to make an LED blink using JavaScript.
IoT — What is the Internet of Things?
Explore the Internet of Things (IoT), a vast network connecting edge devices, servers, and platforms for data collection and analysis. This post covers the basics, from embedded programs on hardware like Raspberry Pi to cloud-based machine learning, making IoT accessible for beginners and professionals alike.