progress on the schematic

A project log for New PCB For Calculator Watch

I like to call this my smart watch, as it can calculate numbers and show the time

davedarkodavedarko 07/25/2021 at 12:173 Comments

To see what's possible to add to the project, I needed a pinout list. Sadly the datasheet has a single table with all (G) 48pin, (J) 64pin and (N) 100pins in it, so that the L22G pins are all over the place. I printed out the 3 datasheet pages and cut them down and glued them together to a single page. I then marked all the LCD pins, USB and SWD pins and took a look at what was left: 10 pins. With a keyboard matrix of 4x5 pins I would normally have to use 9 pins, but instead I will use charlie-plexing to scan the keyboard. I was told that I can also use the SWD pins for other shenanigans, so I used them for the keyboard matrix and was now left with 7 more pins!

For communication I thought it would be nice to have an Infrared setup. I might be able to run tv-b-gone on it or even switch channels, ha! The TFBS4711 seems like a good tiny candidate for IR communication, so I chose that to connect to the SERCOM1 pins plus an extra pin for the shutdown pin. It might take a while until I have that functional, as there are other things that I would like to get running first.

There were two more pins of an USART interface free, so I chose SERCOM5 to be the I2C pins and connected them to a QWIIC connector. Might come in handy for controlling wearables in the future. All these addons including the USB connector mean the case needs to be modified.

That leaves us with two more pins that will be used for the piezo buzzer and the LCD backlight LED. There's a steep learning curve ahead of me when it comes to the firmware and integrating everything into the Arduino environment.


Guy Dupont wrote 07/25/2021 at 17:05 point

Thanks! And I have a hunch I may be working on the toy you're referring to. Everything is working out well so far, but plenty of room to fall apart still. And I totally agree re: brain wrinkling. I'm having a blast too.

  Are you sure? yes | no

Guy Dupont wrote 07/25/2021 at 16:00 point

This is going to be so cool!! I mentioned on Twitter - I am working on a very similar project and I'm selfishly loving all your updates. I'm hoping to start publishing details soon. I was hoping to also find an MCU that could drive my LCD but it's a 32*16 matrix so I ended up going with the HT1626. 

  Are you sure? yes | no

davedarko wrote 07/25/2021 at 16:54 point

It's just so much fun right now, figuring it all out and not bruting over tiny details so much. I seem to have a plan and it checks out so far. I guess I run into bigger problems once I have to actually code something though. Right now I feel my brain wrinkling and it is such a good feeling for a change!

32x16 is a lot, a dedicated chip sounds sensible. I was once thinking about converting a toy that had a display like that and basically doing what I'm doing here, but I never followed through on that idea - probably for the best as I didn't know what I know now if that makes sense.

Looking forward to see your project, you have some great projects here!

  Are you sure? yes | no