Show Posts
Pages: [1] 2 3 ... 146
1  Using Arduino / Storage / Re: arduino and excel on: Today at 10:35:59 am
Yes, I think I understand now!
I assume your intent is to generate sequences in the spreadsheet I have no idea how you would read direct from Excel into Arduino. The trouble is that Excel and terminal programmes are used for data aquisition, rather than distribution, but I would not be surprised if somebody has done the latter.

I imagine it would be a lot easier to generate the code first and then transfer it to Arduino. The simplest way to that is to use an SD card. You might be able to use a PC programme, like Processing, that reads the file and exports it to Arduino via serial.
2  Using Arduino / Sensors / Re: Temp Sensor and RTC issue Help Please on: Today at 09:49:04 am
I use the weatherproof package from eBay,  complete with plug. They are available with cable length up to 5m. These plug into a home-brewed sensor shield.

3  Using Arduino / Project Guidance / Re: Using intel Galileo for auto alarm clock on: July 27, 2014, 11:29:34 pm
I know this is overkill for an alarm clock

You are right about that, so you might also consider staying on this forum, using an Arduino for the alarm clock for a little while, and using the Galileo for something more creative.
4  Using Arduino / Interfacing w/ Software on the Computer / Re: Anything but -- question regarding on-line data visualization on: July 27, 2014, 11:24:49 pm
No comment on GSM or Yun, but I think Xively and Grovestreams do most of what you need and both are free. Data can be fed continuously, but you may have to generate your own statistics.
5  Using Arduino / Project Guidance / Re: RTC on: July 27, 2014, 07:43:42 pm

In my code i read the time from the RTC in setup, then i sync it to the arduino's time with the Time library. Every time its midnight, i sync it again for precision.
My question is whether this is the best way to use the RTC. I was thinking about reading it every second with a software interrupt and just use that as my time, instead of also using the Time library

This doesn't sound like a good idea at all, and it certainly depends on the RTC you are using and the accuracy you need, neither of which are mentioned. For starters you imply you are using two clocks, neither if which may be very accurate, but one is dependent on the other.

Most projects get by with one clock, so you might explain why you need this to be so complicated. If your needs are valid, you are probably still going about it the wrong way, and I bet you also have the wrong clock.
6  Using Arduino / Networking, Protocols, and Devices / Re: Real Time Clock Module Issues on: July 27, 2014, 07:11:17 pm
, the time that's printed to the serial monitor is 165/165/165 45:165:165.

I think that is a power problem. It is more commonly seen when displaying to LCD. Maybe the RTC is trying to charge its battery. It may be just a poor connection. If you are using USB power, it might be time to change to a wall wart.
7  Using Arduino / Sensors / Re: Multiple DS18B20 on a 10meter long Cat5, not discoverable.... HELP!!!! on: July 27, 2014, 06:49:19 pm
but it seems they had resistors in the metal casing.

I don't think there would be any pull-up resistor in the casing unless the supplier explicitly advised that.
8  Using Arduino / Sensors / Re: Temp Sensor and RTC issue Help Please on: July 27, 2014, 06:43:47 pm

1. I dont know why but the RTC dose not show the real time , each time i diconnect it from the power and connect it again it goes on from the last time ...instaed of getting the real time .

    setTime(compileTime());    //set the system time to the sketch compile time
    RTC.set(now());            //set the RTC from the system time

Possibly the above. Try this
9  Using Arduino / Networking, Protocols, and Devices / Re: "Tiny RTC I2C Module" issue on: July 26, 2014, 11:51:56 pm
It could be user abuse. I have a few and, while not that accurate, they all work fine. The 3231 is more accurate and hardly any more expensive these days, but the latter may mean it is no more reliable. The one I have is notably more cumbersome, which is something you might need to bare in mind.
10  Using Arduino / Networking, Protocols, and Devices / Re: Real Time Clock Module Issues on: July 26, 2014, 10:17:33 pm
author=rossmon link=topic=257374.msg1819594#msg1819594 date=1406422645]

I am having trouble with my Tiny RTC module.
#include <Arduino.h>

If nothing else, I suspect the code is dated. Try this article
11  Using Arduino / Sensors / Re: Multiple DS18B20 on a 10meter long Cat5, not discoverable.... HELP!!!! on: July 26, 2014, 07:35:52 pm

Lowered the resistor from 4k7 to 3k3.
I've got 4 different sensors, none is working "remote", but very well close to the board.
I'm powering the unit through the USB-cable.
if I move them directly close to the board it detects 2 or more addresses.

I use the code below to just locate and display the devices.

Your report is confusing but at least you clearly understand what the code is for and, if it works at all, you can assume there is nothing wrong with it.
I believe people go down to 2.2k for pullup, and there is surely discussion hereabouts to that effect.
Your power supply could be marginal - even with short wiring. It is never a good idea to power a project from the USB  cable, and now might be a good time to use a proper 9v wall wart. I never thought i would hear myself say this but, just to prove the point, even a 9v battery might suffice.

12  Using Arduino / Programming Questions / Re: How accurate is this? Thermometer with arduino uno on: July 26, 2014, 02:37:30 am
I'm a DS18B20 user, so I can't comment. If it is reading something close to what you expect it is probably OK. When I said rough I just meant some minor procedural issue giving false readings at the start.
13  Using Arduino / Project Guidance / Re: help with one wire temperature sensor LED project on: July 26, 2014, 12:01:48 am
I think it's just a case of improper allocation of variables

This compiles OK, and may be closer to what you want.

#include <OneWire.h>
#include <DallasTemperature.h>

// 1 wire data pin 3
#define ONE_WIRE_BUS 3

OneWire oneWire(ONE_WIRE_BUS);

DallasTemperature sensors(&oneWire);

DeviceAddress Thermistor1 = { 0x28, 0x6A, 0x15, 0x41, 0x05, 0x00, 0x00, 0xE6 };
DeviceAddress Thermistor2 = { 0x28, 0xD0, 0xB1, 0x40, 0x05, 0x00, 0x00, 0x8D };
DeviceAddress Thermistor3 = { 0x28, 0xF2, 0x96, 0x40, 0x05, 0x00, 0x00, 0xFC };
DeviceAddress Thermistor4 = { 0x28, 0x37, 0xB6, 0x40, 0x05, 0x00, 0x00, 0x70 };
DeviceAddress Thermistor5 = { 0x28, 0x8A, 0x1E, 0x41, 0x05, 0x00, 0x00, 0xBF };

int R = 2;

int G = 3;

int B = 4;

int T1, T2, T3, T4, T5;

void setup(void)
 // Start serial port
 // Start the library
 // Sets the resolution to 12 bit
 sensors.setResolution(Thermistor1, 12);
 sensors.setResolution(Thermistor2, 12);
 sensors.setResolution(Thermistor3, 12);
 sensors.setResolution(Thermistor4, 12);
 sensors.setResolution(Thermistor5, 12);

void printTemperature(DeviceAddress deviceAddress)
  float tempC = sensors.getTempC(deviceAddress);
  if (tempC == -127.00)
   Serial.print("Error getting temperature"); 
   Serial.print("F: ");
 pinMode(R, OUTPUT);
 pinMode(G, OUTPUT);
 pinMode(B, OUTPUT);

void loop(void)
 Serial.print("Getting temperature...\n\r");

 Serial.print("Thermistor 1 temperature is: ");
 Serial.print("Thermistor 2 temperature is: ");
 Serial.print("Thermistor 3 temperature is: ");
 Serial.print("Thermistor 4 temperature is: ");
 Serial.print("Thermistor 5 temperature is: ");
 if (T1 > 78)
  digitalWrite(R, HIGH);
  digitalWrite(R, LOW);
 if (T1 == 78)
  digitalWrite(G, HIGH);
  digitalWrite(G, LOW);
 if (T1 < 78)
  digitalWrite(B, HIGH);
  digitalWrite(B, LOW);

The resolution commands are redundant
14  Using Arduino / Programming Questions / Re: How accurate is this? Thermometer with arduino uno on: July 25, 2014, 07:49:04 pm

I'm using a TMP36. It came in a kit I bought some time ago.

OK, the same applies and you can still check it if you need to. Maybe the code is a little bit rough, but the TMP36 itself is popular and reputable. 
15  Using Arduino / Storage / Re: arduino and excel on: July 25, 2014, 09:17:55 am
I think he wants to go the other way meaning export data from an excel sheet to the arduino.

Pages: [1] 2 3 ... 146