This repository contains all the Arduino code examples from the CardanoThings workshops. These examples are organized by workshop and can be used directly in the Arduino IDE.
For complete tutorials, step-by-step instructions, and detailed explanations, visit the workshops on cardanothings.io:
- Workshop 01: The Basics - Set up your Cardano wallet, Arduino IDE, and make your first API call
- Workshop 02: Read and Output - Read data from the blockchain and output it to displays and hardware
- Workshop 03: Input and Write - Read sensor data and put it on-chain using APIs
- Workshop 04: Cardano Ticker - Build a ticker to display token prices and NFT floors
- Workshop 05: QR-Code Payments - Build a payment system with QR codes on your microcontroller
Workshop-01/
examples/
blink-code/
wifi-code/
koios-api-code/
Workshop-02/
examples/
wallet-balance-code/
blockfrost-code/
tft-display-code/
formatted-display-code/
relay-code/
led-code/
epoch-clock-code/
simple-epoch-code/
...
Each example folder contains:
*.ino- Arduino sketch file (ready to open in Arduino IDE)README.md- Documentation and usage instructions
- Install Arduino IDE - Download from arduino.cc
- Install ESP32/ESP8266 Board Support - Follow the setup guide in Workshop 01
- Open an Example - Navigate to any workshop folder, open the example folder, and double-click the
.inofile - Follow the Workshop - Visit the corresponding workshop page on cardanothings.io for detailed instructions
Each example is designed to work with the Arduino IDE. Simply:
- Open the
.inofile in Arduino IDE - Install any required libraries (instructions in each example's README)
- Update WiFi credentials and other configuration as needed
- Upload to your microcontroller
- Website: cardanothings.io
- Workshops: cardanothings.io/workshops
- GitHub Repository: github.com/CardanoThings/Workshops
These code examples are provided as part of the CardanoThings educational workshops. Feel free to use, modify, and share them for learning and building your own projects.
Found a bug or want to improve an example? Contributions are welcome! Please open an issue or submit a pull request.
Happy Building! 🎉