LED's?

Post Reply
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: LED's?

Post by rimai »

Well, my first attempt was a failure. :(
Let me investigate what went wrong.
Roberto.
wolfador
Posts: 241
Joined: Sun Sep 04, 2011 9:59 am
Location: Pittsburgh, PA

Re: LED's?

Post by wolfador »

rimai wrote:Well, my first attempt was a failure. :(
Let me investigate what went wrong.

oh no :( :D
John
ReefAngel and ReefAngel-HD developer
If the RA iOS app has helped please consider a donation
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: LED's?

Post by rimai »

Ok, so I had some time to go reasearch on why my 1st attempt was not successful and I realized that I missed an interesting point.
On my haste and excitement that they were using serial communication, I forgot to measure the voltage they are using.
According to the data I sniffed from their controller, they are using a very odd and non-standard serial protocol. They are inverting everything, which doesn't make sense.
Unless they actually using real RS-232 logic levels, instead of TTL levels.
So, I'm going to hack the code to invert the signals and head out to test again tomorrow.
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: LED's?

Post by rimai »

I guess I just found out the answer of the inverted signal.
It does look like they indeed use RS-232 levels instead of UART levels
This is a photo from Neptunes website:
Image
The cable connects to the serial port of their VDM module.
Roberto.
wolfador
Posts: 241
Joined: Sun Sep 04, 2011 9:59 am
Location: Pittsburgh, PA

Re: LED's?

Post by wolfador »

rimai wrote:I guess I just found out the answer of the inverted signal.
It does look like they indeed use RS-232 levels instead of UART levels
This is a photo from Neptunes website:
Image
The cable connects to the serial port of their VDM module.

Once you had mentioned it being RS-232, this also made sense

Image

http://www.ghl-direct.com/proddetail.ph ... profiluxAI
John
ReefAngel and ReefAngel-HD developer
If the RA iOS app has helped please consider a donation
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: LED's?

Post by rimai »

So, I went to LFS today to measure the voltage and took an RA with me with the inverted UART signal.
I guess there is no need for additional hardware :o
This was my very crude attempt of thunderstorm, just to confirm that I could control it.
[youtube]http://www.youtube.com/watch?v=gDniy7FvF0A[/youtube]

So, I guess I'll work on creating a library for it and have some cables available at the webstore very shortly :mrgreen:
Roberto.
wolfador
Posts: 241
Joined: Sun Sep 04, 2011 9:59 am
Location: Pittsburgh, PA

Re: LED's?

Post by wolfador »

awesome, let me know when the cables are ready :)
John
ReefAngel and ReefAngel-HD developer
If the RA iOS app has helped please consider a donation
Image
wolfador
Posts: 241
Joined: Sun Sep 04, 2011 9:59 am
Location: Pittsburgh, PA

Re: LED's?

Post by wolfador »

I see the class added to Curt's github. I am excited to get this working :)
John
ReefAngel and ReefAngel-HD developer
If the RA iOS app has helped please consider a donation
Image
pandimus
Posts: 213
Joined: Mon Apr 01, 2013 7:58 pm

Re: LED's?

Post by pandimus »

Has anyone else built one of these? I have the shielding going to the base of the plug and red wire going to middle section, with my polarity same as the dimmer ports on relay.. But its still not contrilling my ai sol.
pandimus
Posts: 213
Joined: Mon Apr 01, 2013 7:58 pm

Re: LED's?

Post by pandimus »

Anyone? All i seem to get is full on or a flicker with my sol
Post Reply