kwally Geschrieben March 24, 2016 at 02:56 Geschrieben March 24, 2016 at 02:56 I wonder if anyone could refresh my memory. I just built a new RPi set-up andcan get brickview to show my bricks. I suspect that the brick deamon is not running. In the past it loaded automatically on start up. A version check shows version 2.2.2. But no joy with the brick viewer??? Cheers Karl Zitieren
photron Geschrieben March 24, 2016 at 12:14 Geschrieben March 24, 2016 at 12:14 If Brick Viewer doesn't show an error message when you click "Connect" then the Brick Daemon is running. Have a look at /var/log/brickd.log, or attach this file to a forum post so I can have a look at it. Do the Bricks show up in the output of "lsusb" in a terminal? Zitieren
kwally Geschrieben March 25, 2016 at 04:50 Autor Geschrieben March 25, 2016 at 04:50 Thanks Photon, I will check this out, I am just wondering if I should connect my bricklets to the wiFi stack, or leave them connected to the master brick, would this matter? Zitieren
kwally Geschrieben March 25, 2016 at 21:48 Autor Geschrieben March 25, 2016 at 21:48 Hi Photon, Herewith the result of lsusb, I have attached the brickd.log to this post Bus 001 Device 006: ID 1a2c:0021 China Resource Semico Co., Ltd Keyboard Bus 001 Device 005: ID 045e:0084 Microsoft Corp. Basic Optical Mouse Bus 001 Device 009: ID 16d0:063d MCS Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubbrickd.log Zitieren
photron Geschrieben March 29, 2016 at 09:00 Geschrieben March 29, 2016 at 09:00 The log contains 200 USB reconnects from a Master Brick between 7:41 and 8:50 on the 2016-03-26. This is a lot. I assume you didn't not manually reconnect the Brick 200 times in one hour. This could be a USB power issue with your Raspberry Pi. In this case the Raspberry Pi USB host port is not powerful enough to supply the stack. Do you happen to have a Raspberry Pi 1? Those had USB power issue. You could try an active USB hub in between the Raspberry Pi and the stack, or use as Step-Down Power Supply to power the stack. Maybe you need to power your Raspberry Pi from a supply with a higher output current. Zitieren
kwally Geschrieben March 30, 2016 at 02:30 Autor Geschrieben March 30, 2016 at 02:30 Hi, It,s a Pi3, the latest iteration. I am using the Power-supply recommended by Raspberry. I just removed the Wifi extension and have it working okay. I am wondering how I can incorporate this brick successfully? Thanks Karl Zitieren
photron Geschrieben March 30, 2016 at 07:25 Geschrieben March 30, 2016 at 07:25 Can you describe your setup in more detail? What Bricks and Bricklets do you have and and how are they connected? Zitieren
kwally Geschrieben April 3, 2016 at 01:57 Autor Geschrieben April 3, 2016 at 01:57 Hi Photron, After having removed the Wifi extension, I have only a masterbrick and the colour bricklet, nothing else. As an aside, I can't find a case for the colour bricklet in the shop? I am using the case meant for the i/r temp. bricklet; this works okay somewhat, except I now don't have a case for the i/r bricklet, which I disconnected to trouble shoot. Cheers Karl Zitieren
photron Geschrieben April 4, 2016 at 07:54 Geschrieben April 4, 2016 at 07:54 Okay, that should not consume too much power at all. Does this stack work on another PC? Does it work if you use another USB cable to connect the Master Brick to the RPi? Does it work if you only connect the Master Brick to the RPi? Do you have any other USB devices or hats connected to the RPi? What does dmesg say? Connect the stack, then disconnect it from USB, then run dmesg > /tmp/dmesg-dump.txt and attach the /tmp/dmesg-dump.txt file here? There is no Color Bricklet case because it would be in the way in most setups because you need to get the sensor close to the object. Zitieren
kwally Geschrieben April 5, 2016 at 03:45 Autor Geschrieben April 5, 2016 at 03:45 Thanks for the info Protron. I decided to stay with just the master brick and the colour bricklet, and dispense with all the rest. I have the colour bricklet working fine now. The only change I want to make is to add and LCD bricklet, so I can get a read-out of the colour values without having to connect a monitor. It has been some time since I configured the LCD bricklet, so I will need to browse around the Tinkerforge site for a while. Are you aware of a ready-made script for the colour bricklet values displaying on the LCD bricklet? My set-up is housed inside the case normally used for the weather station. Many thanks Karl Zitieren
photron Geschrieben April 7, 2016 at 07:08 Geschrieben April 7, 2016 at 07:08 There is no ready-made script for that, but you just need to combine existing examples for the two Bricklets to make that work. Zitieren
kwally Geschrieben April 16, 2016 at 05:03 Autor Geschrieben April 16, 2016 at 05:03 Thank you. Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.