This is going to be about setting up a Corsair 300 machine to run LLMs
The Phantom Flasher
Saturday, 11 April 2026
Wednesday, 31 July 2024
Fix Git and Windows OpenSSH
Fix Git and windows openSSH
The answer was found on stackoverflow
https://stackoverflow.com/questions/71556140/git-does-not-use-ssh-key-windows
To verify
Open command line
type
which ssh
The answer should be
C:/Windows/System32/OpenSSH/ssh.exe
Now to get git to use openSSH vs it's own ssh run the following line
git config --global core.sshCommand C:/Windows/System32/OpenSSH/ssh.exe
Monday, 30 May 2022
Fix Issue with VirtualBox and VM Workstation (Windows Host, Linux Guest)
If VM running slowly when using windows as a host or build keep failing in linux. And the green turtle Icon appears at the bottom of virtualbox then the issue is Hypervisor is running. This is not this doesn't seem to be supported in VirtualBox or Workstation
Open PowerShell in admittatur mode
bcdedit /set hypervisorlaunchtype off
Reboot
Auto Start Synergy client in Ubuntu 18.04
Search for Startup Applications
Add
Name: Synergy
Command: synergyc -f --no-tray --debug INFO --name dev-GB --enable-crypto --tls-cert /home/dev/.synergy/SSL/Synergy.pem <SERVER NAME/IP ADDRESS>
Comment: Sartup synergy client
If running from ssh
Either
synergyc -f --no-tray --debug INFO --name dev-GB --enable-crypto --tls-cert /home/dev/.synergy/SSL/Synergy.pem <SERVER NAME/IP ADDRESS>
or
synergy
Friday, 10 January 2020
Software Tools
There are a selection of software tools I use.
AstroGrep
- Windows Search tool
- -n%2 -c%3 %1
- http://astrogrep.sourceforge.net/download/
Notepad++
- Notepad for windows (win32 edition, for TextFX)
- https://notepad-plus-plus.org/downloads/
- Add on
- TextFX
- HEX Editor
- DSpell Checker
- RegEx Helper (https://sourceforge.net/projects/nppregexhelper/)
SumatraPDF
- Open Source PDF viewer
- https://www.sumatrapdfreader.org/free-pdf-reader.html
cmder
- Windows Terminal
- https://cmder.app
- http://astrogrep.sourceforge.net/download/
Notepad++
- Notepad for windows (win32 edition, for TextFX)
- https://notepad-plus-plus.org/downloads/
- Add on
- TextFX
- HEX Editor
- DSpell Checker
- RegEx Helper (https://sourceforge.net/projects/nppregexhelper/)
SumatraPDF
- Open Source PDF viewer
- https://www.sumatrapdfreader.org/free-pdf-reader.html
cmder
- Windows Terminal
- https://cmder.app
XYPlorer
- Windows File Manager (free version)
- https://www.xyplorer.com/free.php
Termite
- Windows Terminal (RS323)
- https://www.compuphase.com/software_termite.htm
Putty
- Windows Terminal (RS232/SSH)
- https://www.putty.org/
WinPython
- Python for windows
- http://winpython.github.io/
Strawberry Perl
- Perl for windows
- http://strawberryperl.com/
Ruby
- https://www.ruby-lang.org/en/
Ceedling
- C unit test tool
- http://www.throwtheswitch.org/ceedling
CLang
- C/C++ compiler
- http://releases.llvm.org/download.html
SysInternals
Zoom It
https://docs.microsoft.com/en-us/sysinternals/downloads/
Ceedling
Unit tests framework for C/C++
http://www.throwtheswitch.org/ceedling
- Windows File Manager (free version)
- https://www.xyplorer.com/free.php
7Zip
- Zip tool for windows
Visual Code
- MS version of Eclipse
- Addon Daobeam
CMake
- Make tool
Termite
- Windows Terminal (RS323)
- https://www.compuphase.com/software_termite.htm
Putty
- Windows Terminal (RS232/SSH)
- https://www.putty.org/
WinPython
- Python for windows
- http://winpython.github.io/
Strawberry Perl
- Perl for windows
- http://strawberryperl.com/
Ruby
- https://www.ruby-lang.org/en/
Ceedling
- C unit test tool
- http://www.throwtheswitch.org/ceedling
CLang
- C/C++ compiler
- http://releases.llvm.org/download.html
SysInternals
Zoom It
https://docs.microsoft.com/en-us/sysinternals/downloads/
Ceedling
Unit tests framework for C/C++
http://www.throwtheswitch.org/ceedling
Virtual Box
Synergy
https://symless.com/synergy/
https://symless.com/synergy/
WinPython
Saturday, 20 October 2018
The 3040T CNC Router
It’s a standard 3040T, 3 axis, 200W spindle, 3 nema 23
stepper motors.
After purchasing I’ve noticed the spindle is not going
to be easy to upgrade beyond a 500W due to the mounting going to be a pain in
the arse to change. When I get to that point I will get a friend who is a craftsman
and will do a far better job than myself changing the mounting over.
The motors
These are from dongshundj, but as usual the part
number on the motor is not in the list of motors they sell and the deciphering
of the motor from the serial number is not publish on the site. It might be in mandarin
this is a mute points.
57BYGH041F025BD-18
No. 201711
Not knowing the actual current sink on these is a bit
of a pain as I would like to use a TMC2130 to drive these, but this has a max
current of 1.4A. The TMC2130 is similar to the driver on the smoothier board
and is easy to get as a module (around £6 each). I going to assume the current
is more like 2A, and thus I might use something like a TMC5160, which can drive
larger current.
The Parallel Port
This information is an acuminating of what I’ve found
on the web and the documentation from the user manual supplied. I don’t know if
this is correct, when I get things working up will update this table.
Pin
|
Direction
to device
|
Status
|
|
1
|
Spindle
on/off Relay 1(active low)
|
Input
|
Not
Checked
|
2
|
X
Axis Step (active low)
|
Input
|
Not
Checked
|
3
|
X
Axis Dir (active low)
|
Input
|
Not
Checked
|
4
|
Y
Axis Step (active low)
|
Input
|
Not
Checked
|
5
|
Y
Axis Dir (active low)
|
Input
|
Not
Checked
|
6
|
Z
Axis Step (active low)
|
Input
|
Not
Checked
|
7
|
Z
Axis Dir (active low)
|
Input
|
Not
Checked
|
8
|
A
Axis Step (active low)
|
Input
|
Not
Checked
|
9
|
A
Axis Dir (active low)
|
Input
|
Not
Checked
|
10
|
External
emergency button
|
Not
Checked
|
|
11
|
X axis limit switch
|
Output
|
Not
Checked
|
12
|
Y axis limit switch
|
Output
|
Not
Checked
|
13
|
Z axis limit switch
|
Output
|
Not
Checked
|
14
|
X、Y、Z、A
axis Enabled
|
Output
|
Not
Checked
|
15
|
Probe
(active low)
|
Input
|
Not
Checked
|
16
|
Is
supposed to turn Relay 2 on/off but is currently not connected in board
|
Not
Checked
|
|
17
|
PWM
0-10V for VFD Spindle AN1 (if jumper 4 is in default 1-2 position) active low
|
Input
|
Not
Checked
|
18
|
Gnd
|
Not
Checked
|
|
19
|
Gnd
|
Not
Checked
|
|
20
|
Gnd
|
Not
Checked
|
|
21
|
Gnd
|
Not
Checked
|
|
22
|
Gnd
|
Not
Checked
|
|
23
|
Gnd
|
Not
Checked
|
|
24
|
Gnd
|
Not
Checked
|
|
25
|
Gnd
or NC
|
Not
Checked
|
The voltage level are probably going to be 5v except
for the PWM which seem to be 10V.
Motor Details
This might be the PWM for the spindleMotor Details
|
Machine Model
|
CNC3040
|
CNC3020
|
|
|
Stepping Motor Model
|
57BYGH218
|
Not Fixed
|
Units
|
|
Step Angle
|
1.8
|
1.8
|
(deg)
|
|
Motor Length
|
51
|
N/A
|
(mm)
|
|
Rate Voltage
|
2.6
|
2.6
|
(V)
|
|
Rate Current
|
2
|
2
|
(A)
|
|
Phase Resistance
|
1.3
|
N/A
|
(ohm)
|
|
Phase Inductance
|
4
|
N/A
|
(mH)
|
|
Holding Torque
|
9
|
N/A
|
(kg.cm2)
|
|
Lead Wire
|
4
|
N/A
|
(number)
|
|
Rotor Inertia
|
275
|
N/A
|
(g.cm)
|
|
Detect Torque
|
0.36
|
N/A
|
(g.cm2)
|
|
Motor Weight
|
0.65
|
N/A
|
(kg)
|
|
Frequency
|
rpm
|
Frequency
|
rpm
|
|
10
|
600
|
210
|
12600
|
|
20
|
1200
|
220
|
13200
|
|
30
|
1800
|
230
|
13800
|
|
40
|
2400
|
240
|
14400
|
|
50
|
3000
|
250
|
15000
|
|
60
|
3600
|
260
|
15600
|
|
70
|
4200
|
270
|
16200
|
|
80
|
4800
|
280
|
16800
|
|
90
|
5400
|
290
|
17400
|
|
100
|
6000
|
300
|
18000
|
|
110
|
6600
|
310
|
18600
|
|
120
|
7200
|
320
|
19200
|
|
130
|
7800
|
330
|
19800
|
|
140
|
8400
|
340
|
20400
|
|
150
|
9000
|
350
|
21000
|
|
160
|
9600
|
360
|
21600
|
|
170
|
10200
|
370
|
22200
|
|
180
|
10800
|
380
|
22800
|
|
190
|
11400
|
390
|
23400
|
|
200
|
12000
|
400
|
24000
|
Subscribe to:
Comments (Atom)