[SOLVED] Brickpi does not work

Hi,

I have recently orered a brickpi, but it does not work. It does not show any sign of life (are there supposed to be leds ?).
I’m using the battery pack with fully charged 8AA batteries (multimeter shows nearly 11V output…). This is enough to power up the RPi (I removed the micro usb power to ensure the device is running on the batteries).

The troubleshoting script returns -2. Reading other posts I assume the BrickPi is dead and needs to be replaced.
Since I’m in Europe and ordered it directly in the USA, additional taxes were charged when importing the device. Let’s make sure we avoid this with the replacement…

troubleshooting script output :

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.6.1~wheezy-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: Pi 2, Revision: 01, Memory: 1024MB, Maker: Sony
Device tree is enabled.
This Raspberry Pi supports user-level GPIO access.
-> See the man-page for more details

Read pins

±----±----±--------±-----±–±--Pi 2—±–±-----±--------±----±----+
| 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 | IN | TxD | 15 | 14 |
| | | 0v | | | 9 || 10 | 1 | ALT0 | RxD | 16 | 15 |
| 17 | 0 | GPIO. 0 | OUT | 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 |
| 0 | 30 | SDA.0 | IN | 1 | 27 || 28 | 1 | IN | SCL.0 | 31 | 1 |
| 5 | 21 | GPIO.21 | IN | 1 | 29 || 30 | | | 0v | | |
| 6 | 22 | GPIO.22 | IN | 1 | 31 || 32 | 0 | IN | GPIO.26 | 26 | 12 |
| 13 | 23 | GPIO.23 | IN | 0 | 33 || 34 | | | 0v | | |
| 19 | 24 | GPIO.24 | IN | 0 | 35 || 36 | 0 | IN | GPIO.27 | 27 | 16 |
| 26 | 25 | GPIO.25 | IN | 0 | 37 || 38 | 0 | IN | GPIO.28 | 28 | 20 |
| | | 0v | | | 39 || 40 | 0 | IN | GPIO.29 | 29 | 21 |
±----±----±--------±-----±–±—+±—±–±-----±--------±----±----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
±----±----±--------±-----±–±--Pi 2—±–±-----±--------±----±----+

Check I2C

 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- 48 – -- – -- – -- –
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)

Hey R.

Since I’m in Europe and ordered it directly in the USA, additional taxes were charged when importing the device. Let’s make sure we avoid this with the replacement…
Those would be the responsibility of your own country's economic policies, and out of our control.

We recommend putting the micrusb back in, and leaving your 8xaa batteries in place while troubleshooting.

Are you using the latest DI Image Raspbian for Robots? If you’re using an SD card we sent you, what date is on it?

Thanks! Before we talk about replacing, let’s see if everything is setup correctly. Best, John

Hi,

I took the microusb out and put it back ip again. No difference : return status of the troubleshooting script is : -2 BrickPi not found.
I’m using my own microusb with the image included in the 2016.01.05_Dexter_Industries_wheezy.zip

Any other suggestions ?

Richard.

Did you enable BrickPi Communications?

http://www.dexterindustries.com/howto/enable-or-disable-brickpi-communications/

hi,

This tip solved the issue, I guess I have missed this step.

troubleshooting script ended with :

BrickPiStatus

0
BrickPi Found

Testing the motor went well. Still struggling with understanding the ultrasonic sound (EV3) sensor (sensor value being 0 or 255), but I feel I’ll get around this too.

Thanks for the help.

Richard.

Richard, great to hear. Thanks!