Bit Mapping onto an Alphanumeric Display

  Рет қаралды 2,441

Nick Moore

Nick Moore

Күн бұрын

Getting a 1602a LCD to act like a bit-map display using custom characters.

Пікірлер: 19
@TheGreatMunky
@TheGreatMunky 6 жыл бұрын
ALPHANUMERIC! -Enzo
@whatthefunction9140
@whatthefunction9140 6 жыл бұрын
no github?
@NickMoore
@NickMoore 6 жыл бұрын
My code will never see the light of day, it took me 2 iterations to completely avoid GOTOs.
@trey1531
@trey1531 6 жыл бұрын
Did you make a new channel? I think KZbin unsecribed me from you.
@NickMoore
@NickMoore 6 жыл бұрын
I'm still uploading to this channel just a less frequently. I have a few projects on the go at the moment and I'll hopefully be able to demo them later this summer.
@tiagotiagot
@tiagotiagot 5 жыл бұрын
What's the purpose of the other blank characters?
@ddlow6455
@ddlow6455 6 жыл бұрын
What did you use to make those slides?
@NickMoore
@NickMoore 6 жыл бұрын
They were mostly hand drawn using LibreCAD. The bit and byte maps were made with a LibreOffice Calc and I did the finishing using GIMP.
@MadyWinter
@MadyWinter 6 жыл бұрын
Maybe you actually did that anyway, but instead of doing 2^..., you can use the bitshift operator to do the same thing ( 1
@NickMoore
@NickMoore 6 жыл бұрын
No way >_< I wrote my own little squaring function so I wouldn't have to include another math library when I compiled. Thanks!
@kaysb80
@kaysb80 6 жыл бұрын
Not bad! :) While this makes the code very dynamic, and allows you to animate any pixel in the 20/16 grid, you could also implement this by only modifying the bits in one character, and move the character around when the dot moves past the characters boundaries. This would work since the dot is in max one character location at any point. This way you could have a larger playing field.
@NickMoore
@NickMoore 6 жыл бұрын
That's my next step (if I keep at this project). I've seen others use persistence of vision to flash the backlight and move the characters all over the screen to get bit-map use of the entire screen. I'm not sure I could write something that runs fast enough to pull that off though. Thanks!
@man6765
@man6765 6 жыл бұрын
I think that was the first video that you have made where the majority of the content was kinda boring to me. But I still learned something and I think it is pretty cool that you made that. Did you use an arduino?
@NickMoore
@NickMoore 6 жыл бұрын
It's hard to make software exciting (you should see the slow motion compiling footage) but I made this video specifically because it can be used by others, the 1602a display is cheap and all over ebay. I'm using a Basic Stamp from Coridium, it's an Arm M0 with firmware that lets you program it in a modified version of Basic. QBasic was my first language so I decided to go with something I know first. I'll likely only do one more video about this project on the subject of wiring and designing the program at the flow-chart level, then I'll be back to physics! My cloud chamber is getting close to finished so I'll be able to test some household radioactive sources. Thanks!
@man6765
@man6765 6 жыл бұрын
I bought a bunch of arduino stuff because I am very mechanical and wish I could integrate some programming and microprocessor magic into my projects but honestly its been sitting on a shelf now for a year and I know almost nothing about code of any kind so... yea. I should probably stick to rebuilding bulldozer engines and welding. I'm enough of a nerd to watch this video so maybe someday my kid will teach me.
@NickMoore
@NickMoore 6 жыл бұрын
From what I have seen a lot of Arduino code is made available by others so all you have to do is stitch it together. Arduino is probably going to be my next step after I run out of these Basic chips.
@jestempies
@jestempies 6 жыл бұрын
I think you could make the addressing calculation easier by stacking chars in columns instead of rows, i.e. [ ACEG ] [ BDFH ] instead of: [ ABCD ] [ EFGH ]
@brainfornothing
@brainfornothing 6 жыл бұрын
Good to know if I need that function someday, you did all the work already ;) Thanks for sharing !
@NickMoore
@NickMoore 6 жыл бұрын
Glad you liked it, a more general application is mapping 2D data onto 1D memory (storing a 2D array in a 1D array).
World's worst video card? The exciting conclusion
24:23
Ben Eater
Рет қаралды 2,9 МЛН
Package Drop Detectors - G-Force Indicators
2:08
Nick Moore
Рет қаралды 3,7 М.
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 124 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 21 МЛН
Tiniest Full Keyboard
5:48
Nick Moore
Рет қаралды 932
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 202 М.
CD-Rom Balancing Balls
6:04
Nick Moore
Рет қаралды 2,2 М.
What is the Smallest Possible .EXE?
17:04
Inkbox
Рет қаралды 397 М.
I Designed My Own 16-bit CPU
15:46
AstroSam
Рет қаралды 2 МЛН
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 484 М.
HOW TRANSISTORS RUN CODE?
14:28
Core Dumped
Рет қаралды 446 М.
How To Code A Quantum Computer
20:42
Lukas's Lab
Рет қаралды 600 М.
Secret Key Exchange (Diffie-Hellman) - Computerphile
8:40
Computerphile
Рет қаралды 965 М.
How to STUDY so FAST that it feels ILLEGAL😳
7:21
jspark
Рет қаралды 1,2 МЛН