Difference between revisions of "Magic Key"
(6 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
1. The [[STM32L432]] is one of the few [[STM32]] [[MCU]]s which do not require a crystal to work with [[USB]] | 1. The [[STM32L432]] is one of the few [[STM32]] [[MCU]]s which do not require a crystal to work with [[USB]] | ||
+ | |||
2. Built-in hardware random generator | 2. Built-in hardware random generator | ||
− | 3. Plenty of built-in flash - in fact the STM32L432KB have double what is specified. | + | |
+ | 3. Plenty of built-in flash - in fact the STM32L432KB have [[STM32L432Kx Flash Size|double what is specified]]. | ||
+ | |||
+ | For extra storage a [https://lcsc.com/product-detail/NOR-FLASH_Winbond-Elec-W25Q128JVSIQ_C97521.html W25Q128] flash was added, mostly because this is a basic part readily available at [[JLCPCB]]. | ||
=== Revision a === | === Revision a === | ||
Line 28: | Line 32: | ||
File:Magic Key rendering - bottom view.png | File:Magic Key rendering - bottom view.png | ||
</gallery> | </gallery> | ||
+ | |||
+ | === Revision a photos === | ||
+ | |||
+ | <gallery> | ||
+ | File:Magic Key and Display.jpg | ||
+ | File:Display flex.jpg | ||
+ | File:Display flex fit.jpg | ||
+ | </gallery> | ||
+ | |||
+ | == Miscellaneous Links == | ||
+ | |||
+ | * [https://datasheet.lcsc.com/lcsc/1811142111_Winbond-Elec-W25Q128JVSIQ_C97521.pdf W25Q128 Datasheet] | ||
+ | * [https://www.st.com/resource/en/datasheet/stm32f411ce.pdf STM32L432Kx Datasheet] | ||
+ | * [https://cloudflare-ipfs.com/ipfs/QmUGduV94vdwiX5FpM5uAbNPBNw48gFXgJZyFJFeLJrbws/dm00119316-stm32f411xc-e-advanced-arm-based-32-bit-mcus-stmicroelectronics.pdf STM32L432Kx Reference Manual] | ||
+ | * [https://github.com/achimdoebler/UGUI uGUI - minimal GUI] |
Latest revision as of 01:52, 21 August 2022
The Magic Key is a little weekend project primarily started because I had a bunch of ST7789 1.3 inch displays lying around in a drawer.
This page will document the design of the device as well as development for it.
Hardware Design and Development
As mentioned earlier, the idea was a result of some left over ST7789 displays. Essentially any STM32 MCU with a USB port could have been used, but a number of reasons lead to the use of the STM32L432 MCU:
1. The STM32L432 is one of the few STM32 MCUs which do not require a crystal to work with USB
2. Built-in hardware random generator
3. Plenty of built-in flash - in fact the STM32L432KB have double what is specified.
For extra storage a W25Q128 flash was added, mostly because this is a basic part readily available at JLCPCB.
Revision a
Schematics
Renderings
Before ordering, KiCAD 3D renderings: