發表文章

new type of esc, AM32(or ESCape32)

圖片
 I seems to be able to work with sensorless BLDC at low speed, without position sensor. I got 2 of them: AM32电调/ESCape32电调/红隼电调PRO版 V2 6S at 70A can add on/off switch, selector for BEC voltage I ordered a AM32 version, but they send me a escape32 board. it did connect to AM32 win configurator. escape32 use CLI, so you need to run a CMD window in windows, and try to find the right com port. for example, my stuff show on windows as com3, then, it should be /dev/ttyS2 Connecting via ESCape32 CLI Utility with following command , I get the connection and got the data from ESC escape32-cli -d /dev/ttyS2 for firmware it would be escape32-update -d /dev/ttyS? firmware.bin As searching on net, there is a esp32 version wifi configuator, it use web on esp32 for configuration   A mini version: comes with a place to down load data: http://tools.freelyrc.com:8800/ The config of AM32 explained https://www.youtube.com/watch?v=G38hqufxSzA&list=PLrxUiYCo7HwrIz1uE0aIfNT4GUgVMwc1t&index=1...

20260118 Tao lipo and life battery bank board, which can be use for small current

圖片
 1. Lipo good for 5V out put with single cell lipo, no cut off when current is small. the type C is only for input charging, can't do uot put. But no turn off function. the switch only for wake up birght level indicate led, when no device connected. when out put power, the blue level indicate led always light up. 2. Life work with life, and can support small current, should not shut off aotomatic

Sony PC with 10.5V charger

圖片
 the charger is marked as 10.5V 3.8A but measure with meter, it shows 11.5V I was plan to use PD type C, but some charger does not provide 12V so , I have to set for 15V, if the charger only top 12V, it will delivery 12V. then use a DCDC to switch down to 11.5V The first I used is this small one, but it turn out very hot at about 2A load. so a larger module is necessary: with thing connected in a 3D print box, it does not save me much room... So, what for?

arduino leonardo as keyboard input

 I need a fast key for space bar and arrows to control netflix.  arduino has a keyboard.h lib for HID capable, seach on web, it seems keyboard sends out value for each key. presented as key codes I need: VK_SPACE 0x20 空格鍵 VK_LEFT 0x25 向左鍵 VK_RIGHT 0x27 向右鍵 I tried example from keyboard.write()  it write "A" when D2 pressed. it works, but print out several "A"s, when pressed once, I think I need to use edge detection.  鍵 盤 鍵 碼 值 對 照 表   數字鍵 鍵碼值   數字鍵 鍵碼值   數字鍵 鍵碼值 1 49 F1 112 Numbpad 0 96 2 50 F2 113 Numbpad1 97 3 51 F3 114 Numbpad2 98 4 52 F4 115 Numbpad3 99 5 53 F5 116 Numbpad4 100 6 54 F6 117 Numbpad5 101 7 55 F7 118 Numbpad6 102 8 56 F8 119 Numbpad7 103 9 57 F9 120 Numbpad8 104     F10 121 Numbpad9 105     F11 122 Multiply (*) 106     F12 123 Add (+) 107         Enter 108         Subtract (-) 109         Decimal (.) 110         Divide (/) 111 字母 鍵碼值 字母 鍵碼值 其它鍵 鍵碼值 其它鍵 鍵碼值 A 65 N 78 Backspace 8 Left Arrow 37 B 66 O 79 Tab 9 Up Arrow 38 C 67 P 80 Clear 12 Right Arr...

Hatachi MPO-S800XT error code:H54

圖片
 only 2 years of usage, it poped with a H54 error. Searched on net, possiblely cable between door and body or emmision unit. send back to repair center, examing fee is 700, then change the emmision unit, also the cable. 

Meshtastic MQTT to HiveMQ

圖片
 The target is to make a meshtastic sensor or geodata can be view or shared through internet on some where else. HW: I still use my unknow version of lilygo 32lora. Device A: Client,work as device to sent lora data to MQTT Device B: Tracker,with GPS, work as tracker Device C: Client,with rotary encoder configed for canned message. SW: all three are loaded on meshtastic 2.5.15 Lora/frequency is overide to avoid too much trafic.channel/PSK is also set to non-default. upto here, all 3 devices can communicated through message no problem. MQTT server:  as 2025, it seems meshtastic has set some "rules", and I saw a video about using MQTT explorer to "see" if data is on meshtastic's MQTT server. I did the same, it does connect, but I only saw some strange topic, not the msh/topic we set in SW. So, I decided to work on other MQTT, I created an account on HiveMQ  create a cluster, it will give you a set of URL and the port is 8883, later I found out that without TLS enab...

Meshtastic LilyGo lora32 pins? which can be used, which is used on meshtastic

圖片
 The story of ESP32 pin are old, Andreas made few videos on it: 2017 esp32 review  with first table of pins. 2020  #363  Which ESP32 pins are safe to use? with another table esp32 lora heltec and lilygo pins are so so confusing: https://www.thethingsnetwork.org/forum/t/big-esp32-sx127x-topic-part-3/18436 base on my ttgo lora32, I want to know what are lead out, what are used, and what left for me. I wish to add: GPS, serial button ( or if possible rotary encoder, need 3 GPIO), SD is not necessary. The closest data to my board is this one  it's called TTGO lora V2 Check pin used, I used TloraV2.1-1.6 with web flasher, check define on git variants/tlora_v2_1_16/variant.h it seems 35 is used as battery pin 21/22 are IIC SDA/SCL some are not clear, when checkin schematic , beside these questionale pins, it leave me few pins to use, seems fine, What I tested: 1. Add rotary: pin are connected as rotary A on GPIO15, rotary B on GOIP2 and rotary push on GPIO14, But th...