Show Posts
Pages: [1] 2 3 ... 17
1  Using Arduino / Project Guidance / Vintage style lamps/LEDs for Arduino project advice? on: June 14, 2014, 04:08:06 pm
I'm going for a vintage look with a project I've got in mind.

I want the LED lamps I intend to panel mount onto an oak board to look the part.

Any ideas on how to achieve this? I mean I suppose they needn't be LEDs, they could be actual tiny 240v filament lamps but I'm a bit loathe to go down that route because of how it would complicate my project.

Any tips?

I've tried searching for different LED bezels etc, to no avail.

Thanks!
2  Using Arduino / General Electronics / Re: Switching 12v with a SSR on: February 15, 2014, 02:58:15 pm
What is the advantage of NTP60N06L over FDP7030BL? THe latter is quite a bit cheaper and SEEMS to be suitable.
Either is suitable for your application.  Looks like the more expensive one is rated for 60V operation while the cheaper is rated for 30V.

Thank you. I thought that was the only difference but it is so reassuring to have it confirmed.
3  Using Arduino / General Electronics / Re: Switching 12v with a SSR on: February 15, 2014, 02:47:56 pm
switch the AC side of a AC to DC converter.
oops, sorry, my bad. Yes, I guess I could do that but it's a bit sort of messy to my mind in terms of "getting in between" the wall plug and the power supply.

So I'm back at  mosfets.

What is the advantage of NTP60N06L over FDP7030BL? THe latter is quite a bit cheaper and SEEMS to be suitable.

THANKS og takk!
4  Using Arduino / General Electronics / Re: Switching 12v with a SSR on: February 15, 2014, 08:06:18 am
A solid-state relay could be used to switch the AC for the 24V supply.

ah but it's DC... thanks though
5  Using Arduino / General Electronics / Re: Switching 12v with a SSR on: February 15, 2014, 05:41:11 am
Quote from: many lads
A mosfet

Thanks.  Would this one cut the mustard?
6  Using Arduino / General Electronics / Re: Component requires 24v on: February 14, 2014, 10:11:44 am
hmm. I'm looking to switch this device with a solid state relay because I am very keen on the ability to just drive the entire thing from an Arduino pin. But I've come up against a weird (to me) thing: the vast, vast majority of SSRs I can see to buy don't seem able to switch AC voltages lower than 24v? Why might that be? THANKS
7  Using Arduino / General Electronics / Re: Component requires 24v on: February 11, 2014, 03:07:12 pm
Um what component are you using and what is its current draw? The amount of current it needs will greatly affect the size. Also is it AC or DC???

The component is this, a 24v DC rotating light.

Its current draw is 400mA.

I have found some smaller wall warts so I guess I'll just grab one of those.

thanks all
8  Using Arduino / General Electronics / Switching 24v with a SSR on: February 11, 2014, 05:43:12 am
I've bought a component that runs on 24v.

I thought it would be easy to lay my hands on a wall wart that would output 24v which I could switch with a SSR but actually it's proving difficult. Yes transformers do seem to be available but they're big and bulky (think laptop style).

Would it be an idea to repurchase my component in a more common and readily available voltage, for example 12v? Or is there a third option I'm overlooking?

thanks! :-)
9  Using Arduino / Project Guidance / Illuminated rocker switches on: February 07, 2014, 06:25:01 pm
I'm looking to buy some rocker switches for my project. I'd quite like them to be the type that when switched on, illuminate.

So far all I've found are 12v DC switches.



Are these compatible with the 5v of the Arduino or is there an alternative?

Will I be able to get illuminated rocker switches to work with my project?

Thanks!
10  Using Arduino / Project Guidance / Two-way 'communicating' status panels on: January 29, 2014, 11:45:25 am
Hello,

I'm looking for some practical advice on a project I wish to undertake: namely, a pair of display and control panels.

Let's say that each display panel will have six LEDs and each control panel will have six switches which will control the LEDs on the opposing panel.

If this is sounding confusing, I'll explain the function.

One control/display panel will be at one end of a building and the opposing panel will be at the other side. The LEDs and switches are mirrored, but the switches on panel A control the LEDs on panel B.

So I'm looking for the following guidance:-

  • How many wires (or pairs of wires) I will need to run between the two locations to read from the switches and illuminate the LEDs
  • How best, of the various ways to wire a switch, should I wire my switches? I remember that one can use built in pull down/up resistor on the board to cut down on the need for physical resistors
  • Given that I want this to resemble an industrial control panel, is there a particular Google search term I could use to find a panel lamp that the Arduino can power?
  • Will I need to take voltage drop into consideration? There is about a 20m run between the two panels.

THANK YOU
11  Using Arduino / Programming Questions / Proof-reading code service on: August 14, 2013, 11:53:01 am
Is there a website or service you can send your code off to to be sanity checked, improved and condensed?

My code works - but it's bloated and I'm sure there are better ways of achieving the things it does.

I realise this forum is so useful for code snippets and examples and getting the thing working - but what I'm looking for is for someone to pore over my code. Of course, I am prepared to pay for this.

Thanks
12  Using Arduino / Motors, Mechanics, and Power / Re: Controlling servo without needing to use delay on: May 01, 2012, 09:57:45 am
You may need to revisit your mechanical setup for ringing a bell with a servo. Servos move slowly, which may require a mechanical setup different from what you have to be successful. 

The bell rings just fine - it's just this darned delay I want to eliminate. smiley-wink
13  Using Arduino / Motors, Mechanics, and Power / Re: Controlling servo without needing to use delay on: April 29, 2012, 01:35:49 pm
Quote
Any ideas?

Not really, as you talk of code that doesn't work for you without explaining what you are actually trying to do. If you are using "hobby" servos, I've never seen one containing worm gears. Having a servo strain against a spring might not be a good idea unless the spring is used as a counter balance for some type of a load. You should also describe what function a delay in your code serves.

Sorry.

If I don't include a delay after each instruction to the servo, the servo doesn't move. It doesn't seem to have time to complete the task required of it and the arduino seems to continue onin the loop and forget the command to the servo. If I include a delay the servo moves.

The delay after a command to move to Microseconds(2300) is manageable. It's the delay after Microseconds(600) that I'm keen to eliminate because this is encountered ALL the time in my sketch.

I had hoped to be able to use "detach" to return the servo to a default position given that the bell cord is lightly sprung.

Basically my  servo pulls a string which is attached to and thus rings a bell. It's important that for the bell to ring just once per request that the back and forth movement of the servo arm is conflated into one as far as the bell is concerned.

I can attach a YouTube video if this is still unclear.
14  Using Arduino / Motors, Mechanics, and Power / Re: Controlling servo without needing to use delay on: April 29, 2012, 09:34:27 am
Quote
(the servo arm is connected to a spring so the power of the (now) unresisted spring should enable a return).
Not a good idea. The servo normally goes through a worm gear and it is not a good idea to try and drive those backwards.
Oh? I thought it was possible to move a servo manually through its range of rotation (for example to test its limits)? Didn't realise it was damaging...
Quote
Any ideas?
Use the blink without delay method to write your program.
OK...was hoping to avoid that as it's going to be quite complicated for my sketch.
15  Using Arduino / Motors, Mechanics, and Power / Controlling servo without needing to use delay on: April 29, 2012, 06:51:19 am
This is an excerpt from my loop. I would prefer to have as few as possible uses of delay in my sketch. I would prefer to "detach" the servo to cause it to return to its original position (the servo arm is connected to a spring so the power of the (now) unresisted spring should enable a return). However, this doesn't seem to work.

Code:
if (bedroomVoltsRead < 100)
  {
    if (currentMillis-bedroomTriggeredTime > debounce) 
    {
      bedroomTriggeredTime = currentMillis;

      if (bedroomState == OFF)
      {
        bedroomState = ON;
        if (bedroomLEDState == OFF)
        {
          bedroomLEDState = ON;
          if(value3) 
          {
            BellControlServo.attach(6);
            BellControlServo.writeMicroseconds(2300);
            delay(200);              // wait for a bit
          }
          bedroomLEDTimeStamp1 = currentMillis;
          Serial.println();
        }
        else if (bedroomLEDState == ON)
        {

          bedroomLEDState = FLASH;
          if(value3) 
          {
            BellControlServo.attach(6);
            BellControlServo.writeMicroseconds(2300);
            delay(200);              // wait for a bit
          }
          bedroomLEDTimeStamp1 = currentMillis;
        }
      }
    }
    else
    {
      bedroomState = OFF;
      BellControlServo.attach(6);
      BellControlServo.writeMicroseconds(600);
      delay(200);              // wait for a bit
      BellControlServo.detach();
    }
  }
  if (bedroomLEDTimeStamp1 + LEDOnDuration < currentMillis)
  {
    bedroomLEDState = OFF;
  }
 

In particular I understand each time the arduino goes through the loop this bit is executed. So I have a delay of 1.2seconds every time the loop is executed even if nothing is happening because I have six of these in my loop. If something is happening the delay is potentially 7.2 seconds!

Code:
    else
    {
      bedroomState = OFF;
      BellControlServo.attach(6);
      BellControlServo.writeMicroseconds(600);
      delay(200);              // wait for a bit
      BellControlServo.detach();
    }

Any ideas?

Thanks!
Pages: [1] 2 3 ... 17