The 74HC165 is an 8-bit parallel-load shift register. We can have this as an option for reading many switches kinda like for mechanical keyboard builds. You can chain many 74HC165. I just used the native SPI of the XIAO nRF52840 (Sense) to clock-in the read data. The 74HC165 is not a native SPI device but…
All posts in Electronics and Programming
Electromyography sensor and a Wii Nunchuk as an HID-compliant USB Game Controller with a Teensy-LC
This is just a rough documentation for this project of mine. Schematic: Not found on the schematic and picture but the latest one has 100nF and 10uF on the 5v pin. Board: D16 – SW1 (Use internal pull-up)D17 – SW2 (Use internal pull-up)D21 – SW3 (Use internal pull-up)D22 – SW4 (Use internal pull-up)D23 – SW5…
World’s First DIY macOS Monterey Graphics Tablet build
This is just a quick entry to my project for additional information. Underneath this green board, there is the header for the built-in Arduino Leonardo of the Lattepanda Alpha. This board is for the fans and fingerprint sensor. I made a simple Python script to communicate with the Arduino Leonardo using pySerial to adjust the…
Xbox chatpad as a keypad for electronic projects
Do you need more keys in a keypad for your projects? You can use an Xbox chatpad. It is sort of a complete keyboard. I actually got the idea from The Ben Heck show(It is now called element14 presents): His chatpad has a PIC microcontroller on it that could be reprogrammed if you got a…
Making my own 2 digit 7 segment Pmod
So what’s a Pmod? Basically these are modules that you will just plug that follows the Pmod interface specifications. You can browse Pmods by Digilent here. You could plug these into microcontroller boards or FPGA boards that supports the standard. What I followed is the Pmod Interface Type 1A which utilizes all the GPIO on…
Periwinkle: One Instruction Set Computer
I want to talk about a CPU that I designed way back in 2016. I implemented it in C as a VM. A friend of mine, Bjørn is the one who made an assembler for it which is written in F#. Periwinkle is an OISC as opposed to RISC and CISC. It also has no…
My take on a Raspberry Pi portable
Too bad that the LCD module of this build is dead, I made an HDMI cable to see if it fixes the problem, it did not. This build can still be fixed though by buying a new LCD module for it. The HDMI cable that I originally used is made out of this. I think…
Affordable DIY Robot Platform
Are you looking for an affordable robot platform? Say no more. You can make one your self from an affordable toy. I believe it is called a “tumbling car”. You just need 2 of them. They cost at around 50php each. The total will depend on how you are going to attach them together. So…
Tileset image to a C 3d array converter
You are probably familiar with tile-based games like Stardew Valley. A game map is constructed piece by piece with the use of tiles organized in a tileset. A map is basically many small images stitched together. I have made a Python3 program that converts a tileset image to a C 3d array which can be…
A shift register abstraction in Golang
This builds up on the Golang ar150gpio package I made for accessing the GPIOs of the GL.iNet AR-150 router. If you are interested, here is the blog entry for it. As the number of outputs of the router is limited, I decided to write an abstraction for use with the shift register 74HC595N to expand…