Hi Bogdan - it's been a while! Espruino has improved a lot :)
@Robin Bogdan first used Espruino about 6 years ago!
If you have a Bluetooth LE keyboard then it should be possible to get one of the Bluetooth LE Espruinos to talk to it. I'm not aware of any example code for doing it, but I believe it's reasonably straightforward to listen to the relevant BT characteristic. The keyboard you posted is a Bluetooth 3 one (rather than 4.2) though so I'm afraid you won't have any luck there.
There's no USB Host support on Espruino, and while there was talk of making a library to interface to a USB Host controller chip (I think Microchip make one?) I don't think anyone actually did it.
Having said that, I believe a lot of keyboards/wireless receivers still support PS/2 comms if they're powered up with the USB pins connected a certain way (pullup?). It's hard to find full info on which ones support it but it could be worth trying.
You can easily get PS/2 data just using setWatch(...,clock_pin,{data:data_pin,edge:"falling"/*?*/}) though, so you can connect that way.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Bogdan - it's been a while! Espruino has improved a lot :)
@Robin Bogdan first used Espruino about 6 years ago!
If you have a Bluetooth LE keyboard then it should be possible to get one of the Bluetooth LE Espruinos to talk to it. I'm not aware of any example code for doing it, but I believe it's reasonably straightforward to listen to the relevant BT characteristic. The keyboard you posted is a Bluetooth 3 one (rather than 4.2) though so I'm afraid you won't have any luck there.
There's no USB Host support on Espruino, and while there was talk of making a library to interface to a USB Host controller chip (I think Microchip make one?) I don't think anyone actually did it.
Having said that, I believe a lot of keyboards/wireless receivers still support PS/2 comms if they're powered up with the USB pins connected a certain way (pullup?). It's hard to find full info on which ones support it but it could be worth trying.
You can easily get PS/2 data just using
setWatch(...,clock_pin,{data:data_pin,edge:"falling"/*?*/})
though, so you can connect that way.Hope that helps!