You are on page 1of 8

Project Microcontroller

Jair Mendoza-Espinoza 269615


January 26/01/2024
Content:

Content:.....................................................................................................................................2
Description of functionality..................................................................................................... 3
Assumptions.............................................................................................................................. 3
Selected Components:.............................................................................................................. 4
Description of Components:.................................................................................................4
Main parameters of components:......................................................................................... 5
Schematic.................................................................................................................................. 7
PCB design (2D and 3D view)................................................................................................. 8
Draw in Altium designer:..................................................................................................... 8
Additional Aspects............................................................................................................... 9
Summary................................................................................................................................... 9
Description of functionality
Create a shield that handles audio inputs and is able to play music files stored for example on
a microSD card additionally it has the capability, according to the humidity of the
environment, to change between defined musical pieces. This shield is inspired by MP3
Shield-v13 for Arduino.

Assumptions
Functional assumptions are related to what the system is intended to do and how it should
perform certain functions. Design assumptions involve decisions made during the design
phase and expectations about how certain elements will be structured.

Functional Assumptions Design Assumptions

Audio output The shield have an integrated speaker to


be able to reproduce sounds

Power management The shield is powered by an external


source but from itself

Chassis Design The shield have the necessary size


depending on how many pins it is using

Temperature sensible The sensor shield is able to recognize


the most common human environment
temperature

Selected Components:

● Microcontrolador: STM8S003F3P6
● Regulador de Voltaje: LM2596S
● IC SPI Aislado: ISO1540DR
● Sensor de Humedad Digital: TMP75AIDR
● Ports extensions: MCP23017
Description of Components:

1. TMP75AIDR

The TMP75AIDR is a digital temperature sensor, which means it provides


temperature readings in a digital format rather than an analog signal.
It uses the I2C (Inter-Integrated Circuit) communication protocol to interface with
microcontrollers or other digital devices. This protocol allows for easy integration into
digital systems.

2. LM2596S

The LM2596S is a 3.3A, 3-15V adjustable step-down voltage regulator that


can be used to provide a stable and regulated output voltage from an input
voltage of 3-40V. This pcb uses two LM2596S regulators to provide two
separate output voltages: 3.3V and 1.8V.
The main reason we would like to have two outputs is to improve power
efficiency.

3. STM8S003F3P6

The STM8S003F3P6 is part of STMicroelectronics' STM8 series, known for


offering cost-effective solutions. This makes it a good choice for projects with
budget constraints or where cost optimization is a priority.

Some features that are nice from this series

● 8-bit Architecture:
● Versatile Peripherals
● Low Power Modes
● Compact Package (F3P6)
● Community and Documentation
● Development Tool
● Application Flexibility.
Main parameters of components:
This are the main and most important parameters of the selected components

TMP75AIDR STM8S003F3P6 LM2596S

Operating temperature -40 to 125 -40 to 85 -40 to 85


range (°C)

Supply voltage (min) (V) 2.7 1.8 3

Supply voltage (max) (V) 5.5 5.5 40

Interface type 12C SPI —

Clock Frequency — 0 - 16 MHz —


Schematic
PCB design (2D and 3D view)

Draw in Altium designer:


As mentioned before the first Idea was to make the PCB as smaller as possible
however I ended up doing a full size pcb for Arduino including all the pins.
Additional Aspects
These are some detailed information about the PCB structure and parameters.

Summary
The main aspect of this project that has not been handled correctly is the temperature: First
we desired to have temperatures from a human environmental perspective this temperatures
can go from -12°C (winter) to 30°C (summer) while our first sensor temperature sensor range
did not fit it thus It has been changed to the actual one, Secondly this temperatures are
allowed to the sensor at a maximum temperature around ~130°C however this temperature is
not from a normal human environment but could be useful for using the shield in other ways
but we always need to take into account all the components temperature range.
This project was not so easy to prepare since it was one of the first projects of this style that I
have ever made. Some things outside the technical or electronic aspect that have a big impact
on this project is the familiarization of the work environment that will be used, time
organization among other smaller aspects.

You might also like