*** tpb has joined #tomu | 00:00 | |
CarlFK | https://github.com/xobs/circuitpython/blob/fomu/ports/atmel-samd/common-hal/touchio/TouchIn.c | 00:02 |
---|---|---|
tpb | Title: circuitpython/TouchIn.c at fomu · xobs/circuitpython · GitHub (at github.com) | 00:02 |
xobs | What's going on? | 00:03 |
CarlFK | trying to figure out how to read touch pads in python | 00:03 |
xobs | Well, "touch" isn't implemented really. Someone needs to come up with a proper captouch library. But you may be able to fake it. | 00:04 |
CarlFK | I'm looking at how Adafruit's did if for the CPX board | 00:04 |
xobs | The touch pads are exposed in the DigitalIO module. | 00:04 |
CarlFK | what / where is DigitalIO | 00:05 |
xobs | In particular, the code is available at https://github.com/xobs/circuitpython/blob/fomu/ports/litex/common-hal/digitalio/DigitalInOut.c | 00:05 |
tpb | Title: circuitpython/DigitalInOut.c at fomu · xobs/circuitpython · GitHub (at github.com) | 00:05 |
xobs | https://learn.adafruit.com/circuitpython-digital-inputs-and-outputs/digital-inputs maybe? | 00:05 |
tpb | Title: Digital Inputs | CircuitPython Basics: Digital Inputs & Outputs | Adafruit Learning System (at learn.adafruit.com) | 00:05 |
xobs | You can try setting it to an input and reading it. As a hack, you can try setting pin T1 and T4 as output, with T2 and T3 as output set as "1". That might give you something that'll vaguely work. | 00:06 |
bjonnh | https://gist.github.com/bjonnh/cb2c2c356eb8cade960e878448300dac | 00:09 |
tpb | Title: Playing with the fomu hacker edition. Light the RGB leds according to the touch sensors status. · GitHub (at gist.github.com) | 00:09 |
bjonnh | the litex whatever approach | 00:10 |
xobs | bjonnh: that's a great test harness to develop a "real" captouch module. | 00:16 |
*** rohitksingh has joined #tomu | 00:16 | |
bjonnh | xobs: there is something I don't know in what I did | 00:24 |
bjonnh | I'm using a digital input no? | 00:24 |
bjonnh | tbh it is pretty sensitive and somewhat reliable | 00:27 |
bjonnh | didn't try with CarlFK sticky fingers | 00:27 |
xobs | It depends on a lot of things. Humidity, how shielded your home wiring is, things like that. Most of the work of a real captouch library would be to filter that out. And get things like field-effect detection. | 00:28 |
xobs | Not that I'd recommend copying it directly (it looks like it may require an external pullup, and I don't know how good it is), but Lattice has a reference design at http://www.latticesemi.com/en/Products/DesignSoftwareAndIP/IntellectualProperty/ReferenceDesigns/ReferenceDesign03/CapacitiveTouchSenseController.aspx | 00:38 |
tpb | Title: Capacitive Touch Sense Controller - Lattice Semiconductor (at www.latticesemi.com) | 00:38 |
CarlFK | xobs: did anyone make a tomu/fomu ubikey thing yet? | 00:40 |
xobs | CarlFK: not that I'm aware of. | 00:41 |
*** rohitksingh has quit IRC | 00:46 | |
futarisIRCcloud | https://www.crowdsupply.com/solokeys/somu ??? | 01:10 |
CarlFK | kinda - part of the tomu origin story was "$50 for a ubikey!!?" | 01:11 |
CarlFK | so a little surprising there isn't something already | 01:12 |
*** rohitksingh has joined #tomu | 02:08 | |
*** rohitksingh has quit IRC | 02:28 | |
*** rohitksingh has joined #tomu | 02:35 | |
*** CarlFK has quit IRC | 03:43 | |
*** CarlFK has joined #tomu | 04:03 | |
*** rohitksingh has quit IRC | 04:45 | |
*** xkapastel has joined #tomu | 08:10 | |
*** rohitksingh has joined #tomu | 09:11 | |
buZz | really? i think i saw U2F code for tomu already | 10:38 |
buZz | https://github.com/im-tomu/chopstx | 10:38 |
tpb | Title: GitHub - im-tomu/chopstx: U2F firmware for Tomu board (+ chopstx port) (at github.com) | 10:38 |
buZz | yeah, 4 years old | 10:38 |
buZz | CarlFK , xobs , ^ | 10:39 |
*** pollo has quit IRC | 12:00 | |
*** pollo has joined #tomu | 12:00 | |
*** xkapastel has quit IRC | 14:30 | |
CarlFK | bjonnh: ^^ | 15:05 |
CarlFK | buZz: thanks | 15:06 |
buZz | welconme | 15:06 |
buZz | -n | 15:06 |
*** rohitksingh has quit IRC | 15:46 | |
*** suchende has joined #tomu | 16:03 | |
suchende | hello folks, I'm struggling with the dfu releases for the foboot. How do I do this with the dfu-util? Only the updater.dfu or first the updater.dfu and then the foboot.dfu file? | 16:15 |
xobs | suchende: just the updater. foboot.dfu is used more to test it first, or to get the benefits of foboot-2.0 without permanently installing it. | 16:16 |
suchende | Ok, thanks | 16:17 |
*** suchende has quit IRC | 16:26 | |
*** emeb has joined #tomu | 16:46 | |
*** wrtlprnft has quit IRC | 16:48 | |
*** wrtlprnft has joined #tomu | 16:48 | |
*** CarlFK has quit IRC | 18:05 | |
*** CarlFK has joined #tomu | 18:17 | |
*** CarlFK has quit IRC | 18:41 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!