• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    curieos
    last edited by 10 Jul 2019, 03:29

    I got some custom white PCB smart effectors made. I'm going to populate them sometime soon, and I would like to know how you guys program them. I planning on using one of my Teensys as an ISP for avrdude and connecting it up with a little pogo-pin connector I'm printing. I was looking at the firmware repo though, and I saw for the compilation output only a .elf was available. Don't I need a .hex?

    Besides that, any other holes in my plan?

    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 0
    • undefined
      dc42 administrators
      last edited by dc42 7 Oct 2019, 07:57 10 Jul 2019, 07:55

      That sounds viable. Most attiny programmers accept both .elf and .hex files. I don't know about avrdude, I haven't used it for years. I program the prototypes of our attiny based units using an AVRISP Mk 2 and Atmel Studio.

      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
      • undefined
        curieos
        last edited by 10 Jul 2019, 16:11

        @dc42 great! Do you know if a micro loaded up with the ISP arduino sketch will work with Atmel Studio, or is this more something that I'd be alone on?

        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.

        undefined 1 Reply Last reply 10 Jul 2019, 18:37 Reply Quote 0
        • undefined
          dc42 administrators @curieos
          last edited by 10 Jul 2019, 18:37

          @curieos said in Programming a smart effector:

          @dc42 great! Do you know if a micro loaded up with the ISP arduino sketch will work with Atmel Studio, or is this more something that I'd be alone on?

          I don't think Atmel Studio can drive an Arduino running ArduinoISP. But you can convert a .elf file to a .hex file. See https://stackoverflow.com/questions/19458031/how-to-create-a-executable-hex-from-elf-file-format for one possible way. I haven't tested this, but I think Arduino IDE uses a similar command.

          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
          • undefined
            curieos
            last edited by 23 Jul 2019, 22:28

            @dc42 do I need to burn a bootloader? I think I have everything wired up correctly, but I seem to be having some issues.

            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.

            undefined 1 Reply Last reply 24 Jul 2019, 03:22 Reply Quote 0
            • undefined
              curieos
              last edited by 23 Jul 2019, 23:17

              I think I got the wrong model of ATiny44s, mine are too small to solder on the board reliably. What model of ATiny are you guys using?

              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.

              undefined 1 Reply Last reply 24 Jul 2019, 06:37 Reply Quote 0
              • undefined
                Danal @curieos
                last edited by 24 Jul 2019, 03:22

                @curieos said in Programming a smart effector:

                @dc42 do I need to burn a bootloader?

                No.

                Delta / Kossel printer fanatic

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators @curieos
                  last edited by dc42 8 Mar 2020, 15:10 24 Jul 2019, 06:37

                  @curieos said in Programming a smart effector:

                  I think I got the wrong model of ATiny44s, mine are too small to solder on the board reliably. What model of ATiny are you guys using?

                  We use the smallest second smallest Attiny44a, that comes in a square leadless package. You have to reflow solder them. I soldered the prototypes myself, using a Mylar stencil to place the solder paste accurately, and a hotplate.

                  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

                  undefined 1 Reply Last reply 3 Aug 2020, 12:10 Reply Quote 0
                  • undefined
                    curieos
                    last edited by 24 Jul 2019, 11:35

                    Is that a 3x3mm chip? That’s what I have I think, and the pads on the chip barely touch the pads on the board

                    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 0
                    • ?
                      A Former User
                      last edited by 24 Jul 2019, 12:06

                      schematic says attiny44a-mmh which is the 3x3 mm vqfn version, pads are supposed to be under the chip

                      undefined 1 Reply Last reply 24 Jul 2019, 17:21 Reply Quote 0
                      • undefined
                        dc42 administrators @A Former User
                        last edited by 24 Jul 2019, 17:21

                        That's right, the pads are under the chip.

                        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
                        • undefined
                          curieos
                          last edited by 24 Jul 2019, 22:21

                          Okay, guess I’ll have to give it another shot. Thanks for the help!

                          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 0
                          • ?
                            A Former User
                            last edited by 25 Jul 2019, 01:14

                            You can pull it of in a frying pan, but there really isn't any substitute for solder paste or pre-tinning the pads and applying good flux. Google and youtube will show lots of home gamer ways to do smd assembly with basic tools.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              curieos
                              last edited by 25 Jul 2019, 17:20

                              I have access to a reflow oven, hot air station, and several soldering irons. Also solder paste and flux. Might have gotten too much solder on the center pad, we will see when i try again.

                              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 0
                              • undefined
                                curieos
                                last edited by 2 Aug 2019, 21:27

                                No matter how hard I try it wont line up, I don't think these fit on my board. I suspect that when I opened up the board files in KiCAD, since my libraries are different, it chose a slightly different footprint, maybe for the 4mm version. I'm ordering some new ones that should hopefully work just fine.

                                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 0
                                • undefined
                                  curieos
                                  last edited by 15 Aug 2019, 20:46

                                  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
                                  • undefined
                                    curieos
                                    last edited by 9 Nov 2019, 16:50

                                    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.

                                    undefined 1 Reply Last reply 10 Nov 2019, 18:11 Reply Quote 0
                                    • undefined
                                      dc42 administrators @curieos
                                      last edited by 10 Nov 2019, 18:11

                                      @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
                                      • undefined
                                        ken340 @dc42
                                        last edited by 3 Aug 2020, 12:10

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

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          dc42 administrators
                                          last edited by dc42 8 Mar 2020, 15:11 3 Aug 2020, 15:10

                                          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

                                          undefined 1 Reply Last reply 4 Aug 2020, 14:27 Reply Quote 0
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA