Username:

Password:

Altair AstroDIO DehumidifiersAtik CamerasModern AstronomyDavid HindsAPT

Author Topic: Generic Arduino / PIC Micro-Controller Projects  (Read 4681 times)

0 Members and 1 Guest are viewing this topic.

Offline tomhow

  • Tom How
  • Galactic Poster
  • ******
  • Posts: 3086
  • Making equipment is far more fun than buying it.
    • The Curdridge Observatory
Re: Generic Arduino / PIC Micro-Controller Projects
« Reply #15 on: 14:41:10, 06 June, 2013 »
You'd be surprised how quickly a program can grow - mine is compiling to about 22k at the moment - and i've nothing in there to deal with RTCs or GPSs or SDcards yet. Mind you, half that 22k comes from the ethernet library.

I'm not storing any data - I just send it straight to the internet, and if the internet isn't there, I'm discarding it - which is not ideal, I know, but one thing at a time :)

If I were you, I'd put the ethernet shield firmly on the shelf for now, and just get the Arduino reading the FGM and spitting the numbers out of the serial port for you to inspect - they'll change quite a bit if you wave an iron bar near the sensor.

Have you got yourself a DHT22 to mount next to the sensor?



Tak Sky 90, Atik 490, Homemade Mount, OAG, Lodestar

The Curdridge Observatory

Offline Nomis Elfactem

  • Administrator
  • Galactic Poster
  • *****
  • Posts: 12582
    • The View From A Room
Re: Generic Arduino / PIC Micro-Controller Projects
« Reply #16 on: 15:32:35, 06 June, 2013 »

Have you got yourself a DHT22 to mount next to the sensor?

Nope - wasn't going to worry about that for now... would prefer to get the Ethernet/SDCard up and running before that.... will order one when I order the Mega though  ;)
Simon

Scopes: Astro-Tech AT-111EDT Triplet, TS65ED Quad, Orion ST80, Modded PST-90 Solar Scope, PST Cak (on loan)
Cameras: SXVF H694, Atik 16ic, Canon EOS 600d, DMK41, DMK21, QHY 5L-II (mono & colour)
Accessories: SX USB Filter Wheel, SX OAG, Baader LRGB Ha SI OII Filters, SharpSky Focuser
Mount: EQ6 (EQMOD), SW Star Adventurer, plus a lot (and I mean a lot) of other bits and pieces

Online chris.bailey

  • Administrator
  • Galactic Poster
  • *****
  • Posts: 8807
    • Rosemount Observatory
Re: Generic Arduino / PIC Micro-Controller Projects
« Reply #17 on: 12:37:56, 21 June, 2013 »
For anyone interested I have just got hold of a couple of the XBee wireless units. Very simple to setup and they use the standard Arduino serial library so coding is pretty compact. Range is also good, they are the low MW units and still seem to work up to about 60m. Plan is to have one Arduino/Xbee with a couple of ultrasonic range finders mounted either side of the scope. When one sensese the edge of the dome slip it fires off a message to the second Arduino that drives the dome motor and nudges it round. Fingers crossed!
LX200|ZS70|FSQ85|FLT110|Altair DF250RC|EQ6 Pro(Rowan Belt Mod)|ParamountMX
ATIK383L+/EFW2/OAG|Lodestar|Baader 36mm LRGBHaSIIOIII
Starlight Express SXVRH16/ONAG/FW|Lodestar X2|Baader 2" Filters
Starlight Express SXVRH814/ONAG/FW|LodestarX2|Baader 2" Filters
Lunt LS60PTBF1200|DMK41|Quark Chromo

Offline tomhow

  • Tom How
  • Galactic Poster
  • ******
  • Posts: 3086
  • Making equipment is far more fun than buying it.
    • The Curdridge Observatory
Re: Generic Arduino / PIC Micro-Controller Projects
« Reply #18 on: 14:32:22, 21 June, 2013 »
That's a very creative approach to syncing the dome!


Is it going to keep up with a GOTO slew?
Tak Sky 90, Atik 490, Homemade Mount, OAG, Lodestar

The Curdridge Observatory

Offline Nomis Elfactem

  • Administrator
  • Galactic Poster
  • *****
  • Posts: 12582
    • The View From A Room
Re: Generic Arduino / PIC Micro-Controller Projects
« Reply #19 on: 17:22:00, 21 June, 2013 »
Yeap, that sounds like fun Chris... you should start another Project thread and show us how you get on !!

I have to say I'm hooked on Arduino now...
Simon

Scopes: Astro-Tech AT-111EDT Triplet, TS65ED Quad, Orion ST80, Modded PST-90 Solar Scope, PST Cak (on loan)
Cameras: SXVF H694, Atik 16ic, Canon EOS 600d, DMK41, DMK21, QHY 5L-II (mono & colour)
Accessories: SX USB Filter Wheel, SX OAG, Baader LRGB Ha SI OII Filters, SharpSky Focuser
Mount: EQ6 (EQMOD), SW Star Adventurer, plus a lot (and I mean a lot) of other bits and pieces

Online chris.bailey

  • Administrator
  • Galactic Poster
  • *****
  • Posts: 8807
    • Rosemount Observatory
Re: Generic Arduino / PIC Micro-Controller Projects
« Reply #20 on: 18:44:54, 21 June, 2013 »
Tom

To be honest I am not too worried about full dome sync though having set clockwise or anticlockwise trigger its easy enough to code it so the motor keeps going in that direction until it has a clear window again. Not too sure it will work at high elevations either! What I really want to be able to do is set a session running and just leave it to do its thing. The cheap SR04 ultrasonic sensors are pretty narrow beam width so I think it is a solution. For the moment the mesh capability of the XBee's means it would be pretty simple to add a third one for a hand controller or the like.

Simon

If it looks like it has legs I'll set up a specific project thread. Yes it is very addictive and very easy to get module fever.

Chris
LX200|ZS70|FSQ85|FLT110|Altair DF250RC|EQ6 Pro(Rowan Belt Mod)|ParamountMX
ATIK383L+/EFW2/OAG|Lodestar|Baader 36mm LRGBHaSIIOIII
Starlight Express SXVRH16/ONAG/FW|Lodestar X2|Baader 2" Filters
Starlight Express SXVRH814/ONAG/FW|LodestarX2|Baader 2" Filters
Lunt LS60PTBF1200|DMK41|Quark Chromo

Offline tomhow

  • Tom How
  • Galactic Poster
  • ******
  • Posts: 3086
  • Making equipment is far more fun than buying it.
    • The Curdridge Observatory
Re: Generic Arduino / PIC Micro-Controller Projects
« Reply #21 on: 21:54:04, 21 June, 2013 »
I confess to a spot of module fever myself tonight. Put together an ASCOM focuser.



If you crank up the volume you can just hear the motor whine.

Baader steeltrack NT focuser, belt drive from the 10x slow motion control to a 400 step stepper motor, Big Easy Stepper driver board and an Arduino Mega. It all just plugs together and works! :)

Tak Sky 90, Atik 490, Homemade Mount, OAG, Lodestar

The Curdridge Observatory

Offline tomhow

  • Tom How
  • Galactic Poster
  • ******
  • Posts: 3086
  • Making equipment is far more fun than buying it.
    • The Curdridge Observatory
Re: Generic Arduino / PIC Micro-Controller Projects
« Reply #22 on: 21:57:17, 21 June, 2013 »
Tom

To be honest I am not too worried about full dome sync though having set clockwise or anticlockwise trigger its easy enough to code it so the motor keeps going in that direction until it has a clear window again.
Chris

I've done a few dome rotations and pondered using some kind of light sensor but wouldn't have thought of ultra-sonics in a million years - inspired!

I know what you mean - half the battle is getting the shot all setup - then we want it to all tick over for a few hours. Real astrophotographers only do one slew a night :)

Tak Sky 90, Atik 490, Homemade Mount, OAG, Lodestar

The Curdridge Observatory

Online chris.bailey

  • Administrator
  • Galactic Poster
  • *****
  • Posts: 8807
    • Rosemount Observatory
Re: Generic Arduino / PIC Micro-Controller Projects
« Reply #23 on: 08:59:38, 22 June, 2013 »
Tom

Neat focuser! that stepper motor looks pretty meaty.

Well the ultrasonic sensors certainly detect the edge of the dome slit using the fairly simple logic of if measured distance < 1m then trigger an event. As the dome edge approaches the sensor there is a bit of noise in the measurements so a bit of averaging over a few seconds is needed. Hard to do real tests with everything breadboarded but it does seem to work well enough to develop a bit further.

Chris
LX200|ZS70|FSQ85|FLT110|Altair DF250RC|EQ6 Pro(Rowan Belt Mod)|ParamountMX
ATIK383L+/EFW2/OAG|Lodestar|Baader 36mm LRGBHaSIIOIII
Starlight Express SXVRH16/ONAG/FW|Lodestar X2|Baader 2" Filters
Starlight Express SXVRH814/ONAG/FW|LodestarX2|Baader 2" Filters
Lunt LS60PTBF1200|DMK41|Quark Chromo

Offline tomhow

  • Tom How
  • Galactic Poster
  • ******
  • Posts: 3086
  • Making equipment is far more fun than buying it.
    • The Curdridge Observatory
Re: Generic Arduino / PIC Micro-Controller Projects
« Reply #24 on: 09:47:01, 22 June, 2013 »
Neat focuser! that stepper motor looks pretty meaty.
Yes, totally overkill, but I just looked at the stepper motors I had kicking around and it called out to me :)

I'm running it at a fairly low current - along with the microstepping and acceleration it is pretty smooth.
Tak Sky 90, Atik 490, Homemade Mount, OAG, Lodestar

The Curdridge Observatory

 

ukbuysellUKAI on FacebookSharpSkyblankSponsorship Opportunity
Powered by SMF 2.0.13 | SMF © 2006, Simple Machines LLC
DarkBreak by DzinerStudio. Theme modified by The UKAI Team

Page created in 0.296 seconds with 31 queries.
TinyPortal © 2005-2012