Arduino Teaches Old Coder New Tricks

Supported VT100 Commands
Return Cursor to leftmost of current line
Linefeed Cursor down
Esc c Resets LCD
Esc D Cursor down
Esc M Cursor up
Esc E Move cursor to start of next line
Esc [ A Cursor up one line (arrow key)
Esc [ B Cursor down one line (arrow key)
Esc [ C Cursor right one column (arrow key)
Esc [ D Cursor left one column (arrow key)
Esc [ H Cursor to HOME 1;1
Esc [ s Save cursor position
Esc [ u Restore to saved cursor position
Esc [ m All attributes off
Esc [ Pn A Cursor up Pn lines
Esc [ Pn F Cursor up to column 1 of Pn lines
Esc [ Pn B Cursor down Pn lines
Esc [ Pn E Cursor down column 1 of Pn lines
Esc [ Pn C Cursor right Pn characters
Esc [ Pn D Cursor left Pn characters
Esc [ Pn G Cursor to column Pn of current line
Esc [ 2 J Erase Screen and home cursor
Esc [ P1;PcH Direct cursor addressing, where P1 is line#
Esc [ P1;Pcf Same as above
Esc [ = Pn h Set (LCD lines) - Pn 2 = 16X2 - 4 = 16X4
Esc [ 0 m All attributes off (underscore cursor off)
Esc [ 4 m Underscore on
Esc [ 0 c Report terminal type
Esc [ 5 n Reports max qty lcd lines (1s based)
Esc [ 6 n Reports cursor position (1s based)
Esc [ 0 q Turn LCD's LED 1 off
Esc [ 1 q Turn LCD's LED 1 on

PCB Layout

When the .pcb file is opened with gEDA's PCB program and the commands invoked are listed in the gsch2pcb command-line text output, you are presented with a jumble of components. I first dispersed the components manually with an approximate placement and then activated the "rats-nest" display. The "rats-nest" is the connections that must be converted to copper traces. After shifting around components to visually bring the "rats-nest" connections to their shortest routes, I was presented with what you see in Figure 5.

Figure 5. Components with Associated Rats-Nest

PCB possesses the ability to auto-route the traces, namely convert the "rats-nest" into copper trace representations. This tends to do some odd things but produces a workable PCB design once a cleanup is done. I chose a semi-manual layout so I could control the placement and appearance. Basically, I used the auto-route for the power traces, did some manual cleanup, then used auto-route for the signal traces, followed by more cleanup. The result was similar to Figure 6, which is my second and final version of the layout for the ATtiny84 version of my VT100LCD project. PCB Manufacture Printed Circuit Board layout consists of applying upon a copper laminated board an acid-resistant pattern that represents the areas that are to retain copper after etching in an acid solution (etchant). Areas of the copper laminated board that are exposed to the etchant will be dissolved away, leaving the areas under the acid-resistant pattern intact.

Figure 6. Final Layout of vt1001cd84 Project

______________________

Edward Comer is retired from the telecommunications industry, having worked for the real AT&T, BellSouth and Numerex Corp during a 30-year career.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

medical assistant

sajukhann0n's picture

Medical Assistant programs and medical assistant classes are now online at St. Augustine School of Medical Assistants.

Now offers a nationally accredited and certified medical assistant program online.

St. Augustine School of Medical Assistants is a provider of online medical assistant programs and medical assistant courses.

Thank you for teaching us

Jasa kontes's picture

Thank you for teaching us this trick. This trick is very useful.
Jasa SEO

You stirred my curiosity

Hosting Dude's picture

You really did. Never been interested in playing with hardware stuff. Been a web developer for years, never looked into hardware programming and Arduino and stuff like this. Now I want to learn it lol

Good writeup on this, keep up the good work mate

Cheers,
Hosting Dude

I want to learn Arduino

tempo's picture

I want to learn Arduino projects. maybe by reading this article can help me. tempo

medical assistant job

Anonymous's picture

Check out: medical assistant

Anonymous's picture

Thanks for share this

terbaru's picture

Thanks for share this article. I think Arduino projects is amazing. berita Indonesia

Nice one

RUSH PCB UK's picture

Thanks for sharing your ideas and thoughts, i like your blog and bookmark this blog for further use thanks again…

It didn't take very long to

Anonymous's picture

It didn't take very long to remove the mental cobwebs and get into the elegant simplicity of the Arduino Project. Years ago, when I built microprocessor projects, the underlying system code always was the problem. Before I actually could write my application, I had to develop or adapt systems-level code to interface the application-level code with the underlying hardware. Cleaners London

hello

samatha0045's picture

I discovered your blog so far ... much information to improve our space! So thank you and have a nice day!
voyance en direct

The link to the source code

Anonymous's picture

The link to the source code and design schematics just refers to the google code homepage :)

Nice!

Karl A.'s picture

What a great article!
Are you familiar with Instructables.com? They have many Arduino projects. I think this would be a great submission.

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix