|
www.elektronik.si Forum o elektrotehniki in računalništvu
|
Poglej prejšnjo temo :: Poglej naslednjo temo |
Avtor |
Sporočilo |
zc Član
Pridružen-a: Pon 06 Jan 2014 23:28 Prispevkov: 34 Aktiv.: 0.27 Kraj: Zasip
|
Objavljeno: Ned Apr 13, 2014 2:03 am Naslov sporočila: Pomoč pri programiranju |
|
|
Živjo!
zanima me če kdo zna razložiti kaj moram narediti da bo pri tem step down modulu možno prebrati tok.
http://www.aliexpress.com/item/5A-constant-current-constant-voltage-LED-driver-current-voltage-meter-Battery-Charger-adjustable-power-supply/1308017847.html
tam je sicer opisan postopek, ampak ga ne znam spraviti v kodo.(delam z arduinom)
Communication protocol description:
1. This module has the function of communication and computer. Data can be read convenient computer module current voltage,
2. Because the output module is TTL level, to achieve and computer communication, but also to the level switch back to the computer can identify the RS232 level.
3. The communication protocol is as follows:
Baud rate: 9600 Bps
BB CC ADDR 00 XX XX CRC return command (current)
BB CC ADDR 01 XX XX CRC return command (voltage)
Among them
BB CC for the frame head (2 bytes)
ADDR for module address (1 byte)
00 to read current command (1 byte)
01 to read voltage command (1 byte)
XX XX arbitrary value (2 bytes)
CRC CRC check (1 byte)
LP |
|
Nazaj na vrh |
|
|
|
|
Ne, ne moreš dodajati novih tem v tem forumu Ne, ne moreš odgovarjati na teme v tem forumu Ne, ne moreš urejati svojih prispevkov v tem forumu Ne, ne moreš brisati svojih prispevkov v tem forumu Ne ne moreš glasovati v anketi v tem forumu Ne, ne moreš pripeti datotek v tem forumu Ne, ne moreš povleči datotek v tem forumu
|
Uptime: 49 dni
Powered by phpBB © 2001, 2005 phpBB Group
|