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 |
|
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 |
|
Hakan Bastedt
|
cd8388ea58
|
Reshuffle in main.cpp
|
2024-01-10 23:42:05 +01:00 |
|
Hakan Bastedt
|
6f29a0d492
|
Further cleanup and modularization
|
2024-01-10 22:27:04 +01:00 |
|
Hakan Bastedt
|
3bbf089d01
|
MyEncoder split into cpp and h file
|
2024-01-10 22:05:38 +01:00 |
|
Hakan Bastedt
|
2e4e768d5e
|
Raw classified encoder. Compiles, untested
|
2024-01-10 21:58:11 +01:00 |
|
Hakan Bastedt
|
6c168d96d9
|
Test with different stepscale. ok
|
2024-01-10 20:25:26 +01:00 |
|
Hakan Bastedt
|
f8fc5fccd6
|
Max step-rate introduced - solves initial step storm
|
2024-01-10 20:08:30 +01:00 |
|
Hakan Bastedt
|
f6abd73c58
|
Split class into cpp and h file. Works at commands, but initial isn't ok
|
2024-01-10 18:59:16 +01:00 |
|
Hakan Bastedt
|
c5a95074dc
|
Moved stepper into C++ class. Seems to work. Basic
|
2024-01-10 18:44:58 +01:00 |
|
Hakan Bastedt
|
8614d1dfd3
|
Moved stepper into C++ class. Seems to work. Basic
|
2024-01-10 18:44:40 +01:00 |
|
Hakan Bastedt
|
251fd29d23
|
wip
|
2024-01-10 15:32:45 +01:00 |
|
Hakan Bastedt
|
5ad02fae03
|
New gerber files for ax58100 for pcb quotations
|
2024-01-10 15:30:41 +01:00 |
|
Hakan Bastedt
|
9adae08b98
|
It seems to work now, with reload in the timer_CB. Avoid micros()
|
2024-01-09 22:20:20 +01:00 |
|
Hakan Bastedt
|
0b9ce37200
|
Reloading in irq might possibly work
|
2024-01-09 10:39:56 +01:00 |
|
Hakan Bastedt
|
120b423f59
|
Restructure, makes pulses again
|
2024-01-08 21:13:34 +01:00 |
|
Hakan Bastedt
|
222e5857dc
|
Reorganize
|
2024-01-07 19:38:22 +01:00 |
|
Hakan Bastedt
|
b242ec3315
|
Pending video release
|
2024-01-06 21:59:09 +01:00 |
|
Hakan Bastedt
|
f66c600dc7
|
Soon video release
|
2024-01-06 21:02:09 +01:00 |
|
Hakan Bastedt
|
9a41ccd2bc
|
Added linuxcnc test config before video release
|
2024-01-06 20:54:15 +01:00 |
|
Hakan Bastedt
|
9dcc713fab
|
Added a commandedVelocity variable for hal
|
2024-01-06 20:53:34 +01:00 |
|
Hakan Bastedt
|
ccde6ef15e
|
definitely works better now with SM2 sync. handleStepper is back.
|
2024-01-05 21:37:55 +01:00 |
|
Hakan Bastedt
|
7e06b0ce68
|
ooops it was set to use DC sync, not the intention, SM2 sync was intended. Switch to SM2 sync
|
2024-01-05 21:33:06 +01:00 |
|
Hakan Bastedt
|
37d3ea6567
|
Solution was to NOT do the steps in the IRQ. Set a flag and do pulses outside of the irq.
|
2024-01-05 19:33:13 +01:00 |
|
Hakan Bastedt
|
ed168df64e
|
It actually makes pulses at 1ms intervals here. Saving this moment.
|
2024-01-05 17:46:31 +01:00 |
|
Hakan Bastedt
|
1168f7e5ad
|
Now it is occasionally updating correct 1 ms. wip.
|
2024-01-04 23:00:09 +01:00 |
|
Hakan Bastedt
|
93405efd63
|
Why is actualposition updated every 2 ms, not every 1 ms?
|
2024-01-04 22:23:52 +01:00 |
|
Hakan Bastedt
|
484c984e49
|
Basic function using SM2 sync inteerupt. Stepgen half functional
|
2024-01-04 21:38:40 +01:00 |
|
Hakan Bastedt
|
e6cd5356c9
|
tests with linuxcnc, DC sync is not the way to go, leaving that
|
2024-01-04 11:39:01 +01:00 |
|
Hakan Bastedt
|
5978ebec24
|
Pending tests. Merging this branch
|
2024-01-02 23:58:29 +01:00 |
|
Hakan Bastedt
|
d4a83eae80
|
Use frequency instead of pulse width - much better resolution at high freq.
|
2024-01-02 23:55:32 +01:00 |
|
Hakan Bastedt
|
2e8e938345
|
Bugs found. set duty cycle after overflow()
|
2024-01-02 23:51:58 +01:00 |
|
Hakan Bastedt
|
cc1ca73219
|
wip, local testing to start
|
2024-01-02 23:32:47 +01:00 |
|
Hakan Bastedt
|
b57bd740ab
|
double float = fal_float size added to lcec. LCNC starts and works
|
2024-01-02 18:46:26 +01:00 |
|
Hakan Bastedt
|
8007a2ff6c
|
Test with minium pulse delay 5 usec - can be set easily.
|
2024-01-01 22:52:14 +01:00 |
|
Hakan Bastedt
|
a21e932b5a
|
Direction pin works in test
|
2024-01-01 22:48:50 +01:00 |
|
Hakan Bastedt
|
64d62a954a
|
Basic test with puls sequence
|
2024-01-01 22:42:12 +01:00 |
|
Hakan Bastedt
|
f99d9bab77
|
Here are those changes... Worked in another repositiry hehe
|
2024-01-01 20:40:29 +01:00 |
|
Hakan Bastedt
|
703bbfb03a
|
wip, stepper doesn't run
|
2024-01-01 15:27:29 +01:00 |
|
Hakan Bastedt
|
f0ec7a834c
|
Tested, works in linuxcnc, doesn't work in free run mode
|
2024-01-01 00:37:45 +01:00 |
|
Hakan Bastedt
|
28f01a9919
|
WIP, non-functional
|
2023-12-31 20:09:55 +01:00 |
|
Hakan Bastedt
|
bf8fccd0d6
|
Patch for lcec to support 64-bit floats
|
2023-12-31 13:06:32 +01:00 |
|
Hakan Bastedt
|
f27a27ed1b
|
64-bit data types added
|
2023-12-31 13:00:48 +01:00 |
|
Hakan Bastedt
|
485901120c
|
Reshuffle file structure
|
2023-12-31 09:17:42 +01:00 |
|
Hakan Bastedt
|
1851f4168e
|
Geographic annotation on pcb 2
|
2023-12-31 09:07:56 +01:00 |
|
Hakan Bastedt
|
ab034e93f8
|
wip stepgen
|
2023-12-31 08:57:37 +01:00 |
|
Hakan Bastedt
|
0929d23207
|
DC synchronization works, interrupt counter counts
|
2023-12-30 20:41:52 +01:00 |
|
Hakan Bastedt
|
818f853af0
|
Pending video release
|
2023-12-29 17:37:27 +01:00 |
|
Hakan Bastedt
|
5abaf4ace7
|
Pending video release
|
2023-12-29 15:05:23 +01:00 |
|
Hakan Bastedt
|
2a1111c537
|
Updates to encoder
|
2023-12-28 18:46:13 +01:00 |
|
Hakan Bastedt
|
d9b088687f
|
New pcb
|
2023-12-28 18:45:54 +01:00 |
|
Hakan Bastedt
|
2790280c4a
|
Added linuxcnc files
|
2023-12-26 18:24:03 +01:00 |
|
Hakan Bastedt
|
890a81952b
|
Encoder works also for threading cycle. non-optmized.
|
2023-12-26 18:16:04 +01:00 |
|
Hakan Bastedt
|
d878101c62
|
After making board no 2. work
|
2023-12-25 20:46:53 +01:00 |
|
Hakan Bastedt
|
3cd2755645
|
Added arduino sketch to write a valid eeprom for lan9252.
|
2023-12-24 23:29:03 +01:00 |
|
Hakan Bastedt
|
49c804516d
|
Tested in the lathe. Works, of course
|
2023-12-24 23:28:10 +01:00 |
|
Hakan Bastedt
|
c972fef18f
|
Think I got the EEPROM_Generator right
|
2023-12-22 22:26:40 +01:00 |
|
Hakan Bastedt
|
5bb330f215
|
Struggling with EEPROM_Generator
|
2023-12-22 22:25:26 +01:00 |
|
Hakan Bastedt
|
c17650879f
|
Merge branch 'Video4' of https://github.com/MetalMusings/MyOwnEtherCATDevice into Video4
|
2023-12-22 22:07:59 +01:00 |
|
Hakan Bastedt
|
99a368b64e
|
Editorial
|
2023-12-21 16:24:06 +01:00 |
|
Hakan Bastedt
|
e1fce859a4
|
Removng fp-info-cache and adding to .gitignore
|
2023-12-21 11:36:44 +01:00 |
|
Hakan Bastedt
|
26c6bbaf28
|
Merge branch 'Video4' of https://github.com/MetalMusings/MyOwnEtherCATDevice into Video4
|
2023-12-21 11:33:47 +01:00 |
|
Hakan Bastedt
|
e9884d9ecd
|
Fixed 4-layer files
|
2023-12-21 11:31:33 +01:00 |
|
Hakan Bastedt
|
570cfd2c82
|
Added CubeMX file
|
2023-12-21 11:09:36 +01:00 |
|