nv1t / standing-desk-interceptor

I wanted to intercept the communication between my Flexispot standing desk buttons. This is the progress on the project
Creative Commons Zero v1.0 Universal
41 stars 1 forks source link

Using 5V from RJ45 to power Omega #8

Closed nv1t closed 2 years ago

nv1t commented 4 years ago

I want to setup the device inbetween, without adding another powercable. The RJ45 has a VDD of 5V, the Omega needs 3.3V.

A power regulator LD1117, should be find.

(Source: https://docs.onion.io/omega2-docs/hardware-prep-no-dock.html)

nv1t commented 4 years ago

Tried setting up an interceptor with a halfed interceptor board (works quite nice) and the omega expansion dock. IMG_20200330_162803_2

Problem is: The omega reboots after approx 18-19sec, due to power spike.

The reculator needs two capacitors to V_in and V_out of the regulator, but don't have them here.

"My recommended spec is input 47uF and output 470uF to handle power inrush demand by Omega2's sudden WiFi power on in around 19-20 seconds into the boot. Also, do not use thin power supply wires. I recommend minimum of 22 Ga." - (Source: https://community.onion.io/topic/2375/resolved-omega-2-powered-without-dock-shuts-off-after-18s/3)

nv1t commented 4 years ago

There's an open ticket for it in omega-docs repository. It looks like they know this issue (since 2017)

https://github.com/OnionIoT/Onion-Docs/issues/51

nv1t commented 4 years ago

I tried with two capacitors 0.1uF V_in and 10uF on V_out. Stills drops out. Maybe te capacitors are too small? (only ones i had available, which matched the datasheet)

IMG_20200331_094322_2 The angle looks strange. The grey cable is definitily in 3.3V.

Have to increase the capacitors to see if the voltage drop is still there.

thinking about opting for the easier solution just powering it from an external usb power device for now and doing a board switch later. Interestingly i can run it with 5V from external power supply, but not from the rj45 pins. seem to be to unstable.

nv1t commented 4 years ago

The Board Layout as to accommodate a usb-c or usb-micro for powerrail and possible disconnect between the rj45 and powerrail. This way, the switch between powering the omega with an external powersupply is much easier and no new layout has to be made.

If the layout works, maybe the usb-c can be dropped in a later stage. (Rev02 maybe)

nv1t commented 3 years ago

Pulling power from the main line for the Microcontroller results in a error code from the motor controller, because it draws to much power...

fabicodes commented 3 years ago

How much power does an omega board draw? I've tested it with an ESP8266 which didn't cause any issues

On Fri, 5 Feb 2021, 14:46 nv1t, notifications@github.com wrote:

Pulling power from the main line for the Microcontroller results in a error code from the motor controller, because it draws to much power...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nv1t/standing-desk-interceptor/issues/8#issuecomment-774042225, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANKFTF5IXAL65ZM5OY5SYLS5PZDZANCNFSM4LWUHZRQ .

nv1t commented 3 years ago

If you power it directly from the the 5V without the control panel it does work. having the CP in the loop, it faults out for me. i have to recheck with an esp32. I tested it with a RPi Zero, which was way to power hungry.