Oddbean new post about | logout

Notes by Stark | export

 Okay, which one of you did this?

https://www.makerworlds.com/

@5756e48c #3dprinting 
 @c75e3dac 

Also, we can cheat the Nyquist-Shannon sampling theorem by rather than detecting and interrupting them, by triggering the crossing. Thus, we need hardware detection and not software detection.

For the same reason the #Klipper docs mentiones its PWM isn't the best.

@5756e48c #3dprinting 
 @c75e3dac 

Good question and correct initial assumption! 

No, I can't.  The dimmer I use for my limmers are called TRIAC dimmers. AC signals have alternatinf current and voltage. The current is a sine wave and voltage a cosine wave. Thus, they are always out by 90°. The TRIAC detects when the current signal crosses the zero line and then only changes the PWM voltage. This removes flickering and is more energy efficient.

Detectong this switch must be done at 2x 60Hz due to the Nyquist-Shannon sampling theorem. This detection is done with a hardware interrupt pin to allow the software to run faster. The #RaspberryPi and #Klipper do not support this.

So I use a separate peocessor, which does allow this and communicate it back to Klipper and basically only gets the PWM signal and then does the rest.

@5756e48c #3dprinting 
 @c75e3dac 

This is called phase voltage control, and the signal output will look something like this.

@5756e48c #3dprinting

https://files.techhub.social/media_attachments/files/111/021/042/849/627/298/original/3d27f4f4670ef229.jpg 
 nostr:npub1u5psek0yjnc5t4ljd9nauzdsyg3fz4rnx0ffx22xdqqnrut9434q4wuljc nostr:npub12atwfrq4rfv7fqar... 
 @c75e3dac 

Good question and correct initial assumption! 

No, I can't.  The dimmer I use for my limmers are called TRIAC dimmers. AC signals have alternatinf current and voltage. The current is a sine wave and voltage a cosine wave. Thus, they are always out by 90°. The TRIAC detects when the current signal crosses the zero line and then only changes the PWM voltage. This removes flickering and is more energy efficient.

Detectong this switch must be done at 2x 60Hz due to the Nyquist-Shannon sampling theorem. This detection is done with a hardware interrupt pin to allow the software to run faster. The #RaspberryPi and #Klipper do not support this.

So I use a separate peocessor, which does allow this and communicate it back to Klipper and basically only gets the PWM signal and then does the rest.

@5756e48c #3dprinting 
Event not found
 And we are done! It just looks amazing. I am very chuffed with this!

@5756e48c #3dprinting

https://files.techhub.social/media_attachments/files/111/130/575/981/683/804/original/fe8c293a60cad812.jpg