I have a BrickPiAdvanced module bought from reseller in Luxembourg ( electronic-shop.lu ) and when I run the LEGO-Motor-TEST i keep getting Error: -1 every few seconds. I’ve also tried the sensor test script but that one doesn’t work either. Here is my configuration:
- Raspberry Pi B
- External power supply through universal DC converter (500mA)
- Tried with both Dexter Image V6.7, build 2016.01.04 and with Raspbian and following step-by-step instruction for modifying the image. Same thing in both cases
- IR ports have been disabled
- I got the blue LED working but thins doesn’t mean much, right? It’s just GPIO from the Pi
- Error -2 means that the board is not recognized at all, right?
Here is the output of the troubleshoting.sh script:
troubleshooting_script_v1
Check for dependencies
python 2.7.3-4+deb7u1 install ok installed
python-pip 1.1-3 install ok installed
git 1:1.7.10.4-1+wheezy1+rpi2 install ok installed
libi2c-dev 3.1.1+svn-1 install ok installed
python-serial 2.5-2.1 install ok installed
python-rpi.gpio 0.5.11-1 install ok installed
i2c-tools 3.1.1+svn-1 install ok installed
python-smbus 3.1.1+svn-1 install ok installed
arduino 1:1.0.1+dfsg-7 install ok installed
minicom 2.6.1-1 install ok installed
scratch 1.4.20131203-2 install ok installed
wiringPi Found
wiringPi Found
I2C already removed from blacklist
SPI already removed from blacklist
Check for addition in /modules
I2C-dev already there
i2c-bcm2708 already there
spi-dev already there
Setup for Serial for BrickPi
Clock speed Configured
Serial Port not Enabled(ERR)
Serial Port Login Already Disabled
Hardware revision
gpio version: 2.31
Copyright © 2012-2015 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty
Raspberry Pi Details:
Type: Model B, Revision: 03, Memory: 512MB, Maker: Egoman
Device tree is enabled.
This Raspberry Pi supports user-level GPIO access.
-> See the man-page for more details
Read pins
±----±----±--------±-----±–±Model B2-±–±-----±--------±----±----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
±----±----±--------±-----±–±—+±—±–±-----±--------±----±----+
| | | 3.3v | | | 1 || 2 | | | 5v | | |
| 2 | 8 | SDA.1 | ALT0 | 1 | 3 || 4 | | | 5V | | |
| 3 | 9 | SCL.1 | ALT0 | 1 | 5 || 6 | | | 0v | | |
| 4 | 7 | GPIO. 7 | IN | 1 | 7 || 8 | 1 | ALT0 | TxD | 15 | 14 |
| | | 0v | | | 9 || 10 | 1 | ALT0 | RxD | 16 | 15 |
| 17 | 0 | GPIO. 0 | IN | 0 | 11 || 12 | 0 | IN | GPIO. 1 | 1 | 18 |
| 27 | 2 | GPIO. 2 | IN | 0 | 13 || 14 | | | 0v | | |
| 22 | 3 | GPIO. 3 | IN | 0 | 15 || 16 | 0 | IN | GPIO. 4 | 4 | 23 |
| | | 3.3v | | | 17 || 18 | 0 | IN | GPIO. 5 | 5 | 24 |
| 10 | 12 | MOSI | ALT0 | 0 | 19 || 20 | | | 0v | | |
| 9 | 13 | MISO | ALT0 | 0 | 21 || 22 | 0 | IN | GPIO. 6 | 6 | 25 |
| 11 | 14 | SCLK | ALT0 | 0 | 23 || 24 | 1 | OUT | CE0 | 10 | 8 |
| | | 0v | | | 25 || 26 | 1 | OUT | CE1 | 11 | 7 |
±----±----±--------±-----±–±—+±—±–±-----±--------±----±----+
| 28 | 17 | GPIO.17 | IN | 0 | 51 || 52 | 0 | IN | GPIO.18 | 18 | 29 |
| 30 | 19 | GPIO.19 | IN | 0 | 53 || 54 | 0 | IN | GPIO.20 | 20 | 31 |
±----±----±--------±-----±–±—+±—±–±-----±--------±----±----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
±----±----±--------±-----±–±Model B2-±–±-----±--------±----±----+
Check I2C
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --
Check the /dev folder
i2c-1
spidev0.0
spidev0.1
ttyAMA0
============
=USER STATS=
BrickPi Found
Arduberry Found
grovePi Found
GoPiGo Not Found
BrickPiStatus
-2
BrickPi Not Found (ERR)
Does it look to you that the boaqrd is faulty or do you see anything else might be a problem from the output? If it helps you, attached is photo of my board.
Thank you.