Hello Guest it is March 19, 2024, 10:00:33 AM

Author Topic: generic chinese mpg pendant mod  (Read 1241 times)

0 Members and 1 Guest are viewing this topic.

generic chinese mpg pendant mod
« on: July 13, 2023, 11:36:43 PM »
Hi All,

after a post in brains development regarding flipflops, I think it would be nice to share the reason for flipflop brain development.

Offline Tweakie.CNC

*
  • *
  •  9,195 9,195
  • Super Kitty
    • View Profile
Re: generic chinese mpg pendant mod
« Reply #1 on: July 14, 2023, 01:09:17 AM »
Wow !

You have done so much work on documenting this project it is going to take me forever to digest it all.

Thank you for sharing.

Tweakie.
PEACE
Re: generic chinese mpg pendant mod
« Reply #2 on: July 14, 2023, 01:32:28 AM »
Wow !

You have done so much work on documenting this project it is going to take me forever to digest it all.

Thank you for sharing.

Tweakie.

My pleasure  ;)
Re: generic chinese mpg pendant mod
« Reply #3 on: July 19, 2023, 08:16:02 AM »
Hi,
just an update.

Fixed some bugs in ucontroller code affecting the sounds, (supposed to output dtmf tones but didn't)
Updated the code for higher pwm frequency improving sound quality
Updated the amplifier circuit for increased volume output
Some comments in macro 1001 and var names clarified
Added 1 more picture in readme.pdf
Added 1 more hex file with an ''off'' sound variant

Offline Tweakie.CNC

*
  • *
  •  9,195 9,195
  • Super Kitty
    • View Profile
Re: generic chinese mpg pendant mod
« Reply #4 on: July 19, 2023, 09:13:53 AM »
Excellent.
I love the speaker mesh  ;)

Tweakie.
PEACE
Re: generic chinese mpg pendant mod
« Reply #5 on: September 29, 2023, 04:59:19 AM »
Hi,

another update:

Brains: (now 6 brains in total)
The mill light turns ON if it is OFF if rotary switch 1 transitions from “off” position but does not turn OFF when rotary switch 1 is in “off” position. Also, it will not stay ON if the screen toggle button is pressed-not persistent. Finally, the control button can toggle the light’s state when rotary switch 1 is in either “off” position or position 5. All other functions remain the same.

Circuit:
The amplifier was drawing 230+mA during silence and becoming quite warm. The circuit was simplified into a cruder but more energy efficient design that does not draw any current during silence.

μcontroller code:
8 more lines have been added to put the μcontroller to sleep when rotary switch 1 is in “off” position to optimize energy efficiency.