Jump to content

Cathodion

Members
  • Gesamte Inhalte

    65
  • Benutzer seit

  • Letzter Besuch

Posts erstellt von Cathodion

  1. Hey guys,

     

    The blog post about the master brick 2.1 says:

     

    With a Master 2.0 and four Bricklet connectors, the maximum bus length was 4x2m = 8m. To increase the electromagnetic immunity, we split the I2C bus into four different buses with an I2C hub.

     

    Does this mean the 2.1 version of the master brick can use 8m bricklet cables since every bricklet port has its own bus?

  2. Hey Guys,

     

    In a couple of months my employer is moving to a new office space. Several weeks from now the building will be prepared for our needs, which is the perfect opportunity for me to install some tinkerforge stuff throughout the office. If I can come up with a reasonable plan my employer will consider this.

     

    What would be the best/cheapest way to connect about 8 to 10 separate master bricks with each other?

  3. This is the log of brickd running on the Odroid:

     

    2014-03-17 23:14:41.512984 <I> <network|network.c:94> Added new client (socket: 15, peer: 192.168.1.116)
    2014-03-17 23:15:01.129551 <I> <usb|usb.c:144> Added USB device (bus: 1, device: 51) at index 0: Master Brick [6QHQQb]
    2014-03-17 23:15:14.699561 <I> <usb|usb.c:144> Added USB device (bus: 1, device: 52) at index 1: Master Brick [6DbrcQ]
    2014-03-17 23:15:28.269694 <I> <usb|usb.c:144> Added USB device (bus: 1, device: 53) at index 2: Master Brick [6jEWkb]
    2014-03-17 23:15:35.442208 <I> <network|client.c:74> Client (socket: 15, peer: 192.168.1.116) disconnected by peer
    2014-03-17 23:15:37.095135 <I> <network|network.c:94> Added new client (socket: 15, peer: 192.168.1.116)
    2014-03-17 23:15:37.098579 <E> <network|client.c:255> Could not send response to client (socket: 15, peer: 192.168.1.116), disconnecting it: EAGAIN (11)
    2014-03-17 23:15:37.214632 <I> <network|network.c:94> Added new client (socket: 15, peer: 192.168.1.116)
    2014-03-17 23:15:37.378739 <E> <network|client.c:255> Could not send response to client (socket: 15, peer: 192.168.1.116), disconnecting it: EAGAIN (11)
    2014-03-17 23:15:37.536632 <I> <network|network.c:94> Added new client (socket: 15, peer: 192.168.1.116)
    2014-03-17 23:15:37.598215 <E> <network|client.c:255> Could not send response to client (socket: 15, peer: 192.168.1.116), disconnecting it: EAGAIN (11)
    2014-03-17 23:15:37.706233 <I> <network|network.c:94> Added new client (socket: 15, peer: 192.168.1.116)
    2014-03-17 23:15:37.745932 <E> <network|client.c:255> Could not send response to client (socket: 15, peer: 192.168.1.116), disconnecting it: EAGAIN (11)
    2014-03-17 23:15:37.874373 <I> <network|network.c:94> Added new client (socket: 15, peer: 192.168.1.116)
    2014-03-17 23:15:38.004635 <E> <network|client.c:255> Could not send response to client (socket: 15, peer: 192.168.1.116), disconnecting it: EAGAIN (11)
    

     

    You can see what I'm doing:

    • Connect brickv running on my Mac to brickd running on Odroid
    • Attach 3 bricks using 5m usb cables
    • Disconnect Brickv and try to reconnect

     

    See the attachement for a screenshot of the brickv error message.

     

    Now the following is the log output of brickd running on my Mac. I've simply attached the same bricks setup to my mac, which is now running both brickd and brickv:

     

    2014-03-17 23:26:08.477154 <I> <network|network.c:94> Added new client (socket: 13, peer: 127.0.0.1)
    2014-03-17 23:26:15.523401 <I> <usb|usb.c:144> Added USB device (bus: 26, device: 5) at index 0: Master Brick [6QHQQb]
    2014-03-17 23:26:15.845647 <I> <usb|usb.c:144> Added USB device (bus: 26, device: 6) at index 1: Master Brick [6DbrcQ]
    2014-03-17 23:26:15.907285 <I> <usb|usb.c:144> Added USB device (bus: 26, device: 7) at index 2: Master Brick [6jEWkb]
    2014-03-17 23:26:30.675503 <I> <network|client.c:74> Client (socket: 13, peer: 127.0.0.1) disconnected by peer
    2014-03-17 23:26:35.006954 <I> <network|network.c:94> Added new client (socket: 13, peer: 127.0.0.1)
    

     

    No problem whatsoever...

    Screen_Shot_2014-03-17_at_23_18_57.png.c20fe99d6204fe926b7c67c546de0c04.png

  4. Thanks for your replies. I'm trying out several different setups to be able to answer your questions. I have a couple of answers already:

     

    - I'm seeing the problem on linux only. If I connect 3 master bricks using long (5m) usb cables and a USB hub to my Macbook Pro I have no problems at all!

    - The linux PC that I want to use is an Odroid U3.

    - The problem is not related to a particular cable or brick.

    - I can connect as much bricks as I want to the Odroid which all works fine... until I disconnect brickv from brickd and try to reconnect. So it looks like there's a problem in the brick/bricklets discovery mechanism on linux when a client connects.

     

    I have a Windows 8 laptop in the house (ugh) so I'll test on that one too.

     

    I'll have more answers in the coming days.

  5. Hey fellas,

     

    I'm running into trouble connecting multiple master bricks over USB to my PC. I have 3 master bricks installed in different rooms in my attic, and connect those with USB cables to a powered USB Hub, which is connected to my PC. However, if I connect more then 3 master bricks to the HUB brickv can no longer connect to brickd. If I attach 2 master bricks, then connect with brickv, and then connect the 3rd master brick to the USB Hub, I can see the third brick appear in brickv less then a second after plugging it in. But If I then disconnect brickv and try to reconnect it fails, and keeps failing until I disconnect one of the bricks.

     

    If i remember correctly I also get problems if I connect 2 master bricks with USB cables to 2 different USB ports on my Macbook.

     

    Are there any such problems known to you?

    These use-cases are quite important to my setup, so I would be more then happy to give more details on this problem in a Google Hangout or something.

     

    Kind regards,

    Geert Schuring.

  6. Hey Guys,

     

    I wouldn't buy any of these boards (voted). I love tinkerforge (spend over 400 euros on it, and not done yet ;D) so I'm not just being negative. I honestly think it would be a waste of time and energy to develop a new device from scratch when things like the Raspberry Pi (huge community) and the ODROID-U3 (1.7 Ghz Quad core, 2GB RAM, link: http://hardkernel.com/main/products/prdt_info.php) are available for around 50 euro's.

     

    You could turn these into a dedicated development board by shipping them with a custom OS image. Using commodity hardware would always be my preference.

     

    Another thing that I would be much more interested in is more documentation about how to write custom firmware that would make a standard master brick able to operate on its own without a PC-device connected to it. Or maybe allow the brick viewer to upload simple scripts to a master brick, that would be even better.

     

    Hope you find my feedback valuable. Unfortunately the German forum is very difficult for me to read so I can't really follow what's being said there.

     

    Kind regards,

    Geert.

  7. Hi Cathodion

    Just curious about your ideas to install PIR sensors in every room.

    Can you tell more about your installation/setup?

    Do you use Wifi Extension? RS485? One master per room? How do you switch lights? Do you use remote control switches for switching on/off lights like it's done in the Hardware Hacking Starter Kit?

    Thanks

    Raphael

     

    Hi Raphael,

     

    My project is still in R&D phase. I intend to install a brick in every room with a PIR, ambient light, temperature and humidity sensor attached. This means I can choose to only switch the light on when there is movement and the ambient light level is below a certain threshold. There's usually no need to switch lights on during the day.

    I'm not sure how to alter the traditional electrical wiring of my house, but I'm thinking of creating a "hotel-switch" setup between the existing wall switches and the dual relay bricklets. (Don't want to upset the less tech-savvy residents).

    As far as extensions are concerned, I'm not using any. I've bought several 5m USB cables (6 euros) which allow me to connect the bricks on all rooms of a single floor in my house to 1 USB Hub. I've also found a USB to Ethernet converter (20 euros) which allows me to connect the HUBs from all floors to a single Raspberry Pi located in the basement using (max) 50m USB connections using Ethernet cables.

    As I said, this is still in development phase, but I'll post a nice blog about it when there's something to show.

     

    This makes me curious about your applications of Tinkerforge stuff. Care to share?

     

    Kind regards,

    Geert Schuring.

     

  8. Hi fellas,

     

    Any idea when the motion detection bricklet will be available and what its price is going to be? I plan to install motion sensors in every room of my house and use the feedback to switch lights.

     

    Now I could use a 5v motion detector sensor with the IO bricklets, but if Tinkerforge has a bricklet coming at a reasonable price I'll wait for that.

     

    I've seen the bricklet in the server room kit, so I hope its about to hit the shop!

  9. If I understand you correctly you could simply solve this by using a powered USB hub. That's the way I do it:

     

    Raspberry Pi --> Powered USB Hub --> Master Brick.
                                     --> Wifi Dongle.
                                     --> RFID Reader.
    

     

    This way the Master brick doesn't draw power from the Raspberry Pi. The powered USB hub costed me about 6 euro's. Cheapest solution I know!

  10. Hi,

     

    Could you add a larger mounting plate to your shop? Preferable one that is at least 4 times larger then the current largest one. I can always saw a bit off when its to big. The current plates arent big enough to fit a master brick and a single io16 bricklet. Also, I would like to mount a master brick and several dual relay bricklets on 1 plate.

     

    Hope you can make this happen.

     

    Kind regards,

    Geert Schuring.

  11. The Ethernet Extension supports PoE and the parts required for PoE make up a good fraction of the price. We're planning to offer a version of the Ethernet Extension without PoE support. This one will be cheaper, but we don't have a price or a date for it yet.

     

    Thanks for your reply. The ethernet extention without the PoE would be less interesting for me.

     

    I've successfully used a 20 euro USB-over-Ethernet converter, that allowed me to power and talk to a master brick 50 meters away from the computer. This of course requires a computer with a running brick deamon (but this can be used for multiple usb connections to masters bricks), and you can't combine it with your existing ethernet network.

     

    Thanks again for the reply.

  12. Hey folks,

     

    I really like the Ethernet extension but the price is keeping me from buying several of them. Especially since you also need a master brick, and the bricklet cables only reach 2m. That means I need about 7 or 8 master bricks spread throughout the house. The Ethernet extension is really great because I can reuse the Ethernet cables already present, but its so expensive that buying a set of raspberrypi's instead looks like a realistic alternative.

     

    Could you explain a bit about the reasons for the high costs of the Ethernet extension?

     

    thanks,

    Geert.

×
×
  • Neu erstellen...