Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 21
61  Using Arduino / Programming Questions / Re: Interrupt not working on Leo on: December 25, 2013, 05:15:17 am
I am using 1.0.1 so that might be where my problem is I will have a go with 1.0.5
62  Using Arduino / Programming Questions / Interrupt not working on Leo on: December 24, 2013, 10:15:09 am
hi there
I can not seem to get the Interrupt on pin 7 on the leo to work,I have this as a test code and it seems to work fine on pin 2 and 3, any ideas?

Quote
const byte LED = 13;
const byte BUTTON = 7;

// Interrupt Service Routine (ISR)
void pinChange ()
{
    if (digitalRead (BUTTON) == HIGH)
      digitalWrite (LED, HIGH);
    else
      digitalWrite (LED, LOW);
}  // end of pinChange

void setup ()
{
    pinMode (LED, OUTPUT);  // so we can update the LED
    pinMode (BUTTON, INPUT);
   digitalWrite(BUTTON, HIGH); // turns the pullup on
   attachInterrupt (4, pinChange, CHANGE);  // attach interrupt handler
}  // end of setup

void loop ()
{
    // loop doing nothing
}

63  Using Arduino / General Electronics / Re: AT mega 2560 question on: November 17, 2013, 05:11:52 pm
Ok thanks for that
Whilst I'm on here, the AREF pin what should I be doing with it? Should I be pooling it down thow a ceramic capacitor 0.1 uf?

Thanks Joe
64  Using Arduino / General Electronics / Re: AT mega 2560 question on: November 17, 2013, 03:31:47 pm
O ok could you recommend anything that is through hole that is compatible with the ATmega2560?
65  Using Arduino / General Electronics / AT mega 2560 question on: November 17, 2013, 09:20:58 am
Hi there
I'm using a ATmega2560 in one of my project and I was wondering if this crystal would work? It also has the to capacitance built in
uk.rs-online.com/web/p/ceramic-resonators/7214887/
66  Using Arduino / General Electronics / Re: BATTERY charger circuit on: October 24, 2013, 05:08:23 pm
No that's that is what the load is going to be on the out put lines as shown on pick I put up, so this is not charging load
67  Using Arduino / General Electronics / Re: BATTERY charger circuit on: October 24, 2013, 04:54:40 pm
Ok cool thanks for that will Baer that in mind
Still still have not decided how we are going to connect this as I can not connect me load through lm717 as it's max load is like 1a and I'm going to be puting 3-6 amps through  it?
68  Using Arduino / General Electronics / Re: BATTERY charger circuit on: October 24, 2013, 03:54:26 pm
I under stand about the transformer I was going to is a 24v but I'm getting out 35v so I'm going to be tring a 18v to see what I get out.
But if I connect my load over to batters when I am pulling 3-6a I don't think the lm317 will take it lol
69  Using Arduino / General Electronics / Re: BATTERY charger circuit on: October 24, 2013, 02:15:59 pm



so the black bit's I have put on is where I would pick up from for my out going?
70  Using Arduino / General Electronics / Re: BATTERY charger circuit on: October 24, 2013, 02:00:25 pm
ok so when I am pulling 3-6A from the battery's, R2 will be fine with that?
71  Using Arduino / General Electronics / Re: BATTERY charger circuit on: October 24, 2013, 01:32:00 pm
yes but when we are in mains failure we will be discharging from the battery's , there is a Diode on the + line to stop feed back that is fine, but my neutral will have to go back through R2. do you see what I am saying?
72  Using Arduino / General Electronics / Re: BATTERY charger circuit on: October 24, 2013, 11:50:08 am
thanks for your replies
I had come across this and think it will suit what I'm doing
http://www.circuitstoday.com/wp-content/uploads/2010/02/24V-lead-acid-battery-charger-circuit.png
the only issue I can see with this is R2 ( the currant limiting resister) when mains failure occurs the neutral path will be back through R2, so I was thinking of putting it just after the lm317 would this be ok to do this?

thanks Joe
73  Using Arduino / General Electronics / BATTERY charger circuit on: October 23, 2013, 02:08:56 pm
hi there I have to of this battery's
http://uk.farnell.com/yuasa/np7-12/battery-lead-acid-12v-7ah/dp/151308
they are linked in series to give 24v out this are used for back up use only , what I wont to do is make a charging circuit, does any one have any suggestions on a good and simple way to do this?

thanks Joe
74  Using Arduino / Programming Questions / Re: servo (knob) on: April 17, 2013, 02:46:22 pm
I find if you don't on this form people get upset
75  Using Arduino / Programming Questions / Re: servo (knob) on: April 17, 2013, 12:37:05 pm
ok how the hell do I do that lol
Pages: 1 ... 3 4 [5] 6 7 ... 21