dmiddlecamp / particle_arducam

Apache License 2.0
13 stars 9 forks source link

Stuck in "camera found, initializing #2

Open iadv opened 5 years ago

iadv commented 5 years ago

Hi

I have been trying hard to capture images using a camera and particle photon. This code has been really great to start off. First, I would like to appreciate your efforts in making it. However, when I implemented it following your installation instructions, I am getting stuck here:

Polling for available serial device... Opening serial monitor for com port: "/dev/ttyACM0" Serial monitor opened successfully: Checking for camera... OV5642 detected. Camera found, initializing..

It just stays there. Also, if use the command "node main.js", it says Listening for TCP packets on port 5550 ... But I cannot see anything.

I have no idea what is happening. Can anyone help me with this? How do I get to see the image sent by particle photon to the server

I really appreciate your help

dmiddlecamp commented 5 years ago

Hi @iadv ,

If you're using the TCP Photographer ( https://github.com/dmiddlecamp/particle_arducam/blob/master/firmware/tcp_photographer/main.ino ), then you'll want to change the IP address of your server to match what's defined in your firmware:

https://github.com/dmiddlecamp/particle_arducam/blob/master/firmware/tcp_photographer/main.ino#L9-L10

I'm guessing that's the part that's needed, and making sure the photon is on the same network as your server.

Thanks, David