Show Posts
Pages: 1 ... 6 7 [8] 9
106  General Category / General Discussion / Re: Using Visual Basic or another GUI on: March 31, 2011, 02:39:40 pm
If you just want to use the Visual Basic IDE to develop in however, you might want to take a look at Visual Micro - it allows you to use Visual Studio to code in instead of the Arduino IDE.
107  General Category / General Discussion / Re: Arduino 1.0 Soon - What do you want to see? on: March 31, 2011, 02:37:58 pm
Definitely tabs not spaces.

Line numbers.

Serial Monitor reappears again if the IDE makes it disappear when hitting upload.

If the file is modified outside of the editor, ask if you want to load the new updated version.

Just went looking for this, apparently setting to use an external editor works well for this


And although it may seem petty, an aesthetic update would be appreciated.

Just a few little ones smiley-wink
108  Using Arduino / General Electronics / Re: lipo charging safety with Fio and Stalker on: March 31, 2011, 07:14:40 am
As far as I understand, Li-ion and Li-po can be charged with the same circuit, but don't take my word for it though!

Not sure about the safety of Li-po batteries sitting around, but I suppose as long as the charge manager is working fine then it shouldn't be too much of a problem?
109  Using Arduino / Project Guidance / Re: Alternate ways to power the arduino? on: March 31, 2011, 06:45:36 am
http://www.arduino.cc/playground/Learning/9VBatteryAdapter

You can also get AA battery holders with a PP3 style clip on them.
110  Using Arduino / Project Guidance / Re: Capacitance to Voltage Converter on: March 28, 2011, 05:18:49 pm
I found this while looking up information on a capacitive humidity sensor - it might help a bit?

http://starter-kit.nettigo.eu/2010/humidity-sensor/

It uses an RC circuit and tests how long it takes to charge the capacitor, then returns how long it took, which can be converted to capacitance or, in this particular case, humidity.

Looked complicated at first, but once you have it set out, then it's simple!
111  Using Arduino / Displays / Nokia 6100 Library font fix on: March 19, 2011, 08:35:54 am
Hi guys,

I picked up a 6100 LCD Breakout Board a few days ago, and with the help of this handy thread managed to get it working nicely, using the library available here.

The text display was an issue though, with the letters coming out a bit stretched and ugly looking.



This was apparently a side effect of fixing the distorted text displayed.

I think I've solved this, and have managed to get nicely formatted text displayed on my screen (left before, right after) by mashing up the existing draw_text_line code with a bit of James Lynch's wizardry.

So if you are having troubles with stretchy text like the above, give this a go and see if it works for you -

Code:
void NokiaLCD::draw_text_line(word fcolor, word bcolor, byte x, byte y, char c) {
word output0, output1;
lcd_set_box(x,y,x,y+8);
sendCMD(RAMWR);
for(unsigned int i=0;i<8;i++) {
// Create a bit mask, and apply it
if (1<<i & c) {
output0 = fcolor;
} else {
output0 = bcolor;
}
// Move the bit mask on, do the next pixel.
i++;
if (1<<i & c) {
output1 = fcolor;
} else {
output1 = bcolor;
}
sendData((output0 >> 4) & 0xFF);
sendData(((output0 & 0xF) << 4) | ((output1 >> 8) & 0xF));
sendData(output1 & 0xFF);
}
}

Now to sort out the contrast. Is black supposed to be blue?
112  Using Arduino / Displays / Re: Updating LCD Text for Kegerator on: March 15, 2011, 05:52:29 pm
Use case '1': instead of case 1: as it will never return true. The Serial.read() will return its ASCII value of 49 (for the number 1), so you need to check for the 'character' instead of the number.

You'll need a semi-colon after lcdChoice = Serial.read() as well.

Now you just need to palm off the data you get to a tidy little function, store it in the correct variable and write it to EEPROM smiley-wink
113  Using Arduino / Project Guidance / Re: Ideas needed for vibrating bracelet alarm on: March 14, 2011, 06:59:49 pm
I ran across this the other day, it might suit your needs? It's a flexible Arduino compatible board, with a built in LiPo charge circuit.

http://www.seeedstudio.com/depot/seeeduino-film-p-689.html

Edit: Or maybe a Femtoduino -

http://www.varesano.net/projects/hardware/Femtoduino

It's very small.
114  Using Arduino / Displays / Re: Updating LCD Text for Kegerator on: March 13, 2011, 06:52:11 pm
Python?

I don't know much about programming on Linux I'm afraid, only the simple stuff for me!
115  Using Arduino / Displays / Re: Updating LCD Text for Kegerator on: March 13, 2011, 05:41:23 pm
I would normally write things in C#, for which you could try looking here. I think the Express version of Visual C# is a free download from the Microsoft site.

It's nice because it is really easy to get something running straight away. In your case at the simplest, add a text box and a button, and have the button serialPort.Writeln(textBox1.Text); when it's clicked. Open the serial port load and close it on form close, to keep things easy.

If you run on a Mac though, I can't help you there!
116  Using Arduino / Displays / Re: Updating LCD Text for Kegerator on: March 11, 2011, 10:17:34 am
Perhaps you could attach a PS2 keyboard, plug it in when needed, or mount a small one on the inside of the freezer door?

Quote
Is there something (like something made with Processing) where a box would pop-up on my laptop and I can enter/update the name and ABV?

You could communicate over serial and use something like the Messenger library to parse the incoming results and update the screens as an when it is needed. The computer end application could be written in whatever capable language you like.
117  Using Arduino / Project Guidance / Re: circuit diagram servos... on: February 11, 2011, 08:09:59 am
Forgive me if I misunderstood your original post.

Presuming you are using the 'Knob' example from the IDE, hook up the white wire from the servo to Digital Pin 9, and the red and black to 5v (if your servo runs on 5v) and GND respectively. Connect one of the outside posts of the potentiometer to 5v and the other to GND, and the middle (typically the wiper) to Analog Pin 0.

Then run the Knob sketch, and it should (hopefully) work!
118  Community / Bar Sport / Re: DorkbotPDX - Customs on: February 11, 2011, 07:17:49 am
One was long and thin, a breakout board for an odd connector about 2x13 cm and the other was a general board about 13x13 cm. 3 of each.
119  Using Arduino / Project Guidance / Re: How to move a design past prototyping? on: February 10, 2011, 09:50:20 pm
I don't think I can get much more out of it until I figure out how to place parts on each side of the board.

If you are using Eagle use the mirror tool to flip components to the bottom layer. I think the middle mouse button works as well.

With regards to soldering SMD, I've been using solder paste with a syringe and a frying pan on a gas hob. It seems to be working OK so far.
120  Community / Bar Sport / Re: Visiting London - what to see? on: February 10, 2011, 09:27:14 pm
Stop by Greenwich Observatory maybe? Nice view, there's a planetarium there as well I think...

Would definitely recommend the V&A - they've always got something good on.
Pages: 1 ... 6 7 [8] 9