I've got udev rules that trigger a shell script when I turn the mouse off/on. That's the first part!
Still haven't been able to find a way to use libinput, kcfg (Python CLI for modifying KDE settings), probably something else to disable the touchpad or stop processing its events.
Anyone know a good, not too expensive, in stock #i2c screen? 128x32 min. Seems a lot of cheap or not well stocked options out there or I'm not looking in the right place.
So essentially, serial transmission over the #I2C bus via the #SC16IS750 works now at 9600 baud. One important step closer at getting the ForthDeck connected to the outside world ... heh ...
... new #I2C project is about to begin with this nice little fellow (SC16IS750), which I hope to make available as a secondary serial interface device for the #My4TH#ForthDeck via its I2C bus. And then things will get interesting ...
I've got a busted consumer product here that has 2 #Holtek#microcontrollers in it. Either one would be sufficient to run this product (a brushless-motor tower fan), but #MCUs are cheap, so why not throw a second one in if it saves a few centimeters of wire?
I'm trying to determine if there's a #standard#serial#physical#layer in use here to communicate from one #MCU to the other. It's one-way communication.
The other MCU pulls the signal wire to #ground to xmit.
The MCUs - Holtek BS82C16A-3 and BS84B08A-3 - natively support #SPI and #I2C, but this isn't either of those.
Each #frame with one byte of data starts with a long (~10ms) low pulse (for #sync, presumably), followed by the #data line returning high for ~5ms, then the data bits are transmitted as low #pulses of different durations for 0 and 1 - 0.6ms and 2.8ms.
The eight data bits are followed by a stop/end bit, always short.
Spring's over but it's always time to clear out dusty old designs 🌸🧹🔧🎛️💡🔄
Ok it's no longer spring, but that's no excuse to not do some spring cleaning on old PCBs. theres quite a few designs that we started in mid 2020 that languished due to part shortages. here's a PCB we did a bunch of work on 3 years ago!
then we recently noticed that we could probably revive it, a few parts needed replacing: the 3.3V buck converter and the backlight booster both got discontinued, and we now add stemma QT ports on I2C-capable devices. what do you think this board does?
quad-rotary board is getting ready to stock 🔁🎛️💻🔄🔌
this seesaw board converts 4 rotary encoders to I2C for adding a ton of twists. like our other attiny8xx boards, we use a metro m0 to do the programming of the UPDI interface, then communicate over I2C to check each pin is not shorted or open. this will be in the shop soon so don't get your knickers in a twist! https://www.adafruit.com/product/5752
I have one of these PCF8575 modules, and it looks like there is an solder jumper option to bypass the 3V3 regulator on board and connect the input voltage (VCC) directly to the chip voltage (VDD)...
But won't this connect the input and output parts of the regulator together? Is that ok? How does that work?
Then, I went ahead and used what little #Forth I have learned so far along with the My4th custom words 'i2c-start', 'i2c-send', 'i2c-recv' and 'i2c-stop' to try to read raw temperature data from the sensor. And: it works!
I now need to figure out how I can get a reasonable temperature value from it, checking the BMP180 #Datasheet again ...