Replies: 9 comments 17 replies
-
Wow man. This, truly, is a MEGADESK. It is definitely possible. The hardware would probably be pretty straightforward, the software a bit more involved. Hardware wise, a microcontroller with 2 serial ports, and then 2 LIN bus transceivers. You would need to have seperate LIN bus, as the motor's will probably share the same ID for left and right (eg 2 left motors, 2 right motors)... it would be interesting to see what happens if you tried with 1 LIN bus but I can't imagine it being very stable. If one motor drifts position at all it could cause issues. It might also be possible with 2 current megadesks, and the 2 are running different firmwares. One becomes primary that controls everything - the 2nd board relays the information over serial bus to the primary and decides what to do. The buttons are only connected to the primary unit. Someone has already merged the code for serial communications. One of the challenges might be the limited amount of memory available on the ATTiny841. Let me think about it for a bit see what ideas I come up with :) |
Beta Was this translation helpful? Give feedback.
-
Is there any news on controlling two desks simultaneously? I have the same problem and would love to order 2 megadesk boards to solve it. Also I'm willing to pay extra for the R&D. |
Beta Was this translation helpful? Give feedback.
-
Biggest challenge here is having 2 desks to play with :) Otherwise the implementation would be straightforward with the serial protocol. If anyone has spare (working) legs they want to ship, that could work as well. |
Beta Was this translation helpful? Give feedback.
-
Very much interested in this project. I can't find anything online about connecting multiple desks. I was planning on implementing a rudimentary hardware solution to essentially "press" both sets of buttons but would gladly pay for a single controller that can natively handle it. |
Beta Was this translation helpful? Give feedback.
-
Seems simple soldering of the original boards to controll 4 legs didn't work. That's what I tried first without searching online. It didn't work. Has anyone managed to get anything to work? Also I have 0 experience in Arduino and setting up controls. |
Beta Was this translation helpful? Give feedback.
-
For what it's worth, I ended up going with a low tech solution. I rigged up
a relay system and wired it to 2 controllers in order to effectively
control 4 legs simultaneously. It isn't perfect but it works for now.
Fyi I'm pretty sure all of the legs are identical. I've mixed and matched
legs to controllers (2 at a time) and they always work as expected.
…On Tue., Dec. 26, 2023, 1:32 p.m. Mr-HaXx, ***@***.***> wrote:
I will order that device. And get back in here for instructions on how to
use
—
Reply to this email directly, view it on GitHub
<#55 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATPLXDTVQBN6RUGW53I2ED3YLMJ3JAVCNFSM43RZOXQ2U5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TOOJVGA3TCMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Just a fyi I burned out one set of legs due to a goof on my part so I got another pair. I noticed the circuit board is marked as a different revision: "Rev. 10.9 Soft 3.8 03/17" |
Beta Was this translation helpful? Give feedback.
-
I have tried a lot, the problem is that the chip in the Ikea table is programmed to only work with 2 legs, it checks if it receives a pulse from both legs, and checks if the voltage is correct. So when I soldered extra legs, it stopped working. So I gave up, used 1 pair of legs with 1 controller, and just put 2 desks of 1,50m on top, and used reinforced metal underframe I welded. So the tables lifts the 3m table with no problems and supports all the weight on top.
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: cerahmed ***@***.***>
Sent: Wednesday, December 11, 2024 4:50:29 PM
To: gcormier/megadesk ***@***.***>
Cc: Mr-HaXx ***@***.***>; Comment ***@***.***>
Subject: Re: [gcormier/megadesk] Controlling multiple desks/legs (Discussion #55)
Hey thanks for sharing your experience. Can you please provide more details on how you went about wiring the relay system? I'm about to attempt the same.
—
Reply to this email directly, view it on GitHub<#55 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHB56PYRJGZ6I5QJCI3KZM32FBNMLAVCNFSM43RZOXQ2U5DIOJSWCZC7NNSXTOSENFZWG5LTONUW63SDN5WW2ZLOOQ5TCMJVGM2DQNZQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I wired one SPDT relay to control the UP signal for both legs and a
separate relay to control the DOWN signal.It's pretty rudimentary and it
occasionally hiccups but it works.
The main issue is when one pair of legs doesn't respond for whatever
reason. You have to watch for this each time because you dont want the
height difference to get too extreme.
Also the legs arent perfectly in sync. Ive noticed that there are several
different revisions of the controller board so this might have to do with
it. However its close enough that it isnt a problem for me.
…On Wed, Dec 11, 2024, 10:50 a.m. cerahmed ***@***.***> wrote:
Hey thanks for sharing your experience. Can you please provide more
details on how you went about wiring the relay system? I'm about to attempt
the same.
—
Reply to this email directly, view it on GitHub
<#55 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATPLXDQBMLFCC7OLZ7ENTF32FBNMLAVCNFSM43RZOXQ2U5DIOJSWCZC7NNSXTOSENFZWG5LTONUW63SDN5WW2ZLOOQ5TCMJVGM2DQNZQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi guys, I am happy owner of 2 Bekant desks wich i have extended them and combined them in a L shape desk.
Until now I have been operating them by pressing bothbuttons at the shame time. If they get misaligned is just lower them to the bottom where two IKEA ALEX cabinets on the ends and a desk leg on the corner are holding the Bekant legs on the air.
I have tried using a arduino to sync this action. But I only manage with just closing circuit of the buttons. I thought using couple ultrasonic distance sensors. But then I found a tut. on youtube that someone was reading the LIN bus to get the height of the desk. I try doing that but I didn't know how to read from 2 different units with a single arduino.
Then I found megadesk, but I didn't have the time to look into them. But now I want to look into that again. And I was thinking if I could ask a custom version of megadesk.
That would be awesome, then I could expand on that version and print an custom enclosure with memory buttons and why not even use my elgato stream deck.
Do be honest I am not interested of using the original enclosure or buttons at all.
But first thing first, how we could read from two units and then send the same command on both.
If we could read both units, then we could also see if they are misaligned and even balance them automatically.
I just throwing ideas here. I am a marine engineer and hobbyist C# programmer. So my knowledge in electronics is a bit limited. I know just the basics with an arduino.
If gcormier willing to make a custom version of something like that, of course I am willing of paying any extras RnD and work he will do for something like that.
Thank you for reading my idea.
Beta Was this translation helpful? Give feedback.
All reactions