Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help request on cloning the clone #1

Open
tvwerkhoven opened this issue Nov 15, 2021 · 1 comment
Open

Help request on cloning the clone #1

tvwerkhoven opened this issue Nov 15, 2021 · 1 comment

Comments

@tvwerkhoven
Copy link

Hi @ronau,

I'm considering making my own version, and hope you can give some pointers.

  1. What determines battery life most? Is it electronics or speaker? Where could this be improved?
  2. Any ideas on how to implement an 'auto off switch'?
  3. I'm aiming for 9 buttons, any way to get this working on the lily pad?

My plan is to use ESP8266/ESP32 + dfplayer + esphome.io with wifi off, optionally using an MCP230xx expander for buttons if I can't find enough GPIOs on the ESP. My main concern/uncertainty is battery life, hope you have some ideas :)

@ronau
Copy link
Owner

ronau commented Feb 22, 2022

Hi @tvwerkhoven,

sorry for completely missing your comment here.
To be honest, I don't have that much experience with electronics (yet 😉), so I cannot really answer confidently.

  1. As far as I can see, there's not so much you can tweak on the speaker side. Except for keeping the volume low, of course. So in the end, it's probably the electronics where you can try to reduce battery consumption. With an ESP you definitely have to switch off wifi and bluetooth if you want to get reasonable battery time.
  2. I'm not sure what the usual boards offer in that regard. AFAIK there's something like deep sleep which could be worth investigating.
  3. The Lilypad has 5 GPIOs on the outer edge. And then there are 6 additional headers in the center, normally used by the rotary encoder. Check out: https://learn.sparkfun.com/tutorials/getting-started-with-the-lilypad-mp3-player#hardware-details-and-hacking-tips. These center pins have hard-wired resistors, so you have to try if they fit your purpose. I used 3 of them for volume and fast-forward/rewind. So if you drop FF/REW, then you should have enough pins for 9 buttons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants