Show Posts
Pages: 1 ... 23 24 [25] 26 27 ... 39
361  General Category / General Discussion / Re: Anyone used suntekstore.co.uk? on: July 09, 2012, 07:04:53 am
Thats what I thought, it looks a bit suspect. Just gone as far as the cart though and doesn't say anything apart from free postage?
362  General Category / General Discussion / Anyone used suntekstore.co.uk? on: July 08, 2012, 08:37:06 pm
Just found this site, some very good prices on electronic bits indeed and states free shipping - but I have never heard of it before?

http://www.suntekstore.co.uk/category-101-b0-diy_parts_tools.html
363  Using Arduino / General Electronics / Re: Using a PCB transformer on: July 05, 2012, 11:40:25 am
Thanks again all.

@CrossRoads - I could probably get similar but that would not fit in a socket flush mount back box, although I could mount it remotely but that would mean more cables running to the device because I still need to run mains to my project (its a thermostat). Thanks for the idea though its one I haven't yet considered.

@SirNickity - Thanks that's some really useful info there. I think I might pick up a 6v transformer and test it out using only the nano regulator before I finalise a PCB. Also good point about the fuses!

364  Using Arduino / General Electronics / Re: Using a PCB transformer on: July 04, 2012, 06:53:47 pm
I do think its good we rely on fuses so much, just a pity so many people don't think about the value they stick in the plugs!

Back to my project, I have just thought... why don't I use a 6v transformer http://uk.farnell.com/myrra/44085/transformer-1-5va-6v/dp/1689047

same footprint, almost same current output and surely will leave less work to do for the Nano's regulator?
365  Using Arduino / General Electronics / Re: Using a PCB transformer on: July 04, 2012, 09:01:38 am
That's true, the supply will be fused at the plug anyway.

So is the general consensus to use a primary regulator before power gets fed into the Nano then?
366  Using Arduino / General Electronics / Re: Using a PCB transformer on: July 03, 2012, 06:41:10 pm
@ SirNickity - thanks for the input, I will be fusing the input to the transformer also - I guess ohms lay would apply to select a sensible value? It will draw max 200mA, but I have calculated that my circuit won't draw more than 100mA. How would I calculate the input current @240v?

@ jackrae - thanks for the advice. Surely a primary regulator would be subjected to the same stress as the Nano regulator, or are you suggesting to use a larger one to dissipate heat easier than the nano? Would I be better off using a single 5v regulator and to power the entire circuit and the nano?

@ CrossRoads - thanks, if I add a regulator should I just follow the recommended capacitor values from the relevant datasheet?

Size is a real issue as I'm mounting the project in a standard wall socket double back box, but I can hopefully squeeze a couple of extra bits in there smiley





367  Using Arduino / General Electronics / Re: Using a PCB transformer on: July 03, 2012, 01:16:13 pm
Sorry guys I should have said where the power will be going - it will be running a Nano only and the on-board regulator will do the rest of the work (LCD screen and couple of LED's).

Will I need anything other than a rectifier for that purpose or can the Nano V-reg  deal with the rest of the task?

Thanks
368  Using Arduino / General Electronics / Using a PCB transformer on: July 03, 2012, 12:42:25 pm
Hi all. I plan to use a PCB transformer in my next project (240v to 9v). I'm wondering if any additional components will be required - I know I will need a bridge rectifier to convert the AC output and I'm also putting a fuse on the o/p, but is there anything else I should add, such as capacitors?

This is the transformer I plan to use http://uk.farnell.com/myrra/44122/transformer-2va-9v/dp/1689054?Ntt=1689054
369  Community / Exhibition / Gallery / Re: Arduino Paper Television on: June 25, 2012, 08:20:19 am
very cool! any photos of the inside?
370  Using Arduino / Programming Questions / Re: Time lapse controller, swapping delays for timed functions on: June 13, 2012, 07:59:06 pm
Sorry I had the focusDelay to short to notice the while loop passing. It's working now and doing what I wanted, probably the entirely wrong way to do things but I'll continue to work on it!

Now it prints a countdown until the loop passes to the LCD which is what I was hoping to achieve

Code:
//Trigger focus
      unsigned long timer1 = millis();
      lcd.clear();
      digitalWrite(focusPin, HIGH);
     
      int countdown = 0;

      while (millis() - timer1 < focusDelay)
      {
        //hold focus button down and do nothing else for x seconds
        lcd.setCursor(0,1);
        lcd.print("test");
       
        countdown = focusDelay - (millis() - timer1);
        lcd.setCursor(1,0);
        lcd.print(countdown / 1000);
        lcd.print("s        ");
371  Using Arduino / Programming Questions / Re: Time lapse controller, swapping delays for timed functions on: June 13, 2012, 05:40:23 pm
cant get it to work smiley-sad It seems to enter the while loop, but does not execute its contents, and also does not exit the loop at all

what am I doing wrong here guys?

Code:
//Trigger focus
      unsigned long timer1 = millis();
      lcd.clear();
      digitalWrite(focusPin, HIGH);

      while (millis() - timer1 < focusDelay)
      {
        //hold focus button down and stay in this loop until focusDelay has been reached
        lcd.setCursor(0,1);
        lcd.print("test");
      }
      lcd.clear();
372  Using Arduino / Programming Questions / Re: Time lapse controller, swapping delays for timed functions on: June 13, 2012, 10:40:39 am
OK thanks for the advice.

Will this method work... I don't for a minute expect it to be the 'proper' way of doing it. I'm at work so won't be able to test anything until later this evening

I expect it will just stay in the while loop until the time has elapsed?

Thanks again

(the rest of the code is the same)

Code:
//Trigger focus
        timer1 = millis();
        digitalWrite(focusPin, HIGH);

      while (millis() - timer1 > focusDelay)
      {
        //hold focus button down and do nothing else for x seconds
      }

      
      //Trigger shutter
      timer1 = millis();
      digitalWrite(shutterPin, HIGH);
      digitalWrite(shutterLED, HIGH);
      
      while (millis() - timer1 > (expose * 1000))
      {
        // Hold open shutter for x seconds
      }
  

      digitalWrite(shutterPin, LOW);
      digitalWrite(shutterLED, LOW);
      digitalWrite(focusPin, LOW);
373  Using Arduino / Programming Questions / Re: Time lapse controller, swapping delays for timed functions on: June 13, 2012, 06:18:21 am
haha, well... Is there an intermediate option?  smiley-razz

I'd like to learn how to do it, but I'm new to programming as a whole and it has taken a long time to get the (mess) of code working that I have written.

I just cant picture how it could be structured, I was thinking you would set a variable to 0 then set to millis() and examine it each time through the loop, but the structure that I have currently got I don't think it could work?

thanks all
374  Using Arduino / Programming Questions / Time lapse controller, swapping delays for timed functions on: June 12, 2012, 07:11:08 pm
Hi all, I have been working on a time lapse controller for my DSLR for a couple of weeks. I have got it working OK and I have just added motor control for using a slider using a modded servo. The code is very messy and with lots of spaces here and there but I find it helps me navigate while I'm working on stuff.

I use delays for the intervals so obviously I am jamming up the processor which id rather not so I can do other things.

I have been pondering for the last couple of days over how to change the delays for timed functions but no success yet. I just cant think how it would be done, I need to toggle a pin, wait for time x, then toggle another pin, wait for time y, then turn toggle both pins at the same time, then toggle another pin high, wait for time z, then toggle it again - without re-writing a lot of my code

any help would be good smiley

edit.. code seems to big to post, although i didn't think it was that big!
http://shedbass.com/dtokez/Time_lapse_2_2.ino
375  Community / Exhibition / Gallery / Re: grovercam.com Interactive website on: June 12, 2012, 08:23:01 am
really well put togther project! well done, I'm hoping I get a chance to feed him soon smiley
Pages: 1 ... 23 24 [25] 26 27 ... 39