01
Electronics bench
Components, wiring, schematics and original board photographs.
Life / Microcontrollers / Signals / Connected devices
A collection point for sensors, radio protocols, firmware, packet traces, board photos and connected-device experiments.
A space for the things I want to share
01
Components, wiring, schematics and original board photographs.
02
Message formats, validation rules, and communication failure modes.
03
Code snippets, test notes, and device-to-backend design decisions.
Stories / Notes / Work in progress
No personal iot & electronics stories have been published in this collection yet. This section automatically fills with my own approved posts, notes, recipes, or build logs as I add them.
Visit the Life notebookPhotography / Original media
A spot for the first photograph
Original photos only, with descriptive captions
Stories behind the images
Details and context, not stock or invented travel photos
Photo entries appear automatically after original pictures and captions are approved and added to the Life notebook.
Engineering / Inspectable examples
Small educational examples, not customer code or claims of deployed robotics, firmware, or backend systems. Open any sample for its checks, source references, and limitations.
TypeScript / Tested teaching helper
export function validatedSensorMessage(input:unknown):{deviceId:string;temperatureC:number}|null{
if(!input||typeof input!=="object"||Array.isArray(input))return null;
const record=input as Record<string,unknown>;
if(typeof record.deviceId!=="string"||!/^[-a-z0-9]{1,24}$/.test(record.deviceId))return null;
const value=record.temperatureC;
if(typeof value!=="number"||!Number.isFinite(value)||value< -40||value>125)return null;
return {deviceId:record.deviceId,temperatureC:value};
}Validate a small telemetry payload and drop unknown fields.
Already on the site / Related material