Show Posts
Pages: 1 2 [3] 4 5 ... 13
31  Using Arduino / Project Guidance / Re: Any Idea On What To Do? on: August 20, 2012, 01:57:49 am
For face recognition you need a camera (hich can be lightweighht) but the real problem is the software that is needed to look for a face en track it. To do that, a lot of processing is needed, and the arduino has not enough memory to handle images . That means you should go to e.g. Raspberry Pi, that'll do what you want, but it is not as lightweight, which means it'll probably be too heavy..

but there are probably some things i did not think about smiley
32  Using Arduino / Displays / Re: Looking to see if anybody has managed to interface this nokia lcd to the arduino on: August 20, 2012, 12:38:04 am
i did not, but you say 'serial i2c'. what is it, serial, or i2c, because the difference is huge.

if it uses one of these protocols, then it can't be that hard (and somebody surely has tried it before smiley )

take a look at this site: http://heardsolution.blogspot.be/2012/03/nokia-128016161800-new-lcd-solution.html# maybe you'll find something
33  Using Arduino / Programming Questions / Re: How to work out the rotation speed of a bike wheel. on: August 20, 2012, 12:31:38 am
here you go: http://arduino.cc/playground/Main/ReadingRPM
34  Using Arduino / Project Guidance / Re: Virtual wire help on: August 18, 2012, 07:00:48 pm
if you look closely it's not about the virtualwire lib, but about the wiring lib (wiring.h) that is not present somewhere

Quote
C:\Arduino-1.0.1\libraries\VirtualWire/VirtualWire.h:14:20: warning: wiring.h: No such file or directory
35  Using Arduino / Project Guidance / Re: Tweeter Logger (ethernet+sd) on: August 17, 2012, 11:24:37 am
it has a built in tf-slot? which should work with sd-cards too, then why would you use an externalt sd-card?

the lib that comes with the ethernet shield is built to make them work together, right?
36  Using Arduino / Project Guidance / Re: Will these wireless modules work, if so, how? on: August 17, 2012, 11:16:50 am
i suppose this will work with simple serial transmission:

Code: (sender)
void setup()
{
  Serial.begin(1200);
}

void loop()
{
  Serial.print('A');
}

Code: (receiver)
void setup()
{
  Serial.begin(1200);
}

void loop()
{
  while(Serial.available()<1);
  Serial.println(Serial.read());
}

i think this should work with the serial monitor of the IDE, if not, then you should use softwareserial (because it can be that the two serial data transmission get mixed, but i don't think they will)

i start with 1200 because a lot of devices use 1200 too, i don't think you should go lower, unless you really don't see a thing of course

the output in the serial monitor should be 65 (ascii representation of A)
37  Development / Other Software Development / Re: Voice recognition library - It works! on: August 16, 2012, 02:11:25 am
i think you misunderstood my comment smiley
what i meant with replacing with for loop is that this:

Code:
void uspeech::sample(){
  arr[0] = analogRead(pin)-calib;
  arr[1] = analogRead(pin)-calib;
  arr[2] = analogRead(pin)-calib;
  arr[3] = analogRead(pin)-calib;
  arr[4] = analogRead(pin)-calib;
  arr[5] = analogRead(pin)-calib;
  arr[6] = analogRead(pin)-calib;
  arr[7] = analogRead(pin)-calib;
  arr[8] = analogRead(pin)-calib;
  arr[9] = analogRead(pin)-calib;
  arr[10] = analogRead(pin)-calib;
  arr[11] = analogRead(pin)-calib;
  arr[12] = analogRead(pin)-calib;
  arr[13] = analogRead(pin)-calib;
  arr[14] = analogRead(pin)-calib;
  arr[15] = analogRead(pin)-calib;
  arr[16] = analogRead(pin)-calib;
  arr[17] = analogRead(pin)-calib;
  arr[18] = analogRead(pin)-calib;
  arr[19] = analogRead(pin)-calib;
  arr[20] = analogRead(pin)-calib;
  arr[21] = analogRead(pin)-calib;
  arr[22] = analogRead(pin)-calib;
  arr[23] = analogRead(pin)-calib;
  arr[24] = analogRead(pin)-calib;
  arr[25] = analogRead(pin)-calib;
  arr[26] = analogRead(pin)-calib;
  arr[27] = analogRead(pin)-calib;
  arr[28] = analogRead(pin)-calib;
  arr[29] = analogRead(pin)-calib;
  arr[30] = analogRead(pin)-calib;
  arr[31] = analogRead(pin)-calib;
  arr[32] = analogRead(pin)-calib;
}

can be easily replaced with this:

Code:
void uspeech::sample()
{
  for(uint8_t i=0; i<33; i++)
  {
    arr[i] = analogRead(pin)-calib;
  }
}

that'll save a lot of bytes, and does not use anything more ram. well, it uses one byte more to store 'i', but that gets free'd afterwards, so it results in the same smiley
38  Development / Other Software Development / Re: Voice recognition library - It works! on: August 15, 2012, 09:38:00 am
nice job smiley

i took a look at the files, and it seems you did not think about using for loops, did you xp

wince a lot of bytes can be saved by doing for-loops instead of 20 times the same.
(just a comment)

but it is fantastich you did this, i love to see things like these comming up, and i can believe you are happy to get it working smiley
39  Using Arduino / Project Guidance / Re: beginner LED cube build, need help on: August 14, 2012, 02:12:02 am
how did you reach the calculation of 5 shift registers?

the uno will do, but sound is not the strongest point of the arduino's (of none of them). it depends on what you mean by sound, you won't be able to play e.g. mp3's on it

that lcd will do perfectly, and it even has rgb leds :o that'll be a beauty xp

what do you mean by animations? from the led cube?
oh, and that led cube, you said 6x6, but do you mean 6x6x6 or just 6x6 ? because it's a huge difference in pins
40  Using Arduino / Project Guidance / Re: Foosball Table on: August 14, 2012, 02:06:40 am
some more info might come in handy

code ? how do you sense with the ir leds? where are they placed etc
41  Using Arduino / Project Guidance / Re: beginner LED cube build, need help on: August 13, 2012, 02:06:42 pm
Hi, and welcome smiley

for the cube, you should multiplex your leds and use shift registers and transistors. that way you don't need to get all the pins from the arduino.
a good instructable about shift registers can be found here

for the alarm clock, you'll need an RTC (real time clock)

'lcd screen' is extremely vague. do you want a 16x2 lcd screen, or a 20x2, or a 16x4, or a full color lcd, or a nokia rip-of-lcd or.. the possibilities are endless.

an  on/off button can be a switch between the power source and the arduino, that is the most simple way to turn it off.

the other products are standard and info can be found on a million pages in the internet
42  Using Arduino / Displays / Re: Touch screen on: August 13, 2012, 11:27:38 am
Well, i'm currently deveoping a GUI for the MI0283QT2 from watterott.com

this GUI uses buttons, switches, tabs, radiobuttons, checkboxes, textboxes, sliders and a statusbar to make GUI-handling suuuper easy

it won't be long until i release a first version of it(when i get the tab delete and radiobutton delete functions working).

If you would select another displyay it probably won't be hard to edit the lib to your needs, and to make it fit with the lib of your screen.
43  Using Arduino / Programming Questions / Re: Stuck in a loop on: August 12, 2012, 11:08:39 am
i can clearly see why your arduino 'stops', or better, seems to stop.

it on this line:
Code:
if (IRcompare(numberpulses, Play,sizeof(Play)/4)) {
    On = 1;
    if (On == 1) {
      do{
        for (int thisPin = 4; thisPin < 8; thisPin++) {
          // turn the pin on:
          digitalWrite(thisPin, HIGH); 
          delay(DelayP);                 
          // turn the pin off:
          digitalWrite(thisPin, LOW);   
        }
      }
      while(On ==1);         //<<<<<<<<<<<<<<HERE is the mistake

    }
  }

as you tell it to do nothing while on==1. on will never change in that loop, so once it gets an IR code on is 1 and it will be stuck in the while loop. just remove this one and it will be fine

i don't thinks this runs fine on an arduino UNO though, it will react exactly the same way on the while, so i can see no differences
44  Using Arduino / Project Guidance / Re: Motorized Blinds on: August 12, 2012, 07:55:05 am
something like this ? http://energydefender.blogspot.be/2010/02/arduino-controlled-electric-blinds.html
45  Using Arduino / Project Guidance / Re: Control automotive relays with touchscreen on: August 12, 2012, 07:45:16 am
You should skip the relay and jump straight to a mosfet.

http://bildr.org/2012/03/rfp30n06le-arduino/

thanks for that link, i could definitely use it, since i was trying to obtain something like that with transistors, but this seems a lot more simple :o

@OP: i'm making a complete GUI for touch screens using an arduino as control, and one of the widgets is a switch.
i'm currently adding some more things to the lib, but if you want i can send it to you so you can use it for you touch screen.
it'll make it extremely easy to switch your relays/mosfets smiley
it looks like this: and
Pages: 1 2 [3] 4 5 ... 13