2023-09-29 (F) Weekly Summary

I wired the rest of the keyboard, mostly with silicone-coated conductors. I forgot to include the addressable LED bar in my drawing, so I sketched it in. I rearranged some of the IO to keep a few spare points on each IO expander chip and the microcontroller in case one fails.
Keyboard underside

The hardware tested well. I had some issues with messy code and a bad cable, but I sorted it out and got the light bar, voltage display, and headphone adapter working. The only issue I could not fix immediately was a faulty connection of one of the key columns, which I assume is a disconnected wire inside.
Yellow lights, purple lights, red numbers

I repaired the problematic column in my keyboard, but my test was interrupted when a new function tried to divide by zero. I removed the offending math and confirmed all my keys worked.
Working switches shown in serial

I improved the serial feedback to show the address of the switch as "Press: ###" or "Relse: ###." I duplicated the second IO expander's code to ensure each key had a unique address. Then, I copied the formatted data to transmit on Serial1 and mapped all eligible buttons. The next step is to implement keyboard actions upon the buttons' presses and releases.
Key address map

I used Arduino's keyboard library for the 32u4 microcontroller but struggled with some modifiers and keys. The help page provided HEX codes for the keys, but I still needed to check the ASCII table for symbols. I tested all the buttons, and they work great.
EWC_Cyberdeck right hand keyboard COMPLETED

I barreled ahead with my design but drafted without considering the overall design. I made a faceplate, backing, and internal pieces, but most will not fit, and I forgot the microcontroller. The only parts I can salvage are the pieces that go into the handle.
The only usable parts

The rest of the summary posts have been arranged by date.
First time here?

Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Completed projects from year 7
Completed projects from year 8
Completed projects from year 9
Completed projects from year 10

Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com

This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.

All information on this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.

All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by Brian McEvoy, cannot be used to claim property or assets.

Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.

This blog, including pictures and text, is copyright to Brian McEvoy.

Comments