sowbug / G35Arduino

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

How to spread programs across 3 strings of lights #30

Closed gregcrago closed 4 years ago

gregcrago commented 4 years ago

I have tried adding G35String lights_3(11, 5); lights_3.enumerate(); string_group.AddString(&lights_3); to orinigal MultipleStringsAsOne.ino but UNO hangs with add RED (enumerating?)

Anyone using more than 2 strings?

medpixman commented 4 years ago

I haven't tried - but, if you find a solution, please share it.

On Tue, Apr 21, 2020 at 3:29 PM gregcrago notifications@github.com wrote:

I have tried adding G35String lights_3(11, 5); lights_3.enumerate(); string_group.AddString(&lights_3); to orinigal MultipleStringsAsOne.ino but UNO hangs with add RED (enumerating?)

Anyone using more than 2 strings?

— 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/30, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAX33BTBXJTG5LD2DDH6IQTRNXXYJANCNFSM4MNRVJQQ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicine, NIHWebsite: https://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

"You don't have to be smart to know what people should do.

But, you have to be brilliant to predict what people will do." - Δημήτριος Σμυρνιωτοπουλος

"Science and the pursuit of knowledge have no country, no religion, and no political affiliation" - Richard Feynman

*"Living Rich in Spirit, with Family and Friends, is more important than any material wealth." - *Δημήτριος Σμυρνιωτοπουλος

"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

gregcrago commented 4 years ago

I got it working by downloading skandragon's fork from MEOG35 by MarkEMarkEMark, he fixed a lot of items and my assumptions of adding the following to MEOXmas.ino:

MEOG35String lights_1(13, 36, 36, 0, true); MEOG35String lights_2(12, 36, 36, 0, false); MEOG35String lights_3(11, 6, 6, 0, false);

lights_1.enumerate(); lights_2.enumerate(); lights_3.enumerate();

string_group.AddString(&lights_1); string_group.AddString(&lights_2); string_group.AddString(&lights_3);

How do we get this fixes into 'sowbug' and 'MEOg35' masters so others can benifit without searhing through everyones fork?

sowbug commented 4 years ago

Glad you're up and running! If you'd like to contribute a pull request to this project, either as a set of bug fixes, or as just a documentation pointer to the other project, I'd be happy to consider it.

medpixman commented 4 years ago

It would be great if this project could be updated.

Several years ago - inspired by Sowbug - I was able to get several sets of G35 strings with after Christmas markdowns. I would love to update my programs and tinker with some new patterns.

My original G35 are still working after six years - although the clear plastic has now yellowed a little from UV exposure.

Thanks to all who work on this!

Be well!

On Wed, Apr 22, 2020 at 12:55 AM Mike Tsao notifications@github.com wrote:

Glad you're up and running! If you'd like to contribute a pull request to this project, either as a set of bug fixes, or just a documentation pointer to the other project, I'd be happy to consider it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sowbug/G35Arduino/issues/30#issuecomment-617549303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAX33BSUPRNVMZ6SK47II7LRNZ2DJANCNFSM4MNRVJQQ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicine, NIHWebsite: https://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

"You don't have to be smart to know what people should do.

But, you have to be brilliant to predict what people will do." - Δημήτριος Σμυρνιωτοπουλος

"Science and the pursuit of knowledge have no country, no religion, and no political affiliation" - Richard Feynman

*"Living Rich in Spirit, with Family and Friends, is more important than any material wealth." - *Δημήτριος Σμυρνιωτοπουλος

"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

MarkEMarkEMark commented 4 years ago

It's nice to know that this project is still in use. They were my favourite lights, being durable and a decent wire length between lights. But there weren't enough colours for me, so I had to graduate to other RGB LED pixels. These were my first, though and sowbug's code really helped me.

medpixman commented 4 years ago

Hi Mark: You are right on all counts.

I have also invested in strips and rings of WS2812 RGB LEDs.

But, the "old" G35 are among the easiest to deploy outdoors - and they come with their own waterproof power supply. I

t's 6V - but merely putting one diode in line to supply 5.3V to the Arduino works great.

On Wed, Apr 22, 2020 at 4:44 AM Mark notifications@github.com wrote:

It's nice to know that this project is still in use. They were my favourite lights, being durable and a decent wire length between lights. But there weren't enough colours for me, so I had to graduate to other RGB LED pixels. These were my first, though and sowbug's code really helped me.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sowbug/G35Arduino/issues/30#issuecomment-617640990, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAX33BU6BLY7D35QFP5WQD3RN2U7PANCNFSM4MNRVJQQ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicine, NIHWebsite: https://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

"You don't have to be smart to know what people should do.

But, you have to be brilliant to predict what people will do." - Δημήτριος Σμυρνιωτοπουλος

"Science and the pursuit of knowledge have no country, no religion, and no political affiliation" - Richard Feynman

*"Living Rich in Spirit, with Family and Friends, is more important than any material wealth." - *Δημήτριος Σμυρνιωτοπουλος

"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

gregcrago commented 4 years ago

I have been looking for additional outdoor programmable pixels. I have studied the WS2812B, but the 'stringed together version (10" apart) is not waterproof. I do not like the IP65 strips because I cannot turn 90 deg easily. Is there anything on the market that can replace the G35 outdoors?

medpixman commented 4 years ago

These are not easy to mount - although you could punch holes in a plastic strip and insert the LEDs into the holes: https://www.amazon.com/ALITOVE-Diffused-Individually-Addressable-Waterproof/dp/B0775CC559/ref=sr_1_2?dchild=1&keywords=ws2811%2Brgb%2Bleds&qid=1587657490&sr=8-2&th=1

These can be mounted in various ways: https://www.amazon.com/Lansan-Individually-Addressable-Diffused-Waterproof/dp/B07KYDBFPM/ref=sr_1_3?dchild=1&keywords=square+ws2811+rgb+leds&qid=1587657554&sr=8-3

On Thu, Apr 23, 2020 at 11:40 AM gregcrago notifications@github.com wrote:

I have been looking for additional outdoor programmable pixels. I have studied the WS2812B, but the 'stringed together version (10" apart) is not waterproof. I do not like the IP65 strips because I cannot turn 90 deg easily. Is there anything on the market that can replace the G35 outdoors?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sowbug/G35Arduino/issues/30#issuecomment-618472268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAX33BXU7IDZKNAVH4RA2JLROBOPTANCNFSM4MNRVJQQ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicine, NIHWebsite: https://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

"You don't have to be smart to know what people should do.

But, you have to be brilliant to predict what people will do." - Δημήτριος Σμυρνιωτοπουλος

"Science and the pursuit of knowledge have no country, no religion, and no political affiliation" - Richard Feynman

*"Living Rich in Spirit, with Family and Friends, is more important than any material wealth." - *Δημήτριος Σμυρνιωτοπουλος

"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

gregcrago commented 4 years ago

I was trying to stay away from WS2811, The silicone version, i read, can have water leaks traveling up the wires. I just found some WS2818 C9 type bulbs as AliExpress (https://www.aliexpress.com/item/32768456768.html?spm=2114.12010612.8148356.39.5bec269cA54QSd)

Or some WS2818 (12vdc) here at AliExpress (https://www.aliexpress.com/item/32872083300.html?spm=2114.12010612.8148356.58.5bec269cN1LPTt) The 12VDC makes long runs more stable.

I do not know if there is a LIBRARY that can drive the WS2818. I just cannot see any outdoor string that uses WS2812B

medpixman commented 4 years ago

I think the WS2818 use the same protocol as the WS2811/2812 - they just have two data lines - one is redundant until one of the nodes fails.

FASTLED supports multiple different types of serial RGB, did you check it out on GitHub?

The C9 type is just a clear shell over top of the WS2818 - from the photos, it doesn't look like it adds any additional water-proofing.

On Fri, Apr 24, 2020 at 2:55 PM gregcrago notifications@github.com wrote:

I was trying to stay away from WS2811, The silicone version, i read, can have water leaks traveling up the wires. I just found some WS2818 C9 type bulbs as AliExpress ( https://www.aliexpress.com/item/32768456768.html?spm=2114.12010612.8148356.39.5bec269cA54QSd )

Or some WS2818 (12vdc) here at AliExpress ( https://www.aliexpress.com/item/32872083300.html?spm=2114.12010612.8148356.58.5bec269cN1LPTt ) The 12VDC makes long runs more stable.

I do not know if there is a LIBRARY that can drive the WS2818. I just cannot see any outdoor string that uses WS2812B

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sowbug/G35Arduino/issues/30#issuecomment-619186682, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAX33BRPHMRGMJAR5QCMXB3ROHODFANCNFSM4MNRVJQQ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicine, NIHWebsite: https://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

"You don't have to be smart to know what people should do.

But, you have to be brilliant to predict what people will do." - Δημήτριος Σμυρνιωτοπουλος

"Science and the pursuit of knowledge have no country, no religion, and no political affiliation" - Richard Feynman

*"Living Rich in Spirit, with Family and Friends, is more important than any material wealth." - *Δημήτριος Σμυρνιωτοπουλος

"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

medpixman commented 4 years ago

https://www.witop-tech.com/what-is-the-difference-ws2818-vs-ws2811-usc1903-magic-color-digital-led-strip/

On Fri, Apr 24, 2020 at 2:55 PM gregcrago notifications@github.com wrote:

I was trying to stay away from WS2811, The silicone version, i read, can have water leaks traveling up the wires. I just found some WS2818 C9 type bulbs as AliExpress ( https://www.aliexpress.com/item/32768456768.html?spm=2114.12010612.8148356.39.5bec269cA54QSd )

Or some WS2818 (12vdc) here at AliExpress ( https://www.aliexpress.com/item/32872083300.html?spm=2114.12010612.8148356.58.5bec269cN1LPTt ) The 12VDC makes long runs more stable.

I do not know if there is a LIBRARY that can drive the WS2818. I just cannot see any outdoor string that uses WS2812B

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sowbug/G35Arduino/issues/30#issuecomment-619186682, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAX33BRPHMRGMJAR5QCMXB3ROHODFANCNFSM4MNRVJQQ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicine, NIHWebsite: https://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

"You don't have to be smart to know what people should do.

But, you have to be brilliant to predict what people will do." - Δημήτριος Σμυρνιωτοπουλος

"Science and the pursuit of knowledge have no country, no religion, and no political affiliation" - Richard Feynman

*"Living Rich in Spirit, with Family and Friends, is more important than any material wealth." - *Δημήτριος Σμυρνιωτοπουλος

"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

gregcrago commented 4 years ago

Can someone please explain how to properly configure Multiple Strings of lights. I did get all 3 strings working, but I think I did not configure: G35String lights_1(13, 36, 36, 0, false); G35String lights_2(12, 6, 6, 0, false); G35String lights_3(11, 5);

Properly. 1st. Can you explain a simple Pin13 >-----------> Pin 12 >-----------> Pin11 >----------->

I don't know if bulb_zero is 0 for all 3 sets? Not sure if Is_Forward=false for all 3 sets?

I am actally wiring mine up as <-----------<pin12 <------------<pin 11 pin13 >------------> |___

This way I can put UNO in 1 place and run all 3

gregcrago commented 4 years ago

for consistancy you can use 54,55,56 for the data lines

gregcrago commented 4 years ago

Thank you for your work, I have a NANO (programmed with UNO bootloader) driving 3 strings (58 bulbs + 36 bulbs + 40 bulbs). I am using 2 power injections and its all running from 5V ! Awsome :) Suggestion: I am usinga Pill Bottle with a hole drilled through top. Nano is very small.

medpixman commented 4 years ago

Thanks so much to Mike Tsao !!!

I hope everyone continues to be healthy, happy, and safe!

On Fri, May 1, 2020 at 11:25 AM Mike Tsao notifications@github.com wrote:

Closed #30 https://github.com/sowbug/G35Arduino/issues/30.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sowbug/G35Arduino/issues/30#event-3293511527, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAX33BV3UDA4C46VNJRFLFLRPLSWPANCNFSM4MNRVJQQ .

--

James G. Smirniotopoulos, MD Chief Editor, MedPix®

Special Volunteer, National Library of Medicine, NIHWebsite: https://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

"You don't have to be smart to know what people should do.

But, you have to be brilliant to predict what people will do." - Δημήτριος Σμυρνιωτοπουλος

"Science and the pursuit of knowledge have no country, no religion, and no political affiliation" - Richard Feynman

*"Living Rich in Spirit, with Family and Friends, is more important than any material wealth." - *Δημήτριος Σμυρνιωτοπουλος

"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