Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Programming a smart effector

    Scheduled Pinned Locked Moved Unsolved
    Smart effector for delta printers
    6
    37
    3.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • curieosundefined
      curieos
      last edited by

      It was the wrong part number, I got the new one installed and avrdude accepted it for programming.

      She/Her
      I work at a local 3D printing shop.
      Printers: Micron+ w/Duet 3 Mini, in-progress adaptation of the Jubilee REL onto an E3D MS, Prusa i3 MK3S.

      1 Reply Last reply Reply Quote 1
      • curieosundefined
        curieos
        last edited by

        To continue this, several months later. I finally got around to building a second one. Unfortunately neither of them seem to work. I am able to program them, avrdude recognizes them as attiny44s, but the status light never comes on, and the probe seems to trigger somewhat randomly. Any ideas on troubleshooting? Everything else works fine, all the other lights light up, the only issue is probing. Both boards seem to have this issue.

        She/Her
        I work at a local 3D printing shop.
        Printers: Micron+ w/Duet 3 Mini, in-progress adaptation of the Jubilee REL onto an E3D MS, Prusa i3 MK3S.

        dc42undefined 1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @curieos
          last edited by

          @curieos said in Programming a smart effector:

          To continue this, several months later. I finally got around to building a second one. Unfortunately neither of them seem to work. I am able to program them, avrdude recognizes them as attiny44s, but the status light never comes on, and the probe seems to trigger somewhat randomly. Any ideas on troubleshooting? Everything else works fine, all the other lights light up, the only issue is probing. Both boards seem to have this issue.

          If the green trigger LED never comes on, I suggest you sort that out first. Check that it is fitted the right way round and the value of the series resistor is correct. Also, make sure you are using the correct firmware version - there are different firmwares for the version 1 and version 2 effectors.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • ken340undefined
            ken340 @dc42
            last edited by

            @dc42 can you tell me the part number for the Attiny44a on ver 2.0

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by dc42

              It's the 4mmx4mm version of the chip, which is attiny44a-mu.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              ken340undefined 1 Reply Last reply Reply Quote 0
              • ken340undefined
                ken340 @dc42
                last edited by

                @dc42 how do i programming the attiny44a already attached to smarteffector?

                1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User
                  last edited by A Former User

                  a3013d60-1f90-49ca-b3d9-69a08390942c-image.png
                  there should be a 6 pin header "prog"

                  Looks to be smd pads, so you'll have to use pogo pins or solder wires to the pads and use an avr programmer with atmel studio etc (you might get away with holding a non spring loaded header to the pads, but chances are its not a success)

                  edit: whoa, missing linebreak

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators
                    last edited by dc42

                    Use https://hackaday.io/project/165027-avr-isp-pogo-pin-adapters or https://www.sparkfun.com/products/11591 or https://www.amazon.com/pin-AVR-ICSP-Pogo-Adapter/dp/B075Q25BK3 or similar to make the connections (search for "avr pogo" to find more). Or make your own as i did.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User
                      last edited by

                      or you could buy a bag of pins and print a holder; i managed to replicte the tc2030 tag connect recently with some 0.75 or 0.5mm pins and spring steel wire for the guide pins.
                      6b6888e1-423f-4bb8-839a-1e6006a55e11-image.png

                      if you get 1mm pins you can get receptacles with square posts that fit into the regular 2.54mm female idc, for that I just put he pins in the female header and squirted some hotglue on them while aligned but don't think i have a picture of that. never know when you'll need pins for something else.

                      1 Reply Last reply Reply Quote 1
                      • dc42undefined
                        dc42 administrators
                        last edited by

                        I used very short pogo pins soldered directly to a 2x3 header.

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                        1 Reply Last reply Reply Quote 0
                        • ken340undefined
                          ken340
                          last edited by

                          Thanks all for the tips. unfortunately i am using mac, any recomendation for amtel studio alternative.

                          A Former User? 1 Reply Last reply Reply Quote 0
                          • A Former User?
                            A Former User @ken340
                            last edited by

                            @ken340 said in Programming a smart effector:

                            Thanks all for the tips. unfortunately i am using mac, any recomendation for amtel studio alternative.

                            i think avrdude is available on most platforms and will work with pretty much any programmer. but you'll need to get a precompiled hex which i think dc42 has posted a link to here somewhere oin one of the old threads.

                            ken340undefined 1 Reply Last reply Reply Quote 0
                            • ken340undefined
                              ken340 @A Former User
                              last edited by

                              @bearer great, i saw dc42 hex file on his github

                              1 Reply Last reply Reply Quote 0
                              • ken340undefined
                                ken340
                                last edited by

                                The 3.3V from the pin will power the smart effector? how do i know it is connected correctly?

                                will those cheap USBasp work?

                                A Former User? 1 Reply Last reply Reply Quote 0
                                • A Former User?
                                  A Former User @ken340
                                  last edited by

                                  @ken340 said in Programming a smart effector:

                                  will those cheap USBasp work?

                                  thats a lottery, at least when using them with windows. using yet another programmer to reprogram the usbasp clone could be necessary, and you'll most likely be banging your head in some issues with drivers.

                                  i'd generally recommend against it maybe you can refrence this post in case you have something else on hand that you can use already?
                                  https://forum.duet3d.com/topic/15661/chip-burned-i-need-a-new-one?_=1597701384110

                                  there is a bit more learning curve to getting an arduino pro mini + ftdi board, but it'll be much more versatile in the long run.


                                  when it comes to 3.3v, make sure the programmer is also running of 3.3v to avoid 5v logic signals. the simplest test is to look at the wiring diagram and before turning on the power use a multimeter in continuity mode measure from 3.3v on the programmer to 3.3v on the target, repeat for ground, and round of checking there is no continuity between 3.3v and ground.

                                  ken340undefined 1 Reply Last reply Reply Quote 0
                                  • dc42undefined
                                    dc42 administrators
                                    last edited by

                                    The Smart Effector can be programmed at either 3.3V or 5V, provided that is it not connected to a Duet at the time.

                                    Duet WiFi hardware designer and firmware engineer
                                    Please do not ask me for Duet support via PM or email, use the forum
                                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                                    1 Reply Last reply Reply Quote 1
                                    • ken340undefined
                                      ken340 @A Former User
                                      last edited by

                                      @bearer are they any way to know the pins are correctly connected. such as LED light up or something?

                                      1 Reply Last reply Reply Quote 0
                                      • A Former User?
                                        A Former User
                                        last edited by

                                        isn't the board clearly marked like so:
                                        43e276d5-3c15-41c6-933a-35d818574908-image.png
                                        ?

                                        1 Reply Last reply Reply Quote 1
                                        • uk25undefined
                                          uk25
                                          last edited by uk25

                                          This post is deleted!
                                          ken340undefined 1 Reply Last reply Reply Quote 0
                                          • ken340undefined
                                            ken340 @uk25
                                            last edited by

                                            @uvarovkv i did not make my own smart effector. i am trying on my purchased smarteffector. since productivity is low at work due to COVID-19 so i am taking time to learn more about this little marvel.

                                            when i connect 6 pogo pins to my smart effector without any power from duet. i am not getting my response from AVRdude using USBASP.

                                            therefore i am not sure whether i am not connecting via pogo pins correctly or my USBASP is not working well (I use it to program arduino without issue) .

                                            can you tell me with your connection to smarteffector for programming, do you get any physical indication like any LED is turned on? or there are no physical indication to tell the connection is good.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA