Show Posts
Pages: [1] 2 3
1  Using Arduino / Motors, Mechanics, and Power / Power Driver Shield Kit on: October 25, 2013, 04:17:02 pm
HI
is there any precaution to have when use something like:

Solenoid valve like http://www.ceme.com/prodotti_2.php?id_liv=1&id_liv2=4&id_liv3=8&id_prod=47 
and this Heating Pad - 5x10cm  https://www.sparkfun.com/products/11288 ???

On Power Driver Shield Kit from sparkfun https://www.sparkfun.com/products/10618??

it seams it don´t flow properly.

I´ve solder one wire from VIN to 12v on shield to get the power from arduino adapter,  is it bad? 

Want to make build my egg incubator  smiley-mr-green

thanks for u reply, really don´t have any idea for this...

 smiley-twist


peace
2  Using Arduino / Programming Questions / Re: use EEPROM on: May 08, 2013, 08:28:05 am
HI PaulS

Have any tip for me?

TKS
3  Using Arduino / Programming Questions / Re: use EEPROM on: May 08, 2013, 05:56:13 am
Quote
yes is UNO,

Ill be happy with 1000 maximum...
The maximum on the UNO is 250.

Happy agin  smiley-razz
4  Using Arduino / Programming Questions / Re: use EEPROM on: May 08, 2013, 05:50:38 am
yes is UNO,

Ill be happy with 1000 maximum...

smiley tks
5  Using Arduino / Programming Questions / Re: use EEPROM on: May 08, 2013, 05:40:59 am
Hi Sir PaulS

tks for reply,

Quote
In my project, i need to write one time on EEPROM
Write what? The state of the switch or the time that the state changed?

the time switch had been taken...


this task may repeat for 5 hours.
Quote
How many times will the state change? That is the relevant piece of information, not the time that the sketch has run/has to run.

about aprox. 1000/1500, 3000 maximum!!

6  Using Arduino / Programming Questions / use EEPROM on: May 08, 2013, 05:32:29 am
hi All,

In my project, i need to write one time on EEPROM, and them always read from EEPROM.

got no code for now, but what i attend to try is... on first time i turn on arduino, he´s read when I get the push button from time to time to write .. this task may repeat for 5 hours.. like:
 _____                _____________   _    ____                            _______
|       |_________|                   |_||_|      |________________|          |...........
   on        off               on           on/off               off                 on       off......

and when turn on second/third time gome same scheme...

is better to get millis and when arrive to some time/push, make an flag or something like it?

Never used EEPROM, anyone know some exemple like it???

TKS in advance
7  Using Arduino / Programming Questions / Re: if whit DS18S20 on: March 22, 2013, 01:53:16 pm
Hi!!

I didn´t get the way to breack and chek if temperature had some increase from 1st value, this values ca change, so the need to get always the current ambient temp....


any help? What shoul i learn to understand?

TKS

8  Using Arduino / Programming Questions / Re: Interrupt timing issue on: March 02, 2013, 07:31:38 pm
check the good BlinkWithOutDelay
9  Using Arduino / Programming Questions / if whit DS18S20 on: February 22, 2013, 02:42:27 pm
Hi All

imagine I  got an DALLAS DS18S20 an every time I connect Arduino, i need to perform an action if tmp rises2 or 3 levels, and Arduino make it some thing..

How can i grab the TEMPC in array and them compare whit initial (on start up)?

Eg:
Code:
#include <OneWire.h>
#include <DallasTemperature.h>

// Data wire is plugged into port 2 on the Arduino
#define ONE_WIRE_BUS 2

// Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
OneWire oneWire(ONE_WIRE_BUS);

// Pass our oneWire reference to Dallas Temperature.
DallasTemperature sensors(&oneWire);

// arrays to hold device addresses
DeviceAddress insideThermometer, outsideThermometer;

// function that will be called when an alarm condition exists during DallasTemperatures::processAlarms();
void newAlarmHandler(uint8_t* deviceAddress)
{
  Serial.println("Alarm Handler Start");
  printAlarmInfo(deviceAddress);
  printTemp(deviceAddress);
  Serial.println();
  Serial.println("Alarm Handler Finish");
}

void printCurrentTemp(DeviceAddress deviceAddress)
{
  printAddress(deviceAddress);
  printTemp(deviceAddress);
  Serial.println();
}

void printAddress(DeviceAddress deviceAddress)
{
  Serial.print("Address: ");
  for (uint8_t i = 0; i < 8; i++)
  {
    if (deviceAddress[i] < 16) Serial.print("0");
    Serial.print(deviceAddress[i], HEX);
  }
  Serial.print(" ");
}

void printTemp(DeviceAddress deviceAddress)
{
  float tempC = sensors.getTempC(deviceAddress);
  if (tempC != DEVICE_DISCONNECTED)
  {
    Serial.print("Current Temp C: ");
    Serial.print(tempC);
  }
  else Serial.print("DEVICE DISCONNECTED");
  Serial.print(" ");
}

void printAlarmInfo(DeviceAddress deviceAddress)
{
  char temp;
  printAddress(deviceAddress);
  temp = sensors.getHighAlarmTemp(deviceAddress);
  Serial.print("High Alarm: ");
  Serial.print(temp, DEC);
  Serial.print("C");
  Serial.print(" Low Alarm: ");
  temp = sensors.getLowAlarmTemp(deviceAddress);
  Serial.print(temp, DEC);
  Serial.print("C");
  Serial.print(" ");
}

void setup(void)
{
  // start serial port
  Serial.begin(9600);
  Serial.println("Dallas Temperature IC Control Library Demo");

  // Start up the library
  sensors.begin();
 
  // locate devices on the bus
  Serial.print("Found ");
  Serial.print(sensors.getDeviceCount(), DEC);
  Serial.println(" devices.");

  // search for devices on the bus and assign based on an index
  if (!sensors.getAddress(insideThermometer, 0)) Serial.println("Unable to find address for Device 0");
  if (!sensors.getAddress(outsideThermometer, 1)) Serial.println("Unable to find address for Device 1");

  Serial.print("Device insideThermometer ");
  printAlarmInfo(insideThermometer);
  Serial.println();
 
  Serial.print("Device outsideThermometer ");
  printAlarmInfo(outsideThermometer);
  Serial.println();
 
  // set alarm ranges
  Serial.println("Setting alarm temps...");
  sensors.setHighAlarmTemp(insideThermometer, 26);
  sensors.setLowAlarmTemp(insideThermometer, 22);
  sensors.setHighAlarmTemp(outsideThermometer, 25);
  sensors.setLowAlarmTemp(outsideThermometer, 21);
 
  Serial.print("New insideThermometer ");
  printAlarmInfo(insideThermometer);
  Serial.println();
 
  Serial.print("New outsideThermometer ");
  printAlarmInfo(outsideThermometer);
  Serial.println();

  // attach alarm handler
  sensors.setAlarmHandler(&newAlarmHandler);

}

void loop(void)
{
  // ask the devices to measure the temperature
  sensors.requestTemperatures();
 
  // if an alarm condition exists as a result of the most recent
  // requestTemperatures() request, it exists until the next time
  // requestTemperatures() is called AND there isn't an alarm condition
  // on the device
  if (sensors.hasAlarm())
  {
    Serial.println("Oh noes!  There is at least one alarm on the bus.");
  }

  // call alarm handler function defined by sensors.setAlarmHandler
  // for each device reporting an alarm
  sensors.processAlarms();

  if (!sensors.hasAlarm())
  {
    // just print out the current temperature
    printCurrentTemp(insideThermometer);
    printCurrentTemp(outsideThermometer);
  }
 
  delay(1000);
}



in this case, just need that the alarm was, plus 1 or 2 or 3 or 10... from initial environment temperature smiley


Code:
  sensors.setHighAlarmTemp(insideThermometer, +1);
  sensors.setLowAlarmTemp(insideThermometer, +2);
  sensors.setHighAlarmTemp(outsideThermometer, +10);
  sensors.setLowAlarmTemp(outsideThermometer, -10);


many tks who reply me

10  Using Arduino / Interfacing w/ Software on the Computer / Re: usb oscilloscope mac on: January 29, 2013, 04:21:59 pm
HI PaulS

I was thinking to get much data, and store, and than compare..


Im new to electronics..


TKS
 
11  Using Arduino / General Electronics / Re: Issue With Voltage on: January 29, 2013, 04:14:34 pm
Hi oric_dan

Where is the Arduino located here? Under the grill? In the house?

Arduino is on grill smiley (not on top)

I got an arduino connected to this http://store.arduino.cc/eu/index.php?main_page=product_info&cPath=16&products_id=113, that will star http://www.grill-repair.com/images/parts/dcs212333.jpg and spark from 220V.. (arduino is on 12v)

So i think, shouldn´t that grill-part, have all anti static capabilities?

Many tks
kr

p.s. when i have arduino connected to laptop, always work...
12  Using Arduino / Interfacing w/ Software on the Computer / usb oscilloscope mac on: January 29, 2013, 01:07:54 pm
HI!!!

what is the best usb oscilloscope for mac that 200 300 euros can buy?

smiley

KR
13  Using Arduino / General Electronics / Re: Issue With Voltage on: January 29, 2013, 01:02:17 pm
A bit of a cryptic question there.

Quote
is there a way to protect from restart arduino
Yes but it is difficult and will need some working out as there is no one magic answer.

1) Keep all wiring as short as possible and keep it away from the high tension.
2) Apply transient suppression to all input / output lines you use.
http://www.thebox.myzen.co.uk/Tutorial/Protection.html
http://www.digikey.com/us/en/techzone/microcontroller/resources/articles/protecting-inputs-in-digital-electronics.html
3) Apply lots of decoupling to the power supply.
http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html
4) Have a series resistor in line with the spark circuit of about 1M


Thanks Grumpy_Mike

really smiley-wink will read caurfully
14  Using Arduino / General Electronics / Issue With Voltage on: January 29, 2013, 06:57:00 am
Hi all,

when i start my "case story.. smiley " when I load an relay to ignite an spark with some kind of http://bostonheatingsupply.com/images/products/detail/Laars_R2069300_NTHNTVignitorw.gasket285600btufront_53002.jpg  to this kind of equipment http://img.ehowcdn.com/article-new/ds-photo/getty/article/151/130/86506894_XS.jpg, if the spark toch outside the desired steel, it restart,

is there a way to protect from restart arduino ???

KR
 
15  Using Arduino / Sensors / Re: level control on: January 19, 2013, 02:37:09 pm
Hi Chagrin,

but DS is for temp.. what i need is for liquid/water... to detect when it as an certain level... with something like steel, :!

tks
Pages: [1] 2 3