sowbug / G35Arduino

An Arduino library for GE Color Effects G-35 holiday lights.
Other
64 stars 24 forks source link

GE Color Effect G90 8 LED String #29

Open pmarq2008 opened 6 years ago

pmarq2008 commented 6 years ago

Hi, I am glad that I came across this thread. I was looking at how i could resurrect this 8 LED strand of lights. I have succesfully loaded this onto an Adafruit Arduino pro-trinket. The bulbs seem to be working correctly however obviously this is an 8 string set and your code is for 50 or higher. I am not very good at reverse engineering code yet so I was wondering if you could point me in the right direction to have this work on the 8 String set? I would leave it the way it is but since it is only a fraction of LED's that the code has there are times that all of the LEDs are off.

Thanks for the help

medpixman commented 6 years ago

You can do a text search for "50" and one line of the code specifies the number of LEDs.

I had a string with 25 - and I just left the number at 50 - and it worked, but the pattern was a little different.

If I find some time, I look for another version where I was successful in changing the number to 25 - and you could then try 8.

I believe the line of code is where you "enumerate" the LEDs - the program assigns each of them a number from 0 - (total-1)

On Thu, Jul 26, 2018 at 4:11 PM, pmarq2008 notifications@github.com wrote:

Hi, I am glad that I came across this thread. I was looking at how i could resurrect this 8 LED strand of lights. I have succesfully loaded this onto an Adafruit Arduino pro-trinket. The bulbs seem to be working correctly however obviously this is an 8 string set and your code is for 50 or higher. I am not very good at reverse engineering code yet so I was wondering if you could point me in the right direction to have this work on the 8 String set? I would leave it the way it is but since it is only a fraction of LED's that the code has there are times that all of the LEDs are off.

Thanks for the help

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sowbug/G35Arduino/issues/29, or mute the thread https://github.com/notifications/unsubscribe-auth/AC-9htBLYTPjk-4s-o0BHkGDRmdnfqMDks5uKiJdgaJpZM4VieR_ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicinehttps://medpix.nlm.nih.gov/home https://medpix.nlm.nih.gov/homeFormer Professor and Chair of Radiology (retired)Uniformed Services University of the Health Sciences

Google Voice 530 MEDPIX1 (530) 633-7491 [No Solicitations]

YouTube Channel - http://www.youtube.com/user/TheMedpixman http://www.youtube.com/user/TheMedpixman

"Success is not measured by who gets credit. ... Success is measured by what gets done."

"Do not plan to Destroy, What you are not also able to Create" - Pierre LaFontaine

"If you never venture beyond what you know ... You've spawned your own limitations."

- Sumner Redstone

“A man travels the world in search of what he needs and returns home to find it.”

"All science is either physics or stamp collecting." - Ernest Rutherford 1871–1937

"Curiosity, the overwhelming desire to know, is not characteristic of dead matter." - Isaac Asimov 1920-1992

pmarq2008 commented 6 years ago

I will try that. I was able to get the Basic example to work with down to 4 of them once. Im not sure why but i cant get it to work now.

medpixman commented 6 years ago

I don't know ... sometimes I have to close the IDE completely and then re-start it and re-compile the program - because "bits" of the code reside in temporary files on my PC. I saw a post on that some time ago - and it was happening to me - especially when I do a lot of minor edits over and over.

Good luck!

On Thu, Jul 26, 2018 at 5:04 PM, pmarq2008 notifications@github.com wrote:

I will try that. I was able to get the Basic example to work with down to 4 of them once. Im not sure why but i cant get it to work now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sowbug/G35Arduino/issues/29#issuecomment-408234826, or mute the thread https://github.com/notifications/unsubscribe-auth/AC-9hv-BEbiLOZm_0Yc4L43VQfwgg9VFks5uKi7ngaJpZM4VieR_ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicinehttps://medpix.nlm.nih.gov/home https://medpix.nlm.nih.gov/homeFormer Professor and Chair of Radiology (retired)Uniformed Services University of the Health Sciences

Google Voice 530 MEDPIX1 (530) 633-7491 [No Solicitations]

YouTube Channel - http://www.youtube.com/user/TheMedpixman http://www.youtube.com/user/TheMedpixman

"Success is not measured by who gets credit. ... Success is measured by what gets done."

"Do not plan to Destroy, What you are not also able to Create" - Pierre LaFontaine

"If you never venture beyond what you know ... You've spawned your own limitations."

- Sumner Redstone

“A man travels the world in search of what he needs and returns home to find it.”

"All science is either physics or stamp collecting." - Ernest Rutherford 1871–1937

"Curiosity, the overwhelming desire to know, is not characteristic of dead matter." - Isaac Asimov 1920-1992

pmarq2008 commented 6 years ago

Is it possible that I could manually set the color of each bulb utilizing the BasicExample sketch and just change the loop section?

I believe it would be a line for each bulb of this lights.fill_color(0, LIGHT_COUNT, G35::MAX_INTENSITY, COLOR_RED); but what would i change in the parenthesis to call each bulb individually?

medpixman commented 6 years ago

That should work ... I think most of the functions/classes are used to make rapid changes to allow "animated" chasing sequences. You could certainly try the simple one-by-one color change and then progress to more complex color patterns, then moving or animated color patterns,

On Fri, Jul 27, 2018 at 4:20 PM, pmarq2008 notifications@github.com wrote:

Is it possible that I could manually set the color of each bulb utilizing the BasicExample sketch and just change the loop section?

I believe it would be a line for each bulb of this lights.fill_color(0, LIGHT_COUNT, G35::MAX_INTENSITY, COLOR_RED); but what would i change in the parenthesis to call each bulb individually?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sowbug/G35Arduino/issues/29#issuecomment-408528631, or mute the thread https://github.com/notifications/unsubscribe-auth/AC-9hm3cjj-Rs5NJ01RQENI98xLgSUFqks5uK3YPgaJpZM4VieR_ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicinehttps://medpix.nlm.nih.gov/home https://medpix.nlm.nih.gov/homeFormer Professor and Chair of Radiology (retired)Uniformed Services University of the Health Sciences

Google Voice 530 MEDPIX1 (530) 633-7491 [No Solicitations]

YouTube Channel - http://www.youtube.com/user/TheMedpixman http://www.youtube.com/user/TheMedpixman

"Success is not measured by who gets credit. ... Success is measured by what gets done."

"Do not plan to Destroy, What you are not also able to Create" - Pierre LaFontaine

"If you never venture beyond what you know ... You've spawned your own limitations."

- Sumner Redstone

“A man travels the world in search of what he needs and returns home to find it.”

"All science is either physics or stamp collecting." - Ernest Rutherford 1871–1937

"Curiosity, the overwhelming desire to know, is not characteristic of dead matter." - Isaac Asimov 1920-1992

pmarq2008 commented 6 years ago

Do you know what the syntax would be to call each bulb individually?

medpixman commented 6 years ago

I have to go back ... I haven't programmed them in more than a year (I got the patterns I wanted, and then stopped) but I hope to dig back to the syntax for changing the color of one "bulb".

There are other program on GitHub for these LEDs - have you looked at others?

On Tue, Jul 31, 2018 at 10:18 AM, pmarq2008 notifications@github.com wrote:

Do you know what the syntax would be to call each bulb individually?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sowbug/G35Arduino/issues/29#issuecomment-409236911, or mute the thread https://github.com/notifications/unsubscribe-auth/AC-9hl7KK8louonN0C8dsz53bPTGpKTWks5uMGcjgaJpZM4VieR_ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicinehttps://medpix.nlm.nih.gov/home https://medpix.nlm.nih.gov/homeFormer Professor and Chair of Radiology (retired)Uniformed Services University of the Health Sciences

Google Voice 530 MEDPIX1 (530) 633-7491 [No Solicitations]

YouTube Channel - http://www.youtube.com/user/TheMedpixman http://www.youtube.com/user/TheMedpixman

"Success is not measured by who gets credit. ... Success is measured by what gets done."

"Do not plan to Destroy, What you are not also able to Create" - Pierre LaFontaine

"If you never venture beyond what you know ... You've spawned your own limitations."

- Sumner Redstone

“A man travels the world in search of what he needs and returns home to find it.”

"All science is either physics or stamp collecting." - Ernest Rutherford 1871–1937

"Curiosity, the overwhelming desire to know, is not characteristic of dead matter." - Isaac Asimov 1920-1992

pmarq2008 commented 6 years ago

All the ones i have found have a similar setup but I will keep looking. Its a project that i am probably spending to much time on for what its worth but one of those things you just want to get it working to say you did it. :-)

medpixman commented 6 years ago

That's how I approached it ... I might be able to send you my programs. There are conflicts between some of the libraries that I used - that was hard to troubleshoot and resolve.

On Tue, Jul 31, 2018 at 10:47 AM, pmarq2008 notifications@github.com wrote:

All the ones i have found have a similar setup but I will keep looking. Its a project that i am probably spending to much time on for what its worth but one of those things you just want to get it working to say you did it. :-)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sowbug/G35Arduino/issues/29#issuecomment-409246995, or mute the thread https://github.com/notifications/unsubscribe-auth/AC-9hgEmmsQrtdT6Wkbiwl9OPvwA21s7ks5uMG4agaJpZM4VieR_ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicinehttps://medpix.nlm.nih.gov/home https://medpix.nlm.nih.gov/homeFormer Professor and Chair of Radiology (retired)Uniformed Services University of the Health Sciences

Google Voice 530 MEDPIX1 (530) 633-7491 [No Solicitations]

YouTube Channel - http://www.youtube.com/user/TheMedpixman http://www.youtube.com/user/TheMedpixman

"Success is not measured by who gets credit. ... Success is measured by what gets done."

"Do not plan to Destroy, What you are not also able to Create" - Pierre LaFontaine

"If you never venture beyond what you know ... You've spawned your own limitations."

- Sumner Redstone

“A man travels the world in search of what he needs and returns home to find it.”

"All science is either physics or stamp collecting." - Ernest Rutherford 1871–1937

"Curiosity, the overwhelming desire to know, is not characteristic of dead matter." - Isaac Asimov 1920-1992