[fusion_builder_container hundred_percent=”no” equal_height_columns=”no” menu_anchor=”” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” background_color=”” background_image=”” background_position=”center center” background_repeat=”no-repeat” fade=”no” background_parallax=”none” parallax_speed=”0.3″ video_mp4=”” video_webm=”” video_ogv=”” video_url=”” video_aspect_ratio=”16:9″ video_loop=”yes” video_mute=”yes” overlay_color=”” video_preview_image=”” border_size=”” border_color=”” border_style=”solid” padding_top=”” padding_bottom=”” padding_left=”” padding_right=””][fusion_builder_row][fusion_builder_column type=”1_1″ layout=”1_1″ background_position=”left top” background_color=”” border_size=”” border_color=”” border_style=”solid” border_position=”all” spacing=”yes” background_image=”” background_repeat=”no-repeat” padding_top=”” padding_right=”” padding_bottom=”” padding_left=”” margin_top=”0px” margin_bottom=”0px” class=”” id=”” animation_type=”” animation_speed=”0.3″ animation_direction=”left” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” center_content=”no” last=”no” min_height=”” hover_type=”none” link=””][fusion_text]
The hardware set-up is very simple. For an LED to glow, it needs a source. In a hardware controlled circuit, a switch or a push button controls the circuit.
[fusion_imageframe image_id=”3835″ style_type=”none” stylecolor=”” hover_type=”liftup” bordersize=”” bordercolor=”” borderradius=”” align=”center” lightbox=”yes” gallery_id=”” lightbox_image=”http://learn.openlabpro.com/wp-content/uploads/2018/01/ledhws-1.png” alt=”” link=”” linktarget=”_self” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” animation_type=”” animation_direction=”left” animation_speed=”0.3″ animation_offset=””]http://learn.openlabpro.com/wp-content/uploads/2018/01/ledhws-1.png[/fusion_imageframe]
It is impossible to create a hardware controlled circuit on a larger scale. Therefore, we replace the control section using a software controlled source. This reduces the complexity of the circuit.
[fusion_imageframe image_id=”3836″ style_type=”none” stylecolor=”” hover_type=”liftup” bordersize=”” bordercolor=”” borderradius=”” align=”center” lightbox=”yes” gallery_id=”” lightbox_image=”http://learn.openlabpro.com/wp-content/uploads/2018/01/ledhws-2.png” alt=”” link=”” linktarget=”_self” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” animation_type=”” animation_direction=”left” animation_speed=”0.3″ animation_offset=””]http://learn.openlabpro.com/wp-content/uploads/2018/01/ledhws-2.png[/fusion_imageframe]
In the OpenLab platform, the IO board has been designed to work in both the INPUT and OUTPUT mode of the GPIO peripheral. This has been achieved using a toggle switch. Keep the required pins in the ‘OUTPUT mode’ for this experiment.
[/fusion_text][/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]