Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: Motion Tracking USB Camera on: October 18, 2013, 05:30:02 am
yeh thats what I had figured and after taking the camera apart I see there is nothing special .... I was planning on using the arduino anyway for pan/tilt controls and yes I would like to have motion tracking as well as detection. I apologize for not being detailed enough and not thinking it through all the way first. I was also thinking of just using it to snap pictures every second or so while still trying to follow the subject and have the photos save to an sd card .... anyway I will figure it out... thanks for your help but like the enc28j60 I will just try to figure it all out.. Thanks
2  Using Arduino / Project Guidance / Motion Tracking USB Camera on: October 17, 2013, 05:58:52 pm
My wife had this old game Your Shape by Ubisoft that came with a motion tracking usb camera with microphone, I am just wondering if there would be anyway to interface with the motion tracking and arduino to trigger recording on the computer when motion is detected and stop recording if motion hasn't been detected for # of seconds ... The camera is Ubisoft USB Camera WD19 ... the game now sells at dollarama for like $2 so if I can interface with them I may get more... I appreciate any help that I get from anyone.. Thank you.
3  Using Arduino / Networking, Protocols, and Devices / Re: Help Please ... Uno + ENC28J60 + WAMP on: August 12, 2013, 07:22:48 am
Is there anyone on here that may be able to point me in the right direction because I can not get this to work and I am almost bald because of it. There has to be a way to do it but everything I have tried does not work, I am not sure if I am using the same version of library or what but no matter how many examples I've tried I can't get any to work. Not even the example with the ethercard library. I can setup a webserver on the arduino that works fine though.
4  Using Arduino / Networking, Protocols, and Devices / Re: Help Please ... Uno + ENC28J60 + WAMP on: July 31, 2013, 05:20:00 pm
Here is the code:

Code:
// This demo does web requests to a fixed IP address, using a fixed gateway.
// 2010-11-27 <jc@wippler.nl> http://opensource.org/licenses/mit-license.php

#include <EtherCard.h>

#define REQUEST_RATE 5000 // milliseconds

// ethernet interface mac address
static byte mymac[] = { 0x74,0x69,0x69,0x2D,0x30,0x31 };
// ethernet interface ip address
static byte myip[] = { 192,168,0,203 };
// gateway ip address
static byte gwip[] = { 192,168,0,1 };
// remote website ip address and port
static byte hisip[] = { 192.168.0.242 };
// remote website name
char website[] PROGMEM = "PC2";

byte Ethernet::buffer[300];   // a very small tcp/ip buffer is enough here
static long timer;

// called when the client request is complete
static void my_result_cb (byte status, word off, word len) {
  Serial.print("<<< reply ");
  Serial.print(millis() - timer);
  Serial.println(" ms");
  Serial.println((const char*) Ethernet::buffer + off);
}

void setup () {
  Serial.begin(57600);
  Serial.println("\n[getStaticIP]");
 
  if (ether.begin(sizeof Ethernet::buffer, mymac) == 0)
    Serial.println( "Failed to access Ethernet controller");

  ether.staticSetup(myip, gwip);

  ether.copyIp(ether.hisip, hisip);
  ether.printIp("Server: ", ether.hisip);

  while (ether.clientWaitingGw())
    ether.packetLoop(ether.packetReceive());
  Serial.println("Gateway found");
 
  timer = - REQUEST_RATE; // start timing out right away
}

void loop () {
  ether.packetLoop(ether.packetReceive());
 
  if (millis() > timer + REQUEST_RATE) {
    timer = millis();
    Serial.println("\n>>> REQ");
    ether.browseUrl(PSTR("#sclient=psy-ab&q=enc28j60+arduino+wiring"), "", website, &my_result_cb);
    Serial.println("\ndone>>>");
  }
}

here is the output in the serial monitor:
Code:
My IP: 192.168.0.203
Netmask: 255.255.255.0
Server: 192.168.0.242
Pinging: 192.168.0.242
Sending a request...
Pinging: 192.168.0.242
Sending a request...
Pinging: 192.168.0.242
Sending a request...

and it just continues with pinging and sending a request .... If I run the webclient sketch example that comes with the ethercard library it does the same kind of thing it never runs the my_callback only returns <<< REQ in the serial monitor
5  Using Arduino / Networking, Protocols, and Devices / Help Please ... Uno + ENC28J60 + WAMP on: July 30, 2013, 07:07:23 pm
Hi guys,

I have been trying for weeks to find a solution to this but after all the examples, tutorials, code snippets, etc... I just cannot get this to send the data to the server.... I am at the moment trying to get it to work with the ethercard library but I will go with whatever library will do what I need to do which is just basically send a GET request to the php page and return anything coming back but I have tried everything even the example webclient does not work, I know the ENC module works as I had been using it as a small webserver testing it
6  Using Arduino / Project Guidance / Re: Arduino with DIY ethernet shield problems on: July 30, 2013, 03:43:32 pm
does it work with a static IP?
7  Using Arduino / Project Guidance / Re: power on 24V fans individually on: July 29, 2013, 07:05:43 pm
in the end I am hoping to have 5 fans, 1 dht11, (possibly another temp sensor only), 6 Photo Resistors, an LCD and possibly a SD Module or an ethernet module if I can ever get to a point where I can save data to mysql with the mighty1284 + enc28j60 or even an uno with the enc28j60, oh and an RTC using a ds1307
8  Using Arduino / Project Guidance / Re: power on 24V fans individually on: July 29, 2013, 07:02:50 pm
@LarryD...
Thats exactly what I was thinking I should be able to do but was not sure if it would work, I am still a noob at actual electronics (always been a tinkerer) ... thank you

@jroorda ...
The DHT will not be in direct line of the fans and actually will be either in an upper compartment in which some obstacles will be in the way or close to the bottom which would be under the fans direct flow ... but thank you
9  Using Arduino / Project Guidance / power on 24V fans individually on: July 29, 2013, 03:52:35 pm
Hi everyone I have five 24V 0.38A Fans and would like to turn them on or off individually (start with one, hits the next threshold turn on another and so on until all five are running if needed) depending on a certain temperature threshold. I will be using a DHT11 for the temperature and humidity sensor and will also be using light sensors but it has nothing to do with the fans. Can anyone point me in the right direction? I have done lots of research but have not come across anything about turning them on individually .... if anyone can help in anyway it would be greatly appreciated. Thank you in advance for any replies.
10  Using Arduino / Displays / Please Help... NOKIA 5110 on: January 09, 2013, 07:30:04 pm
Hi I am new to the forum but have been playing with the arduino for a little while now. My problem is I bought 2 NOKIA 5110 LCD screens from ebay and one of them works great but the other just has the backlight and does not display anything.....until I hit the reset on the arduino then what is supposed to be displayed shows for a split second then back to nothing... any ideas?? Any and all help will be greatly appreciated. Thank You
Pages: [1]