Now that I can move 3 axis by L297/L298 I wonder which software I would need to flash on my Arduino to use it as a 3D printer.
I want to add a 4th stepepr for the extruder (as soon as my hotend arrives…) and controll heating for the bed and my nozzle by a 2-channel relayboard. For each axis (x/y/z) there are two end-switches which break the circuit when activated. And I need temperature-sensors for the Hotend and the bed to control the relays.
So I need to control:
direction x
step x
direction y
step y
direction z
step z
end x
end y
end z
enable heating nozzle
enable heating bed
temp-sensor nozzle
temp-sensor bed
Makes 8 pins output and 5 pins input.
Will this work with an Arduino Nano v3.0 or shall I better take an Arduino Uno?
Curious: Why are you trying to reinvent this software when there are open-source solutions that have solved this?
Also: Relays are a bad method for temperature control. The PWM switching required for stable control is way too high frequency.
I’m not going to reinvent it. I need suggestions which one to use
Just wanted to make clear what I’m going to connect
…and I just forgot: 2 pins for controlling the extruder-stepper, 1 pin to control a laserdiode
I have some Arduino Nano and one Arduino Uno right here in front of me. But today I didn’t have time to read about all those softwares…because I was playing with an HD44780 display and a stepper motor
As I already have built my own stepper drivers (based on L297 and L298) I only need the machinecodeinterpreter.
Once I’ve been playing around with grbl, which was quite nice for getting involved to g-code. But as it doesn’t support a 4th axis (which the extruder is anyway…w virtual 4th axis…at least for the software I need to check those established tools.
The reason you need an Arduino mega is that you need access to more pins than a nano or uno provide. You can get a cheap Chinese mega for less than $20 on eBay if you look hard enough. If you use the smaller boards, I don’t think you have enough discretes without muxing