發表文章

目前顯示的是 2月, 2023的文章

Up 3D printer modification

圖片
 UP!3D is my first 3d printer, it works great out of box, but after all these years(about 10years!), it start to show problem. The head unit cables are broken internally, the heater is not stable, temperature could drop when printing.  So, find the pin outs and redo external wires is what I did: Blue and red for heater, black and yellow for temp sensor. Motor 4 wires Later on, the heat bed is having the same issue, So, I did the same thing with heater and sensor(PTC100) This time, I want to do more, the heat bed of this up 3D is not very efficient, it would take 40min to heat up to 90-100 degree. So I order some new voron 0.1 heat bed and aluminum plate.  I ordered 12V version, since I "believe" the original one is 12V, since the power supply for the whole system is 19V. But, in reality, it's a 24V one, and connected directly to 19V, controlled by a N channel at low side. I also removed the NTC came with, since afinia system use PTC100 I powered it with power supply and t

Digital potential meter search

  10KΩ X9C103S 115NTD X9C103S 50NTD   10KΩ X9C103S、10KΩ、數位電位器、數位可變電阻器 (1)3V~5V寬電壓供電。 (2)10K 電位器、每級100Ω、共100級。 (3)數字電位器VL和VH端口分別對應滑動變阻器的低端和高端,允許輸入電壓範圍-5V到+5V。 100K  KΩ you can also find MCP42100 200NTD MCP42100 100K雙路數位電位器,寬供電電壓(DC 2.7V-5.5V),相容目前絕大部分微控制器的3.3V或5V供電,帶有兩路可獨立工作的數位電位器POT0和POT1,256級電阻抽頭。 【DIY_LAB#2162A】X9C104S數位電位器模組 70NTD

RC ESC modification part5: Simple FOC with arduino Mega2560/1280 + IR 2101S gate drives

 Goal is to drive a hall sensored BLDC with simple FOC and RC ESC. 328P has only 2 interrupt pins, I have tested hall sensor reading with simple FOC. But the result is not looking too good, I start to look into the arduino boards I have on hand, ESP32 can also be good, but it took quite long time to upload codes, not my favorite in development.  PWM HW Interrupt ADC Uno, Nano, Mini, other 328-based 6 PWM 5/6,9/10,3/11 2,3 6 Mega 1280/2560 15 PWM D2~D13,D44~D46 2, 3, 18, 19, 20, 21 (pins 20 & 21 are not available to use for interrupts while they are used for I2C communication) 16 Micro, Leonardo, other 32u4-based 11,3(SCL) 9,10 6,13 0, 1, 2, 3, 7 A0-A5 32U4 could be next to test, I first test my mega1280/2560... I attached E44 hall sensors on 19,20,21, the testing program of simple FOC runs well. But to drive the gatedrive, I met problem of the pairs of timer. Base on this post , find this file under lib:  src\drivers\hardware_specific\atmega2560_mcu.cpp the modify the   function  _