This website requires JavaScript.
2b2704bb17
Added timer2 for proper start point
Hakan Bastedt
2024-02-02 21:43:58 +01:00
0384646972
wip
Hakan Bastedt
2024-02-02 15:26:01 +01:00
133df5662d
wip, before timer stuff
Hakan Bastedt
2024-02-02 12:09:49 +01:00
d1eb1d9a40
logic might be there
Hakan Bastedt
2024-02-01 20:30:02 +01:00
934f3cb028
Octave files not commited
Hakan Bastedt
2024-01-29 12:08:01 +01:00
d60822388e
ordered
Hakan Bastedt
2024-01-26 22:02:32 +01:00
31d24e2676
Fab from this version
Hakan Bastedt
2024-01-26 16:38:10 +01:00
c444f9a496
Getting ready for fab
Hakan Bastedt
2024-01-26 16:27:17 +01:00
e234ea7a97
morfe copper in +5V leads
Hakan Bastedt
2024-01-26 13:44:45 +01:00
eb63adbdc2
all leds are now 0603
Hakan Bastedt
2024-01-26 13:21:14 +01:00
70014d3b1d
Added 4k7 pullup onm scs_func. Think not needed since it is to a pin on stm32, but in case
Hakan Bastedt
2024-01-26 12:38:11 +01:00
990801f2d0
4.7k to 4k7
Hakan Bastedt
2024-01-26 01:10:08 +01:00
329474309d
Might be in final shape.
Hakan Bastedt
2024-01-25 22:35:25 +01:00
da2b1f6376
resistor overhaul
Hakan Bastedt
2024-01-25 13:08:04 +01:00
a88090a853
wip
Hakan Bastedt
2024-01-25 11:31:48 +01:00
aa955aec67
Two-layer now
Hakan Bastedt
2024-01-25 00:30:19 +01:00
e641fd04b7
First component placement
Hakan Bastedt
2024-01-25 00:27:56 +01:00
ac711cd168
Assigned footprints
Hakan Bastedt
2024-01-24 20:10:20 +01:00
ee56f85c53
Steppers, encoders, IO, etc remapped
Hakan Bastedt
2024-01-24 19:44:33 +01:00
69357d35a4
Wip optocoupler input and outputs
Hakan Bastedt
2024-01-23 23:42:32 +01:00
84d790c687
Cleaning old gerber files.
Hakan Bastedt
2024-01-23 23:00:09 +01:00
e7fc20fec5
micros() in irq is suspicous. Some optomization of stepper parameters. Comments.
Hakan Bastedt
2024-01-23 22:40:15 +01:00
f8cec1ac69
How many times to fix it?
Hakan Bastedt
2024-01-23 17:51:44 +01:00
ddffbe5f8b
Actually don't run ecat-slv_poll()
Hakan Bastedt
2024-01-23 15:48:59 +01:00
e95a098367
Update README.md
Håkan Båstedt
2024-01-23 13:27:26 +01:00
1d36ffbf69
Pending video7 release
Hakan Bastedt
2024-01-23 13:16:31 +01:00
c97e1fa96a
Moved ESCvar.PrevTime. It's not used though
Hakan Bastedt
2024-01-23 11:22:09 +01:00
ef84d552e4
Debug comments
Hakan Bastedt
2024-01-23 11:17:00 +01:00
d93adac4a2
Don't run ecat_slv_poll() when expecting to serve interrupt
Hakan Bastedt
2024-01-23 11:00:47 +01:00
ca3ceac5c6
wip inputs with photodiodes etc
Hakan Bastedt
2024-01-21 23:31:45 +01:00
b534e3d4da
Kludge with 'tone' of steppers. Gives ferror, but nice tone
Hakan Bastedt
2024-01-21 23:29:59 +01:00
6ac0949f26
Added optional pull-down to step generators
Hakan Bastedt
2024-01-21 00:24:36 +01:00
1f97534133
New pwmCycleTime different from sync0CycleTime
Hakan Bastedt
2024-01-20 12:37:42 +01:00
e6bfe4f880
Tests for growling. That 10xcycle time seems to do it, but it's not right.
Hakan Bastedt
2024-01-19 21:31:15 +01:00
8f05f33e58
Both steppers work in simulated environment
Hakan Bastedt
2024-01-18 18:21:21 +01:00
9e311038c1
TIM8 replaced with TIM3. TIM3,chan4 works on PC9. TIM8,chan4 should work but doesn't. How should one know?
Hakan Bastedt
2024-01-18 17:21:12 +01:00
9ab4afabe4
New enable input. Add dc ability. Set only SM2 synchronization. Various to make lathe work
Hakan Bastedt
2024-01-18 14:26:51 +01:00
38825bbaf3
Trying to make stepper suing tim8 work
Hakan Bastedt
2024-01-18 14:25:19 +01:00
0a04124b35
Remove TIM8, TIM8 is stepper generator timer.
Hakan Bastedt
2024-01-17 00:29:06 +01:00
760944afe5
Various improvements. New pdo variable stepsPerMM.
Hakan Bastedt
2024-01-17 00:24:17 +01:00
044e8fd2c5
Removed unnecessary condition in timerCB, was aleady test on ´steps´
Hakan Bastedt
2024-01-15 23:10:25 +01:00
697ea19dae
Bug, digitalWrite of stepPin should be dirPin in timerCB. Reshuffling
Hakan Bastedt
2024-01-15 23:07:46 +01:00
20ca9d4974
Maybe works better now. Using G0 can not provoke the scrape sound. Jogging for a long while can provoke still.
Hakan Bastedt
2024-01-15 21:12:23 +01:00
c6857d0be2
Still problem with overlapping cycles in stepgen. TIM8 works for stepgen now.
Hakan Bastedt
2024-01-15 20:21:14 +01:00
f14b0160f6
Spelling
Hakan Bastedt
2024-01-15 15:54:11 +01:00
deadd488dd
Two stepgens active pending lathe test
Hakan Bastedt
2024-01-13 22:44:08 +01:00
25c2aa7b3c
Some cleanup.
Hakan Bastedt
2024-01-12 14:37:25 +01:00
7a63d27303
Two encoders and two steppers declared. Encoder is 64-bit again
Hakan Bastedt
2024-01-11 21:10:27 +01:00
6176166b3a
More encapsulation of timer info.
Hakan Bastedt
2024-01-11 16:44:28 +01:00
5df911296c
sync0CycleTime static member of StepGen
Hakan Bastedt
2024-01-11 10:54:13 +01:00
a4488da9fa
Cleanup encoder code
Hakan Bastedt
2024-01-11 10:42:29 +01:00
cd8388ea58
Reshuffle in main.cpp
Hakan Bastedt
2024-01-10 23:42:05 +01:00
6f29a0d492
Further cleanup and modularization
Hakan Bastedt
2024-01-10 22:27:04 +01:00
3bbf089d01
MyEncoder split into cpp and h file
Hakan Bastedt
2024-01-10 22:05:38 +01:00
2e4e768d5e
Raw classified encoder. Compiles, untested
Hakan Bastedt
2024-01-10 21:58:11 +01:00
6c168d96d9
Test with different stepscale. ok
Hakan Bastedt
2024-01-10 20:25:26 +01:00
f8fc5fccd6
Max step-rate introduced - solves initial step storm
Hakan Bastedt
2024-01-10 20:08:30 +01:00
f6abd73c58
Split class into cpp and h file. Works at commands, but initial isn't ok
Hakan Bastedt
2024-01-10 18:59:16 +01:00
c5a95074dc
Moved stepper into C++ class. Seems to work. Basic
Hakan Bastedt
2024-01-10 18:44:58 +01:00
8614d1dfd3
Moved stepper into C++ class. Seems to work. Basic
Hakan Bastedt
2024-01-10 18:44:40 +01:00
251fd29d23
wip
Hakan Bastedt
2024-01-10 15:32:45 +01:00
5ad02fae03
New gerber files for ax58100 for pcb quotations
Hakan Bastedt
2024-01-10 15:30:41 +01:00
9adae08b98
It seems to work now, with reload in the timer_CB. Avoid micros()
Hakan Bastedt
2024-01-09 22:20:20 +01:00
0b9ce37200
Reloading in irq might possibly work
Hakan Bastedt
2024-01-09 10:39:56 +01:00
120b423f59
Restructure, makes pulses again
Hakan Bastedt
2024-01-08 21:13:34 +01:00
222e5857dc
Reorganize
Hakan Bastedt
2024-01-07 19:38:22 +01:00
ed0414b90a
Merge pull request #4 from MetalMusings/revert-3-Video6
Video5
Håkan Båstedt
2024-01-06 22:22:33 +01:00
1d8adf2147
Revert "Video6 uploaded"
revert-3-Video6
Håkan Båstedt
2024-01-06 22:22:12 +01:00
4c4aa7aab1
Merge pull request #3 from MetalMusings/Video6
Håkan Båstedt
2024-01-06 22:12:33 +01:00
b242ec3315
Pending video release
Video6
Hakan Bastedt
2024-01-06 21:59:09 +01:00
f66c600dc7
Soon video release
Hakan Bastedt
2024-01-06 21:02:09 +01:00
9a41ccd2bc
Added linuxcnc test config before video release
Hakan Bastedt
2024-01-06 20:54:15 +01:00
9dcc713fab
Added a commandedVelocity variable for hal
Hakan Bastedt
2024-01-06 20:53:34 +01:00
ccde6ef15e
definitely works better now with SM2 sync. handleStepper is back.
Hakan Bastedt
2024-01-05 21:37:55 +01:00
7e06b0ce68
ooops it was set to use DC sync, not the intention, SM2 sync was intended. Switch to SM2 sync
Hakan Bastedt
2024-01-05 21:33:06 +01:00
37d3ea6567
Solution was to NOT do the steps in the IRQ. Set a flag and do pulses outside of the irq.
Hakan Bastedt
2024-01-05 19:33:13 +01:00
ed168df64e
It actually makes pulses at 1ms intervals here. Saving this moment.
Hakan Bastedt
2024-01-05 17:46:31 +01:00
1168f7e5ad
Now it is occasionally updating correct 1 ms. wip.
Hakan Bastedt
2024-01-04 23:00:09 +01:00
93405efd63
Why is actualposition updated every 2 ms, not every 1 ms?
Hakan Bastedt
2024-01-04 22:23:52 +01:00
484c984e49
Basic function using SM2 sync inteerupt. Stepgen half functional
Hakan Bastedt
2024-01-04 21:38:40 +01:00
e6cd5356c9
tests with linuxcnc, DC sync is not the way to go, leaving that
Hakan Bastedt
2024-01-04 11:39:01 +01:00
5978ebec24
Pending tests. Merging this branch
Hakan Bastedt
2024-01-02 23:58:29 +01:00
d4a83eae80
Use frequency instead of pulse width - much better resolution at high freq.
Hakan Bastedt
2024-01-02 23:55:32 +01:00
2e8e938345
Bugs found. set duty cycle after overflow()
Hakan Bastedt
2024-01-02 23:51:58 +01:00
cc1ca73219
wip, local testing to start
Hakan Bastedt
2024-01-02 23:32:47 +01:00
b57bd740ab
double float = fal_float size added to lcec. LCNC starts and works
Hakan Bastedt
2024-01-02 18:46:26 +01:00
8007a2ff6c
Test with minium pulse delay 5 usec - can be set easily.
Hakan Bastedt
2024-01-01 22:51:03 +01:00
a21e932b5a
Direction pin works in test
Hakan Bastedt
2024-01-01 22:48:50 +01:00
64d62a954a
Basic test with puls sequence
Hakan Bastedt
2024-01-01 22:42:12 +01:00
f99d9bab77
Here are those changes... Worked in another repositiry hehe
Hakan Bastedt
2024-01-01 20:40:29 +01:00
703bbfb03a
wip, stepper doesn't run
Hakan Bastedt
2024-01-01 15:27:29 +01:00
f0ec7a834c
Tested, works in linuxcnc, doesn't work in free run mode
Hakan Bastedt
2024-01-01 00:37:45 +01:00
28f01a9919
WIP, non-functional
Hakan Bastedt
2023-12-31 20:09:55 +01:00
bf8fccd0d6
Patch for lcec to support 64-bit floats
Hakan Bastedt
2023-12-31 13:06:32 +01:00
f27a27ed1b
64-bit data types added
Hakan Bastedt
2023-12-31 13:00:48 +01:00
485901120c
Reshuffle file structure
Hakan Bastedt
2023-12-31 09:17:42 +01:00
1851f4168e
Geographic annotation on pcb 2
Hakan Bastedt
2023-12-31 09:07:56 +01:00
ab034e93f8
wip stepgen
Hakan Bastedt
2023-12-31 08:57:37 +01:00
0929d23207
DC synchronization works, interrupt counter counts
Hakan Bastedt
2023-12-30 20:41:52 +01:00
818f853af0
Pending video release
Hakan Bastedt
2023-12-29 17:37:27 +01:00