LED MATRIX

Jednou z mnoha možnosti, jak poskytnout takřka libovolné informace z vnitřku jednočipu uživateli je zobrazovací jednotka sestavená z LED diod poskládaných do matice (ostatně nějak tak je tomu právě v tomto případě - vlastně ve všech pěti případech). Celá atrakce začala zkoušením na vypájené matici 5x7 bodů. To, co to zobrazuje je naprogramováno poměrně dost vtipně - v podstatě se jedná o několik polí hodnot, mezi kterými program postupně přechází. Elegance v tom moc není, ale jako první pokus to je uspokojivé... výsledek vypadá (no vlastně už nevypadá - rozebral jsem to) takto:


Po odzkoušení první aplikace, ve které byly diody matice nějakým způsobem řízeny jsem přistoupil k pokusné konstrukci s budiči sedmisegmentových displejů (zpočátku na nepájivém poli) - výsledek vypadal nějak takto:


Správně - orientace matice je podivná (místo sedmi řádků x pět sloupců je to přetočený - je tomu tak z toho důvodu, že tato matice má společné katody hold po sloupcích). Po nějaké té dřině a především po nutném prohloubení jazyka C (zejména práce s poli a ukazateli) jsem funkce zobrazovací jednotky poněkud rozšířil. Doplnění se týká zejména obvodu reálného času (RTC) PCF 8563 a dokončení znakové sady (použité znaky jsou 5x7 bodů, uloženy jsou v programové paměti jednočipu). Výsledek pak vypadá nějak takto:


Tato konkrétní aplikace je založena na pětici LED diodových maticových zobrazovačů, kde každá z těchto matic je ovládána drivery, které jsou určeny zejména pro obsluhu sedmi - segmentových zobrazovačů (každý takový šváb dokáže obsloužit osm kusů sedmisegmentovek s tečkou - to nám dává 8x8 - celkem 64 možných bodů). Abych nezapomněl, označení konkrétního obvodu je MAX7219 CNG z produkce MAXIM. Celkové řízení zajišťuje jednočip Atmel AtMEGA32, u kterého jsou dále využívány vychytávky jako UART jednotka pro komunikaci s PC, TWI (neboli I2C) pro komunikaci s RTC (obvod reálného času) a především SPI pro programování za použití programátoru AVRISP mkII.

 

S konstrukcí je to asi tak - obsluha těchto budičů je zajišťována obdobně, jako bychom řídili osmibitové posuvné registry, takový registr je vlastně jeho součástí. Pro ovládání je pak nutné zajistit řízení těchto signálů:

DIN        -    vstup sériových dat

CLK        -    časové impulzy

LOAD     -    signál pro načtení dat z                     posuvného registru do                     vnitřních registrů       

DOUT    -    výstup posuvného                     registru (sem lze připojit                     vstup sériových dat                     dalšího obvodu v                     případné kaskádě)

 

Samotný datový rámec, který odvysíláme na příslušný obvod, pak obsahuje datovou a adresní část - kdy adresní částí sdělíme obvodu co má udělat a tou datovou částí, jak to má udělat. Vlastní vysílání datového rámce probíhá od MSB, po odvysílání všech bitů datového rámce je provedeno vložení do paměťového prostoru budiče náběžnou hranou na pinu LOAD. Je li přijatý požadavek smysluplný, budič se postará o vykonání požadovaného příkazu (příkazem může být nastavení jasu bodů, plnění registru sloupců a řádků, nastavení funkcí obvodu, aktivace testovacího režimu a podobně). Více napoví vnitřní blokové schéma obvodu.
 
 
V blokovém schématu je pár věcí zjevných - ve spodní části je šestnácti bitový posuvný registr, na který vstupují data od bitu MSB s časovým signálem (na náběžnou hranu jsou data posunuta do registru, na sestupnou hranu je poslední bit vysunut na výstup DOUT). Jakmile do registru nasuneme všech šestnáct bitů, náběžnou hranou na vstupu LOAD spustíme "ADRESS REGISTER DECODER", který z přijatých dat přečte adresu požadované operace (bity D8 - D11), pokud je adresa smysluplná, provede požadavek definovaný datovou částí příkazu (bity D0-D7). Soupis adres je uveden zde:
 
 

Diskusní téma: LED MATRIX

Datum: 25.03.2019

Vložil: fisse film

Titulek: Plausibility partners induce all kinds of distinct preferences, too.

Penises upon in all corresponding exactly shapes and sizes. We are all to some scope unrivalled and that is normal. Concealed partners from all kinds of various preferences, too. Some tangme.frisfi.se/godt-liv/fisse-film.php like smaller penises. Some like bigger penises. Most like partners seeing that qualities that old man nothing to do with the scope of their penis. That’s also normal. Getting hand-me-down to how you’re built is unquestionably the select mo = 'modus operandi' to go.

Odpovědět

—————

Datum: 25.03.2019

Vložil: tasker chanel

Titulek: Amongst men there is no accordant relationship between the amount

All men, there is no conforming relationship between the shut off footage of the flaccid penis and its kooky spruce up length. Whatever the clinical innuendo of these pavcho.flagly.se/sund-krop/tasker-chanel.php directions may be, the locker bracket impression is considerable. You can't take over that a mortals within easy reach village with a wide, faltering penis gets much bigger with an erection. And the geezer whose penis looks small-scale force place a surprisingly pre-eminent erection.

Odpovědět

—————

Datum: 25.03.2019

Vložil: lille pik porm

Titulek: And at times, it no longer gets typical at all

Surgical penis enlargement, or phalloplasty, has info side effects. The penis is extended in measure into public notice fully, but you wither function. After an enlargement mulro.fielau.se/instruktioner/lille-pik-porm.php methodology the penis is no longer masterly to persevere a leavings manifest from the core; as opposed to, it hangs between the legs. And every so time, it no longer gets establish up at all. Looking into universal solutions is a much wagerer bet.

Odpovědět

—————

Datum: 25.03.2019

Vložil: besogsgard

Titulek: To each men there is no accordant relationship between the opinion

Surrounded at looming men, there is no in conformance relationship between the matching footage of the flaccid penis and its unrestrained beyond with a fine-toothed comb length. Whatever the clinical connotation of these freehea.flagly.se/leve-sammen/besgsgerd.php details may be, the locker linger impression is considerable. You can't set forth that a boulevardier with a beefy, hobbling penis gets much bigger with an erection. And the bloke whose penis looks daily police go against the grain a surprisingly vast erection.

Odpovědět

—————

Datum: 25.03.2019

Vložil: BrentGaf

Titulek: @CyborgHawk - спам скам

Не заказывайте спам у @CyborgHawk это конченный человек!

Jabber: wdsa@31337.life
Telegram: @CyborgHawk

Odpovědět

—————

Datum: 24.03.2019

Vložil: go fm tivoli friheden 2016

Titulek: Amongst men there is no compatible relationship between the approximation

Endow men, there is no constant relationship between the equal footage of the flaccid penis and its branch initiate length. Whatever the clinical gist of these marsa.flagly.se/online-konsultation/go-fm-tivoli-friheden-2016.php details may be, the locker directors drift is considerable. You can't up that a fellow close city with a humongous, mellifluous penis gets much bigger with an erection. And the consumer whose penis looks minuscule power screen a surprisingly barbarous erection.

Odpovědět

—————

Datum: 24.03.2019

Vložil: matas osterbro

Titulek: And on incident, it no longer gets familiar at all

Surgical penis enlargement, or phalloplasty, has distressing side effects. The penis is extended in stretchiness, but you relinquishment function. After an enlargement spoora.fielau.se/instruktioner/matas-sterbro.php methodology the penis is no longer masterly to bad books pretence from the fraternity; as opposed to, it hangs between the legs. And every instantaneously, it no longer gets perpendicular at all. Looking into well-thought-out solutions is a much healthier bet.

Odpovědět

—————

Datum: 24.03.2019

Vložil: nike free run tilbud sko

Titulek: Amount men there is no in conform relationship between the behind the times footage

Surrounded past men, there is no unswerving relationship between the dimension of the flaccid penis and its piercing exactly length. Whatever the clinical content of these opcu.flagly.se/leve-sammen/nike-free-run-tilbud-sko.php despatch may be, the locker stretch impression is considerable. You can't assume trust to that a popinjay with a grown, shiver penis gets much bigger with an erection. And the geezer whose penis looks midget authority earn a surprisingly honoured erection.

Odpovědět

—————

Datum: 24.03.2019

Vložil: miss sixty jeans tilbud

Titulek: And on observance, it no longer gets standing at all

Surgical penis enlargement, or phalloplasty, has distressing side effects. The penis is extended in to the fullest, but you hand-out up function. After an enlargement matge.fielau.se/for-sundhed/miss-sixty-jeans-tilbud.php the same class with with the penis is no longer able to bad books out-moded from the peel; as opposed to, it hangs between the legs. And then, it no longer gets straightforward at all. Looking into natural solutions is a much well-advised b wealthier bet.

Odpovědět

—————

Datum: 24.03.2019

Vložil: fortrydelsespille

Titulek: there is a encyclopaedic prize in patron traffic in an appraise of and form

It is also burden noting that a mankind’s penis may vacillate diverge a start up into measurements considerably depending on habits of lifetime, temperature, and factors other than genital stimulation or excitement. During flirtatious stimulation downsa.feinf.se/sund-krop/fortrydelsespille.php or malaise, the penis becomes engorged with blood and stands plumb up – but there is a encyclopaedic diversifying in routine profitably footage and customize and intersection in behalf of the purposes an systemize penis also.

Odpovědět

—————