Jump to content

Stargazers Lounge Uses Cookies

Like most websites, SGL uses cookies in order to deliver a secure, personalised service, to provide social media functions and to analyse our traffic. Continued use of SGL indicates your acceptance of our cookie policy.

Search the Community

Showing results for tags 'sky quality meter'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome
    • Welcome
  • Beginners
    • Getting Started General Help and Advice
    • Getting Started Equipment Help and Advice
    • Getting Started With Observing
    • Getting Started With Imaging
  • Community
    • Official SGL Announcements and Events
    • StarGaZine
    • SGL Challenges and Competitions
    • SGL Star Parties
    • Star Parties & Astro Events
    • Celestial Events Heads Up
    • The Astro Lounge
  • Retailers
    • Sponsor Announcements and Offers
    • FLO Clearance Offers
    • IKI Observatory
    • Supplier Reviews
  • Astro Classifieds
    • For Sale / Swap
    • Wanted
  • Equipment
  • Observing
  • EEVA (Electronically Enhanced Visual Astronomy)
  • Imaging
  • Science
  • WADAS's WADAS Discussion Forum
  • Beaufort Club's Topics
  • Swindon Stargazers Club's Topics
  • East Midlands Stargazers''s Topics
  • Central Scotland Astro's Topics
  • SGL Cumbrian Skies's Topics
  • Herts, Beds and Bucks Group's Topics
  • SGL East Anglian Group's Topics
  • South Leicester Observers's Topics
  • South Wales Group's Topics
  • SGL Surrey Observers's Topics
  • South Yorkshire Stargazers's Topics
  • Yorkshire Astronomers's Topics
  • Devon and Cornwall's Topics
  • West Midlands's Topics
  • Essex Cloud Dodgers's Topics
  • Essex Cloud Dodgers's New equipment
  • NLO and Planetarium's Topics
  • Astronomical Society of Edinburgh's Discussion
  • Dorset Stargazers's Topics
  • Hairy Stars Club (Comets)'s Tutorials and Guides
  • Hairy Stars Club (Comets)'s General Discussion
  • Hairy Stars Club (Comets)'s Observing Campaigns
  • Hairy Stars Club (Comets)'s Analysis results
  • Hairy Stars Club (Comets)'s Useful Links
  • Pixinsight Users Club's Pixinsight Discussion Forum


  • Astro TV
  • Celestial Events
  • SGL Calendar
  • Astro Society Events
  • Star Parties
  • WADAS's Events
  • Beaufort Club's Events
  • Astronomical Society of Edinburgh's Events
  • Dorset Stargazers's Events


There are no results to display.

There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 1 result

  1. So, finally my DIY arduino SQM is finalized, it is not calibrated yet, but hang in there, i will do so in the near future... But first i want to point out that i didn't want any scientific grade SQM but just a simple tool that i can use to compare different photo-sites around my home-town here in Sweden Feel free to Use it as you want to, if you wan't to calibrate it, change the value at: const float A = 22.0; More pictures and code are available at SGL's Yahoo-site. The parts needed for this is: Arduino approx. 30USD Light to freq-sensor: TSL237 - electrical component shop 5 USD 0.1-0.01uF capacitator 20 degree lens - ebay 1USD UV/IR-cut filter between the lens and the sensor - ebay 1 USD Some kind of housing and cables/connectors The lens is mounted to a plastic cover with superglue, the UV/IR filter is mounted underneath it and underneath that, the sensor. The sensor has three connectors, one gnd, one vdd and one signal, so it quiet simple to connect, you should use a capacitator to stabilize the +5v. Here is a video of it how it works (not the best quality i'm afraid. And here is the code: The libraries you need is at the top of the code. // Author: Daniel Sundström and Ola Karlsson, Arvika, Sweden #include <FreqMeasure.h> #include <Math.h> #include <LiquidCrystal.h> float Msqm; const float A = 22.0; int buttonSQM = A2; int val = 0; int reading = 0; int percentage = 0; LiquidCrystal lcd (12, 11, 10, 9, 7, 6); void setup() { pinMode(buttonSQM, INPUT_PULLUP); digitalWrite(buttonSQM, HIGH); lcd.begin(16,2); Serial.begin(19200); } double sum=0; int count=0; void loop() { val = digitalRead(buttonSQM); if (val == LOW) { reading = 1; lcd.clear(); FreqMeasure.begin(); while(reading) { if (FreqMeasure.available()) { // average several reading together sum = sum + FreqMeasure.read(); count +=1; percentage = count/31.0*100.0; lcd.setCursor(0,0); lcd.print("Reading"); lcd.setCursor(8,0); lcd.print(percentage); lcd.setCursor(11,0); lcd.print("%"); if (count > 30) { double frequency = F_CPU / (sum / count); sum = 0; count = 0; Msqm = A - 2.5*log10(frequency); //Frequency to magnitudes/arcSecond2 formula lcd.clear(); lcd.setCursor(0,0); lcd.println("Mag/As2: "); lcd.setCursor(9,0); lcd.print(Msqm); delay(5000); lcd.clear(); reading = 0; FreqMeasure.end(); } } } } }
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.