This shows you the differences between two versions of the page.
pm:prj2025:eradu:alexandru.sima1512 [2025/05/30 00:42] alexandru.sima1512 [Hardware Design] |
pm:prj2025:eradu:alexandru.sima1512 [2025/05/30 09:49] (current) alexandru.sima1512 [Flow] |
||
---|---|---|---|
Line 16: | Line 16: | ||
===== General description ===== | ===== General description ===== | ||
- | {{:pm:prj2025:eradu:block_diagram_asima.png?200|}} | + | {{ :pm:prj2025:eradu:alexandru.sima1512:diagram.png?700 |}} |
===== Hardware Design ===== | ===== Hardware Design ===== | ||
+ | {{ :pm:prj2025:eradu:alexandru.sima1512:schematic.png?800 |}} | ||
==== List of components ==== | ==== List of components ==== | ||
Line 42: | Line 42: | ||
* VCC - 5V | * VCC - 5V | ||
* GND - GND | * GND - GND | ||
- | * AGND - GND | ||
* R (stereo sound was too resource intensive) - PB1 (Arduino) | * R (stereo sound was too resource intensive) - PB1 (Arduino) | ||
* LCD 1602: | * LCD 1602: | ||
Line 84: | Line 83: | ||
* PC3 - input (for ADC) | * PC3 - input (for ADC) | ||
* PD2 - input & pull-up (for button) | * PD2 - input & pull-up (for button) | ||
+ | * PD3 - output (Bluetooth receiver power) | ||
==== Flow ==== | ==== Flow ==== | ||
- | **Synopsis**: A button is pressed to toggle the frequency selection. While in frequency selection mode, the //ADC// is continuously running and reading values from a voltage divider containing a potentiometer (knob), while the LCD is displaying the current selected value (read from the //ADC// on interrupts) and the transmitter is playing on the previous established frequency. While not selecting, the //ADC// is turned off in order to save energy, and the transmitter is playing on the established frequency (selected when the mode changes), while the LCD displays it. | + | **Synopsis**: A button is pressed to toggle the frequency selection, or held (>1s) to switch between playing audio from Bluetooth or the SD card. While in frequency selection mode, the //ADC// is continuously running and reading values from a voltage divider containing a potentiometer (knob), while the LCD is displaying the current selected value (read from the //ADC// on interrupts) and the transmitter is playing on the previous established frequency. While not selecting, the //ADC// is turned off in order to save energy, and the transmitter is playing on the established frequency (selected when the mode changes), while the LCD displays it. While playing audio from the SD card, the power supply is cut from the Bluetooth receiver, and ''wav'' files are played, in order, from the disk. A press of the button skips to the next song. |
On setup, several registers are configured: | On setup, several registers are configured: |