Wallacoloo / printipi

3d printing directly through the Raspberry Pi's GPIO pins
MIT License
141 stars 43 forks source link

extrideur, termistore and fan #93

Closed mohamedamineamdouni closed 7 years ago

mohamedamineamdouni commented 8 years ago

i can't make a connection between the extrideur the fan th termistor with the RPI can you help me with circuit schema please !

Wallacoloo commented 8 years ago

The Raspberry Pi has no analog inputs, so you have to use something like a RC circuit and measure its time constant to determine the temperature at the thermistor.

The schematic for my approach is documented in the code here, and then I instantiate it here.

The hotend and fan are straightforward. Just connect a gpio on the Pi to the base of a mosfet, and have the mosfet drive the fan/hotend. A circuit like this would work, for example. For the fan, just replace the resistor in that schematic with your fan.

For most 3d printers, the extruder is just like any other stepper motor. In my configuration, I'm using a delta bot, and the extruder is just the fourth axis.