initial mit FluidNC Version 3.7.18
This commit is contained in:
ChKendel
2026-01-03 16:59:13 +01:00
commit 0d901247b8
11 changed files with 141 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
[ESP100]PRISM
[ESP101]Soldatenstr.Kendel.7
[ESP110]STA
[ESP100]ZyXEL7A9E80
[ESP101]TPY9YXUTWAPV3
$0=3
$1=250
$2=0
$3=0
$4=0
$5=1
$6=0
$10=1
$11=0.010
$12=0.002
$13=0
$20=0
$21=0
$22=0
$23=3
$24=200.000
$25=2000.000
$26=250.000
$27=1.000
$30=4000.000
$31=0.000
$32=0
$N1=
$N0=
$100=320.000
$101=1280.000
$102=160.000
$103=100.000
$104=100.000
$105=100.000
$110=2600.000
$111=5000.000
$112=4000.000
$113=2200.000
$114=1000.000
$115=1000.000
$120=300.000
$121=350.000
$122=100.000
$123=200.000
$124=200.000
$125=200.000
$130=300.000
$131=300.000
$132=300.000
$133=300.000
$134=300.000
$135=300.000

27
uploadScript/ResetGPIO.py Normal file
View File

@@ -0,0 +1,27 @@
import RPi.GPIO as GPIO
import time as time
GPIO.setmode(GPIO.BCM)
G0 = 24
EN = 23
GPIO.setup(G0,GPIO.OUT)
GPIO.setup(EN,GPIO.OUT)
GPIO.output(G0,1)
GPIO.output(EN,1)
time.sleep(1)
GPIO.output(EN,0)
time.sleep(1)
GPIO.output(EN,1)
print("should restart")
# Benutzte GPIOs freigeben
GPIO.cleanup()

View File

@@ -0,0 +1,23 @@
import serial
ser = serial.Serial("/dev/ttyS0", 115200, timeout=1)
#ser.write(open("Config_DollarDollar.txt","rb").read())
serialcmd = '[ESP100]\n'
serialcmd = '?\n'
ser.write(serialcmd.encode())
print(serialcmd)
f = open("Config_DollarDollar.txt","rb")
#for l in f:
#print(l)
#ser.write(l)
print("test")
while ser.in_waiting > 0:
line = ser.readline().decode('utf-8').rstrip()
print(line)
ser.close()

BIN
uploadScript/boot_app0.bin Normal file

Binary file not shown.

BIN
uploadScript/bootloader.bin Normal file

Binary file not shown.

BIN
uploadScript/firmware.bin Normal file

Binary file not shown.

BIN
uploadScript/index.html.gz Normal file

Binary file not shown.

BIN
uploadScript/littlefs.bin Normal file

Binary file not shown.

BIN
uploadScript/partitions.bin Normal file

Binary file not shown.

View File

@@ -0,0 +1,31 @@
import RPi.GPIO as GPIO
import time as time
GPIO.setmode(GPIO.BCM)
G0 = 24
EN = 23
GPIO.setup(G0,GPIO.OUT)
GPIO.setup(EN,GPIO.OUT)
GPIO.output(G0,1)
GPIO.output(EN,1)
time.sleep(1)
GPIO.output(G0,0)
GPIO.output(EN,0)
time.sleep(1)
GPIO.output(EN,1)
time.sleep(1)
GPIO.output(G0,1)
print("should wait for download")
# Benutzte GPIOs freigeben
GPIO.cleanup()

1
uploadScript/upload.sh Normal file
View File

@@ -0,0 +1 @@
python /home/pi/esptool/esptool.py --chip esp32 --port /dev/ttyS0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 boot_app0.bin 0x1000 bootloader.bin 0x10000 firmware.bin 0x8000 partitions.bin