Simple standalone Bluetooth BLE HID module? - Page 1
Forum section: electronics / projects

author: Renate
author_rank: Super Contributor
timestamp: September 13, 2021, 01:37:49 pm
content: It seems there is so much of this stuff out there, but it's hard to find what I want.I want a standalone module, that has a good supplied manufacturer's library and interfaces with an API and callbacks in C.This is not rocket science, a couple of buttons, maybe an encoder knob or sensors.I can do the SDP and HID report descriptor myself, actually, I insist.Things that I don't want to hear:Works with any ArduinoSupports AT commands over serial (hey, I lived through those modem years)Supports WiFi (don't need the power waste)Dual core, hardware FP, 1M flash...

author: Renate
author_rank: Super Contributor
timestamp: September 13, 2021, 04:40:00 pm
content: Well, I had downloaded the "Wiced Smart" SDK/IDE from Cypress, I mean Broadcom, I mean Infineon.It didn't have any samples and it seemed to only support one device.I see that the "PSoC Creator" looks like a more suitable thing.Edit: Oh, I see if you want to use PSoC 6 you have to use "Modus Toolbox".That's all as clear as mud.More edit: Ok, I'm beginning to see the light.The PSoC Creator knows about modules, DigiKey has 15,000 of the CYBLE-012011-00 for $8.98One click gets you something to modify.

author: Renate
author_rank: Super Contributor
timestamp: September 14, 2021, 03:33:09 pm
content: They do make this all a bit complicated.In an introduction to PSoC Creator, they say:QuoteIf you answer "no", they direct you to use Modus Toolbox.In short, PSoC Creator, legacy, Windows only. Modus Toolbox, current, Windows, Linux, Mac.Well, apparently anything I say here I have to correct.The CYBLE-012011-00 seems a reasonable module, BLE 4.1, $9, available.In PSoC Creator, you hit "New Project" and select the CYBLE-012011-00 as your target. Simple eh?In Modus Toolbos, you hit "New Application" and select "Generic PSoC 4" and then you from the ground up create your custom BSP. WTH?

author: mikerj
author_rank: Super Contributor
timestamp: September 14, 2021, 05:25:54 pm
content: Have you run the device configurator?

author: Renate
author_rank: Super Contributor
timestamp: September 14, 2021, 05:48:59 pm
content: Quote from: mikerj on September 14, 2021, 05:25:54 pmNo, I hadn't.It asks you for a .modus file, so I selected the one that I had created by selecting "Generic PSoC 4".Starting with problem #1, I don't even know the exact MCU inside this module. That doesn't appear anywhere in the datasheet more explicitly than "56-pin QFN PSoC 4 Bluetooth LE".The next problem is that I can't even find any MCUs at all under my system.

author: Renate
author_rank: Super Contributor
timestamp: September 15, 2021, 11:52:20 am
content: Yes, the PSoC Creator looks like it will work fine.I had selected my module, then BLE HID keyboard example, then hit build and it did.Everything else is fine tuning.I don't really like the silly schematic entry, especially when not really necessary.I'm mostly annoyed that the Wiced Studio / Wiced Smart / PSoC Creator / Modus Toolbox dividing lines are so opaque.I'm annoyed that Modus Toolbox appears to be trying to present itself as the future path but even after being out for a few years they can't be bothered to throw in a couple of BSPs for their own modules.