and an engineering student made a digital one ( http://www.popsci.com/diy/article/2012- ... ars-rovers )..............................
I had hoped to stay under the pricing and complicated programming/workmanship they had to input ($50-$400 price points).
The difference in time between seconds on Mars and Earth is (Earth 1.0274912510416665 second = Mars 1 second) so my idea was to simplify the code and make the watches extremely low cost and easy to reproduce. I thought since you can write a delay based on milliseconds you might be able to write a digit 000,000(plus one) at a delay rate of 1027-1028 until you reach 243,935 at which point the program would return to start at 000,000. and start again adding 1 digit every 1027 milliseconds.
This is the first piece of code I'm messing with (terribly inefficient)
Code: Select all
void setup()
{
Serial.begin(9600);
Serial.println(.01);
delay(1027);
Serial.println(.02);
delay(1027);
Serial.println(.03);
delay(1027);
Serial.println(.04);
}
void loop()
{
}
I'm no programmer so there may be a lot I'm missing but this seemed to me to be the simplest cheapest way to make a reasonably accurate watch for everyday use. I would compare these to a cheap watch you might get at Walmart for under $10, obviously it's not going to be a Roh Lex (banned word apparently) and at times you'll have to reset it if it gets off a few minutes, but I think it's a promising start. I welcome (and ask for) ANY response positive or negative on this. I'm open to suggestions and criticism. Thanks!