Git Product home page Git Product logo

bekant's People

Contributors

ahendrix avatar nschurando avatar trainman419 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bekant's Issues

Compiling error for esp8266

Hallo,

Great project, I'd like to automate my bekent desk with your project. Compiling the code for an Arduino Uno works fine, but compiling it for esp8266 with the webserver results in:

bekant:68:15: error: 'class aREST_UI' has no member named 'buttonCallback'
   return rest.buttonCallback(answer);
               ^
/Users/remco/Code/Arduino/bekant/bekant.ino: In function 'void setup()':
bekant:87:8: error: 'class aREST_UI' has no member named 'buttonFunction'
   rest.buttonFunction("Up", &up);
        ^
bekant:88:8: error: 'class aREST_UI' has no member named 'buttonFunction'
   rest.buttonFunction("Down", &down);
        ^
exit status 1
'class aREST_UI' has no member named 'buttonCallback'

I have aRest library version 2.9.1 and aREST_UI library version 1.1.1 installed.

And idea what i might do wrong?

Gr. Remco

Nice work

Really interested in this, I've spent some time doing the same thing you have it would appear before finding this repo :)

I have some captures as well.

I think 0x87 is some sort of "fine adjust/move" command.

I'll be ordering some MCP2003's soon, so I look forward to collaborating. I could add my reverse engineering findings (dumped into Excel) if you'd like.

Won't Activate - New Firmware?

I have followed your example and schematic as perfectly as possible. Quntuple-checking every connection, but the desk never moves. I have switched back and forth to the built-in controller, and it always works, but the Arduino never does. Is it possible the firmware changed on the desk?
I am also using an MCP2003 (not 2003B.) It doesn't seem like that should make a difference, but could it? The B supports LIN 2.2, and the one I have supports up to 2.1, but I can't imagine that's an issue.
Any hints? I can't troubleshoot it the way I understand, because the serial port is in use for the LIN chip.
I tried switching (using an arduino mega) to other serial pins using the constants, but it always outputted on the usb serial when connected.
I also ensure the usb serial is disconnected before testing.
Any advice would be great.

Can my desk use 3 legs?

Hi I am looking into upgrading my desk, but I need 3 legs. I am considering buying 4 legs, but use only 3 of them. Problem is I could not find out if the protocol work with only one master and two slaves, or if I can have 3 slaves as well? Thank you!

delay_until

Hi,

What does the delay_until do? And why did you use "5" as argument?

Thanks

Master Request Frame

I am using this libraries to control HVAC Flap actuators. But when i send a master request frame i cant recieve slave response. How can i send master request properly.

New controller not doing anything

Hello,
I have built a LIN controller as shown in the schematic. I only use an mcp2003 e/p instead off an MCP2003B.
I have the Bekant desk plugged in with the original controller, next I remove the original controller an plug in the Arduino controller still with the Bekant desk powered on.

The desk does not respons to and button press. I see the Arduino Led lightning up when I press a button. I have also connected a logic analyser to the RX and TX pin (0 and 1) and I see LIN protocols going by. I think I even see LIN respons to ID 0x08 and LIN respons to ID 0x09.

And idea what i might be doing wrong or how I can do further debugging?

Gr. Remco

`
response-to-08
response-to-09

`

Get MCP2003B to work with 3.3V ESP8266?

@trainman419 You did a very good job! I was using two relay to simulate the button but that's just an ugly solution. It's way better to communicate to the LIN bus directly.

Btw, I'm using ESP8266 in my project. The only problem is that it's output pin has a voltage of 3.3V instead of 5V on an Arduino. I checked the datasheet of MCP2003B and found these about the TDX and RDX:

RDX: It has to be at a high level (> 2.5V typical) while LBUS is recessive

Looks like 3.3V from ESP8266 pin is just fine.

TDX: has an internal pull-up

I don't know if the voltage here will be 5V or 12V, but both are higher than the max tolerant voltage of ESP8266 pin.

Do you have any thought about this problem? I mean I can use a MOSFET as a gate but that seems to be an overkill.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.