323 Commits

Author SHA1 Message Date
Hakan Bastedt
0384646972 wip 2024-02-02 15:26:01 +01:00
Hakan Bastedt
133df5662d wip, before timer stuff 2024-02-02 12:09:49 +01:00
Hakan Bastedt
d1eb1d9a40 logic might be there 2024-02-01 20:30:02 +01:00
Hakan Bastedt
934f3cb028 Octave files not commited 2024-01-29 12:08:01 +01:00
Hakan Bastedt
d60822388e ordered 2024-01-26 22:02:32 +01:00
Hakan Bastedt
31d24e2676 Fab from this version 2024-01-26 16:38:10 +01:00
Hakan Bastedt
c444f9a496 Getting ready for fab 2024-01-26 16:27:17 +01:00
Hakan Bastedt
e234ea7a97 morfe copper in +5V leads 2024-01-26 13:44:45 +01:00
Hakan Bastedt
eb63adbdc2 all leds are now 0603 2024-01-26 13:21:14 +01:00
Hakan Bastedt
70014d3b1d Added 4k7 pullup onm scs_func. Think not needed since it is to a pin on stm32, but in case 2024-01-26 12:38:11 +01:00
Hakan Bastedt
990801f2d0 4.7k to 4k7 2024-01-26 01:10:08 +01:00
Hakan Bastedt
329474309d Might be in final shape. 2024-01-25 22:35:25 +01:00
Hakan Bastedt
da2b1f6376 resistor overhaul 2024-01-25 13:08:04 +01:00
Hakan Bastedt
a88090a853 wip 2024-01-25 11:31:48 +01:00
Hakan Bastedt
aa955aec67 Two-layer now 2024-01-25 00:30:19 +01:00
Hakan Bastedt
e641fd04b7 First component placement 2024-01-25 00:27:56 +01:00
Hakan Bastedt
ac711cd168 Assigned footprints 2024-01-24 20:10:20 +01:00
Hakan Bastedt
ee56f85c53 Steppers, encoders, IO, etc remapped 2024-01-24 19:44:33 +01:00
Hakan Bastedt
69357d35a4 Wip optocoupler input and outputs 2024-01-23 23:42:32 +01:00
Hakan Bastedt
84d790c687 Cleaning old gerber files. 2024-01-23 23:00:09 +01:00
Hakan Bastedt
e7fc20fec5 micros() in irq is suspicous. Some optomization of stepper parameters. Comments. 2024-01-23 22:40:15 +01:00
Hakan Bastedt
f8cec1ac69 How many times to fix it? 2024-01-23 17:51:44 +01:00
Hakan Bastedt
ddffbe5f8b Actually don't run ecat-slv_poll() 2024-01-23 15:48:59 +01:00
Håkan Båstedt
e95a098367 Update README.md 2024-01-23 13:27:26 +01:00
Hakan Bastedt
1d36ffbf69 Pending video7 release 2024-01-23 13:16:31 +01:00
Hakan Bastedt
c97e1fa96a Moved ESCvar.PrevTime. It's not used though 2024-01-23 11:22:09 +01:00
Hakan Bastedt
ef84d552e4 Debug comments 2024-01-23 11:17:00 +01:00
Hakan Bastedt
d93adac4a2 Don't run ecat_slv_poll() when expecting to serve interrupt 2024-01-23 11:00:47 +01:00
Hakan Bastedt
ca3ceac5c6 wip inputs with photodiodes etc 2024-01-21 23:31:45 +01:00
Hakan Bastedt
b534e3d4da Kludge with 'tone' of steppers. Gives ferror, but nice tone 2024-01-21 23:29:59 +01:00
Hakan Bastedt
6ac0949f26 Added optional pull-down to step generators 2024-01-21 00:24:36 +01:00
Hakan Bastedt
1f97534133 New pwmCycleTime different from sync0CycleTime 2024-01-20 12:37:42 +01:00
Hakan Bastedt
e6bfe4f880 Tests for growling. That 10xcycle time seems to do it, but it's not right. 2024-01-19 21:31:15 +01:00
Hakan Bastedt
8f05f33e58 Both steppers work in simulated environment 2024-01-18 18:21:21 +01:00
Hakan Bastedt
9e311038c1 TIM8 replaced with TIM3. TIM3,chan4 works on PC9. TIM8,chan4 should work but doesn't. How should one know? 2024-01-18 17:21:12 +01:00
Hakan Bastedt
9ab4afabe4 New enable input. Add dc ability. Set only SM2 synchronization. Various to make lathe work 2024-01-18 14:26:51 +01:00
Hakan Bastedt
38825bbaf3 Trying to make stepper suing tim8 work 2024-01-18 14:25:19 +01:00
Hakan Bastedt
0a04124b35 Remove TIM8, TIM8 is stepper generator timer. 2024-01-17 00:29:06 +01:00
Hakan Bastedt
760944afe5 Various improvements. New pdo variable stepsPerMM. 2024-01-17 00:24:17 +01:00
Hakan Bastedt
044e8fd2c5 Removed unnecessary condition in timerCB, was aleady test on ´steps´ 2024-01-15 23:10:25 +01:00
Hakan Bastedt
697ea19dae Bug, digitalWrite of stepPin should be dirPin in timerCB. Reshuffling 2024-01-15 23:07:46 +01:00
Hakan Bastedt
20ca9d4974 Maybe works better now. Using G0 can not provoke the scrape sound. Jogging for a long while can provoke still. 2024-01-15 21:12:23 +01:00
Hakan Bastedt
c6857d0be2 Still problem with overlapping cycles in stepgen. TIM8 works for stepgen now. 2024-01-15 20:21:14 +01:00
Hakan Bastedt
f14b0160f6 Spelling 2024-01-15 15:54:11 +01:00
Hakan Bastedt
deadd488dd Two stepgens active pending lathe test 2024-01-13 22:44:08 +01:00
Hakan Bastedt
25c2aa7b3c Some cleanup. 2024-01-12 14:37:25 +01:00
Hakan Bastedt
7a63d27303 Two encoders and two steppers declared. Encoder is 64-bit again 2024-01-11 21:10:27 +01:00
Hakan Bastedt
6176166b3a More encapsulation of timer info. 2024-01-11 16:44:28 +01:00
Hakan Bastedt
5df911296c sync0CycleTime static member of StepGen 2024-01-11 10:54:13 +01:00
Hakan Bastedt
a4488da9fa Cleanup encoder code 2024-01-11 10:42:29 +01:00