Show Posts
Pages: 1 [2] 3 4 ... 33
16  Using Arduino / Networking, Protocols, and Devices / Re: Shorting two wires via wifi on: December 21, 2011, 11:07:09 am
You may be able to 'short the wires' by switching on a transistor, but it depends on the voltage and current of the gate. To open it with wiFi would probably be hard, but you could use the ethernet shield to create a simple web page that allows you to open the gate, or use the GSM shield to send a text to your gate.

Onions.
17  Using Arduino / Project Guidance / Re: Arduino Mega ADK on: December 13, 2011, 04:56:53 pm
The libraries provided in the previous links will sort out the communication for you. As for keeping track of the x/y, I really don't know. Some experimenting should reveal the answer, and either way, it should be pretty easy to do.

Onions.
18  Using Arduino / Project Guidance / Re: Arduino Mega ADK on: December 13, 2011, 03:59:03 pm
It can be done quite easily with a PS/2 mouse:

http://arduino.cc/playground/ComponentLib/Ps2mouse
http://thepotterproject.net/TPPNews/?page_id=180

It should work on the ADK. Communicating with a USB mouse would be significantly harder though. I'd assume you would need the drivers for the specific device, and program them into the arduino. I'd stick to PS/2, personally.

Onions.
19  Using Arduino / Project Guidance / Re: Play mp3 tracks with Arduino on: December 11, 2011, 03:41:13 pm
Buy an MP3 shield, and you should manage to get it to work:

http://www.skpang.co.uk/catalog/midi-shield-p-669.html
http://www.skpang.co.uk/catalog/mp3-shield-p-738.html
http://www.skpang.co.uk/catalog/mp3-player-shield-with-sd-card-holder-p-904.html

Onions.
20  Using Arduino / Programming Questions / Re: Arduino "1" software problem with programing a ATtiny85 on: December 08, 2011, 05:18:39 pm
If the code fails to compile with every ATtiny core, it could be that you set the core up wrongly? Simply extract the .zip file into the hardware file in the arduino file, then open up the IDE. If that's what you've done, then I'm out of iteas... smiley-sad

Onions.
21  Using Arduino / Programming Questions / Re: Arduino "1" software problem with programing a ATtiny85 on: December 06, 2011, 04:18:36 pm
I'd be suprised if it worked, but I've chucked together a ~3500 line core file. I will carry on working, but it could work...

Onions.
22  Using Arduino / Programming Questions / Re: Arduino "1" software problem with programing a ATtiny85 on: December 06, 2011, 03:47:35 pm
Quote
using a Arduino  board with  arduino IDE version 1

Wait, by version 1, do you mean the Non-beta version 0001, or the beta version 1.0? The cores will not (should not) work with the non-beta version.

Onions.
23  Using Arduino / Programming Questions / Re: Arduino "1" software problem with programing a ATtiny85 on: December 06, 2011, 03:43:19 pm
smiley-sad I'll try and fix that. Thanks for the feedback!
24  Using Arduino / Programming Questions / Re: Arduino "1" software problem with programing a ATtiny85 on: December 06, 2011, 03:34:04 pm
I wrote some cores for the ATtiny85, designed specifically to work in the beta IDE. Give it a go and tell me if they work. smiley-grin
http://arduino.cc/forum/index.php/topic,79190.0.html

Onions.
25  Using Arduino / General Electronics / Re: I2C bus distance? on: December 03, 2011, 03:30:28 pm
Just checking with I2C experts that if I run 100MHz I2C (default arduino setting, right?)

I don't know much about I2C, but the arduino runs at 16MHz, so I would expect the frequency to be 100KHz (or some other frequency. 100KHz was just a guess).

Onions.
26  Using Arduino / Project Guidance / Re: A helpful project on: November 29, 2011, 02:12:58 pm
  • Arduino web server (host your own website)
  • alarm clock
  • door-open alarm
  • Datalogger for some data that interests you
  • Electronic calendar?
  • Plant info system (measures temperature, humidity, soil dryness, etc)
  • LED cube (to look interesting)
  • Mini hand-held GPS to tell you where you are

Just for starters smiley-grin

Onions.
27  Community / Website and Forum / Re: forum (enotify and sso) slowness on: November 27, 2011, 04:54:42 pm
Quote
Now is the time to take action. Whether that action is improved hardware (server) or better forum software.
I agree. It took >5 seconds to load up the page displayed when I click "Reply to post" or whatever it says. Loading the actual forum takes in excess of 10 seconds. My ISP is incredibly slow, but still not enough to cause the observed effects. To keep the forum usable in the future, it would make full sense to upgrade...
On the other hand, upgrading would most likely be a time consuming and expensive matter. More time and money spent upgrading the forum is less to be spent developing cool new boards and software. It's all a balancing act.
Add to the fact that the nef forum looks good, as I'm sure others will agree, and we have a hard decision. Usability vs. cost & time.

Onions.
28  Development / Other Software Development / Re: swRTC on: November 27, 2011, 04:40:29 pm
I'm intruigued... What is the accuracy of it? I know other libraries using software timekeeping are extremely in-accurate, hence the use of RTCs.
Interesting project, though!

Onions.
29  Using Arduino / Displays / Re: nokia lcd 5110 on: November 26, 2011, 04:56:19 pm
What data do you want to display on the LCD? It may just be a case of adding a number to the number you have. Check out the ASCII table: http://www.harryrabbit.co.uk/electronics/ASCII%20table.html

If you want to display the number 33, the character shown will be '!'. To get the LCD to show the number 33, a series of steps will need to be taken:

Split the number up into digits, which we'll store in an array:

array[0] = num % 10;
num = num / 10;
(repeat until num = 0)

If num was 33, the array will now have the values 3, 3. (Because of the way the above code processes the data, if num was 35, the array will now have the values 5, 3).

Next, turn the data in the array into a character. It is now the ASCII table comes in handy. If we assume a number of 0, we need to add 48 to it to produce the character 0. If the number is 3, we still need to add 48 to it to produce its character:

array = array + 48;

Then we need to start at the end of the array and work backwards, printing out the characters.

Code:
while(num){
  array[i] = num % 10;
  num = num / 10;
  i++;
}

arrayLegnth = i;

for(int j = 0; j < i; j++){
  array[j] = array[j] + 48;
}

while(i){
  LcdCharacter(array[i]);
  i--;
}

It should work...
Onions.
30  Using Arduino / Displays / Re: nokia lcd 5110 on: November 26, 2011, 03:38:31 pm
Check out http://www.arduino.cc/playground/Code/PCD8544
and http://blog.stuartlewis.com/2011/02/12/scrolling-text-with-an-arduino-and-nokia-5110-screen/

The first one definately gives you the option of printing a string, using the LcdString function.

Onions.
Pages: 1 [2] 3 4 ... 33