Show Posts
Pages: 1 2 [3] 4 5 ... 22
31  General Category / General Discussion / Re: PCB diy on: February 03, 2011, 08:27:22 am


I do mine on the stainless steel sink in the kitchen.
Ceramic sinks would be just as resistant in case of spills.
I do my etching in sealed food containers to prevent spills.
You can leave the chemicals in the sealed container till you need them again.
Food grade plastics are proof against the etchants just make sure anything used is marked "not for food use".

Ive seen no staining or marking on the surfaces and as its on the drainer if anything does spill its easy to dilute and wash down the sink.

Gordon
32  Using Arduino / Sensors / Re: How to Interface Arduino with Zilog ePIR Motion Detector. on: February 03, 2011, 08:13:45 am


Im not sure what else you need.
I used the data sheet and read through the older posts and cobbled something together to work quite quickly.
This was before the library cindly contributed by DigitalJohnson was available.

1st step is to wire it up to a power supply and the arduino as per the data sheet and the library example.
I also connected the ldr to the epir board rather than the Arduino to save pins.

Have you successfully run the example with the library?

Gordon
33  Community / Website and Forum / Re: Nice to have fully functioning forum and minor suggestions on: February 02, 2011, 02:37:49 pm


Excellent, thanks

Gordon
34  Using Arduino / Sensors / Re: How to Interface Arduino with Zilog ePIR Motion Detector. on: February 01, 2011, 08:11:55 am

There has been some discussion about this device on the old forum.
http://www.google.com/search?hl=en&q=epir+site%3Aarduino.cc&aq=f&aqi=&aql=f&oq=

Theres even a library:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1283389900

Ive used one myself and they are quite easy to use.
As Si said you need it in the correct mode.

Gordon
35  Using Arduino / Project Guidance / Re: Accessing an arduino as a storage device on: February 01, 2011, 08:03:36 am

You wont be able to access it as a storage device but you could change your sketch to output the data via serial over the usb cable to be received and saved to a file by a program or serial terminal.

You should be able to find posts on this subject if you search the forum.
http://www.google.com/search?client=ubuntu&channel=fs&q=serial+data+to+file+site%3Aarduino.cc&ie=utf-8&oe=utf-8


Gordon
36  Using Arduino / Project Guidance / Re: Gas powered soldering irons?? on: January 31, 2011, 06:48:07 am

Id second that, save a bit more and buy a temp controlled solder station.
You will wonder how you managed before with a basic iron.
Soldering is so much easier with a constantly controlled temp at the tip.
I bought a cheapish one in a sale at Maplins for about £45.00 and its good enough to make a difference.

I use gas soldering irons only when working on my motorcycles or cars as the convenience of not needing a power supply outweighs the lack of control and generally the sort of soldering on vehicle electrics isnt as demanding of accuracy as electronic projects.
and thats a very good quality Blue Point one from the SnapOn tool van that used to come round when I worked on bikes. Its lasted me over 20 years.

Gordon
37  Using Arduino / General Electronics / Re: The right temperature for lead-free soldering? on: January 30, 2011, 06:57:55 am

As a newbie solderer I found the temp controlled iron was a big help with lead free solder.
I had a big reel of lead solder handed down from my wifes dad. No idea how old it was but its lasted me a long time and gave great results even with a cheap iron.

The difference I found is that the lead solder is more forgiving.
The lead free solder needs extra flux and everything immaculately clean.
I find rubbing the solder pads with the pcb rubbers/cleaners, even if they look clean, essential.

Gordon
38  Community / Website and Forum / Re: "remember me" doesn't work the way it should on: January 28, 2011, 02:16:57 pm

I was having a similar problems till I changed my bookmark to http://arduino.cc/forum/index.php
Then it worked.

Gordon
39  Community / Website and Forum / Nice to have fully functioning forum and minor suggestions on: January 26, 2011, 07:43:36 am

Well done on the migration it must have been hard work to get it this well finished in the time you had.
I logged in with no problem today.
I know a few of the functions of the old forum were broken and the new forum will give us those functions back

I like the static bar across the top to get to the playground and the rest of the site.
Thats a really nice feature.

Got to say though Im not too sure about the look and feel.
I use a netbook a lot and find the top of the page a bit wasteful theres a lot of white space as the login and search box could be a lot smaller and the text size is very large.

The + and - indicators are bit clunky and could be smaller.
and generally the text is too large across the board.

I couldnt see a way to tweak the text sizes within my profile.
Is there a way within the forum to change the text size as a personal preferences?

Again, well done.
Gordon
40  Forum 2005-2010 (read only) / Troubleshooting / Re: DS1307, conflict with interrupt Wire and OneWire ? on: March 10, 2010, 07:01:30 am

Im using loads of strings and getting away with it.
My project doesnt stall and has been running on and off for weeks at a time between me fiddling with it.
Im thinkinmg of doing the same as you regarding storing the tempo values. Just havnt got round to it.

The only difference I can think is that I dont use a library for the DS18B20.
But some code I found and used.

Code:
float getTemp(byte addr[8]){
  int HighByte, LowByte, TReading, SignBit, Whole, Fract,i;
  float temp;

  OneWireReset(TEMP_PIN);
  OneWireOutByte(TEMP_PIN, 0x55);
  for( i = 0; i < 8; i++) OneWireOutByte(TEMP_PIN,addr[i]);
  OneWireOutByte(TEMP_PIN, 0x44); // perform temperature conversion, strong pullup for one sec

  OneWireReset(TEMP_PIN);
  OneWireOutByte(TEMP_PIN, 0x55);
  for( i = 0; i < 8; i++) OneWireOutByte(TEMP_PIN,addr[i]);
  OneWireOutByte(TEMP_PIN, 0xbe);

  LowByte = OneWireInByte(TEMP_PIN);
  HighByte = OneWireInByte(TEMP_PIN);
  TReading = (HighByte << 8) + LowByte;
  SignBit = TReading & 0x8000;  // test most sig bit
  if (SignBit) // negative
  {
    TReading = (TReading ^ 0xffff) + 1; // 2's comp
  }
  temp = (6 * TReading) + TReading / 4;    // multiply by (100 * 0.0625) or 6.25
  temp /= 100;
  if (SignBit){ // negative
    temp *= -1;
  }

// one wire functions
void OneWireReset(int Pin) // reset.  Should improve to act as a presence pulse
{
  digitalWrite(Pin, LOW);
  pinMode(Pin, OUTPUT); // bring low for 500 us
  delayMicroseconds(500);
  pinMode(Pin, INPUT);
  delayMicroseconds(500);
}

void OneWireOutByte(int Pin, byte d) // output byte d (least sig bit first).
{
  byte n;

  for(n=8; n!=0; n--)
  {
    if ((d & 0x01) == 1)  // test least sig bit
    {
      digitalWrite(Pin, LOW);
      pinMode(Pin, OUTPUT);
      delayMicroseconds(5);
      pinMode(Pin, INPUT);
      delayMicroseconds(60);
    }
    else
    {
      digitalWrite(Pin, LOW);
      pinMode(Pin, OUTPUT);
      delayMicroseconds(60);
      pinMode(Pin, INPUT);
    }

    d=d>>1; // now the next bit is in the least sig bit position.
  }

}

byte OneWireInByte(int Pin) // read byte, least sig byte first
{
  byte d, n, b;

  for (n=0; n<8; n++)
  {
    digitalWrite(Pin, LOW);
    pinMode(Pin, OUTPUT);
    delayMicroseconds(5);
    pinMode(Pin, INPUT);
    delayMicroseconds(5);
    b = digitalRead(Pin);
    delayMicroseconds(50);
    d = (d >> 1) | (b<<7); // shift d to right and insert b in most sig bit position
  }
  return(d);
}

You could try slotting that in and removing the library and see if it makes any difference.
Might help tracking down the problem.

At some point I need to put in some error checking with the CRC as sometimes when I first turn it on I get some strange values. But a reset with the power connected sorts that out. Suggesting to me the sensors arnt quite ready.

Gordon
41  Forum 2005-2010 (read only) / Troubleshooting / Re: DS1307, conflict with interrupt Wire and OneWire ? on: March 09, 2010, 04:55:29 pm


Ive been playing with something similar on a 328p but also using a Wishield as well as the RTC, DS18B20 and a serial LCD. I also store 2 arrays of 24 floats for a days history from 2 temp sensors.
Everytime something stopped working it was caused by running out of memory because of the strings.
It wouldnt always cause a reset but sometimes it looked like the RTC couldnt be read.
Text for the webserver over wifi and the LCD was just too much until I put all the strings in PROGMEM.

Is it possible that this could be the case for you as well?

Gordon
42  Forum 2005-2010 (read only) / Troubleshooting / Re: Need help getting Arduino to send email on: February 26, 2009, 12:15:39 pm

Im with Virgin previously blueyonder here in the UK and they want authentication for pop and smtp.

Gordon
43  Forum 2005-2010 (read only) / Troubleshooting / Re: Need help getting Arduino to send email on: February 26, 2009, 06:39:10 am

Theres probably a return character at the end of a line of response "/n". I may have got the slash round the wrong way.

So something like Pseudocode:

while chr unequal  to "/n" {
 serial.print (chr)
}

Gordon
44  Forum 2005-2010 (read only) / Troubleshooting / Re: Need help getting Arduino to send email on: February 25, 2009, 04:00:13 pm

If you look at the client examples. You will see all they are doing is sending text to the remote server.
So they are effectively telnetting but on a different port.
You just need to change the port and emulate the text you are typing at the telnet prompt.
You will also need to check the responses as well.

Gordon
45  Forum 2005-2010 (read only) / Troubleshooting / Re: Need help getting Arduino to send email on: February 25, 2009, 07:31:42 am

As follower stated.

and here are some examples found by googling "telnet smtp example"


http://www.activexperts.com/activemail/telnet/

http://evolvedcode.net/content/doc_alttelnet/index_p5.asp

http://www.yuki-onna.co.uk/email/smtp.html

Gordon
Pages: 1 2 [3] 4 5 ... 22