Setup issues (new scripts)
Forums:
Post here for queries regarding setup problems with the new driver free scripts .
We recommend you try using the troubleshooting instructions here first if you have not already.
Please try to list as much about the problem as you can (OS distribution, versions et cetera), the more we know the easier it is to help :)
We recommend you try using the troubleshooting instructions here first if you have not already.
Please try to list as much about the problem as you can (OS distribution, versions et cetera), the more we know the easier it is to help :)
NomaranRP@gmail.com
Tue, 07/29/2014 - 03:47
Permalink
easy_install not recogized.
OS: Debian "Wheezy" 3.12.22+
Wiringpi most updated version from Git Repository.
I run into the issue of easy_install is not recognized as an internal command. As far as I can tell the wiringpi was successfully installed. (According to the gpio -v gpio readall commands)
I've even wiped the SD card and restarted, not exactly sure what's going wrong. Is it a possible Debian update that may of messed things up?
Thanks.
piborg
Tue, 07/29/2014 - 11:12
Permalink
Getting easy_install
You probably need to install the Python setup tools package to get easy_install:
sudo apt-get -y install python-setuptools
I will add this to the setup instructions ^_^
NomaranRP@gmail.com
Wed, 07/30/2014 - 00:09
Permalink
Re:
After doing this it works, however now I cannot compile anything. I get the error command 'gcc' failed with exit status 1. Any suggestions?
piborg
Wed, 07/30/2014 - 08:15
Permalink
easy_install gcc error: exit status 1
It sounds like the Python development tools are missing.
You should be able to use the following command to get them:
sudo apt-get -y install python-dev
after that easy_install should work properly.
NomaranRP@gmail.com
Sat, 08/02/2014 - 20:52
Permalink
That's Did it!
Many thanks! Sorry for the later reply!
StephenP
Fri, 01/09/2015 - 15:06
Permalink
Problem installing wiringpi2
I am trying to get the ledborg working again using the new scripts,, but it seems to fail at the point where I try to install wiringpi2.
I get the following errors (similar if I try installing via pip or using git version). Any ideas where or how to start debugging this one?
piborg
Fri, 01/09/2015 - 15:52
Permalink
Python library install problems
It sounds like Python has a library which has not been properly installed somehow.
Could you try adding the missing package using the following command:
sudo apt-get install python-pygments
If that works then you can try the easy_install command again.
StephenP
Fri, 01/09/2015 - 18:36
Permalink
Thanks. I think my mistake w
Thanks. I think my mistake was to not realise that the python packages are named for installation in the format python-package, and not just package. So I installed pygments and that brought in chardet. Next I neeeded sphinx and that installed fine.
Different problem now.
piborg
Sat, 01/10/2015 - 00:13
Permalink
Maybe matplotlib is not correctly installed
I am not so sure what the error you are now receiving is actually caused by.
My first thought would be to try installing matplotlib using apt-get:
sudo apt-get install python-matplotlib
StephenP
Sat, 01/10/2015 - 12:22
Permalink
matplotlib installation
I had tried installing matplotlib before and got the message that it was already on the latest version. So I tried removing with purge, and then re-installing which seemed to fix everything. So following that wiringpi2 installed without a hitch, thank you
mulder9927@gmail.com
Wed, 03/04/2015 - 18:52
Permalink
The red LED does not work on the unit
I have been testing the unit and the RED led is not turning on. i used the script and the manual testing steps to try and go through the color system. i am using a raspberry pi b+ and raspbian.
piborg
Thu, 03/05/2015 - 10:01
Permalink
Hardware problem
It sounds like the LedBorg you have received has a fault :(
This is a rare problem so I think you just got unlucky.
We will send you out a replacement board to the same address on your order (#5694).
Apologies for the fault, feel free to keep the broken LedBorg.
Sexy Pirate
Thu, 12/31/2015 - 14:37
Permalink
Constant light while pi is powered on?
Hi I've been through the lessons and all works fine but how can I set it so that the light is always on while my pi is powered. I'm looking to constantly have it lit up blue so it lights up the inside of the box I'm fitting my pi into :)
piborg
Thu, 12/31/2015 - 15:19
Permalink
Set LedBorg at startup
Proobably the easiest way will be to make a simple shell script that turns the red / green / blue pins on or off and have it run when the Raspberry Pi boots up.
First create a new script file using Nano:
Next copy these lines into the script:
The last three lines determine the colour, blue in this case.
Press CTRL+O followed by ENTER to save the file.
Press CTRL+X to close Nano.
Make the script executable and check it works:
The LedBorg should now be the specifed colour.
Finally we will use crontab to start the script with the Raspberry Pi.
Go to the bottom of the file and add the line:
Save and exit.
Now the LedBorg should come on when the Raspberry Pi boots up, about the same time as the login prompt is shown.
To change the colour simply edit the last three lines of the script.
Sexy Pirate
Thu, 12/31/2015 - 16:13
Permalink
Thanks so much for the help I
Thanks so much for the help I'll do this later on :)
Tman
Wed, 08/02/2017 - 18:35
Permalink
Wiringpi
Just got my LedBorg and am going to implement it in a project I am doing. However when I try to run lesson 1 I get the error below. Not sure what to do about it. I followed the instructions on the installation tab including
"sudo easy_install wiringpi2"
I did the instructions to creating the file correctly as well. Thanks in advance!
Also using it on a raspberry pi 3
piborg
Wed, 08/02/2017 - 19:55
Permalink
Try using standard WiringPi instead
Try installing the standard copy of WiringPi using:
sudo easy_install wiringpi
Once that is done change the code from
to simply
Hopefully everything will now work as expected with the standard WiringPi version since WiringPi 2 is no longer in development.
Tman
Wed, 08/02/2017 - 21:23
Permalink
It still wont execute. It
It still wont execute. It says
"Unable to determine hardware version. I see: Hardware : BCM2835
,
- expecting BCM2708 or BCM2709.
If this is a genuine Raspberry Pi then please report this
to projects@drogon.net. If this is not a Raspberry Pi then you
are on your own as wiringPi is designed to support the
Raspberry Pi ONLY.
Does that have to do with the kernel that I have?
piborg
Wed, 08/02/2017 - 21:50
Permalink
Could be the kernel
It looks like this is a known problem, the version of WiringPi being installed is outdated and does not fully work with more recent kernel versions.
Based on this post: https://github.com/WiringPi/WiringPi-Python/issues/47
you may be able to fix the issue by building a fixed version of WiringPi.
These are the commands they suggest:
If that does not work downgrading the kernel to an older version should work, but fixing WiringPi is preferable.
Tman
Thu, 08/03/2017 - 14:42
Permalink
Pardon my ignorance, I'm
Pardon my ignorance, I'm fairly new to all this. Is Swig a software that I need to download, because it doesn't recognize the command "swig2.0". Also when I am executing "sudo ./build" it says "To compile programs with wiringPi, you need to add: -lwiringPi" does this have anything to do with it. Thank you for the help, I really appreciate it.
piborg
Thu, 08/03/2017 - 15:41
Permalink
Missing bits
You should be able to install the missing program using these commands:
Edit:
The message seen at the end of the
sudo ./build
that reads:is perfectly normal. It is just explaining how to use the C library which the Python one does for you.
I have run through the setup on the problematic version of Jessie and these are all the required steps
Marre
Sun, 09/10/2017 - 22:34
Permalink
Only green and blue light from Ledborg on Rasbian Strech
I can't make Ledborg to light RED color. Fresh install on Rasbian Strech. I have tested to install Ledborg on 2 different PI3 with same results. Others colors (blue, green) works fine and looking at :gpio readall looks that gpio 0 (BCM 17) is reacting right but there is no light from Ledborg. Any clues how to see if this is PI, Ledborg or another issue?
piborg
Mon, 09/11/2017 - 10:50
Permalink
Checking the GPIO
I would suggest we start by using WiringPi to see if it detects any GPIO pin problems.
First disconnect everything from the GPIO.
Next download and build the WiringPi code:
After it has built run the GPIO pin tester:
You should see some diagnostics after pressing ENTER:
Hopefully all of the end lines say
OK
, otherwise the GPIO is not working correctly on the Raspberry Pi itself.If that comes back all okay then the next thing to check is the pin output. If you have a multimeter you can do this by probing between the GPIO 0 and GND pins looking at voltage. If the green LED is supposed to be on it should read about 3.3 V. If the green LED is supposed to be off it should read about 0 V.
Marre
Mon, 09/11/2017 - 13:01
Permalink
Thank You for replay. I run
Thank You for replay. I run pintest and everything looks fine:
The main 8 GPIO pins 0: 7: OK
The 5 SPI pins 10:14: OK
The serial pins 15:16: OK
The I2C pins 8: 9: OK
and multimeter test seems to be ok too:
I used lesson4.py script to switch colors and switching to RED shows status OUT and 3.3v between GPIO (BCM17) and GROUND (pin 6) and switching to GREEN or BLUE or OFF shows status OUT and 0.1v between GPIO 0 (BCM17) and GROUND (pin 6).
so it seems that maybe Ledborg is no functional but it sounds strange because it was working without any problems from day one and I never take it out from my Raspberry PI3 until now. Is this possible that Rasbian update could damaged Ledborg ?
piborg
Mon, 09/11/2017 - 13:58
Permalink
Damaged LedBorg
It seems unlikely that the problem is with Raspbian or the Pi itself since the GPIO pin is behaving as it is supposed to. I think it is reasonable to assume the problem is with the LedBorg itself.
What we will do is send you out a replacement LedBorg which is working. You can keep the faulty one as well :)
Could you please send us a message using our order contact form to tell us what address to send the replacement LedBorg to. Explain that you have a faulty LedBorg which needs to be replaced in the message.
Marre
Mon, 09/11/2017 - 18:19
Permalink
Best support ever! Thank You
Best support ever! Thank You very much for your assistance and help. That be great to bring Ledborg back to life with some REDs!
Marre
Sun, 09/24/2017 - 11:24
Permalink
I received my new Ledborg
I received my new Ledborg replacement and everything works great. Reds is back again! Thank You for all help :)