Skip to main content

Serial-Json-Rpc

EEPROM Programmer: Implementing Serial JSON-RPC API

949 words·5 mins· loading · loading
A JSON-RPC API is implemented for the Arduino EEPROM programmer, with clean separation between protocol handling and application logic. The Arduino firmware exposes basic read/write primitives, while a Python CLI handles the business logic. Validation against the XGecu reference programmer confirms identical read and write behavior.

Project: Serial JSON-RPC for Arduino

970 words·5 mins· loading · loading
A reusable JSON-RPC library for Arduino Serial communication. Memory limits, encoding overhead, and debugging requirements shape the protocol design. Encapsulating JSON-RPC logic in a library simplifies development and improves maintainability despite higher resource costs.