Show Posts
|
|
Pages: 1 [2] 3 4 ... 9
|
|
16
|
Community / Exhibition / Gallery / Re: High speed photography with arduino nano
|
on: April 17, 2012, 07:24:26 am
|
|
This looks like a nice build - I've been working on something similar on and off for the last few years but have never got to the point that you have - actually finishing it!
You say you're not happy with your lightbulb smashing photos - have you tried lighting these in a dark field manner? You just need some tracing paper and a piece of black card.
|
|
|
|
|
20
|
Using Arduino / General Electronics / Re: Canon T1i to Arduino
|
on: November 06, 2011, 06:44:34 pm
|
The resistor is just there as a current limiter to stop things breaking. If you are using variables to set your pin numbers, it might be an idea to set them as const so you can't accidentally change the value at some point in the future. Just to check, where it says int trig_cam = 7; //pin 3 to trigger camera Which pin are you actually using? 7 or 3? There's nothing wrong with your code, what happens if you hook it up and turn the transistor on manually with a piece of hookup wire or a push button going to +5?
|
|
|
|
|
21
|
Using Arduino / General Electronics / Re: Canon T1i to Arduino
|
on: November 05, 2011, 08:22:41 pm
|
It should be quite straightforward - connect the base of the transistor to the arduino pin through a resistor, the collector to the 'tip' of the mini-jack (for the trigger) and the emitter to the 'sleeve' of the mini-jack. The sleeve is ground. There's a schematic at the bottom of this page.
|
|
|
|
|
24
|
Using Arduino / Audio / Re: a little pocket sampler
|
on: November 01, 2011, 05:55:56 pm
|
|
The simplest way is to take your bits down to Maplin or Radio Shack or wherever and pick up an enclosure from there, seeing what will fit.
Buttons, easy - just drill them. The LCD and slots are a bit more interesting, but you could just use a Dremel or something similar. If it has to look perfect, buy a few enclosures - it won't work out correctly the first time you try it. God knows I have made some horribly wonky holes!
|
|
|
|
|
25
|
Community / Bar Sport / Re: Out of Power!
|
on: November 01, 2011, 05:41:09 pm
|
|
There's a seven or eight streets near where I live currently without grid power, they're running everything off the back of a massive trailer that's feeding directly into the local substation down there through cables as thick as your wrist.
I walk past it on my way home from work and boy this thing puts out some heat!
|
|
|
|
|
26
|
Using Arduino / Programming Questions / Re: home alarm system problem in code
|
on: October 30, 2011, 10:19:20 am
|
(i would if i'm in situation alarm on in alarm out situation if the door open i don't press the correct password the alarm begin after alarm begin if i press the correct password i'll go in situation alarm off)
This does not make sense - rewrite it so that there is no chance of confusion. A numbered list might work well.
|
|
|
|
|
28
|
Using Arduino / Programming Questions / Re: A layman finds purpose, and needs some help with this timer.
|
on: October 21, 2011, 03:29:27 pm
|
You need to keep a track of the seconds, which you can do with the millis() function, as you've already got there are 1000 milliseconds per second. Then perhaps take a note of the millis() value when the button is pressed and again when it is released, then apply corrections to account for the paused time. Timer not paused, 8 minutes elapses unhindered.- Start timer, timeStart = millis()
- timeEnd = timeStart + 480000 // 480000 = 480 secs = 8 mins in milliseconds
- When millis() == timeEnd, then trigger the buzzer
Timer is paused, then later unpaused
- Start timer, timeStart = millis()
- timeEnd = timeStart + 480000
- Button pressed, don't let the alarm go off if the button is held down.
- timeButtonPressed = millis()
- //button is pressed while question is answered
- Button released, allow the alarm to go off
- timeEnd = millis() + (480000 - (timeButtonPressed - timeStart))
- When millis() == timeEnd, then trigger the buzzer
I haven't tried this, but in my head it works. Be aware there are probably better methods of doing this, but hey whatever give it a go and see if it works.
|
|
|
|
|
30
|
Community / Bar Sport / Re: FACEBOOK FOR CHAT WITH ME
|
on: October 18, 2011, 04:00:14 pm
|
|
To be blunt about it, why should we pander to your needs?
There's a massive community here, take some of your time and make the most of it. Don't be lazy and expect it to come to you.
|
|
|
|
|