Cov txheej txheem:
- Kauj ruam 1: Txuas Programmer rau Tus Tswj
- Kauj ruam 2: Hlawv Bootloader Nrog Arduino IDE
- Kauj Ruam 3: Nyem rau Arduino-tshaj Bootloader
- Kauj ruam 4: Upload Firmware
Video: Yuav daws Clone SimpleBGC Controller Txhim Kho Qhov Teeb Meem Li Cas: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob zoo. Tsis ntev los no, Kuv tau ua haujlwm dhau SimpleBGC gimbal maub los rau kuv qhov haujlwm drone. Kuv ua tiav kev sib txuas thiab kho nws. Nws tau ua haujlwm zoo kawg nkaus. Tom qab ntawd, Kuv xav hloov kho nws cov firmware los ntawm v2.2 rau v2.4. Yog li, tom qab kuv hloov kho gimbal nws tsis ua haujlwm raws li nws yuav tsum tau ua. Raws li koj paub, yog tias koj muaj SimpleBGC maub los thiab yog tias tom qab hloov kho nws tsis ua haujlwm, tom qab ntawd nws tsis yog qhov qub. Yog li, kuv txiav txim siab txo qis lub firmware rau v2.2 dua.
Kuv tshawb ntau txog qhov ntawd. Yuav luag txhua qhov kev qhia tau siv Arduino ua tus programmer. Txawm li cas los xij, thaum kuv tau sim ntau txoj hauv kev no nrog ntau Arduinos, kuv tsis tuaj yeem ua tiav.
Yog li, hauv qhov kev qhia no kuv yuav qhia koj yuav daws qhov teeb meem no yam tsis muaj Arduino, tab sis tus AVR USBasp programmer, uas yooj yim dua li Arduino. Cia peb pom yam peb xav tau rau qhov kev qhia ntawd:
1. Lub khoos phis tawj nrog Windows operating system. (Raws li kuv tsis tau siv MAC, Kuv tsis muaj cov ntaub ntawv hais txog nws)
2. AVR USBasp programmer uas koj tuaj yeem nrhiav tau yooj yim. (Tsuas yog los ntawm Azerbaijan:)) (https://images.ua.prom.st/593769968_w640_h640_prog…)
3. Arduino IDE
4. AVRdudeR, Optiboot, XLoader (https://www.basecamelectronics.com/downloads/8bit/)
5. Rub tawm firmware (https://drive.google.com/open?id=1cM7lsf7LyAlzPrxK…)
Tom qab ua koj rab phom npaj, cia dhia mus rau kev qhia:)
Kauj ruam 1: Txuas Programmer rau Tus Tswj
Hauv thawj kauj ruam, peb yuav tsum txuas nrog cov programmer thiab tus tswj. Saum toj no koj tuaj yeem pom tus pin ntawm tus tswj thiab tus programmer. Koj yuav tsum muaj kev sib txuas ntawm:
RES (tus tswj) -------- RST (programmer)
SCK (maub los) -------- SCK (programmer)
MISO (maub los) -------- MISO (programmer)
MOSI (maub los) -------- MOSI (programmer)
SCK (maub los) -------- SCK (programmer)
+5V (maub los) -------- VCC (programmer)
GND (tus tswj) -------- GND (programmer)
Ntawm no, kuv xav ntxiv daim ntawv ceeb toom. Thaum kuv ua cov kev sib txuas no, Kuv ntsib teeb meem hauv +5V thiab GND kev sib txuas. Kuv tus maub los thiab tus programmer kaw. Yog tias koj ntsib teeb meem no ib yam nkaus, thov txuas VCC thiab GND ntawm tus programmer mus rau lwm +5V thiab GND pins ntawm tus tswj.
Tom qab tus tswj hwm thiab tus programmer txuas nrog, tom qab ntawd txuas tus programmer mus rau PC.
Kauj ruam 2: Hlawv Bootloader Nrog Arduino IDE
Qhib Arduino IDE thiab tom qab ntawd xaiv USBasp ua tus programmer. Koj tuaj yeem ua qhov no los ntawm kev mus 'Cov cuab yeej' tab thiab tuaj rau ntu 'Programmer' thiab xaiv 'USBasp'. Tom qab ntawd, koj tuaj yeem hlawv lub bootloader los ntawm txhaj rau 'Burn Bootloader' ntu hauv qab 'Tools' tab. Koj yuav tsum tau txais cov lus hlawv zoo thaum kawg !!!
Kauj Ruam 3: Nyem rau Arduino-tshaj Bootloader
Hauv qib no, unzip AvrdudeR thiab optiboot zip cov ntaub ntawv thiab luam 'optiboot_atmega328.hex' los ntawm optiboot nplaub tshev thiab muab tshuaj txhuam rau hauv AvrdudeR nplaub tshev qhov twg 'avrdude.exe' muaj. Tom qab ntawd, qhib PowerShell lossis cmd hauv daim nplaub tshev no (koj tuaj yeem saib yuav ua li cas los ntawm youtube video kuv tau sau tseg) thiab sau cov lus txib no.
avrdude avrdude.conf -c usbasp -p atmega328p -e -u -U xauv: w: 0x3f: m -U efuse: w: 0x05: m -U hfuse: w: 0xDC: m -U lfuse: w: 0xEE: m
avrdude avrdude.conf -c usbasp -p atmega328p -U nyem: w: optiboot_atmega328.hex -U xauv: w: 0x0C: m
Tom qab koj ua tiav cov lus txib no, dhia mus rau theem kawg:)
Kauj ruam 4: Upload Firmware
Hauv theem kawg, qhib XLoader thiab nyem XLoader.exe thiab suav nrog txoj hauv kev 'SimpleBGC_2_2_b2_null.hex' nrog tus nqi baud ntawm 115200. Ua tib zoo, xaiv qhov chaw nres nkoj kom raug:)
Thiab koj tau ua tiav:) Yog tias koj muaj teeb meem, thov sau ntawm no. Kuv yuav sim teb. Ua tsaug ntau ntau:)
Pom zoo:
Random DC Tsav PWM Kev sim + Kev daws teeb meem daws teeb meem: 4 Cov Kauj Ruam
Random DC Motor PWM Kev sim + Kev daws teeb meem daws teeb meem: Muaj ntau zaus thaum qee tus neeg pov tseg yog lwm tus cov khoom muaj nqis, thiab qhov no yog ib lub sijhawm rau kuv. Yog tias koj tau ua raws kuv, koj yuav paub tias kuv tau ua txoj haujlwm loj los tsim kuv tus kheej 3D tshuab luam ntawv CNC tawm ntawm seem. Cov duab no
Txuas thiab rov txhim kho koj cov kev daws teeb meem txuas nrog Hologram Nova thiab Ubidots: 9 Kauj Ruam
Txuas thiab rov txhim kho koj cov kev daws teeb meem txuas nrog Hologram Nova thiab Ubidots: Siv koj li Hologram Nova txhawm rau txhim kho cov vaj tse. Teeb Hologram Nova siv Raspberry Pi xa (ntsuas kub) cov ntaub ntawv mus rau Ubidots
Txhim Kho Nyem Teeb Meem Teeb Meem ntawm Apple 27 "Zaub: 4 Cov Kauj Ruam
Txhim Kho Nyem Teeb Meem Teeb Meem ntawm Apple 27 "Zaub: Puas muaj ib qho ntawm koj cov zaub uas koj nyiam pib ua suab nrov thaum koj siv nws? Qhov no zoo li tshwm sim tom qab cov zaub tau siv ntau xyoo. Kuv debug ib qho ntawm tso saib xav tias muaj kab laum nyob hauv lub kiv cua txias, b
Yuav Ua Li Cas Txhim Kho Tus Kheej Txoj Kev Nrog Lub Sijhawm Teeb Meem Teeb Meem: 6 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Kom Taug Kev Ntse Nrog Kev Cuam Tshuam Timer Tus Kheej: Phau ntawv qhia no qhia yuav ua li cas thiaj ua rau txoj hauv kev ntse nrog kev teeb tsa lub sijhawm tswj
Yuav Ua Li Cas Kho Cov Teeb Meem Nrog Pionner Steering Log Remote - Ua kom IR Teeb Pom Kev Zoo thiab Kho Me Me Xauv: 14 Cov Kauj Ruam
Yuav Ua Li Cas Kho Cov Teeb Meem Nrog Pionner Steering Log Remote - Ua kom IR Teeb Pom Kev Zoo thiab Kho Me Me Xauv.: Cov chaw taws teeb no zoo nkauj heev thiab yooj yim, tab sis qee lub sij hawm tsis ua haujlwm tsim nyog Qee yam rau qhov no: tsim qauv teeb tsa, tsim lub log, thiab IR teeb liab qhov project tsis yog piv txwv ntawm kev ua tau zoo. Kuv tuaj ntawm Brazil thiab pom cov lus qhia no ntawm Amaz