This is an old revision of the document!


User Interface module III

Needs translation

The User Interface module is designed for simple tasks and basic process control. Module has three push-buttons and three LEDs, which can be used as digital inputs and outputs of microcontroller. Additionally to simple LEDs the module is equipped with 7-segment indicator, graphical LCD display and a speaker. Interface module has four analogue sensors: potentiometer, photoresistor, thermistor and microphone. User Interface module is handy to use along with other modules enabling to control the output device behavior, like motors and display the sensor readings. The module is covered with plexiglass to protect the board from accidents.

The module is equipped with:

  • Green, yellow and red light-emitting diode (LED)
  • Three push-buttons (S1, S2, S3)
  • 7-segment LED indicator
  • Graphical LCD (128×160 px, 24-bit RGB)
  • Speaker
  • Potentiometer(10 kΩ)
  • Photoresistor
  • Thermistor
  • Microphone
User Interface module

Electrical connections

User Interface module is equipped with three buttons S1, S2, S3 which are connected to ports PH2, PH1, PH0 accordingly. The other end of buttons are connected through the resistors to ground (logical 0). LED1, LED2 and LED3 on the module are connected to the ports PH5, PH4, PH3 accordingly. The anodes of LEDs are connected to the supply (logical 1).

Schematics of buttons and LEDs

User Interface module is equipped with 7-segment indicator, which is connected to the three output terminal of the microcontroller through a shift register 74HC595.The data signal (SER) of the the shift register is connected to pin PK4, clock signal (CLK) to pin PK5 and latch (LATCH) to pin PK6.

Schematics of 7-segment indicator

User Interface module is equipped with LCD screen. The LCD screen is connected to the port PE SPI bus (MOSI - PE5, SCK - PE7). The rest of the LCD control signals are located on port PK.

Schematics of the LCD

The speaker is connected with controller board's pin PB3, which behaves as a digital-to-analog converter. It's possible to generate sound with Robotic Homelab library or with your own software.

Schematics of speaker

Kasutajaliidesele paigutatud andurid on ühendatud otse mikrokontrolleri analoog-digitaal muunduriga.

Andurite ühenduse skeem
Märge plaadilPlaadil olev andurMikrokontrolleri viik ADC kanali number
MICMikrofonPB4 ADC12
LDRValgustugevuse andurPB5 ADC13
NTCTemperatuuriandurPB6 ADC14
POTPotentsiomeeterPB7 ADC15

Kasutajaliidese moodul ühendatakse Kontrollermooduliga ettevaatlikult nii, et kõik klemmid mõlemal moodulil täpselt kattuksid. Kui moodulid on korralikult ühendatud, siis võib Kontrollermooduli uuesti pingestada. Kontrolli, et kõigi omavahel ühendatud moodulite toite LED-id Kontrollermooduli pingestamisel süttiksid.

Omavahel ühendatud moodulid
en/hardware/homelab/digi/v3_1.1426520437.txt.gz · Last modified: (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