As you might have guessed, i’ve built a (small) 3-axis CNC machine. Main control is via a Arduino Uno R2. The spindle consists of a brushless motor, a ESC and a digispark. More details to follow soon …
Archive for the ‘hardware’ Category
To make a digispark boot into your app without the 5s bootup delay follow these instructions. If you need to (re)program the digispark, just shorten P5 to GND. I’m using a digispark as a speed controller for my grbl based cnc router. With the standard 5s boot delay, the ESC’s signal detection window was missed [...]
So the same issue hit me twice: the on-chip, programmable pullups are only reliably doing their work if the environment is clean: electrical noise from steppers triggered interrupts the zener diode on the pwm1b pin4 of a digistump made it float around Adding 10k/4k7 pullups and 33n debounce caps did the trick.
As a side-project I started to develop on the Arduino platform (more on the project-of-the-day later). First Steps Getting going on windows was easy: setting up Arduino 1.0.1, compiling and running the “blink” demo, changing the frequency etc … was straightforward. Then: i found grbl. Flashing the premade 0.8a firmware from grbl – instant success. [...]
Update: the receiving and processing of TMC radio is currently disabled Update: constantly improving the decoder … I finally set up a small embedded linux computer (ZFx86 @ 100MHz, 32MB) with one of my mp5_redux PC104 add-on boards to receive and decode TMC (Traffic Message Channel)-messages out of RDS (Radio Data System). The system is [...]