Tagged: usb

USB to LCD converter with STM32F0 7

USB to LCD converter with STM32F0

A great electronic, Marko, did a nice project to show, how STM32F070 in 20-pin footprint can be used with USB and LCD. For 20-pin this MCU is very powerful with his 48MHz and USB with some other peripherals. For hardware specification, including schematics and PCB top layer for toner transfer, you can check an original link, posted at the end of this post.

HAL Library 21- Multi purpose USB library for STM32Fxxx 99

HAL Library 21- Multi purpose USB library for STM32Fxxx

This USB library is designed in a ways that can easily be used with different modes. That’s why I’ve made a single library for everything what I support now and which support I will add in future. The main purpose of library is to support USB FS and HS modes on STM32Fxxx devices at the same time, without any problems. So I designed a library, which allows users to have all these possibilities: Use both USB modes as hosts Use...

All STM32 HAL libraries 106

All STM32 HAL libraries

In this section, I will write all libraries based on HAL drivers from ST. If you see this first time, make sure you read this post first about how structure of my libs looks like! License All my softwares are published under MIT license. This means that you are allow to modify, share and use my source and other stuff in personal or commercial use. If you modify source code, it has to stay under GNU GPL v3 license too. I...

Snake game on STM32F429-Discovery board 9

Project 02- Snake game for STM32F429-Discovery board

After first FFT project, I’ve decided to make a simple snake game. Basically I’ve made it in Labview first for my partial exam at the university. It looked great so why not port it also to STM32F429-Discovery board which has everything already prepared for us. You just need USB OTG cable and external keyboard to drive snake and you are ready to play. Snake game Features Works on STM32F429-Discovery board Supports external keyboard using USB HID Host stack on STM32 Supports...

Library 34- STM32F4 as USB HID Device 47

Library 34- STM32F4 as USB HID Device

With USB HID Device library, you can turn STM32F4 to be a keyboard, mouse or gamepad device. It also supports all three settings at the same time. Device is shown to computer as “Keyboard; Mouse; Game controller“. This library allows you to use 2 gamepads at the same time, one keyboard and one mouse. For mouse you can use left, middle and right buttons, X and Y cursor axes and wheel vertical rotation. For gamepads, you can implement 16 buttons...

Library 31- USB HID Host for STM32F4 87

Library 31- USB HID Host for STM32F4

USB HID (or Human Input Device) is a library, that allows you to read mouse or keyboard data with your STM32F4xx device. So you can use keyboard to write characters to STM32F4xx or use mouse for LCD or any other stuff. Library Features Interface with USB mouse 3 buttons and movement supported Interface with USB keyboard QWERTY or AZERTY supported