Show Posts
Pages: 1 ... 389 390 [391] 392 393 ... 510
5851  Using Arduino / Programming Questions / Re: Streaming library - now that's cool! on: May 09, 2011, 11:07:17 pm
I'll have to rewrite sprintf then. It's hard to change one's habits. Every day I go to my lecture hall, all my students sit almost exactly at their same seats. They even wait outside at their usual spots. Maybe it's "Ground Hog's Day" for me for the last semester. That could be why I was so tired the entire time. smiley-sleep
5852  Using Arduino / Programming Questions / Re: Streaming library - now that's cool! on: May 09, 2011, 10:25:59 pm
Interesting. I never got used to the C++ stream way of string output. I always use sprinft. You can control exactly what format you output and in how many digits, a must-have if you have limited space such as an lcd.
5853  Using Arduino / Programming Questions / Re: LED Gibberish on: May 09, 2011, 10:22:36 pm
There is no documentation of lcd.println ever exists. The only documented printing method is lcd.print, there is no ln.
5854  Community / Bar Sport / Re: Your latest purchase on: May 09, 2011, 04:23:16 pm
I have m3, m2.5, and m2 screws nuts and some variety m3 standoffs. I just like their looks when I open the drawer with all different size screws  smiley-lol

Then end up on my boards and projects. Maybe you want this surprise smiley face? smiley-surprise
5855  Using Arduino / Programming Questions / Re: for loop and pow() on: May 09, 2011, 03:23:00 pm
Thanks Dave. That same problem troubled me this afternoon. A new challenge would be negative floating point number to negative integer. Remember abs() is defined strangely and can't handle operations within its parentheses. Printing floating numbers on lcd is just another challenge.
5856  Using Arduino / Displays / Re: Largest Useable OLED Screen? on: May 09, 2011, 11:07:52 am
3.2" might work... any others?

5" would be better smiley

Have you thought about this possibility? Magnifying the digits to a much larger size for clarity at large distance?
5857  Topics / Education and Teaching / Re: What's your opinion on spending $50 on your kids education? on: May 09, 2011, 09:46:42 am
I was just thinking about basic breadboarding. Maybe next time I will bring out that header. What do people use that header for? Programming, debugging, what else?
I've personally never used it for anything smiley-grin

Oh and the 5V and ground lines didn't fit into the sides on my breadboard (obviously different spacing but I used sockets so they come out the top). I hadn't realised that that's what the connections were meant to do until I looked at your pic again smiley-grin


Could you provide a picture or model number of your breadboard? I'd like to make a breakout board that fits your board in the future. Thanks.
5858  Community / Bar Sport / Re: I am trading my arduino shield and kits for old stuff again! on: May 08, 2011, 08:18:19 pm
Liudr, that's taking it to an extreme smiley-razz

Also, I know your password!! smiley-razz

Somebody requested that feature smiley

Oh, well, that password only works on my example smiley
5859  Community / Bar Sport / Re: I am trading my arduino shield and kits for old stuff again! on: May 08, 2011, 05:33:31 pm
True, it can be done that way. You save keys but lose useability.

I recently got a "dummy load" board (actually has the same LCD on it) which implements its functions with three buttons. Up, down, and Enter. So to dial up a load of 4321 you hit up once (for the 1) then Enter to move across to the 10s column. Then up twice (for the 2), then Enter and so on. It's a bit tedious but it works.

Yep, in my phi buttons class, I even have auto buttons that get pressed automatically at a fixed interval. Use one of those as up, employ cyclic order on 0-9 and you just need one real button, right/enter to do everything, if you have patience. Ultimate time division multiplexing.

5860  Using Arduino / General Electronics / Re: LCD Pinout on: May 08, 2011, 05:18:08 pm
The pinout should be the same as for any other HD44780 compatible display, it's only the physical arrangement that is different.  This 2x7 (or 2x8 with backlight) arrangement has been around for decades but the inline configuration is a bit more convenient for use with solderless breadboards.


Very true Don. I have a bunch newish 40x2 displays that I don't use for the same reason. It's too hard to use on breadboards. If you have an old floppy or hard drive cable, you can connect it to arduino without a breadboard.
5861  Using Arduino / Programming Questions / Re: LCD print trouble on: May 08, 2011, 05:08:08 pm

Just a trick to keep long programs readable for me.
5862  Community / Bar Sport / Re: I am trading my arduino shield and kits for old stuff again! on: May 08, 2011, 05:03:29 pm
If you are ok with up down for numbers you can save some keys. Do a menu or lost for all operations.
I would have space for three operands and one operator smiley
5863  Using Arduino / Displays / Re: LCD contrast circuit not working on: May 08, 2011, 02:47:10 pm
This picture hurts my eyes. I managed to trace your connections, assuming pin 1 is on the right side. I don't see obvious problems.
When you supply power, do you see back light turn on? BTW, you need a resistor to limit current on the back light LED.
I want to know if you manage to light the back light or not.

Like floresta said the lcd could be extended temperature model. Can you get a better shot and provide the model number and spec sheet?
5864  Using Arduino / Programming Questions / Re: LCD print trouble on: May 08, 2011, 02:41:00 pm
Try this, move the break; in each case to just before the next case statement

case 1:
case 2:

Your break in within curly braces and may just break the curly braces instead of case. I wish c is more intelligent with switch-case statements but it's just as stubborn as '=' and '==' crap.
5865  Community / Bar Sport / Re: Your latest purchase on: May 08, 2011, 02:33:26 pm
Proto shield board from asian dealer:  $6.20 + $3 airmail shipping

Compared to SparkFun's offering:  $16.95 + ? shipping

Quite the price difference, no?


I would encourage new people to buy from sparkfun and adafruit so the designer gets her share of profit. This is the part of open source hardware I don't like: the original designer is ripped off and had to support questions from buyers of copycat hardware.

As for myself, I've never bought a single shield smiley Been doing PCB all along. You not only save money, you could find some opportunity to bring a good design to the market and make some cash too.  smiley-wink
Pages: 1 ... 389 390 [391] 392 393 ... 510