Skip to content

Instantly share code, notes, and snippets.

@lorf
lorf / blueflashcmd-identify-debug.log
Created February 18, 2015 15:19
Debug log of "blueflashcmd identify" on HC05
[**********][Timestamp since epoch]
[2638208542][TID: 0009][SID: 01]
[2638208542]read ff9a - 4826
[2638208627]read ff9a - 4826
[2638208628]Core type bluecore
[2638208628]FF9A=0x4826 FE81=0x00FF
[2638208628]Chip type = 4, Family = 1, DisplayName="BC4-EXT (cyt)"
[2638208628]Pre BC7
[2638208628]bluecore_chip
[2638208638]write 006a - 0003
notifyosd-init() {
if [ -n "$DISPLAY" -a -z "$notifyosd_initialized" ]; then
notifyosd_initialized=yes
function notifyosd-active-window-id {
xprop -root | awk '/_NET_ACTIVE_WINDOW\(WINDOW\)/{print $NF}'
}
# end and compare timer, notify-send if needed
function notifyosd-precmd() {
@lorf
lorf / 00-Notes.md
Last active March 5, 2017 11:51
Repetier 0.92.9 configuration for Anet A8 with autolevel
@lorf
lorf / README.md
Last active April 27, 2017 07:54
PCB heat bed for MaKe3D D2 Mini
@lorf
lorf / hc-05-orig.psr
Last active June 14, 2017 16:34
PS keys of HC05 (as came in)
// PSKEY_BDADDR
&0001 = 00XX XX52 00XX XXXX
// PSKEY_COUNTRYCODE
&0002 = 0000// North America and Europe
// PSKEY_CLASSOFDEVICE
&0003 = 0000 0000
// PSKEY_DEVICE_DRIFT
&0004 = 00fa
// PSKEY_DEVICE_JITTER
&0005 = 000a
@lorf
lorf / 00-STM8S-clock-kit.md
Last active September 6, 2019 11:38
STM8S DIY LED Clock Kit uCLOCK V1.0 2014-12-31

DIY LED clock kit marked as "uCLOCK V1.0 2014-12-31"

The clock kit is from here. The kit comes without the case, suitable case can be purchased here.

The files I received from the seller are included.

The MCU used is STM8S003K3. 7-segment displays - KYX-1106BGG (can't find the datasheet for this exact part, here is the datasheet for the similar displays, also included here as TOS-1106BS-B.pdf).

Quick directions: R16-R23 - 220R (resistance may vary for different displays); R1,R7-R10,R29 - 10k; R11-R15 - 2.2k; C11,C13 - 20pF; C1 - 0.1uF (marked 105); C2,C4,C6 - 10nF (marked 104). Buzzer plus pin towards power connector. DS3 should be placed decimal point up.