https://github.com/lucianoscarpaci/atmega328p
🔒 Embedded Crypto Projects with Arduino board.
https://github.com/lucianoscarpaci/atmega328p
aes arduino arduino-projects atmega328p cryptography haskell nix
Last synced: about 1 month ago
JSON representation
🔒 Embedded Crypto Projects with Arduino board.
- Host: GitHub
- URL: https://github.com/lucianoscarpaci/atmega328p
- Owner: lucianoscarpaci
- License: mit
- Created: 2025-03-04T20:35:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-14T19:48:44.000Z (over 1 year ago)
- Last Synced: 2025-10-25T08:38:36.282Z (8 months ago)
- Topics: aes, arduino, arduino-projects, atmega328p, cryptography, haskell, nix
- Language: Haskell
- Homepage:
- Size: 3.27 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A T M E G A 3 2 8 P


🔒 **Embedded Crypto Projects with Arduino Board**
Welcome to the ATmega328P project repository! This project is all about exploring embedded systems and cryptography using the Arduino platform.
## 📜 Project Overview
This repository contains various projects that demonstrate the capabilities of the ATmega328P microcontroller. Our current project list includes:
- **Blink**: A simple yet essential project to get you started with Arduino programming.
- **EEA**: A project that demonstrates the extended Euclidean algorithm (EEA) for finding modular inverses.
- **RNG**: A random number generator (RNG) implementation to show random key generation.
- **AES**: An implementation of the Advanced Encryption Standard (AES) algorithm for encryption and decryption.
## 🛠️ Requirements
To get started with this project, you'll need the following:
- **nix-shell**: A powerful tool for managing development environments.
## 🚀 Getting Started
### Installing the AVR Core
Before you can start working with the ATmega328P, you'll need to install the AVR core in the Arduino CLI. Here's how:
1. Start `nix-shell`.
2. Run the following command to install the AVR core:
```bash
arduino-cli core install arduino:avr
```
### Automated Compiling and Flashing
Once the core is installed, you can compile and flash your sketch. Navigate to the project directory and run:
```bash
./flash
```
build.hs is the config file that can be edited for new settings.
### Screenshot of AES Project

## 🤝 Contributing
We welcome contributions from the community! If you have ideas for new projects or improvements, feel free to open an issue or submit a pull request.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.