DIY Trailcams
Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
cloudyj

Registered:
Posts: 136
Reply with quote  #1 
I'd like some help with an issue I am having trying to get a simple test circuit to work. I would like to create a day only  time lapse board that turns on a camera and then shutters a picture using a Picaxe  08 proto board.  I seem to have the day only part working and I can turn the camera on and off as expected; however, when I power the gate of the second mosfet ( shutter control) the camera shutters pictures continually until the program turns off the camera. I am including a crude drawing of what I have done in hopes that my problem will be obvious to a member. I will also include the simple picaxe program I am using for testing. Please note, I have the ckday sub routine set low so it runs regardless of light levels for test purposes. The LED is for a visual reference of light levels.( day only) test circuit.jpg 


Testing program:

main:
input 1   ' reading level for light level
w0= bit1
w0=0

gosub ckday
 
pause 2000
wait 10
goto main

ckday:

High 4
pause 600
low 4
High 4
pause 600
low 4
High 4
pause 600

pause 3000

 readadc           1,w0
 w0=80  ' set so it always runs -- remove after testing
 if w0 > 60 then 
 
  low 4
 
 
  pause 2000
 
  High 0
  pause 600
 
  low 0
 
  pause 5000
 
  High 2
 
  pause 600
 
  low 2
 
  pause 2000
 
  high 0
 
  pause 1000
 
  low 0
 
 
  pause 1000
  
endif
low 4
w0=0
 pause 500
 return





0
FIREMANJIM

Registered:
Posts: 292
Reply with quote  #2 
It takes a mosfet a few seconds to power off. That is why we use a opto coupler for that instead of a mosfet.
0
cloudyj

Registered:
Posts: 136
Reply with quote  #3 
Thanks Jim
I'll need to order the optocouplers. as a friend gave me the mosfet s  to try. Should I use the Optos for both power and shutter or can I get away with using a mosfet for power only?
0
FIREMANJIM

Registered:
Posts: 292
Reply with quote  #4 
One opto will do both... I will try to get you a drawing and a part #... Just super busy right now
0
bigbassmann

Avatar / Picture

Registered:
Posts: 1,889
Reply with quote  #5 
Tim,
    Here's the opto part# from mouser.com  859-LTV-827

Here's a simple camera controller circuit using the picaxe 08M chip

bowgod s40 s600 fasthack board schematics.jpg 


__________________
http://rcdavisgamecamerasolutions.weebly.com/
0
cloudyj

Registered:
Posts: 136
Reply with quote  #6 
Thanks to both you and Jim for the info Ralph. Sure makes it easier with a drawing for setting up my test board. Before I started this little project I didn't know the basics of a cds, mosfet or opto coupler and now little by little I'm starting to understand just how complex these control boards are! Your help is appreciated.
0
FIREMANJIM

Registered:
Posts: 292
Reply with quote  #7 
Thanks Ralph for taking the time to post the drawing for him....Just not enough hours in a day on my end....
0
Vonfoust

Avatar / Picture

Registered:
Posts: 1,370
Reply with quote  #8 
This is why I love this site.  Watch my next thread in the 'Newbie Section'[biggrin]
__________________
When I look at the smiles on all the children's faces, I just know they're about to jab me with something.
0
cloudyj

Registered:
Posts: 136
Reply with quote  #9 
Just finished testing the time lapse for about three weeks. Learned that a very small camera movement in the case causes a big jump in the time lapse video.The opto coupler worked great using your drawing Ralph.
Here is the simple day only time lapse using the 8M proto board and three weeks ( image every 70 minutes) of plant growth in 6 seconds.

20160212_154104.jpg 


0
bigbassmann

Avatar / Picture

Registered:
Posts: 1,889
Reply with quote  #10 
That is great Tim. Glad you were able to get that working. Need to set it out somewhere for about a 3 month soak and then stitch together a time lapse video that would be cool. Way to go dude.  [thumb] 
__________________
http://rcdavisgamecamerasolutions.weebly.com/
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.