www.elektronik.si Seznam forumov www.elektronik.si
Forum o elektrotehniki in računalništvu
 
 PomočPomoč  IščiIšči  Seznam članovSeznam članov  SkupineSkupine  StatisticsStatistika  AlbumAlbum  DatotekeFilemanager DokumentacijaDocDB LinksPovezave   Registriraj seRegistriraj se 
  PravilaPravila  LinksBolha  PriponkePriponke  KoledarKoledar  ZapiskiZapiski Tvoj profilTvoj profil Prijava za pregled zasebnih sporočilPrijava za pregled zasebnih sporočil PrijavaPrijava 

Pomoč pri programiranju

 
Objavi novo temo   Odgovori na to temo   Printer-friendly version    www.elektronik.si Seznam forumov -> Periferija
Poglej prejšnjo temo :: Poglej naslednjo temo  
Avtor Sporočilo
zc
Član
Član



Pridružen-a: Pon 06 Jan 2014 23:28
Prispevkov: 34
Aktiv.: 0.27
Kraj: Zasip

PrispevekObjavljeno: Ned Apr 13, 2014 2:03 am    Naslov sporočila:  Pomoč pri programiranju Odgovori s citatom

Ž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
Skrit Poglej uporabnikov profil Pošlji zasebno sporočilo
Pokaži sporočila:   
Objavi novo temo   Odgovori na to temo   Printer-friendly version    www.elektronik.si Seznam forumov -> Periferija Časovni pas GMT + 2 uri, srednjeevropski - poletni čas
Stran 1 od 1

 
Pojdi na:  
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: 48 dni


Powered by phpBB © 2001, 2005 phpBB Group