Close

First Fully Assembled non-debug PawPet

A project log for Paw Pet

Pocketable digital pet using the ATSAMD21 and Sharp memory lcd for long battery life.

nanocodebugNanoCodeBug 02/13/2022 at 00:590 Comments

First fully assembled paw-pet with the final hardware and case design!
Back has a hole for a lanyard/keychain, and a hole for a reset pin to the reset button. 
Using filatech 40 filament for the buttons, which prints much cleaner compared to the previous flexible filament.

Other major changes include using the TCC counter feature of the samd21 to generate a clock signal for the display at 30hz - even in standby. This puts it in spec for the screen according to the datasheet guidelines. 

As well as successful operation down to 1.9v by disabling the brown out detection (BOD33) and increasing the flash wait states. Two Ni-MH cells won't reach that voltage, but Alkhaline can in theory. Without disabling BOD33 it shuts off at 2.1v, in theory this gives it a bit more battery life, allowing it maximize use of the battery cells. Below 1.9v the display no longer turns on, though the samd21 keeps running. 

Refreshing the display at 30hz even while in standby was the last remaining hardware hurdle. With that working the focus will now entirely be in software and pixel art for the virtual pets.  

Discussions