Show Posts
Pages: [1] 2 3
1  International / Hardware / Re: [solucionado] arduino mega 2560 + Modulo SD LCstudio + enc28j60 (ethernet) on: July 18, 2014, 10:45:48 am
Olá EduRoman, conseguil fazer funcionar?
Estou com o mesmo problema.
Obrigado

Sérgio
2  Using Arduino / Networking, Protocols, and Devices / Re: SPI chip select for SD card, Ethernet and DS1307 RTC together on Mega 2560 R3 on: June 27, 2014, 11:59:08 pm
Please, I need help.

I am testing atmega1284p with enc28j60 and sdcard.

I can not connect the two.

Can anybody help-me?

Thanks
3  Using Arduino / General Electronics / Re: 2 modules in SPI on: June 27, 2014, 11:56:58 am
thanks Westfw.
already read several things but could not.
Have any examples of how to connect an ethernet ENC28J60 and sdcard?

Thanks a lot.
4  Using Arduino / General Electronics / 2 modules in SPI on: June 27, 2014, 12:06:36 am
Please
I'm using the atmega1284p.
I connected a network card ENC28J60 and sd card, but individually.
is there a way to connect the two together? knowing that we use the ISP connection.

Thanks

Sérgio
5  Using Arduino / Programming Questions / Re: atmega1284p with GSM/GPRS Efcom on: October 31, 2013, 03:38:17 pm
all ok, it was a problem in my connections.

thank you
6  Using Arduino / Programming Questions / Re: sudden change after hours - because of interrupt? on: October 31, 2013, 01:36:52 pm
please, I'm now starting to mess with ATMEGA1284P and I can not connect a shield gsm.
can you tell me how did you connect the doors tx rx?
Was softserial?
Can you show the code?

thank you
7  Using Arduino / Programming Questions / atmega1284p with GSM/GPRS Efcom [solved] on: October 31, 2013, 12:06:22 pm
hello guys,
please, I'm building a project with ATMEGA1284P.
Someone conseguil use a shildGSM 1284p by the softserial?

thank you

Sérgio
8  International / Portugues / Re: salvar numero extenso na eeprom on: October 08, 2013, 05:28:36 pm
Olá HuoPT, desculpe a demora em responder...

Sim, estou fazendo uma página para alterar o número, nela já tenho a configuração de IP funcionando.

Não entendi bem como utilizar o exemplo que passou, outra coisa...no numero telefonico temos 9 casas mais o DDD são 11 casas.
Da forma que passou só posso salvar 9 numeros certo? O DDD terá que ser separado.

Se puder me ajudar, agradeço.

Obrigado
9  Using Arduino / Programming Questions / write big number in eeprom on: September 25, 2013, 03:22:23 pm
Please, I have a phone number in a variable ex. 987654321
and accurate record on a eeprom

how well do to record a number that big?
10  International / Portugues / salvar numero extenso na eeprom on: September 25, 2013, 03:20:43 pm
por favor, vou ter um numero de telefone em uma variavel ex. 987654321
e preciso gravar em uma eeprom

como poço fazer para gravar um numero tão grande assim?

Obrigado
11  International / Portugues / Salvar ip na eeprom do arduino via web on: August 13, 2013, 01:08:02 pm
Olá pessoal, por favor,
encontrei esse post http://forum.arduino.cc/index.php/topic,55044.0.html onde o arduino tem uma página para configurar ip e etc.
Mas o programa só funciona com a network arduino shild com o processador w5100,
Estou tentando fazer algo que funcione com as placas enc28j60.

Alguém tem algo assim?

Não sou bom em programação...por isso é muito difíicil para mim.

Obrigado
12  Topics / Home Automation and Networked Objects / Re: Save IP Address EEPROM on: August 09, 2013, 02:07:25 pm
Please,
I'm starting to add page in my projects, and now face the problem of inserting ip web.
You conseguil?
Can you post the code?
thank you very much
13  Community / Exhibition / Gallery / Re: Arduino Webserver with Temperature Monitor / Control on: July 24, 2013, 04:09:10 pm
Hello all, congratulations for the project, share code and give attention to all the questions.

I'm from Brazil and I have a system that informs the lack of electricity SMS.

I connected one shild GPRS on a ATMEGA328 (standalone, I made a simple board), it connected two power sensors and temperature.

When power a generator should be fired and then he sends an SMS with this information.

I added a network card that I also have this information via the web.

Did you or anyone have time to help me with this?
Pessimo'm programming ...

Hugs to all.

Sergio
14  Using Arduino / Programming Questions / ds1302 // advancing on: May 01, 2013, 01:43:16 am
Please, I'm using a RTC module like this:
http://playground.arduino.cc/Main/DS1302 with dódigo example below (also tested with others)
But time is always a second more ...

eg

Tuesday 2009-05-19 21:16:37
Tuesday 2009-05-19 21:16:39
Tuesday 2009-05-19 21:16:41
Tuesday 2009-05-19 21:16:43
Tuesday 2009-05-19 21:16:45
Tuesday 2009-05-19 21:16:47
Tuesday 2009-05-19 21:16:49
Tuesday 2009-05-19 21:16:51

Can anyone help me? Jáviram this?

thank you

Code:

/*
Example sketch for interfacing with the DS1302 timekeeping chip.

Copyright (c) 2009, Matt Sparks
All rights reserved.

http://quadpoint.org/projects/arduino-ds1302
*/
#include <stdio.h>
#include <string.h>
#include <DS1302.h>

/* Set the appropriate digital I/O pin connections */
uint8_t CE_PIN   = 5;
uint8_t IO_PIN   = 6;
uint8_t SCLK_PIN = 7;

/* Create buffers */
char buf[50];
char day[10];

/* Create a DS1302 object */
DS1302 rtc(CE_PIN, IO_PIN, SCLK_PIN);


void print_time()
{
  /* Get the current time and date from the chip */
  Time t = rtc.time();

  /* Name the day of the week */
  memset(day, 0, sizeof(day));  /* clear day buffer */
  switch (t.day) {
    case 1:
      strcpy(day, "Sunday");
      break;
    case 2:
      strcpy(day, "Monday");
      break;
    case 3:
      strcpy(day, "Tuesday");
      break;
    case 4:
      strcpy(day, "Wednesday");
      break;
    case 5:
      strcpy(day, "Thursday");
      break;
    case 6:
      strcpy(day, "Friday");
      break;
    case 7:
      strcpy(day, "Saturday");
      break;
  }

  /* Format the time and date and insert into the temporary buffer */
  snprintf(buf, sizeof(buf), "%s %04d-%02d-%02d %02d:%02d:%02d",
           day,
           t.yr, t.mon, t.date,
           t.hr, t.min, t.sec);

  /* Print the formatted string to serial so we can see the time */
  Serial.println(buf);
}


void setup()
{
  Serial.begin(9600);

  /* Initialize a new chip by turning off write protection and clearing the
     clock halt flag. These methods needn't always be called. See the DS1302
     datasheet for details. */
  rtc.write_protect(false);
  rtc.halt(false);

  /* Make a new time object to set the date and time */
  /*   Tuesday, May 19, 2009 at 21:16:37.            */
  Time t(2009, 5, 19, 21, 16, 37, 3);

  /* Set the time and date on the chip */
  rtc.time(t);
}


/* Loop and print the time every second */
void loop()
{
  print_time();
  delay(1000);
}
15  Using Arduino / Programming Questions / can I use variables in function SendSMS? gsm-shield-arduino on: April 17, 2013, 02:31:46 pm
please, I'm learning how to use this (https://code.google.com/p/gsm-shield-arduino) wonderful library and also the arduino. can help me?

I would send an sms but the number and message as a variable so that I can form sentences with if and else and send to multiple numbers in a for

how to use the function gsm.SendSMS (999999999, "text");??

eg number = 999999999 text = test

gsm.SendSMS (number, text);

thank you very much

Sérgio
Pages: [1] 2 3