Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
···
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
···
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
Can you please send the console output from running that script?
···
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
If I change the LEDTYPE to WS2811 then I get the following
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.WS2811)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/serial/driver.py”, line 46, in init
resp = self._connect()
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/serial/driver.py”, line 73, in _connect
idv = self.devices.get_device(self.device_id)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/serial/devices.py”, line 46, in get_device
raise ValueError(‘No default device for %s’ % self.hardware_id)
ValueError: No default device for 1D50:60AB
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
So, yeah, you initially had the wrong LED type. You can also just use a string "WS2812"
by the way.
The second error you showed is because it cannot find the allpixel at all.
What’s the output of the following?
ls -al /dev/tty*
Also, please unplug the AllPixel, plug it back into USB, then run dmesg
.
Please do so with the terminal full screen, and copy all output that will fit on the screen and respond with it here.
···
On Wed, Jan 17, 2018 at 8:11 AM, Travis Stamper tstamper@hardecs.com wrote:
If I change the LEDTYPE to WS2811 then I get the following
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.WS2811)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/serial/driver.py”, line 46, in init
resp = self._connect()
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/serial/driver.py”, line 73, in _connect
idv = self.devices.get_device(self.device_id)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/serial/devices.py”, line 46, in get_device
raise ValueError(‘No default device for %s’ % self.hardware_id)
ValueError: No default device for 1D50:60AB
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
It is a PiPixel not an all pixel, guess that makes all the difference. Here is what I get below.
pi@raspberrypi:~ $ ls -al /dev/tty*
crw-rw-rw- 1 root tty 5, 0 Jan 17 06:12 /dev/tty
crw–w---- 1 root tty 4, 0 Jan 17 06:12 /dev/tty0
crw------- 1 pi tty 4, 1 Jan 17 06:12 /dev/tty1
crw–w---- 1 root tty 4, 10 Jan 17 06:12 /dev/tty10
crw–w---- 1 root tty 4, 11 Jan 17 06:12 /dev/tty11
crw–w---- 1 root tty 4, 12 Jan 17 06:12 /dev/tty12
crw–w---- 1 root tty 4, 13 Jan 17 06:12 /dev/tty13
crw–w---- 1 root tty 4, 14 Jan 17 06:12 /dev/tty14
crw–w---- 1 root tty 4, 15 Jan 17 06:12 /dev/tty15
crw–w---- 1 root tty 4, 16 Jan 17 06:12 /dev/tty16
crw–w---- 1 root tty 4, 17 Jan 17 06:12 /dev/tty17
crw–w---- 1 root tty 4, 18 Jan 17 06:12 /dev/tty18
crw–w---- 1 root tty 4, 19 Jan 17 06:12 /dev/tty19
crw–w---- 1 root tty 4, 2 Jan 17 06:12 /dev/tty2
crw–w---- 1 root tty 4, 20 Jan 17 06:12 /dev/tty20
crw–w---- 1 root tty 4, 21 Jan 17 06:12 /dev/tty21
crw–w---- 1 root tty 4, 22 Jan 17 06:12 /dev/tty22
crw–w---- 1 root tty 4, 23 Jan 17 06:12 /dev/tty23
crw–w---- 1 root tty 4, 24 Jan 17 06:12 /dev/tty24
crw–w---- 1 root tty 4, 25 Jan 17 06:12 /dev/tty25
crw–w---- 1 root tty 4, 26 Jan 17 06:12 /dev/tty26
crw–w---- 1 root tty 4, 27 Jan 17 06:12 /dev/tty27
crw–w---- 1 root tty 4, 28 Jan 17 06:12 /dev/tty28
crw–w---- 1 root tty 4, 29 Jan 17 06:12 /dev/tty29
crw–w---- 1 root tty 4, 3 Jan 17 06:12 /dev/tty3
crw–w---- 1 root tty 4, 30 Jan 17 06:12 /dev/tty30
crw–w---- 1 root tty 4, 31 Jan 17 06:12 /dev/tty31
crw–w---- 1 root tty 4, 32 Jan 17 06:12 /dev/tty32
crw–w---- 1 root tty 4, 33 Jan 17 06:12 /dev/tty33
crw–w---- 1 root tty 4, 34 Jan 17 06:12 /dev/tty34
crw–w---- 1 root tty 4, 35 Jan 17 06:12 /dev/tty35
crw–w---- 1 root tty 4, 36 Jan 17 06:12 /dev/tty36
crw–w---- 1 root tty 4, 37 Jan 17 06:12 /dev/tty37
crw–w---- 1 root tty 4, 38 Jan 17 06:12 /dev/tty38
crw–w---- 1 root tty 4, 39 Jan 17 06:12 /dev/tty39
crw–w---- 1 root tty 4, 4 Jan 17 06:12 /dev/tty4
crw–w---- 1 root tty 4, 40 Jan 17 06:12 /dev/tty40
crw–w---- 1 root tty 4, 41 Jan 17 06:12 /dev/tty41
crw–w---- 1 root tty 4, 42 Jan 17 06:12 /dev/tty42
crw–w---- 1 root tty 4, 43 Jan 17 06:12 /dev/tty43
crw–w---- 1 root tty 4, 44 Jan 17 06:12 /dev/tty44
crw–w---- 1 root tty 4, 45 Jan 17 06:12 /dev/tty45
crw–w---- 1 root tty 4, 46 Jan 17 06:12 /dev/tty46
crw–w---- 1 root tty 4, 47 Jan 17 06:12 /dev/tty47
crw–w---- 1 root tty 4, 48 Jan 17 06:12 /dev/tty48
crw–w---- 1 root tty 4, 49 Jan 17 06:12 /dev/tty49
crw–w---- 1 root tty 4, 5 Jan 17 06:12 /dev/tty5
crw–w---- 1 root tty 4, 50 Jan 17 06:12 /dev/tty50
crw–w---- 1 root tty 4, 51 Jan 17 06:12 /dev/tty51
crw–w---- 1 root tty 4, 52 Jan 17 06:12 /dev/tty52
crw–w---- 1 root tty 4, 53 Jan 17 06:12 /dev/tty53
crw–w---- 1 root tty 4, 54 Jan 17 06:12 /dev/tty54
crw–w---- 1 root tty 4, 55 Jan 17 06:12 /dev/tty55
crw–w---- 1 root tty 4, 56 Jan 17 06:12 /dev/tty56
crw–w---- 1 root tty 4, 57 Jan 17 06:12 /dev/tty57
crw–w---- 1 root tty 4, 58 Jan 17 06:12 /dev/tty58
crw–w---- 1 root tty 4, 59 Jan 17 06:12 /dev/tty59
crw–w---- 1 root tty 4, 6 Jan 17 06:12 /dev/tty6
crw–w---- 1 root tty 4, 60 Jan 17 06:12 /dev/tty60
crw–w---- 1 root tty 4, 61 Jan 17 06:12 /dev/tty61
crw–w---- 1 root tty 4, 62 Jan 17 06:12 /dev/tty62
crw–w---- 1 root tty 4, 63 Jan 17 06:12 /dev/tty63
crw–w---- 1 root tty 4, 7 Jan 17 06:12 /dev/tty7
crw–w---- 1 root tty 4, 8 Jan 17 06:12 /dev/tty8
crw–w---- 1 root tty 4, 9 Jan 17 06:12 /dev/tty9
crw–w---- 1 root tty 204, 64 Jan 17 06:12 /dev/ttyAMA0
crw------- 1 root root 5, 3 Jan 17 06:12 /dev/ttyprintk
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···
On Wed, Jan 17, 2018 at 8:27 AM, Adam Haile adammhaile@gmail.com wrote:
So, yeah, you initially had the wrong LED type. You can also just use a string
"WS2812"
by the way.
The second error you showed is because it cannot find the allpixel at all.
What’s the output of the following?
ls -al /dev/tty*
Also, please unplug the AllPixel, plug it back into USB, then run
dmesg
.
Please do so with the terminal full screen, and copy all output that will fit on the screen and respond with it here.
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:11 AM, Travis Stamper tstamper@hardecs.com wrote:
If I change the LEDTYPE to WS2811 then I get the following
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.WS2811)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/serial/driver.py”, line 46, in init
resp = self._connect()
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/serial/driver.py”, line 73, in _connect
idv = self.devices.get_device(self.device_id)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/serial/devices.py”, line 46, in get_device
raise ValueError(‘No default device for %s’ % self.hardware_id)
ValueError: No default device for 1D50:60AB
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
oh…you are using the AllPixel demo. Completely different. AllPixel uses serial, PiPixel uses GPIO/SPI
You need this: https://github.com/ManiacalLabs/PiPixel/blob/master/Usage.md
···
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
I got the json demos working with no issue. How do I incorporate that into python and call it?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···
On Wed, Jan 17, 2018 at 8:36 AM, Adam Haile adammhaile@gmail.com wrote:
oh…you are using the AllPixel demo. Completely different. AllPixel uses serial, PiPixel uses GPIO/SPI
You need this: https://github.com/ManiacalLabs/PiPixel/blob/master/Usage.md
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
Depends on what you are doing. We really do recommend using BiblioPixel JSON Project files.
However, if you wanna go pure Python, you still can…
import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
# Load driver for the AllPixel
from bibliopixel.drivers.SPI import SPI
# set number of pixels & LED type here
driver = Serial(num = 10, ledtype = "WS2812")
# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
# run the animation
anim.run()
except KeyboardInterrupt:
# Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
···
On Wed, Jan 17, 2018 at 8:40 AM, Travis Stamper tstamper@hardecs.com wrote:
I got the json demos working with no issue. How do I incorporate that into python and call it?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:36 AM, Adam Haile adammhaile@gmail.com wrote:
oh…you are using the AllPixel demo. Completely different. AllPixel uses serial, PiPixel uses GPIO/SPI
You need this: https://github.com/ManiacalLabs/PiPixel/blob/master/Usage.md
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
That still is for the allpixel and not the pipixel right?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···
On Wed, Jan 17, 2018 at 8:53 AM, Adam Haile adammhaile@gmail.com wrote:
Depends on what you are doing. We really do recommend using BiblioPixel JSON Project files.
However, if you wanna go pure Python, you still can…
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.SPI import SPI
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = “WS2812”)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:40 AM, Travis Stamper tstamper@hardecs.com wrote:
I got the json demos working with no issue. How do I incorporate that into python and call it?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:36 AM, Adam Haile adammhaile@gmail.com wrote:
oh…you are using the AllPixel demo. Completely different. AllPixel uses serial, PiPixel uses GPIO/SPI
You need this: https://github.com/ManiacalLabs/PiPixel/blob/master/Usage.md
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
Nope, for the PiPixel - Note I changed to the SPI driver. Although I just remembered you are using WS2812 which is unsupported by SPI, you need PiWS281X.
Follow this to install the requirements for that driver: https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X
Then try the code below.
import bibliopixel
# causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
# Load driver for the AllPixel
from bibliopixel.drivers.PiWS281X import PiWS281X
# set number of pixels & LED type here
driver = PiWS281X(num = 10, gpio = 18)
# load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
# load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
# run the animation
anim.run()
except KeyboardInterrupt:
# Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
Note, you need to move the jumper on the PiPixel to GP_18 for this to work.
···
On Wed, Jan 17, 2018 at 8:57 AM, Travis Stamper tstamper@hardecs.com wrote:
That still is for the allpixel and not the pipixel right?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:53 AM, Adam Haile adammhaile@gmail.com wrote:
Depends on what you are doing. We really do recommend using BiblioPixel JSON Project files.
However, if you wanna go pure Python, you still can…
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.SPI import SPI
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = “WS2812”)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
On Wed, Jan 17, 2018 at 8:40 AM, Travis Stamper tstamper@hardecs.com wrote:
I got the json demos working with no issue. How do I incorporate that into python and call it?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:36 AM, Adam Haile adammhaile@gmail.com wrote:
oh…you are using the AllPixel demo. Completely different. AllPixel uses serial, PiPixel uses GPIO/SPI
You need this: https://github.com/ManiacalLabs/PiPixel/blob/master/Usage.md
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
Ok I got all that sorted but now when I try to run it I get
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = PiWS281X(num = 50, gpio = 18)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/PiWS281X.py”, line 82, in init
self._strip.begin()
File “/usr/local/lib/python3.5/dist-packages/rpi_ws281x-1.0.0-py3.5-linux-armv7l.egg/neopixel.py”, line 106, in begin
raise RuntimeError(‘ws2811_init failed with code {0} ({1})’.format(resp, message))
RuntimeError: ws2811_init failed with code -5 (mmap() failed)
Sorry to be such a pain
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···
On Wed, Jan 17, 2018 at 9:10 AM, Adam Haile adammhaile@gmail.com wrote:
Nope, for the PiPixel - Note I changed to the SPI driver. Although I just remembered you are using WS2812 which is unsupported by SPI, you need PiWS281X.
Follow this to install the requirements for that driver: https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X
Then try the code below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.PiWS281X import PiWS281X
set number of pixels & LED type here
driver = PiWS281X(num = 10, gpio = 18)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
Note, you need to move the jumper on the PiPixel to GP_18 for this to work.
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:57 AM, Travis Stamper tstamper@hardecs.com wrote:
That still is for the allpixel and not the pipixel right?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:53 AM, Adam Haile adammhaile@gmail.com wrote:
Depends on what you are doing. We really do recommend using BiblioPixel JSON Project files.
However, if you wanna go pure Python, you still can…
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.SPI import SPI
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = “WS2812”)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
On Wed, Jan 17, 2018 at 8:40 AM, Travis Stamper tstamper@hardecs.com wrote:
I got the json demos working with no issue. How do I incorporate that into python and call it?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:36 AM, Adam Haile adammhaile@gmail.com wrote:
oh…you are using the AllPixel demo. Completely different. AllPixel uses serial, PiPixel uses GPIO/SPI
You need this: https://github.com/ManiacalLabs/PiPixel/blob/master/Usage.md
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
Ah, run as sudo. If you are using a virtualenv run sudo $(which bibliopixel) <rest of the command>
···
On Wed, Jan 17, 2018 at 9:21 AM, Travis Stamper tstamper@hardecs.com wrote:
Ok I got all that sorted but now when I try to run it I get
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = PiWS281X(num = 50, gpio = 18)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/PiWS281X.py”, line 82, in init
self._strip.begin()
File “/usr/local/lib/python3.5/dist-packages/rpi_ws281x-1.0.0-py3.5-linux-armv7l.egg/neopixel.py”, line 106, in begin
raise RuntimeError(‘ws2811_init failed with code {0} ({1})’.format(resp, message))
RuntimeError: ws2811_init failed with code -5 (mmap() failed)
Sorry to be such a pain
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 9:10 AM, Adam Haile adammhaile@gmail.com wrote:
Nope, for the PiPixel - Note I changed to the SPI driver. Although I just remembered you are using WS2812 which is unsupported by SPI, you need PiWS281X.
Follow this to install the requirements for that driver: https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X
Then try the code below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.PiWS281X import PiWS281X
set number of pixels & LED type here
driver = PiWS281X(num = 10, gpio = 18)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
Note, you need to move the jumper on the PiPixel to GP_18 for this to work.
On Wed, Jan 17, 2018 at 8:57 AM, Travis Stamper tstamper@hardecs.com wrote:
That still is for the allpixel and not the pipixel right?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:53 AM, Adam Haile adammhaile@gmail.com wrote:
Depends on what you are doing. We really do recommend using BiblioPixel JSON Project files.
However, if you wanna go pure Python, you still can…
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.SPI import SPI
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = “WS2812”)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
On Wed, Jan 17, 2018 at 8:40 AM, Travis Stamper tstamper@hardecs.com wrote:
I got the json demos working with no issue. How do I incorporate that into python and call it?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:36 AM, Adam Haile adammhaile@gmail.com wrote:
oh…you are using the AllPixel demo. Completely different. AllPixel uses serial, PiPixel uses GPIO/SPI
You need this: https://github.com/ManiacalLabs/PiPixel/blob/master/Usage.md
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
Awesome it works for the first few on the string. You are the man. Now how do I get it to light up all 50 pixels?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···
On Wed, Jan 17, 2018 at 9:29 AM, Adam Haile adammhaile@gmail.com wrote:
Ah, run as sudo. If you are using a virtualenv run
sudo $(which bibliopixel) <rest of the command>
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 9:21 AM, Travis Stamper tstamper@hardecs.com wrote:
Ok I got all that sorted but now when I try to run it I get
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = PiWS281X(num = 50, gpio = 18)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/PiWS281X.py”, line 82, in init
self._strip.begin()
File “/usr/local/lib/python3.5/dist-packages/rpi_ws281x-1.0.0-py3.5-linux-armv7l.egg/neopixel.py”, line 106, in begin
raise RuntimeError(‘ws2811_init failed with code {0} ({1})’.format(resp, message))
RuntimeError: ws2811_init failed with code -5 (mmap() failed)
Sorry to be such a pain
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 9:10 AM, Adam Haile adammhaile@gmail.com wrote:
Nope, for the PiPixel - Note I changed to the SPI driver. Although I just remembered you are using WS2812 which is unsupported by SPI, you need PiWS281X.
Follow this to install the requirements for that driver: https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X
Then try the code below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.PiWS281X import PiWS281X
set number of pixels & LED type here
driver = PiWS281X(num = 10, gpio = 18)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
Note, you need to move the jumper on the PiPixel to GP_18 for this to work.
On Wed, Jan 17, 2018 at 8:57 AM, Travis Stamper tstamper@hardecs.com wrote:
That still is for the allpixel and not the pipixel right?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:53 AM, Adam Haile adammhaile@gmail.com wrote:
Depends on what you are doing. We really do recommend using BiblioPixel JSON Project files.
However, if you wanna go pure Python, you still can…
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.SPI import SPI
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = “WS2812”)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
On Wed, Jan 17, 2018 at 8:40 AM, Travis Stamper tstamper@hardecs.com wrote:
I got the json demos working with no issue. How do I incorporate that into python and call it?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:36 AM, Adam Haile adammhaile@gmail.com wrote:
oh…you are using the AllPixel demo. Completely different. AllPixel uses serial, PiPixel uses GPIO/SPI
You need this: https://github.com/ManiacalLabs/PiPixel/blob/master/Usage.md
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
Change num to 50 in the driver.
But that strip test only does the first 10.
Try replacing the StripChannelTest section with:
from BiblioPixelAnimations.strip.Rainbows import RainbowCyle
anim = RainbowCycle(led)
···
On Wed, Jan 17, 2018 at 9:37 AM, Travis Stamper tstamper@hardecs.com wrote:
Awesome it works for the first few on the string. You are the man. Now how do I get it to light up all 50 pixels?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 9:29 AM, Adam Haile adammhaile@gmail.com wrote:
Ah, run as sudo. If you are using a virtualenv run
sudo $(which bibliopixel) <rest of the command>
On Wed, Jan 17, 2018 at 9:21 AM, Travis Stamper tstamper@hardecs.com wrote:
Ok I got all that sorted but now when I try to run it I get
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = PiWS281X(num = 50, gpio = 18)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/PiWS281X.py”, line 82, in init
self._strip.begin()
File “/usr/local/lib/python3.5/dist-packages/rpi_ws281x-1.0.0-py3.5-linux-armv7l.egg/neopixel.py”, line 106, in begin
raise RuntimeError(‘ws2811_init failed with code {0} ({1})’.format(resp, message))
RuntimeError: ws2811_init failed with code -5 (mmap() failed)
Sorry to be such a pain
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 9:10 AM, Adam Haile adammhaile@gmail.com wrote:
Nope, for the PiPixel - Note I changed to the SPI driver. Although I just remembered you are using WS2812 which is unsupported by SPI, you need PiWS281X.
Follow this to install the requirements for that driver: https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X
Then try the code below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.PiWS281X import PiWS281X
set number of pixels & LED type here
driver = PiWS281X(num = 10, gpio = 18)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
Note, you need to move the jumper on the PiPixel to GP_18 for this to work.
On Wed, Jan 17, 2018 at 8:57 AM, Travis Stamper tstamper@hardecs.com wrote:
That still is for the allpixel and not the pipixel right?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:53 AM, Adam Haile adammhaile@gmail.com wrote:
Depends on what you are doing. We really do recommend using BiblioPixel JSON Project files.
However, if you wanna go pure Python, you still can…
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.SPI import SPI
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = “WS2812”)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
On Wed, Jan 17, 2018 at 8:40 AM, Travis Stamper tstamper@hardecs.com wrote:
I got the json demos working with no issue. How do I incorporate that into python and call it?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:36 AM, Adam Haile adammhaile@gmail.com wrote:
oh…you are using the AllPixel demo. Completely different. AllPixel uses serial, PiPixel uses GPIO/SPI
You need this: https://github.com/ManiacalLabs/PiPixel/blob/master/Usage.md
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
You are simply amazing! I had to change one thing.
from BiblioPixelAnimations.strip.Rainbows import * #import RainbowCyle
anim = RainbowCycle(led)
Works great. Now to just learn other things. Is there a book for all this? I am trying to use lightshowpi and this is a good start. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···
On Wed, Jan 17, 2018 at 9:43 AM, Adam Haile adammhaile@gmail.com wrote:
Change num to 50 in the driver.
But that strip test only does the first 10.
Try replacing the StripChannelTest section with:
from BiblioPixelAnimations.strip.Rainbows import RainbowCyle
anim = RainbowCycle(led)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 9:37 AM, Travis Stamper tstamper@hardecs.com wrote:
Awesome it works for the first few on the string. You are the man. Now how do I get it to light up all 50 pixels?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 9:29 AM, Adam Haile adammhaile@gmail.com wrote:
Ah, run as sudo. If you are using a virtualenv run
sudo $(which bibliopixel) <rest of the command>
On Wed, Jan 17, 2018 at 9:21 AM, Travis Stamper tstamper@hardecs.com wrote:
Ok I got all that sorted but now when I try to run it I get
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = PiWS281X(num = 50, gpio = 18)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/PiWS281X.py”, line 82, in init
self._strip.begin()
File “/usr/local/lib/python3.5/dist-packages/rpi_ws281x-1.0.0-py3.5-linux-armv7l.egg/neopixel.py”, line 106, in begin
raise RuntimeError(‘ws2811_init failed with code {0} ({1})’.format(resp, message))
RuntimeError: ws2811_init failed with code -5 (mmap() failed)
Sorry to be such a pain
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 9:10 AM, Adam Haile adammhaile@gmail.com wrote:
Nope, for the PiPixel - Note I changed to the SPI driver. Although I just remembered you are using WS2812 which is unsupported by SPI, you need PiWS281X.
Follow this to install the requirements for that driver: https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X
Then try the code below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.PiWS281X import PiWS281X
set number of pixels & LED type here
driver = PiWS281X(num = 10, gpio = 18)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
Note, you need to move the jumper on the PiPixel to GP_18 for this to work.
On Wed, Jan 17, 2018 at 8:57 AM, Travis Stamper tstamper@hardecs.com wrote:
That still is for the allpixel and not the pipixel right?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:53 AM, Adam Haile adammhaile@gmail.com wrote:
Depends on what you are doing. We really do recommend using BiblioPixel JSON Project files.
However, if you wanna go pure Python, you still can…
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.SPI import SPI
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = “WS2812”)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
On Wed, Jan 17, 2018 at 8:40 AM, Travis Stamper tstamper@hardecs.com wrote:
I got the json demos working with no issue. How do I incorporate that into python and call it?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:36 AM, Adam Haile adammhaile@gmail.com wrote:
oh…you are using the AllPixel demo. Completely different. AllPixel uses serial, PiPixel uses GPIO/SPI
You need this: https://github.com/ManiacalLabs/PiPixel/blob/master/Usage.md
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.
Oh… sorry, left a c out of RainbowCycle in the import.
No book, but there is a wiki with all the BiblioPixel docs: https://github.com/ManiacalLabs/BiblioPixel/wiki
I’m pretty sure lightshowpi supports the AllPixel directly but not the Pipixel that I’m aware of.
I really do need to learn lightshowpi better so I can see about better integration with our products.
···
On Wed, Jan 17, 2018 at 9:50 AM, Travis Stamper tstamper@hardecs.com wrote:
You are simply amazing! I had to change one thing.
from BiblioPixelAnimations.strip.Rainbows import * #import RainbowCyle
anim = RainbowCycle(led)
Works great. Now to just learn other things. Is there a book for all this? I am trying to use lightshowpi and this is a good start. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 9:43 AM, Adam Haile adammhaile@gmail.com wrote:
Change num to 50 in the driver.
But that strip test only does the first 10.
Try replacing the StripChannelTest section with:
from BiblioPixelAnimations.strip.Rainbows import RainbowCyle
anim = RainbowCycle(led)
On Wed, Jan 17, 2018 at 9:37 AM, Travis Stamper tstamper@hardecs.com wrote:
Awesome it works for the first few on the string. You are the man. Now how do I get it to light up all 50 pixels?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 9:29 AM, Adam Haile adammhaile@gmail.com wrote:
Ah, run as sudo. If you are using a virtualenv run
sudo $(which bibliopixel) <rest of the command>
On Wed, Jan 17, 2018 at 9:21 AM, Travis Stamper tstamper@hardecs.com wrote:
Ok I got all that sorted but now when I try to run it I get
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = PiWS281X(num = 50, gpio = 18)
File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/PiWS281X.py”, line 82, in init
self._strip.begin()
File “/usr/local/lib/python3.5/dist-packages/rpi_ws281x-1.0.0-py3.5-linux-armv7l.egg/neopixel.py”, line 106, in begin
raise RuntimeError(‘ws2811_init failed with code {0} ({1})’.format(resp, message))
RuntimeError: ws2811_init failed with code -5 (mmap() failed)
Sorry to be such a pain
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 9:10 AM, Adam Haile adammhaile@gmail.com wrote:
Nope, for the PiPixel - Note I changed to the SPI driver. Although I just remembered you are using WS2812 which is unsupported by SPI, you need PiWS281X.
Follow this to install the requirements for that driver: https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X
Then try the code below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.PiWS281X import PiWS281X
set number of pixels & LED type here
driver = PiWS281X(num = 10, gpio = 18)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
Note, you need to move the jumper on the PiPixel to GP_18 for this to work.
On Wed, Jan 17, 2018 at 8:57 AM, Travis Stamper tstamper@hardecs.com wrote:
That still is for the allpixel and not the pipixel right?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:53 AM, Adam Haile adammhaile@gmail.com wrote:
Depends on what you are doing. We really do recommend using BiblioPixel JSON Project files.
However, if you wanna go pure Python, you still can…
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.SPI import SPI
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = “WS2812”)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
On Wed, Jan 17, 2018 at 8:40 AM, Travis Stamper tstamper@hardecs.com wrote:
I got the json demos working with no issue. How do I incorporate that into python and call it?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:36 AM, Adam Haile adammhaile@gmail.com wrote:
oh…you are using the AllPixel demo. Completely different. AllPixel uses serial, PiPixel uses GPIO/SPI
You need this: https://github.com/ManiacalLabs/PiPixel/blob/master/Usage.md
On Wed, Jan 17, 2018 at 8:03 AM, Travis Stamper tstamper@hardecs.com wrote:
Below is the output
%Run test.py
Traceback (most recent call last):
File “/home/pi/test.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
File “/usr/lib/python3.5/enum.py”, line 274, in getattr
raise AttributeError(name) from None
AttributeError: ws2811
Is it different because I using the PiPixel and not the allpixel?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 8:00 AM, Adam Haile adammhaile@gmail.com wrote:
Can you please send the console output from running that script?
On Jan 17, 2018 7:44 AM, “Travis Stamper” tstamper@hardecs.com wrote:
Apparently I need a little handholding with this. How do I get the python sctript setup correctly? What I have started with is below.
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.ws2811)
load the LEDStrip class
from bibliopixel.layout import *
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
run the animation
anim.run()
except KeyboardInterrupt:
Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
I can not get the drive to work correctly. and I using the correct syntax?
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."
*- Confucius *
Travis Stamper
IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com
On Wed, Jan 17, 2018 at 7:32 AM, Adam Haile adammhaile@gmail.com wrote:
Glad you got it working! Yeah… there’s almost no standardization of connection type or order between manufacturers. In general, just look for the arrow on the strip. Most have it.
–
You received this message because you are subscribed to a topic in the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maniacal-labs-users/6hV-2_-Xmqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-Tbx34aN_a7s9X4uc%2B2BLp6UJ8d_7rxbDsx5XD6x2CeXmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jan 17, 2018 at 6:54 AM, Travis Stamper tstamper@hardecs.com wrote:
Well I got it sorted, was connecting the wrong end apparently mine start on the female connector end
On Wednesday, January 17, 2018 at 6:33:50 AM UTC-5, Travis Stamper wrote:
Are these lights compatible with the board? I have tried the demo but can not get them to come on. Thanks
<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.
To post to this group, send email to maniacal-labs-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/6077d590-48c2-4db5-9f14-d3d87e373c96%40googlegroups.com.