Libraries

Introduction:


This page contains all my Arduino libraries. Although all codes are open to public for educational and personal use, it carries no warranty of any kind. Commercial use is only permitted if you obtain a license from me.

List of libraries:


Phi_buttons Library

Short description:

This is a simple library that handles real buttons, button-like digital switches (photo gates, Hall Effect switches, etc), as well as virtual buttons such as auto buttons and null buttons.

An auto button gets automatically pressed at a constant rate. It saves you an I/O pin when selecting from a short list or entering number. You just set the up button as an auto button so a list will cycle through all its items and all you need is one real confirm button.

A null button never gets pressed. If all you need is say 2 buttons, define the rest as null makes your buttons structure compatible with the rest of your/my codes. You don’t have to go into your code and delete the other buttons that you don’t use.

Any button has repeat when you hold on to it for some time. The button will be automatically pressed repeatedly as long as you hold it down. After repeating for 10 times, it enters a dash mode where the repeat is more rapid. This helps covering larger range of changes.

Library Home page for downloads and examples

.

Dependent libraries:

None

.

Phi_prompt Library


Short description:

This is an interactive system you can use to ask user to input numbers, select from a list, or enter a string. Typical use for phi_prompt is:

Asks user to update operating parameters (input numbers, select from list)

Asks user to select from a list of options, such as different pastas, Months, Days, Yes/No, etc. You may use input integers to accomplish the same function but having text lists is much more user friendly.

Using lists, you can create extensive menus of infinite levels. ->Download this example<-

Many customizable options and list rendering styles. Potentially supporting multiple displays although I didn’t try it.

Library Home page for downloads and examples

.

Dependent libraries:

Phi_buttons library

Phi_big_font Library

Short description:

The Phi_big_font library utilizes 3 X 5 dot matrix technique I developed to display characters 6 times the size of ordinary characters seen on HD44780-compatible character LCDs. You will need two rows and 4 columns to display one character (with one column blank to separate characters). A 16*2 display can display 4 such characters, making a perfect clock display like HH:MM, or month or day display in three characters. A 20*4 display can display 5 characters by two rows, totally 10. You can display the characters anywhere you want. Make an animation if you want.

Library Home page for downloads and examples

.

Dependent libraries:

None

.

Phi_super_font Library

Short description:

The Phi_super_font library utilizes 5 X 7 dot matrix technique I developed to display characters 20 times the size of ordinary characters seen on HD44780-compatible character LCDs. You will need four rows and five columns to display one character (plus one column blank to separate characters). A 20*4 display can display 4 such characters packed with no space between or 3 characters spaced out, easy to read from very far away. A future upgrade will make this font display 4 numbers and column, making a perfect clock display like HH:MM, or month or day display in three characters. You can display the characters anywhere you want. Make an animation if you want.

Library Home page for downloads and examples

.

Dependent libraries:

None

.

2 Responses to Libraries

  1. Roboman7 says:

    what would someone have to do to use commercialy?

    • liudr says:

      I would charge a one-time nominal fee of $30 for any amount of commercial use. Here is a purchase link:

      https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VNAQG5J98NUW2

      If you embed my library with your hardware, you can sell any quantity of your hardware and there is no per unit license fee. The $30 covers everything including updates on the library. You may think this is not making sense. The libraries are very large but I’m asking for very little. That’s right. Just a little recognition for what I did. My main source of funding comes from contract projects :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 48 other followers

%d bloggers like this: