Show Posts
Pages: [1] 2
1  Using Arduino / Sensors / Re: High Accuracy Magnetometer? on: January 04, 2013, 10:25:25 pm
My initial thought of using a magnetometer was poor one, the best way to calculate the altitude and azimuth is to do a calibration off a known star and then use it as a reference point then all I have to do is calculate the deg from that point to any other stellar body and if I use a servo motor rather than a stepper I wont have to recalibrate through the night.
2  Using Arduino / Sensors / High Accuracy Magnetometer? on: January 03, 2013, 09:41:32 am
I am looking for a high accuracy magnetometer to measure the altitude and azimuth of my telescope the problem is that I cant find anything more accurate than the HMC6352 and it only has an accuracy of .5°and to give you an idea the moon is only .5667° (34 arc minutes) so that really wont suite my purpose, there may be one that is better (MicroMag 3-Axis Magnetometer) but the datasheet It doesn't supply the degree heading resolution only that it has a "resolution as low as 0.015uT". So does anyone know of a magnetometer that is accurate to 1-0.5 arc minutes (0.00833°) and cost less than $50?
3  Development / Other Hardware Development / Re: Can you over/under supply Soldering Iron? on: March 21, 2012, 11:23:58 pm
thanks all for the advice
4  Development / Other Hardware Development / Re: Can you over/under supply Soldering Iron? on: March 21, 2012, 05:52:13 pm
Ok I found out that they are "220v 50/60HZ" irons and as I live in Australia land of the 240v they should be fine.... right? Its only 20v more and I have a dimer on the soldering iron anyway.
5  Development / Other Hardware Development / Can you over/under supply Soldering Iron? on: March 20, 2012, 03:27:06 am
I need to replace my exiting soldering iron heating core/element so I searched eBay and found several elements, however some http://goo.gl/hldqd don't mention what AC voltage or frequency they require but are significantly cheaper than the others that explicitly state they run at 240v 60Hz. So my question what would happen if I over supply it and will it work?
6  Using Arduino / Interfacing w/ Software on the Computer / Re: no errors PYserial but it wont work on: February 27, 2012, 08:10:01 am
So any hints on how to fix my sketch or is it really broken? As far as I can tell my sketch should be looking for a "numeric result", or am I missing something?
7  Using Arduino / Interfacing w/ Software on the Computer / Re: no errors PYserial but it wont work on: February 27, 2012, 12:49:40 am
Any ideas why it returns 2 when I send 10?
8  Using Arduino / Interfacing w/ Software on the Computer / Re: FreeNAS connecting tot Arduino Uno on: February 26, 2012, 08:20:07 pm
if it is not to much trouble and the PC in question has the system resources for it I would recommend using Debian server.
9  Using Arduino / Interfacing w/ Software on the Computer / no errors PYserial but it wont work on: February 26, 2012, 08:13:02 pm
I have been trying to send a serial data to my Arduino Uno but it wont work, I am using PYserial and there are no error messages but it dose not activate my sketch on the arduino what have I done wrong? Edit: Every time I execute ser.write('10') the rx light flashes.

Arduino code

Code:
int SerialValue = 0;
 
void setup(){
 
  pinMode(13, OUTPUT);
  Serial.begin(9600);
 
}

void loop(){
  SerialValue = Serial.read();
    if(SerialValue == 10)
    {
      digitalWrite(13, HIGH);
      delay(10000);
      digitalWrite(13, LOW);
      delay(1000);      
    }
}
Python input
Code:
foo@bar-PC ~ $ sudo python
[sudo] password for foo:
Python 2.7.2+ (default, Oct  4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import serial
>>> ser = serial.Serial('/dev/ttyACM0', 9600)
>>> ser.write('10')
2
10  Using Arduino / LEDs and Multiplexing / DIY Christmas lights elG-35 on: December 20, 2011, 07:27:51 pm
it is  a bit for this Christmas but after seeing many Christmas light displays I have Decided to make my own however all the good ones ie.G35 LED Christmas Lights cost a huge amount in Australia so I was wondering if it is possible to purchase the LEDs used in the G35, dos anyone know what I shold be looking for.
11  Forum 2005-2010 (read only) / Syntax & Programs / Re: More efficient loops on: January 15, 2011, 02:40:03 am
any ideas? At the moment my sketch is 1037 lines long
12  Forum 2005-2010 (read only) / Syntax & Programs / More efficient loops on: January 15, 2011, 02:04:25 am
I have a project where I want to loop a flash 400 times then carry on how would I do this?

here is the code so far;

Code:
int pin13 = 13;
int pin12 = 12;

void setup()
{
  pinMode(pin13, OUTPUT);
  pinMode(pin12, OUTPUT);
}

void loop()
{
  day(); eve(); night(); eve();
}

void night()
{
  digitalWrite(pin12, HIGH);
  delay(240000);
}
 
void day()
{
  digitalWrite(pin13, HIGH);
  delay(420000);
}

void eve()
{
  digitalWrite(pin13, HIGH);
  delay(112.5);
  digitalWrite(pin13, LOW);
  digitalWrite(pin12, HIGH);
  delay(112.5);
  digitalWrite(pin12, LOW);
  digitalWrite(pin13, HIGH);
  delay(112.5);
  digitalWrite(pin13, LOW);
  digitalWrite(pin12, HIGH);
  delay(112.5);
  digitalWrite(pin12, LOW);
  digitalWrite(pin13, HIGH);
  delay(112.5);

I want to loop the eve part
Code:
digitalWrite(pin13, HIGH);
  delay(112.5);
  digitalWrite(pin13, LOW);
  digitalWrite(pin12, HIGH);
  delay(112.5);
  digitalWrite(pin12, LOW);
I want to loop this 400 times rather than having it all written out 400 times like I have It currently
13  Forum 2005-2010 (read only) / Development / Re: Lighting my room with Arduino on: January 09, 2011, 08:05:15 pm
Is it possible to use a transistor to fade a bank of LED's or can it only change states from off to on ?
14  Forum 2005-2010 (read only) / Development / Re: Lighting my room with Arduino on: January 06, 2011, 06:18:34 pm
anyone ?
15  Forum 2005-2010 (read only) / Development / Lighting my room with Arduino on: January 06, 2011, 08:22:42 am
I am interested in lighting my room with 500 led light, It sounds like allot but I am doing a curtain style around the edge. Anyway I want to be able to dim, flash the lights and activate on movement. Any one have any links to similar projects for me to study. I was thinking of maybe going with a the version where you flash each set of lights so fast it looks like they are all on but that still dose not get me up to 500 so should I go with a dedicated Displayduino and LEDMatrix?
Pages: [1] 2