Motorized Slide Potentiometer Controller using ATTiny804

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น •

  • @AnotherMaker
    @AnotherMaker 2 ปีที่แล้ว +3

    Those things are so ridiculously cool. Nice work.

  • @PCBWay
    @PCBWay 2 ปีที่แล้ว +2

    What an educational tutorial it is@!

  • @electronic7979
    @electronic7979 2 ปีที่แล้ว +2

    👍

  • @andymouse
    @andymouse 2 ปีที่แล้ว +1

    Great work Sir !...cheers.

  • @alvarobyrne
    @alvarobyrne 2 ปีที่แล้ว +1

    great content as usual

  • @tengelgeer
    @tengelgeer 2 ปีที่แล้ว +1

    I've always found those faded quite magical :) I would have used the spare IO to set an I2C address. Or an RGB led.
    And for the code, always find the mapping to 1023 weird. That makes the spacing for 100 smaller than for the rest. Also, leave the float at home, probably saves halve the memory.
    int target = (buf(long) * 1024) / 100;
    v2 software, calibration fo min/max? No delay? More resolution? PID? Position readback?

    • @GadgetReboot
      @GadgetReboot  2 ปีที่แล้ว +1

      Yeah I never really know if 1023 or 1024 is more appropriate and when I read the cases for each, I get lost more. The thing that makes most sense is there are 1024 steps from 0 to 1023 but it still ends up not quite right. Maybe trying experiments on that scaling could help me come to a decision on what seems best.
      I think the main reason I didn't bother with hard wiring I2C addresses is I plan to have more than 8 on one bus so then I'd either need 4 address pins for one base addr or start to hard code multiple base addresses and I decided if I have to hard code, may as well just code the address entirely, but there may be a hardware revision if I keep working on these and decide I do have that many spare IO I can use for that.
      I thought about an LED but decided the units will be hidden under an enclosure anyway so they'd only serve as debug, so I could do without them on the bench.
      The float was taken from some other hacked code so definitely room for optimizing. The program took 45% of the code space so at least I could get it going fast.
      Lots of features can be put in for better control and feedback and reporting status back over I2C to master, if I can get motivated! But I'm also getting back toward that DTMF stuff and telephone hardware. I still have some of those code modifications you suggested on DTMF way back...

    • @GadgetReboot
      @GadgetReboot  2 ปีที่แล้ว +2

      I just tried out removing the float on that calculation and the code went from 45% to only 37%!

  • @zaprodk
    @zaprodk 2 ปีที่แล้ว

    You might want to look into some PID algorithm to make sure it doesn't ends up vibrating like hobby servos do.

  • @d.j.peters
    @d.j.peters 2 ปีที่แล้ว

    What do you have to pay for 32 motor audio faders ? 20 years ago I was thinking about to build a MIDI controlled motor/fader 32 channel audio mixer but the price for the 32 motor faders for a 'private custumer' was much higher than a ready build product to buy !

    • @GadgetReboot
      @GadgetReboot  2 ปีที่แล้ว

      I don’t know if there are cheaper ones but these were around $20 each which is a lot but I wanted to do multiple projects so I plan to just be able to unplug them and move them around like a modular fader box

  • @ianmcclain2159
    @ianmcclain2159 ปีที่แล้ว

    Hi! Do you have a BOM for this anywhere for PCBWay assembly?

    • @GadgetReboot
      @GadgetReboot  ปีที่แล้ว

      I need to go look up part numbers and double check if there’s any parts that are not supposed to be populated by default and create it and update the project files. It’s on a task list.

    • @GadgetReboot
      @GadgetReboot  ปีที่แล้ว

      I just added a BOM to the Github project files as well as directly on the PCBWay shared project.

    • @ianmcclain2159
      @ianmcclain2159 ปีที่แล้ว +1

      You are the best!!! 🎉