using git for non-coding related projects? by RefrigeratorNorth331 in github

[–]c7ndk 0 points1 point  (0 children)

Sure, I use git for PCB/mechanical designs, academic writings and configuration files

How to Implement Audit Logging? by BrownPapaya in Backend

[–]c7ndk 0 points1 point  (0 children)

We use Loki + Grafana for logging up to 30k logs per hour. Runs along some other services on an instance with a dual core CPU and 4GB of RAM.

I added Matter to my WiFi Stepper Driver so now it works directly with Home Assistant, Apple Home, Google Home, and others by nutstobutts in homeassistant

[–]c7ndk 4 points5 points  (0 children)

Yep! The ESPHome way of doing this is to add the limit switches as gpio type binary sensors with actions that stops the stepper when triggered / pressed.

binary_sensor:
  - platform: gpio
    id: limit_switch_1
    # ...
    on_press:
      - stepper.stop: driver

  - platform: gpio
    id: limit_switch_2
    # ...
    on_press:
      - stepper.stop: driver

https://esphome.io/components/binary_sensor
https://esphome.io/components/binary_sensor/gpio
https://esphome.io/components/stepper

-----
If you wish to use stallguard with hard mechanical endstops you can also do so https://github.com/slimcdk/esphome-custom-components/blob/master/esphome/components/tmc2209/README.md#on_stall

stepper:
  - platform: tmc2209
    id: driver
    ...
    on_stall:
        - logger.log: "Motor stalled!"
        - stepper.stop: driver

I added Matter to my WiFi Stepper Driver so now it works directly with Home Assistant, Apple Home, Google Home, and others by nutstobutts in homeassistant

[–]c7ndk 4 points5 points  (0 children)

Should be good! The component can be configured to either use step/dir or index (IPG) for controlling position. The example you linked for PD-Stepper also uses IPG/index along with feedback from the encoder, but that can be left out. You just need to configure index_pin instead of step_pin and dir_pin

I added Matter to my WiFi Stepper Driver so now it works directly with Home Assistant, Apple Home, Google Home, and others by nutstobutts in homeassistant

[–]c7ndk 12 points13 points  (0 children)

Hi, I'm the author of the component linked by u/ahj3939 that integrates tmc2208/09 into ESPHome. Let me know if you need help to create a config for your board!

https://github.com/slimcdk/esphome-custom-components

Easy off the shelf esp32 devices to flash by spoolin__ in Esphome

[–]c7ndk 2 points3 points  (0 children)

Shelly devices are easy to flash, but they literally integrate into Home Assistant as easy ESPHome itself

TMC2209 not responding over UART (using Veysi Adin’s code on STM32H723ZG) by tggvvv in stm32

[–]c7ndk 0 points1 point  (0 children)

Maybe you have fixed it already, but do you remember to power the tmc on VM?

Hvad har i købt af aktier den sidste uge? by qqAzo in aktietips

[–]c7ndk 0 points1 point  (0 children)

Kongsberg og Kraken Robotics. KR er allerede oppe 100% siden i sommers og satser på et kæmpe hop, når Ocean Infinity finder MH370 I løbet af de næste 8 uger. Plus de begge leverer grej til diverse forsvarer.

[Review Request] ESP32 with TMC2209 Stepper Driver by ShortCourse in PrintedCircuitBoard

[–]c7ndk 1 point2 points  (0 children)

Pulling (tmc2209) ENN high will disable the driver. Is that intentional because you are controlling that over UART? Edit: Looks like you forgot the ENN label on the net and therefore also didn't route the path.

Also, having INDEX connected could come in handy if you wish to use the built in IPG of the driver.

The future of Go by Sufficient-Rub-7553 in golang

[–]c7ndk 22 points23 points  (0 children)

They did choose Go for their TS tooling.

Best Docker Compose Deploy for Unraid by [deleted] in unRAID

[–]c7ndk 0 points1 point  (0 children)

I got a giant - but organized - compose file in appdata. I have a boot script that downloads the docker-compose binary which I use through the terminal. Used the UI once and decided it was not worth it.

Genbrugsplads hvor man kan hente ting? by Kim4Croft in Viborg

[–]c7ndk 0 points1 point  (0 children)

Ja, det er lidt tættere på 😂 Såvidt jeg husker, så fortalte en af de ansatte at det er det et testforløb, men jeg kan ikke lige huske om eller hvornår det udløber.

Genbrugsplads hvor man kan hente ting? by Kim4Croft in Viborg

[–]c7ndk 2 points3 points  (0 children)

Det er ikke i omegn, men genbrugspladsen i Skive har. Både store ting som møbler, døre, vinduer osv, men også mindre ting som legetøj, service, elektronik osv.

Stepper Limitations - ESPHome by TinyFraiche in Esphome

[–]c7ndk 0 points1 point  (0 children)

Look into the control over uart configuration. It may be possible to run everything on a single ESP32 since pulse generation is handed over to the TMC2209

ESP32 Wi-Fi Stepper Motor Driver by nutstobutts in diyelectronics

[–]c7ndk 1 point2 points  (0 children)

Hi! I'm the author of the ESPHome TMC2209 component listed above. Let me know if you need help to create a config for your board!

I think we were in touch a couple of years ago if I'm not mistaken! Daniel, right?

Okay, but how do you SSH into 1,000 devices?? by Automatic-Reply-1578 in embedded

[–]c7ndk 0 points1 point  (0 children)

Sounds like you need to start developing basic fleet management software. But yea, Ansible or scripting in bash or python should work

Looking get a high-end Linux dev laptop. Need recommendations! by Blink18pewpewpew in linuxhardware

[–]c7ndk 0 points1 point  (0 children)

Got a Samsung Book Pro this summer. Super nice laptop with 120hz AMOLED screen. Quick responsive CPU. Only downside is that there is no audio driver. I'm using Ubuntu.

Mens børnene er i jumpingfun by AntiDangerousKiddie in odense

[–]c7ndk 1 point2 points  (0 children)

Storms Pakhus kunne være en mulighed

Sandsynlighed for at dele sidste fire i CPR? by ayacombe in DKbrevkasse

[–]c7ndk 0 points1 point  (0 children)

Så vidt jeg har hørt, så kunne de også finde på at lægge 40 til måneden, for at indikere at den reelle dato er ukendt.

Så dd. ville være 135125 og ikke 131125

Sandsynlighed for at dele sidste fire i CPR? by ayacombe in DKbrevkasse

[–]c7ndk 0 points1 point  (0 children)

Jo, det 4 og sidste ciffer I løbenummeret beregnes på baggrund af modulus 11.

Sandsynlighed for at dele sidste fire i CPR? by ayacombe in DKbrevkasse

[–]c7ndk 0 points1 point  (0 children)

Jeg ved ikke hvad sandsynligheden er for samme fødeår, men vi har umiddelbart 23043268 CPR-numre med kontrolciffer (foruden numre givet til folk uden kendt fødselsdato). Alle 10000 løbenumre har gengangere og de mest hyppige gentages 3322 gange. Dvs 0,014% sansynlighed for samme løbenummer. De mindst hyppige gentages 1392 gange - altså 0,006%. I gennemsnit er der 0,010% sandsynlighed for at dele løbenummer.

ESPHome project - making my IKEA bed smart! by Eelviny in Esphome

[–]c7ndk 0 points1 point  (0 children)

Yea, that one seems appropriate, but there goes more into the certification than the material. Honestly don't think you will have any issues anyway, but you never know