Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: Geocache only open when sun is up on: January 23, 2013, 04:56:52 am
The start of the code:
starting with an explanation of how I want it to work....

Quote
//mission is to use the servo as a lock on a box.
//the servo should only be able to open the lock when the LDR AND a pusbutton is active.
// when sun is shining + a person pushes the button.
// when the lid is closed a micro swith should trigger the signal to reset the servo to start position

//permission to activate servo :
//Digital input from door-microswitch (closed) HIGH
//LDR should be letting approx 4?volts passed on analog input
//digital input from pushbutton HIGH

// when servo opens initiate lock 10 minutes delay

//Permission to reset servo :
//Pushbuton released
// microswitch closed

Is this going to be realistic?
I will then need 2 digital and 1 analog inputs, and one ? output for the servo.

I also see that this topic has some code that is usable, just needs a bit of tweeking.
http://arduino.cc/forum/index.php/topic,144261.0.html
2  Using Arduino / Project Guidance / Re: Geocache only open when sun is up on: January 23, 2013, 03:28:52 am
Maybe im over complication things??
if I use a attiny 85 with a ligth dependent resistor and a motor control for the servo, The battery will probably last long enough without the charging?

Then I dont need to buy the solarpanel or the charging controller.....

http://hackaday.com/2011/09/25/attiny-hacks-attiny4585-servo-library/
3  Using Arduino / Project Guidance / Re: Geocache only open when sun is up on: January 23, 2013, 01:41:59 am
I know what tou think smiley
Luckily I think that if you put it in a non urban enviroment and put clearly visible information and contact info on the box, you will save the police from such calls...
The reviewers are of course going to be informed before its going out in the nature smiley

I guess that when I get it to work, I can change the arduino with a homemade printcard with the atmega328p chip to keep power consumption and price down?
4  Using Arduino / Project Guidance / Re: Geocache only open when sun is up on: January 22, 2013, 04:59:10 pm
Nice!!
now I just have to pick the parts needed and learn to program.... smiley-wink

Any suggestions what to buy?
A starter pack from ebay? then build from there, or should i buy exactly what I need for this project piece by piece?
How much current is the arduino pulling? (I should probably use the search function for this smiley-wink )
5  Using Arduino / Project Guidance / Re: Geocache only open when sun is up on: January 22, 2013, 01:23:59 pm
Multiple users is correct smiley
The pushbutton and door switch was a very good input  smiley

Can I use the pushbutton to wake the arduino aswell, to save power? push the button and it wakes utill door is closed, or a max time of 15 minutes...


 
6  Using Arduino / Project Guidance / Re: Geocache only open when sun is up on: January 22, 2013, 11:37:03 am
Normally geocahes is a lock`n lock or simular box hidden somewhere around the world, on coordinates posted on www.geocaching.com.
We have been hunting them for a few years now, and also put out around 100 boxes.
now I want to make something noone have seen before smiley
7  Using Arduino / Project Guidance / Re: Geocache only open when sun is up on: January 22, 2013, 11:10:13 am
Good idea.
would that be a flip switch then? so that the person opening it will have to close it after he/she is finnished signing the log.

Or just a button that needs to be held down?

anyone that can recomend hardware setup for this project?
8  Using Arduino / Project Guidance / Re: Geocache only open when sun is up on: January 22, 2013, 04:48:20 am
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&ssPageName=STRK:MESELX:IT&item=320767460367

http://www.ebay.com/itm/9V-185mA-1-665W-solar-panel-power-PCB-solar-pv-panel-samll-6V-battery-nice-/320892381195?pt=LH_DefaultDomain_0&hash=item4ab6ad280b

Is this overkill to run the arduino and a servo?

Here is a fast schecth of the plan.
Thinking of two compartments so just the arm of the servo is inside the compartment with the door, the arduino and the battery can be in the compartment under the solarpanel

will this be enough power to run a stepper motor 2 times a day?
9  Using Arduino / Project Guidance / Re: Geocache only open when sun is up on: January 22, 2013, 02:39:21 am
I have read about the reversed geocache, but that is a bit more complicated than what i have in mind.

I just need to charge batteries with a solarpanel, and a voltage measurement that ca trigger a output to a servo.

I guess it will be a simple program, and not so advanced mechanics.

By reading in the forums i can see that several have made solar chargers.
do I need a external card/shield to measure the voltage?
What are the cheapest solution i can use to make this?
As a geocache its allwas a possibility that it will be stolen or destroyed...

If someone with a bit more experience than me could help me with a shopping list?

thanks in advance
10  Using Arduino / Project Guidance / Geocache only open when sun is up on: January 21, 2013, 06:22:19 pm
Im thinking about making a solarpanel charged system that opens a lock only when its charging over a certain voltage.

Instead of the lock I`m also thinking about piston or steppermotor hiding the box when charging signal is to weak.

I`m an automation tech but working mostly with field instruments and not so much programming.

any Ideas to how I should start planning this?

I have not bought any equipment yet, and just started reading on this forum today...


Pages: [1]