Recent Posts

Pages: [1] 2 3 ... 10
1
Every digital input can cause a pin change interrupt.
2
Project Guidance / Re: Arduino Mega + nrf24L01 do...
Last post by Robin2 - Today at 04:53 pm
Robin2, I took off the arduino usb host shield and it has started to work  >:( ... But I need that usb host shield for my logitech control too; so how can I use both of them at the same time now ? :o
I don't know the answer to that. I have never had a host shield and I don't know anything about it.

Maybe it also uses SPI for communication?

...R

PS. Don't post pictures of text - as you can see it is unreadable. Just copy and paste text and put it in code tags.
3
Software / Re: Chiarimenti su sprintf, sn...
Last post by docdoc - Today at 04:51 pm
Si hai ragione, ho scritto male, "*" non "&"... :)
4
Software / Re: acquisizione rx/tx da port...
Last post by gpb01 - Today at 04:50 pm
Puoi creare una seconda SoftwareSerial su altri due pin dove connettere un adattatore RS232 <-> TTL.

Ricorda solo che di SoftwareSerial in "ricezione" ce ne può essere solo una alla volta, in trasmissione non c'è problema. Potresti mettere in ricezione quella verso il RS232 e contemporaneamnete in trasmissione quella verso l'altro BT.

Guglielmo
5
Quote
Is it difficult or impossible to predict attitude values in the presence of acceleration
Yes, and the higher the acceleration, the more difficult the problem.
6
Deutsch / Re: Eingang schneller auslesen
Last post by uwefed - Today at 04:49 pm
Re möchte einen Draht im Ballon haben und mit dem anderen Draht mit Spitze das Gummi der Ballonhülle durchstechen und dadurch Kontakt zum Wasser und zur ersten Draht bekommen.
Grüße Uwe
7
General Electronics / rtc ds3231 problem [with fritz...
Last post by hyra17 - Today at 04:49 pm
Hi, I am beginner in arduino and I am  trying to do alarm clock using arduino. However I do not able to get rtc time. LCD is working fine as it display the print command in void setup(). My main reference for this program is here

I use i2c lcd like here which is not available in fritzing, so I just insert note where the wire is connected to lcd pin.

Fritzing diagram

Code: [Select]

#include <DS3231.h>

#include <Wire.h>



#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x3F ,2,1,0,4,5,6,7,3, POSITIVE);

DS3231  rtc(SDA, SCL);

Time  t;

#define buz 11

int Hor;

int Min;

int Sec;




void setup()



  Wire.begin();

  rtc.begin();

  Serial.begin(9600);

  pinMode(buz, OUTPUT);

  lcd.begin(16,2);     

  lcd.setCursor(0,0);

  lcd.print("DIYHacking.com");

  lcd.setCursor(0,1);

  lcd.print("Hisap gam ");

  // The following lines can be uncommented to set the date and time

  rtc.setDOW(WEDNESDAY);     // Set Day-of-Week to SUNDAY

  rtc.setTime(12, 0, 0);     // Set the time to 12:00:00 (24hr format)

  rtc.setDate(1, 1, 2014);   // Set the date to January 1st, 2014

 

  delay(2000);

}




void loop()

{

  t = rtc.getTime();

  Hor = t.hour;

  Min = t.min;

  Sec = t.sec;

  lcd.setCursor(0,0);

  lcd.print("Time: ");

  lcd.print(rtc.getTimeStr());

 lcd.setCursor(0,1);

 lcd.print("Date: ");

 lcd.print(rtc.getDateStr());




 if( Hor == 11 &&  (Min == 32 || Min == 33)) //Comparing the current time with the Alarm time

{

Buzzer();

Buzzer();

lcd.clear();

lcd.print("Alarm ON");

lcd.setCursor(0,1);

lcd.print("Alarming");

Buzzer();

Buzzer();

}

 delay(1000);

}




void Buzzer()

{

digitalWrite(buz,HIGH);

delay(500);

digitalWrite(buz, LOW);

delay(500);

}
8
Project Guidance / Re: wireless connection multip...
Last post by Robin2 - Today at 04:49 pm
If you are not already familiar with web programming and WiFi you may find it easier to use nRF24L01+ transceivers.

...R
Simple nRF24L01+ Tutorial
9
Bar Sport / Re: [OT ITA] Lo spamm bar
Last post by nid69ita - Today at 04:49 pm
Ho fatto una verifica al volo sul sito del produttore della Pixy, Charmed Labs LLC, il prodotto risulta attivo, è pure uscita da poco una versione specifica per il Lego Mindstorm.
Bella !!  LINK
10
The following codes (belong to LM35 under UNO and Vref = 1.1V0) show only the integer part of the ambient temperature. To see the fractional part, change the data type to float.

Code: [Select]
unsigned long temp = 100*(1.10/1024)*analogRead(A5);//ADCT;
Serial.println(temp, DEC);
Pages: [1] 2 3 ... 10