PROG209 is a wireless, self-programming Smart PLC system built around the ATmega128 microcontroller. Instead of manual programming via cables or relying on heavy onboard compilers, PROG209 splits the workload intelligently between the cloud AI, the SoifGo mobile app, and a dedicated hardware programmer MCU.
Sample BASCOM-AVR skeleton for the programmer microcontroller handling Bluetooth serial input and ISP flashing:
$regfile = "m128def.dat"
$crystal = 11059200
$baud = 115200
Config Portb.0 = Output : Isp_sck Alias Portb.0
Config Portb.1 = Output : Isp_mosi Alias Portb.1
Config Portb.2 = Input : Isp_miso Alias Pinb.2
Config Portb.3 = Output : Isp_reset Alias Portb.3
Config Serialin = Buffered, Size = 254, Bytematch = 13
Enable Interrupts
Dim Rx_text As String * 254
Print "Wireless ISP Programmer Ready."
Do
' Wait for incoming packets from SoifGo via Bluetooth
Loop
Serial0charmatch:
Input Rx_text Noecho
If Instr(rx_text, "PROG_START") > 0 Then
Reset Isp_reset ' Enter programming mode
Print "ISP_MODE_ON"
End If
Return
The SoifGo app provides the wireless terminal interface to paste, manage, and transmit binary update packets directly to the hardware programmer module.