Show Posts
Pages: 1 2 3 [4] 5 6
46  Products / Arduino Due / Re: Due and Built in RTC? Anyone Know About clock() ? on: January 19, 2013, 12:49:26 am
Hi, I was looking for making the due RTC work too, so I tried to do it with some register manipulation but the IDE tells me that the registers are not declared... Since I'm not very good, If someone could take a look at my code I could be nice.
Code:
void setup()
{
  Serial.begin(9600);
  if(RTC_WPMR==B01010010010101000100001100000001) bitSet(RTC_WPMR,0);// dissable Write protection
  bitSet(RTC_CR,0);  // request time and date update
  while(bitRead(RTC_SR,0)!=1)  //wait for acknowledge for update
  {}
  bitSet(RTC_SCCR,0);
  RTC_MR=0; //Set hour mode to 24h
  RTC_TIMR=B00000000001000110011000000110000;// set time: 23:30:30
  bitClear(RTC_CR,0);//exit programing mode
  delay(5000);
}
void loop()
{
  rtcToTime(RTC_TIMR);
  delay(10000);
}
void rtcToTime(int rtcTime)
{
  int h=rtcTime>>16;
  int m=(rtcTime>>8)&B000000000000000001111111;
  int s=rtcTime&B00000000000000000000000001111111;
  Serial.print(h);Serial.print(':');Serial.print(m);Serial.print(':');Serial.println(s);
}
Thanks smiley
47  Using Arduino / Project Guidance / Re: Faking gibson DarkFire on: January 07, 2013, 09:25:51 am
@johnwasser

When I looked for piezo sensors, most of the results were piezos used as buzzers. Can they be used as sensor as well or is it something else I should look for?
48  Using Arduino / Project Guidance / Re: Faking gibson DarkFire on: January 07, 2013, 09:04:10 am
Well i guess for the programming part, the simplest thing to do is look for a c++ tutorial or book and start learning...
49  Using Arduino / Project Guidance / Re: Faking gibson DarkFire on: January 06, 2013, 09:46:16 pm
Ok thanks a lot, i'll try that smiley
50  Using Arduino / Project Guidance / Faking gibson DarkFire on: January 06, 2013, 11:01:45 am
Hi everyone, I was looking to imitate the Gibson DarkFire tune up system
video: )
My problem is about sensing the frequency the strings make. Does anyone know how i could do that without a really expensive sensor?
Thanks

(sorry for my English if it is bad...)
51  Products / Arduino Due / Re: Can't find Due driver on: January 02, 2013, 09:56:16 am
Once you finish installing the driver, take a look at this, it may help you if you have any trouble:
http://arduino.cc/forum/index.php?PHPSESSID=80a31ce698e0911b7f4966a032853c18&topic=129869.msg976803#msg976803
52  Using Arduino / Networking, Protocols, and Devices / Serial communication distance. on: January 01, 2013, 09:22:39 am
Hi, I just wanted to know what is the maximum distance between two arduinos so the serial communication still works well.
(the environment is a house with all the normal electronic devices (TV, laptop, WiFi, etc...).
Thanks smiley
53  Products / Arduino Due / Re: Native USB drover problem on: December 28, 2012, 04:37:51 pm
Actually I think I modified the due.inf file in a wrong way because after I replaced it with the non modified file it worked without problem.
54  Products / Arduino Due / Re: Native USB *driver problem on: December 28, 2012, 04:20:56 pm
I know, i've tried all this but it didn't worked. Now when i try to install the driver, my computer doesn't see it in the driver folder...
55  Using Arduino / Networking, Protocols, and Devices / Re: XBee antenna on: December 28, 2012, 03:40:21 pm
Ok thanks a lot. smiley
56  Products / Arduino Due / Native USB drover problem on: December 28, 2012, 03:15:01 pm
Hi, I got my due today, and successfully installed the programming USB driver, but i couldn't install the native USB driver. Can someone help me please?
57  Using Arduino / Networking, Protocols, and Devices / XBee antenna on: December 28, 2012, 10:39:37 am
Hi, I wanted to buy a couple of XBees radios, and I saw that it is possible to buy it with an integrated antenna, a connector for an external antenna or with a wire antenna. I see what the connector version is for, but I don't know what is the difference between the two other versions. If anyone knows what the difference is it would be nice to help me. smiley
58  Using Arduino / Project Guidance / Re: working temperature of the uno on: December 20, 2012, 02:42:22 pm
Ok thanks a lot. smiley
59  Using Arduino / Project Guidance / working temperature of the uno on: December 20, 2012, 01:47:02 pm
Hi! I would like to know what are the limits of temperature at which the uno can work.
(Sorry for my english, i know it's bad...)
60  Using Arduino / Programming Questions / Re: Advanced programing on: November 25, 2012, 12:01:23 pm
Maybe you're right, I think I'll try to fully understand how the arduino code works and the I'll try manipulating registers and so.
Thanks for the advice.
Pages: 1 2 3 [4] 5 6