Rawcoco

From SGMK-SSAM-WIKI
Jump to navigation Jump to search

Overview

A capacitive touch sensing USB device.

A 32-bit version/descendant of the Cocomake7.

A work in progress prototype to learn more about ARM dev, STM32 peripherals and compare results with the AVR and teensy based versions.

The goal is to make a versatile, affordable and creative plaything, that can be used for electronics and interaction/game design workshops.


Hardware

General Notes

Microcontroller:

  • STM32F042F6P6
  • Crystal-less USB with integrated USB (fullspeed) PHY
  • Capacitive touch sensing peripheral
  • Cost: ~$2 on Aliexpress (Chips Store)


SWD Pinout (topview, USB plug on the left):

  • VDD
  • SWCLK
  • VSS
  • SWDIO


Touchpad (TSC) order (topview, USB plug on the left):

  • G1_IO4
  • G1_IO3
  • G1_IO2
  • G2_IO4
  • G2_IO3
  • G2_IO2

Revision 0.01

Features:

  • 6 touchpads
  • micro USB port
  • debug LED
  • I2C / SWD connector

Software

USB HID Device

Status: Mouse, Keyboard, Gamepad HID devices are working.

USB Serial (CDC)

symbols can be sent

USB MIDI

Note working (yet). USB MIDI devices are more complicated to implement (USB Audio Device Class, MIDIstreaming), whereas HID devices are almost trivial to implement and modify.