Are you sure it is a wed5840swd as I can only find info for a wed5840sw0.
In any case a SW0 should be close to your unit. The below info is for a SW0.
Here are your parts
Parts for Whirlpool WED5840SW0 Dryer - AppliancePartsPros.comSee the attachment for the tech sheet
Does the unit make any noise when you try to start it?
[COLOR="Blue"]Can the dryness control board keep it from starting?[/COLOR]
No unless it does something very, very weird that I am unaware of.
The dryness control just controls the timer motor.
[COLOR="Blue"]
It is getting warm also. Seems like motor but not sure[/COLOR]
What is getting warm?
If the heating coil is coming on then it could be the motor.
As you can see in the wiring diagram the motor has two centrifugal switches. They close/activate when the motor gets close to operating speed.
One of them switches in the heater circuit, this ensures that the heater does not come on until there is air flow. So if you get heat without the motor turning there may be problem with these switches.
The other switch connects in the motor's start winding when at rest. So if it is in the activated position there is no start winding and the motor will not start.
One way to check for this is to push start the motor. This may require two people. Set the unit to mid scale of a heating cycle.
Then open the door and hold the door switch closed.
Then push the push to start switch.
Rotate the drum manually in the correct direction.
Be careful in case the unit starts up, you don't want to get hit by the drum vanes.
If the motor starts up then the centrifugal switches are the most likely cause.
Note: If the motor does not start up this does not eliminate it as being the cause.
Also if it does start do not let it run too long as you do not have the proper air flow when the door is open and that can blow thermal fuses etc.
Check that the motor is not clogged solid with lint (holding the switches closed).