Posts

Showing posts with the label Project

Cifradopro: A baremetal Hardware Security Module using the STM32L4S5 Cortex-M4 MCU

Image
What is CifradoPro? Cifradopro is a baremetal Hardware Security Module based on the STM32L4S5ZI microcontroller. It is capable of generating Random Keys in various sizes, Encrypting plaintext, and Decrypting ciphertext using the Advanced Encryption Standard. Additionally, it can create One-Time Pads of different lengths and generate a Hash of input data using the Secure Hashing Algorithm. The module can store the generated cryptographic keys in an external memory device. As a safeguard against physical tampering, the device is designed to erase the contents of the external memory if the enclosure is breached. The device leverages the Random Number Generator , AES Hardware Accelerator , and HASH Processor of the STM32L4S5ZI for cryptographic operations. It employs the built-in UART peripheral for device control via a serial terminal application such as PuTTY. The external memory, a  256kBit EEPROM from Microchip , is interfaced using the STM32L4's onboard I2C Peripheral. A GPIO pin

AESecureIO: Embedded Data Encryption and Decryption System

Image
What is AESecureIO? AESecureIO is an embedded system application developed on an STM32F401RET6 Nucleo-64 Development Board. It encrypts user-input data using AES-128 in Cipher Block Chain (CBC) Mode and stores it securely on an SD Card using the SDIO Interface. The application also supports the retrieval and decryption of data from the SD Card. This device utilizes the STM32F401 Microcontroller's SDIO (Secure Digital Input/Output) interface and the USART (Universal Synchronous/Asynchronous Receiver/Transmitter) peripheral. The SDIO interface manages data transfer between the microcontroller and the SD Card, while the USART peripheral enables data input and output through a serial monitor, such as PuTTY. The advantage of this device lies in the centralized approach to data encryption and decryption. By using a single point of encryption and decryption with a predefined 128-bit key , the device ensures that data retrieval can only be performed through it. This method grants the use

Musical Keyboard : STM32 UART Receiver

Image
Musical Keyboard Let's configure the STM32F401 Nucleo-64 Development Board to work as a UART Receiver and emulate a Musical Keyboard by using our own libraries and drivers. We will use the STM32F401's  GPIOA Port USART2 Peripheral SysTick Timer The basic functionality is to Receive a character from the PC Keyboard and play the sound note mapped to the keystroke in the Keyboard.h file. I have written separate Modules for each peripherals, that is, GPIO.h  To initialise and Toggle the GPIO Pin Output UART.h To initialise the USART2 Peripheral, Receive the Characters from PC and to Print info on the Serial console  Delay.h To produce Micro-second and Milli-second specific delays Keyboard.h Mapping the Music Note periods and the function definition for playing a specific Musical Note GPIO Module The GPIO Module has two functions. The GPIO_Init() function enables the clock access to AHB1 Bus, Configures the GPIO Port A Pin 5 to Output Mode. GPIO_Toggle() function toggles the Output

SignGlove: Bridging the Communication Gap for Paralyzed Patients

Image
SignGlove What is SignGlove ??? SignGlove is an innovative wearable glove designed to bridge the communication gap for paralyzed patients, enabling them to express their wants and needs through hand signals. It enables caretakers to understand and respond to the needs of individuals with limited mobility.  Over a Wi-Fi network, SignGlove allows users to transmit their hand signals directly to a caregiver's device. One of the key features of SignGlove is its configurability, which allows it to adapt to each user's unique abilities and hand gestures. By customizing the device to match the specific range of motions and signals that a user can comfortably make, SignGlove ensures a highly personalized and tailored communication experience.  With SignGlove, paralyzed patients no longer rely solely on non-verbal cues or guesswork to convey their needs. The SignGlove concept ...... The concept of SignGlove was inspired by the work of Navid Azodi and Thomas Pryor from the Univer