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.

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState