I know for a long time, there was flood of fake tb6600 on the market and that was causing some issues for people. They still worked but had small differences, just google it if you want to know more. As far as HA supporting the tb6600, they wouldn’t ever because that makes no sense. Also, this is why they aquired Esphome, it already supports a variety of stepper drivers along with countless other stuff. Right now, i dont believe that specific driver is officially supported but, even still esphome has the tools for you to send out pwm and adjust frequency to easily use whatever driver you got and get that stepper stepping.
Another option is use a driver that is supported already. Current/amps is going to be the limiting factor. If the current you actually need for the load your driving exceeds the max current rating for the driver, thats no good. If your under the max limit then use another driver temporarily.
Im also in the process of upgrading my ‘veneta’ Venetian blinds with tilt control using a jga25
If my POC works I’ll design a small PCB to fit next to the motor
Any update on this? I see for example Somfy with an expensive product, so curious if you succeeded or not
since the DC motor is super loud, I’m changing to a stepper, also better control. but the current stepper doen’t have feedback so another stepper is on its way from Aliexpress, comparble size as DC motor
Where exactly do you need to add this code?
Moet je es kijken, Veneta!
Could you share some details on how you went about this? I see some 3d printed parts, but I’d love to be able to control my own Veneta shades, and I believe it has the same mechanics as yours.
Did you have blinds with cords or a turny-rotaty stick?
the PCB is real RGBled, BME280 and tsl2591 light sensor, A4988 stepper driver, dcdc for 3v3, and USB pd trigger for 12v.
The stepper below has an integrated HALL sensor (step/dir)
If I get a bit more working I would be happy to share more, PCB v1.1 is already in the works (made a few bo-bo’s, some suboptimal esp-pins, used wrong led footprint sk6812 mini iso ws2812mini , and soldering of this board is not for the fainted-hearts
I took apart a stepper motor to figure out the correct pinout of the interposer pcb with hall
now working on the esphome code. but getting stuck on the steps counter (template sensor) it won’t increment
stepper:
- platform: a4988
id: stepper_motor
step_pin: ${pin_mot_stp}
dir_pin: ${pin_mot_dir}
max_speed: 200
# Optional:
sleep_pin: ${pin_mot_slp}
acceleration: inf
deceleration: inf
sensor:
- platform: template
id: motor_hal
name: motor_hal
binary_sensor:
- platform: gpio
pin:
number: ${pin_hall_dir}
mode:
input: true
pullup: true
# inverted: true
id: halldirection
name: "sensor direction"
- platform: gpio
pin:
number: ${pin_hall_stp}
mode:
input: true
pullup: true
id: hallpulse
name: "sensor pulse"
on_release:
- if:
condition:
binary_sensor.is_on: halldirection
then:
- sensor.template.publish:
id: motor_hal
state: !lambda return id(motor_hal).state + 1;
else:
sensor.template.publish:
id: motor_hal
state: !lambda return id(motor_hal).state - 1;
# - globals.set:
# id: hall_pos_global
# value: id(motor_hal).state