IvDm / Z-probe-on-smd-resistors-2512

Auto bed level strain gage for 3D printer using resistors 2512 instead of strain gauges.
GNU General Public License v3.0
132 stars 31 forks source link

Attiny programming #4

Open ghost opened 5 years ago

ghost commented 5 years ago

This is not really an issue but I didnt find a place for my question :) First off: Great and simple idea with a nice documentation and open source in mind!

I was wondering if you program the Attiny beforehand with a programming rig or after you soldered the attiny to the pcb?

IvDm commented 5 years ago

Hello. Thank you for your interest in my project. I programmed ATtiny on soldered PCB. This made it possible to adjust the optimum sensitivity of the sensor.

ghost commented 5 years ago

I see! As far as I remember (it's been a while), the attiny uses 6 pins for programming. Which pins on the soldered pcb did you use for the programming? Could not find something about the programming routine in your (very good) documentation. As far as I can see in the schematic, pin 1 (reset) and pin 6 (MISO) are not connected, pin 5 (MOSI) is "blocked" by the LED output. Much appreciated :)

IvDm commented 5 years ago

As for all other Atmel microcontrollers): GND, VCC, MISO, MOSI, SCK, RST. On the image: Controller_PCB_TOP1.JPG visible pads for connecting the programmer. LED does not interfere with the programming process.

IvDm commented 5 years ago

I apologize if I misled you, I think that some changes should be made to the concept drawing for more clarity.

ghost commented 5 years ago

Really appreciate your answer! Thanks!