USB Rechargeable Scrolling Badge

Windows Home Server

WHS Tutorials, Walkthroughs, Tips & Tricks

USB Rechargeable Scrolling Badge

Rate This



Features
:

  • LED Matrix: 7x24
  • Store 8 messages, each message can display 255 characters
  • Self-programmable by 3 keys on the back
  • PC-programmable via USB cable after installing software
  • 8 scrolling speeds adjustable
  • 4 brightness levels adjustable
  • 7 different scrolling modes: Right, Left, Up, Down, Freeze, Flash and Loop
  • Rechargeable cell phone battery, charge via USB power. The battery lasts up to 12hours after fully charged, depending on brightness and message settings.

Interface Port Details:
CO2101 USB to UART Bridge Controller by Silicon Laboratories
USB\VID_10C4&PID_EA60&MI_00\0001_00

Port Settings:
Bits per second: 115200
Bata bits: 8
Parity: None
Stop bits: 1
Flow control: None

Driver files:
C:\WINDOWS\system32\DRIVERS\slabcm.sys
C:\WINDOWS\system32\DRIVERS\slabcmnt.sys
C:\WINDOWS\system32\DRIVERS\slabser.sys

Silabs USB to UART bridge (CP210xManufacturing.dll)
The CP210x is a single-chip USB to UART bridge that converts data traffic between USB and UART formats. The chip includes a complete USB 2.0 full-speed function controller, bridge control logic and a UART interface with transmit/receive buffers and modem handshake signals. 



The CP210x Host API is provided in the form of a Windows Dynamic Link Library (DLL),
CP210xManufacturing.DLL. The host interface DLL communicates with the bridge controller device via the
provided device driver and the operating system's USB stack.

CP210X Device Customization Guide
https://www.silabs.com/Support%20Documents/TechnicalDocs/an144.pdf

// Return codes 
#define CP210x_SUCCESS 0x00 
#define CP210x_DEVICE_NOT_FOUND 0xFF 
#define CP210x_INVALID_HANDLE 0x01 
#define CP210x_INVALID_PARAMETER 0x02 
#define CP210x_DEVICE_IO_FAILED 0x03 
#define CP210x_FUNCTION_NOT_SUPPORTED 0x04 
#define CP210x_GLOBAL_DATA_ERROR 0x05 
#define CP210x_FILE_ERROR 0x06 
#define CP210x_COMMAND_FAILED 0x08 
#define CP210x_INVALID_ACCESS_TYPE 0x09

Spy++
public const int WM_COMMAND = 0x111;

 

//Get a handle for the SeBadge.exe Application main window
hWnd = Win32.FindWindow(null, "USB Rechargeable LED Scrolling Badge (Latin) Ver 2.00");
                              
// debug
//Win32.SendMessage(hWnd, Win32.WM_SETTEXT, 0, "OK");
// get Frame handle
//IntPtr hWndFrame = Win32.FindWindowEx(hWnd, IntPtr.Zero, "ThunderRT6Frame", "");

// get Texbox1 handle
IntPtr hWndTextbox1 = Win32.FindWindowEx(hWnd, IntPtr.Zero, "ThunderRT6TextBox", string.Empty);

// get Send button handle
IntPtr hWndSendButton = Win32.FindWindowEx(hWnd, IntPtr.Zero, "ThunderRT6CommandButton", "Send");
  
// press the SEND button, here (lParam is the handle to the button)
Win32.SendMessage(hWnd, Win32.WM_COMMAND, 0x00000024, (int)hWndSendButton);

Sort by: Published Date | Most Recent | Most Useful
Comments
  • You wouldn't happen to have the CD so you could ZIP it down and sent it to me? My LED badge CD got broken.

  • PM sent

Page 1 of 1 (2 items)