I few years ago i met a group of guys that organized BSides Puerto Rico. For who do not know what BSides is, it is a security conference organized by the community. They happen all around the world so there might be one near you and you do not even know.
Anyhow, for this conference we wanted to make an electronic badge. Last year I went with an Arduino compatible badge by using an Atmega328p. This year though I wanted to use an ARM Cortext micro controller. Based on popularity, prices and accessibility I went with an STM32F0.
What I have in the design is a CH340G a STM32F030F4P6STM32F030F4P6 two shift registers and a 8 x 8 led matrix
Here is a picture of my first prototype:
All dirty that you see on the board is me and my iron overheating the board. The board has a microUsb connector on the back side and a male usb connector in from (not connected here) beneath the 8Mhz crystal.
The schematic is:
All my designs are open at my github
https://github.com/soynerdito/BSides20016Badge/tree/master/BADGE_LED_MATRIX_STM
I plan on making a few changes to the board and make a second prototype.
I have two sort of problems with this board.
- The micro usb connector has been a pain to solder. All my soldering is by hand and my success rate with the micro usb is not even at 50%. I keep on practicing but it is a pain. Any pointers are welcome.
- On my design I wanted to use a 3.3V voltage regulator. However when I mounted the board if I soldered the 3.3V regulator the board didn't worked. So I mounted a 5V regulator and it works. If anyone knows why something like that can happen please comment.
- Haven't been able to run with the debugger, all programming done via the factory bootloader.
Plans:
- Add an EEPROM to add some storage.
- Test some sensors and try to incorporate
The STM32 seems to be a great MCU but not too easy to start for beginners. I hope people can use them when we give them out.