Jump to content

JavaLaurence

Members
  • Gesamte Inhalte

    216
  • Benutzer seit

  • Letzter Besuch

Posts erstellt von JavaLaurence

  1. Hi,

    I'm considering a project whereby I'd need a matrix of buttons *like* the TF "RGB LED Button"s.. but without the steep components cost involved since I would need a matrix of at least 8 x 8 (64 buttons), or much better 10 x 10 buttons. Does anyone here have some idea on how to build something like this really cheap? I.e. a matrix whereby each button's RGB LED is controllable, and each button produces its own unique on/off event? (For those with synthesizer knowledge, I'd like to obtain something resembling the matrix in the Arturia MatrixBrute synth).

    Thx for any ideas/pointers.

  2. Thanks for the clarification. I then have a second question: can the addition of a co-processor and more robust connectors be done without changing the price levels that TF users have grown accustomed to?

     

    It looks to me as if this co-processor will need to be really, really cheap for it not to have an end-user price impact..

  3. I seriously frowned when I read these words: "in a three year time frame."

     

    Three years sounds unrealistically long. Three years is an eternity in politics and in technology. Such a strategy implies that you impose upon your customers a transition period that is that long. I think 3 years is huge, and a completely wrong period for the kind of products we're talking about, and the kind of company you are. To be frank, it's just plain weird. If, as an alternative, you said "By the end of 2017 we'll have all bricklets converted to the new design".. I for one would be happy to continue thinking of Tinkerforge as a viable ecosystem for current and future projects. But three years? Sorry.. not me.

     

    I'll also add that I question why such a massive earthquake is needed? You mentioned the event counter use case.. that's one use case. Have you been inundated by other use case requests from customers that justifies such a major undertaking? What about all your existing customers who are perfectly happy with the current approach, including the fragile connectors? Your proposal means complete backwards and forwards incompatibility. I currently can't see the crystal clear business case for putting yourselves and us (customers) through such a huge change.

     

    My 2 cents..

  4. If I may express my opinion on this, I think Tinkerforge should be given a medal for supporting a broad variety of programming languages, and in so doing help people with possibly very little programming experience so far.

     

    But it is exactly in this beginner-friendly approach that ultra low-level APIs don't fit. Experienced programmers can deal with APIs that expose little more than what the hardware natively exposes.. but that's a tough learning curve for a beginner.

     

    Having to implement Bresenham's line drawing algorithm to obtain a drawLine(x,y, x,y) API is in my opinion not compatible with the whole rapid "tinker" philosophy.

  5. I just checked the API, expecting to find a plot(x,y) as an absolute minimum, but couldn't find this.

     

    To be honest, I think the following would be really appreciated by lots of people:

    - plot(x,y)

    - fillRect(x,y,w,h)

    - clearRect(x,y,w,h)

    - line(x1,y1, x2,y2)

     

    Could Tinkerforge team please indicate whether these will be added at a later date, or should we tackle this ourselves?

     

    Thanks!

     

      Laurence

  6. Hi TF team,

     

    Would it be possible if you enhanced the API for the Segment Display bricklet so that we can

     

    a) put any integer in the range 0..9999 on the display in a single call (without having to mess with the segments individually)

     

    b) put any single-digit decimal in any of the 4 available slots, again, in a single call.

     

    Given that you must already have the code to control the segments to "render" digits (hidden within your counter API), I would imagine that adding the above is very little work.

     

    Thx!

     

      Laurence

  7. I ordered the sensor with the purpose of seeing if traffic pollution can be detected. I don't actually care how the pollution is classed (PMxxx whatever). I'm only interested in seeing a change in value when the traffic is known to be sending us polluted air in our direction.

     

    Will report back here once I've been able to test the sensor (waiting on delivery).

     

      JL

  8. @Theo: I'll describe what I've done..

     

    First of all, I wanted all concrete TF classes for bricklets to become interfaces. Chiefly so that I could have multiple implementations (e.g. one bound to the real hardware, another bound to an emulated bricklet, a unit test mock, etc.)

     

    To obtain those interfaces, I wrote a code generator that parses the official TF JAR, and generates the interfaces, and a bunch of other things (like concrete classes wrapping the TF bricklet classes, and implementing the interfaces).

     

    I also wrote a few (not many) emulated bricklets. E.g. the LCD bricklet, various sensors.

     

    The end result is that I can write TF applications that are interface-based, and which can trivially switch execution between emulated and real hardware.

     

    By the way, it's kind of ironic that my approach is code generation-based, because Tinkerforge also uses a code generator as their foundation for language-neutral description of all their devices.

×
×
  • Neu erstellen...