Difference: AnalogueSignals (2 vs. 3)

Revision 32022-10-24 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="MinimalLectures"

Analogue Signals

Line: 17 to 17
 
GND GND
Use the male/female Dupont wires to make the connections.
Added:
>
>
slider_conn.png
 You find a description of the MicroPython driver in the doc again. The ADC works for a range of 0..1V only while the potentiometer produces signal levels of 0..3.3V. A signal attenuator allows adapting the ranges. It must be set to ADC.ATTN_11DB for our 0..3.3V slider.
Added:
>
>
 
from machine import ADC,Pin
from time import sleep_ms
Line: 34 to 37
 
<--/commentPlugin-->
Changed:
<
<
META FILEATTACHMENT attachment="slider.png" attr="" comment="" date="1665953663" name="slider.png" path="slider.png" size="156597" user="UliRaich" version="1"
>
>
META FILEATTACHMENT attachment="slider.png" attr="" comment="" date="1666609103" name="slider.png" path="slider.png" size="156597" user="UliRaich" version="3"
META FILEATTACHMENT attachment="slider_conn.png" attr="" comment="" date="1666609153" name="slider_conn.png" path="slider_conn.png" size="79590" user="UliRaich" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback