Show Posts
Pages: 1 ... 389 390 [391] 392 393 ... 490
5851  Development / Other Software Development / Re: Anyone else developing a user interface (UI) on LCDs and keypads/buttons? on: April 02, 2011, 10:44:04 am
State machine is a good idea. I'm thinking about HMI standards in industrial control panels. I have one sitting on my couch.

To make the library small, I only implemented lists instead of lists and menus. To make a menu, just call select_list() to ask the user to select item from a list and switch upon the user selected list item smiley

To implement multilevel menu/list, you just need to add another select_list() where the sub menu entry is. You also want to add a return in one of the sub menu's switch case.
5852  Topics / Education and Teaching / Re: What's your opinion on spending $50 on your kids education? on: April 02, 2011, 12:58:52 am
Terry,

Thank you for the wonderful input. I'll be working on making materials to teach high school teachers. Hope someone will give us money to do it. I have some students that are going for practice teaching soon. Hope to make a connection to local schools. These days are very different from the old days, where teachers made their own teaching equipment and demonstrations. Now you go and buy off a catalog and don't get to know what's inside those neat little boxes, plus kids get some many neat little tech toys and they don't feel excited seeing some tech stuff as they were (maybe just me myself). I think Arduino will change the game. If a teacher shows how to use an accelerometer to measure acceleration of an amusement ride, he/she may bring kids interest back to STEM.

To think about how STEM has been treated in the US, I used the current status of STEM in the US to explain how transistor conducts, kind of sad. I want to change it, although I'm just a foreigner in the country.

http://arduino.cc/forum/index.php/topic,56924.msg410057.html#msg410057
5853  Community / Bar Sport / Re: April fools on my blog site on: April 01, 2011, 10:07:07 pm
Nothing special, just posted more blogs than other days.
5854  Development / Other Software Development / Re: Anyone else developing a user interface (UI) on LCDs and keypads/buttons? on: April 01, 2011, 09:37:01 pm
hum de hum.

I'd be interested to see how well a UI library might work.

I did kinda start a scrolling menu program for LCDs (16x2, 16x4, 20x4, 40x4) but didn't require it for anything so it never materialised.

I'd say a library might work - provide the LCD rows&cols (same ones used for the liquidcrystal library) and the number of options on the main menu - then functions for secondary menus perhaps.

You could even have a custom character 'scroll bar' down the side.

Obviously a graphic display menu library/UI could have much more too it and be a bit more 'UI' like.

mowcius,

I think having a UI will be a blessing for lots of developers. I recall spending lots of time develop the UI on my first project (2,700 lines). But I don't think I can separate the UI out like taking off a sweater smiley

I then developed programs that do some footwork of UIs and eventually got the to point of phi_prompt, a library on 16*2 LCD with select list, menu (just select list + extra code), text input, number input.

I did the call convention you suggested but switched to calling like: select_list(a structure)
This way you can add features without changing call conventions. If the new features are not changing previous releases but only affect new functions, then there will be no need to rewrite smiley

Here is the phi_prompt post:
I am thinking about adapting this to 20*4 displays but I don't have one smiley-sad

http://arduino.cc/forum/index.php/topic,56754.msg407552.html
5855  Topics / Education and Teaching / Re: What's your opinion on spending $50 on your kids education? on: April 01, 2011, 09:06:45 pm
Thanks a lot guys! I just put this thing together to see if it would work, so it would not. I should try something else. I strongly agree with Rob about the salmon (yummy to me, wife is cooking it now). Lots of kids get what THEY want, in school they teach the teachers what they should teach.

I will definitely remove pizza smiley
Maybe remove the whole thing  smiley-razz

On the other hand, I was mostly blaming mobile music platforms like ipod, not a stationary stereo, which I really like to have if I had space. Good music itself is always good when properly enjoyed. A mobile music platform only distracts the user and damage their hearings.
5856  Community / Bar Sport / Re: Sink or what? on: April 01, 2011, 07:21:34 pm
Sync or async.

Sync or async - informatics (communication protocols)  smiley
5857  Community / Bar Sport / Re: April fools on my blog site on: April 01, 2011, 06:39:26 pm
I don't see the significance of the 28th, probably missing something

The significance was overshadowed by the fake 800+ counts on 4/1 but 290+ was the most visits I got since I started smiley-red.
5858  Community / Bar Sport / Re: Sink or what? on: April 01, 2011, 06:38:06 pm
Think (or Thwim) - IBM

I didn't know IBM has that too?  smiley-red
5859  Community / Bar Sport / Re: Sink or what? on: April 01, 2011, 06:37:14 pm
Sink or toilet - AA (Alcoholics Anonymous)



Wait... I don't think I understand the game.


Ha ha ha! Good one!  smiley-lol
5860  Using Arduino / Displays / Re: LCD Display No Text? on: April 01, 2011, 01:28:05 pm
On the bad pot issue, do you have a multimeter to test it? The pot is required.
5861  Topics / Education and Teaching / What's your opinion on spending $50 on your kids education? on: April 01, 2011, 01:24:42 pm
I'm trying to create something for a possible teaching proposal with Arduino. Here is what I came up with: any suggestions and comments? Thank you!

5862  Community / Bar Sport / April fools on my blog site on: April 01, 2011, 01:19:29 pm
Here's my today's number of visits, almost 1,000  smiley-twist:

Notice I did receive over 290 visits on one particular day smiley
5863  Development / Other Software Development / Anyone else developing a user interface (UI) on LCDs and keypads/buttons? on: April 01, 2011, 11:20:10 am
After some digging in the playground, I realized what I just released, a text-based user interface library (now only limited to select from list, menu, enter number, enter strings) does not belong to a proper category. So I created a sub category under "interface with hardware", called "User interface". I've populated it with GUI, TUI, and TUI->my phi_prompt library. I'll be considering porting my library to 20*4 character display and ks0108 dot matrix display.

Are there anyone else interested in turning part of your program (user interacting part) into a UI library? GUI (kind of hard for arduino) or TUI? We could discuss what elements we could include and what hardware the interface can support. Kind of make it into a Java thing that runs across several display and keypad/buttons hardware with the same look and feel to developers and users.

Some good-old TUIs:

http://en.wikipedia.org/wiki/Text_user_interface
5864  Community / Bar Sport / Sink or what? on: April 01, 2011, 10:25:54 am
I came up with this yesterday.

Sink or float? - physics (buoyancy)
Sink or source? - EE (current)
Think or swim? - Finance (investment?)

Anyone want to add more?
5865  Community / Bar Sport / Re: Happy PI-day on: April 01, 2011, 12:16:38 am
... if they're all stacked ontop of each other they're all on the same point on the platform, but if you unstack them, then some are further away from the center of gravity..

You know force of action and reaction? It takes all 6*10^24Kg of earth mass to pull a 1Kg mass with a 10N force (admittedly the earth center is 6*10^ m away). How will you sense a force between this 1Kg mass and another 1Kg mass? It's simply too small.

Here's some classic experiment on gravitational force, seems like several interested individuals may want to read. This design is used in advanced physics labs everywhere, no you can't do this in intro labs and you need heavy lead balls, a fairly dark room and hours of long wait. This shows how difficult to sense small gravitational forces.

http://en.wikipedia.org/wiki/Cavendish_experiment
Pages: 1 ... 389 390 [391] 392 393 ... 490