Show Posts
Pages: 1 ... 33 34 [35] 36 37 ... 70
511  Community / Website and Forum / Re: Forum Website Down on: February 17, 2013, 10:15:32 am
There is a problem with the search function, I get this:

An Error Has Occurred!
Unable to access the search deamon.
512  Using Arduino / Microcontrollers / Re: Arduino Uno ISP to ATtiny85 on: February 16, 2013, 05:05:58 pm
No it woulddn't damage the Arduino (I have done that often), but it might interfer with the programming.
That is why I usually use pin 3 or 4, as they are not used for programming.

Edit:
Possible problems:

http://arduino.cc/forum/index.php?topic=110492.0
513  Using Arduino / General Electronics / Re: ID this connector? on: February 16, 2013, 02:37:27 pm
Molex connector ?

http://www.molexkits.com/Molex-Connector-Family/
514  Using Arduino / Microcontrollers / Re: Arduino Uno ISP to ATtiny85 on: February 16, 2013, 01:58:43 pm
Quote
Does that also apply for the ATtiny85 and 2313?

I am not sure we are talking about the same thing.

The resitor and capacitor is needed for  ATtiny85 and 2313 or any other Attiny, or Atmega328 if you use them in a standalone project
515  Using Arduino / Programming Questions / Re: ATTiny84 and SerialSofware on: February 16, 2013, 12:16:50 pm
Are you sure you are using the right pin.
The sketch below will use pin D3/A7/PA7  physical pin 6 to output from Serial

Edit:
I use this core

http://code.google.com/p/arduino-tiny/

And Arduino 1.01

As far as I  remember there was problems with SoftwareSerial in version 1.00


Code:
#include <SoftwareSerial.h>

#define rxPin 2
#define txPin 3
SoftwareSerial mySerial(rxPin,txPin);
void setup() {
 mySerial.begin(9600);
}

void loop() {
  mySerial.println("Testing ");
  
}
516  Using Arduino / Microcontrollers / Re: Arduino Uno ISP to ATtiny85 on: February 16, 2013, 11:33:02 am
Quote
Does the reset pin need to be connected to 5v with a 10k resistor?

That would be a very good idea, if you don't do it you could see some strange things happen when your Attiny resets without any reason.
And a 100NF (0.1 uF) cap between 5V and ground
517  Using Arduino / Microcontrollers / Re: Arduino Uno ISP to ATtiny85 on: February 16, 2013, 11:09:33 am
Quote
Just to be clear when the sketch is running can I leave SCK,MOSI etc. plugged into the Arduino pins and the capacitor connected?

Yes, although I would connect the LED to pin 2 or 3, as they are not used for programming
518  Using Arduino / Microcontrollers / Re: Arduino Uno ISP to ATtiny85 on: February 16, 2013, 10:57:05 am
Quote
The Attiny has a 20mhz internal clock. Would that make a difference?

If you didn't do the "Burn bootloader" it is running at 1MHz.

Are you sure it isn't just blinking very slow? like 8sek on and 8sek off ?
519  Using Arduino / General Electronics / Re: 433mhz Receiver on: February 15, 2013, 09:51:31 am
It Looks like this one

http://detail.china.alibaba.com/offer/1126300215.html

But as you say there are so many different.
520  Using Arduino / General Electronics / Re: Button issue ATtiny84 on: February 14, 2013, 04:10:14 pm
Or maybe you have not used the right pin numbers

See this cheet sheet:

http://www.akafugu.jp/images/microcontroller-reference-sheet.png
521  Using Arduino / Microcontrollers / Re: Clock signal on a digital pin on: February 13, 2013, 12:13:54 pm
Quote
On an 8mHz Pro Mini

Sorry I missed that, was thinking  16mHz
522  Using Arduino / Microcontrollers / Re: Clock signal on a digital pin on: February 13, 2013, 11:47:32 am
Take a look at Nick Gammon's guide, for setting up a 8 Mhz timer on pin 9

http://www.gammon.com.au/forum/?id=11643
523  Using Arduino / Interfacing w/ Software on the Computer / Re: Interfacing techniques: Help!!! on: February 13, 2013, 07:52:23 am
Quote
Metaboard requires Atmega for simulating.
means in my board there will be one MCU for communication and other MCu which do the rest of the Application side processing...
means total 2 MCU on board!!!!!

 No you only need one, and the USBaspLoader instead of the "normal" bootloader.

Atleast that is how I understand it, I haven't actually tried it.
524  Using Arduino / Interfacing w/ Software on the Computer / Re: Interfacing techniques: Help!!! on: February 13, 2013, 04:56:14 am
Take a look at Metaboard and USBasploader:

https://metalab.at/wiki/Metaboard
525  International / Scandinavia / Re: Capacitive Sens on: February 11, 2013, 06:24:38 pm
Det er da virkelig også noget rod.

1. Biblioteket skal hedde Capsense, ligesom de filer der er i biblioteket CapSense.h og CapSense.cpp

2. I de to filer skal du udskifte
 #include "WProgram.h"
med
#include "Arduino.h"

3. Navneforvirringen i punkt 1, gør at navnene skal ændres i sketchen, se nedenfor.

Nu kan sketchen compiles, men om den virker efter hensigten ved jeg ikke

Code:
#include <CapSense.h>

/*
 * CapitiveSense Library Demo Sketch
 * Paul Badger 2008
 * Uses a high value resistor e.g. 10 megohm between send pin and receive pin
 * Resistor effects sensitivity, experiment with values, 50 kilohm - 50 megohm. Larger resistor values yield larger sensor values.
 * Receive pin is the sensor pin - try different amounts of foil/metal on this pin
 * Best results are obtained if sensor foil and wire is covered with an insulator such as paper or plastic sheet
 */


CapSense   cs_4_2 = CapSense(4,2);        // 10 megohm resistor between pins 4 & 2, pin 2 is sensor pin, add wire, foil
CapSense   cs_4_5 = CapSense(4,5);        // 10 megohm resistor between pins 4 & 6, pin 6 is sensor pin, add wire, foil
CapSense   cs_4_8 = CapSense(4,8);        // 10 megohm resistor between pins 4 & 8, pin 8 is sensor pin, add wire, foil

void setup()                   
{

   cs_4_2.set_CS_AutocaL_Millis(0xFFFFFFFF);     // turn off autocalibrate on channel 1 - just as an example
   Serial.begin(9600);

}

void loop()                   
{
    long start = millis();
    long total1 =  cs_4_2.capSense(30);
    long total2 =  cs_4_5.capSense(30);
    long total3 =  cs_4_8.capSense(30);

    Serial.print(millis() - start);        // check on performance in milliseconds
    Serial.print("\t");                    // tab character for debug windown spacing

    Serial.print(total1);                  // print sensor output 1
    Serial.print("\t");
    Serial.print(total2);                  // print sensor output 2
    Serial.print("\t");
    Serial.println(total3);                // print sensor output 3

    delay(10);                             // arbitrary delay to limit data to serial port
}



Pages: 1 ... 33 34 [35] 36 37 ... 70