Skip to content

Commit

Permalink
update gerber
Browse files Browse the repository at this point in the history
  • Loading branch information
Suzhou65 committed Jun 25, 2023
1 parent 0ce3baf commit 9c465b4
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 18 deletions.
Binary file modified lib_circuit/gerber_arduino_2_attiny85.zip
Binary file not shown.
Binary file modified lib_circuit/gerber_nixie_clock_support_board.zip
Binary file not shown.
Binary file modified lib_circuit/gerber_serial_voltage_level_shifter.zip
Binary file not shown.
Binary file added lib_circuit/gerber_tubefitting_temp.zip
Binary file not shown.
25 changes: 9 additions & 16 deletions lib_gist/arduino_temperature_2_pwm.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ unsigned long previousTimePWM = millis();
long timeIntervalPWM = 250;
float TemputreRead, PWMSignal;
int PWMConfig;
// Curve
float P1 = 0.144;
float P2 = 0.028;
float P3 = 17.500;
// Task, RPM
unsigned long previousTimeRPM = millis();
long timeIntervalRPM = 1000;
Expand Down Expand Up @@ -170,24 +174,13 @@ unsigned long CalcRPM(){
}
// Thermostat
void Temperature2PWM(int TemputreRead){
if (TemputreRead>=21 && TemputreRead<=25){
PWMSignal = (TemputreRead*1.4)/100;
if (TemputreRead>=15 && TemputreRead<=60){
// Curve
PWMSignal = ((TemputreRead * P1)*(TemputreRead * P1)) + (TemputreRead * P2) + P3;
setPWM1B(PWMSignal);
return;
} else if (TemputreRead>=26 && TemputreRead<=30){
PWMSignal = (TemputreRead*1.6)/100;
setPWM1B(PWMSignal);
return;
} else if (TemputreRead>=31 && TemputreRead<=35){
PWMSignal = (TemputreRead*1.8)/100;
setPWM1B(PWMSignal);
return;
} else if (TemputreRead>=36 && TemputreRead<=45){
PWMSignal = (TemputreRead*2.0)/100;
setPWM1B(PWMSignal);
return;
} else {
PWMSignal = 0.75;
// Default
PWMSignal = 0.70;
setPWM1B(PWMSignal);
return;
}
Expand Down
Binary file modified lib_img/github_gerber_nixie_adapter_front.webp
Binary file not shown.
Binary file modified lib_img/github_gerber_nixie_adapter_rear.webp
Binary file not shown.
Binary file modified lib_img/github_kicad_apple_30pin_male_vertical_footprint.webp
Binary file not shown.
Binary file added lib_img/github_kicad_apple_dock_eda.webp
Binary file not shown.
Binary file added lib_img/github_kicad_apple_dock_footprint.webp
Binary file not shown.
7 changes: 6 additions & 1 deletion lib_shell/shell_hentai_at_home_raspberry.sh
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
java -jar /media/hd/hath/HentaiAtHome.jar --cache-dir=/media/hd/cache --data-dir=/media/hd/data --download-dir=/media/hd/download --log-dir=/media/hd/log --temp-dir=/media/hd/temp
java -jar /media/hd/hath/HentaiAtHome.jar \
--cache-dir=/media/hd/cache \
--data-dir=/media/hd/data \
--download-dir=/media/hd/download \
--log-dir=/media/hd/log \
--temp-dir=/media/hd/temp
7 changes: 6 additions & 1 deletion lib_shell/shell_hentai_at_home_vps.sh
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
java -jar HentaiAtHome.jar --cache-dir=/usr/hentai/cache --data-dir=/usr/hentai/data --download-dir=/usr/hentai/download --log-dir=/usr/hentai/log --temp-dir=/usr/hentai/temp
java -jar HentaiAtHome.jar \
--cache-dir=/usr/hentai/cache \
--data-dir=/usr/hentai/data \
--download-dir=/usr/hentai/download \
--log-dir=/usr/hentai/log \
--temp-dir=/usr/hentai/temp

0 comments on commit 9c465b4

Please sign in to comment.