blairfrandeen / momobox

Open-source music player & story reader for toddlers
MIT License
8 stars 0 forks source link

Try architecture without hall sensor #5

Closed blairfrandeen closed 1 year ago

blairfrandeen commented 1 year ago

Current setup for board includes a hall effect sensor, that toggles when magnets are connected. It may be simpler to just keep querying the RFID board, and if the RFID chip has been removed, then stop playing.

Should be functionally the same, but may be worse for power consumption, which so far hasn't been modeled or thought about.

blairfrandeen commented 1 year ago

Tried this, and it's not the right way to go.

Having the RFID sensor continually querying to check for status, whether playing or not, is not going to be great for power consumption. I got it to work (code didn't get uploaded to GitHub yet), and the unit was very unresponsive. Took about 3 seconds from removing the Momie from the top of the box until it stopped playing; hall sensor in contrast is practically instantaneous.