This is an old revision of the document!


Controlling flap position using servo

Easy scenario. Students should move the flap in the lab

Target group

This hands-on lab guide is intended for the Beginners.

Prerequisites

Generally students need skill using servo. For realising scenario, students need access to documentation for servo and understanding PWM control method.

Scenario

- using schematic, check servo connection, - using ESP documentation check registers with PWM controling, - write the program which: * send value 0 as duty of PWM, * wait 15 seconds, * send value 50 as duty of PWM, * wait 15 seconds, * send value 100 as duty of PWM. - using the camera observe display flap position. - You can use other wait time and value of duty, but wait time should allow observe effect by camera (against net lag)

Result

On display should be visible flap closed, middle position, full open.

Start

Check the start flap position.

Steps

Instead using built-in PWM, you can send “0” and “1” for obtain required duty factor.

Result validation

Only way for validation is check flap position by camera.

FAQ

This section is to be extended as new questions appear.
When using the printed version of this manual please refer to the latest online version of this document to obtain the valid and up-to-date list of the FAQ. Provide some FAQs in the following form:
Question?: Answer.

en/iot-open/remotelab/sut/generalpurpose/b2.1546468069.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0