This shows you the differences between two versions of the page.
pm:prj2025:eradu:alexandru.sima1512 [2025/05/30 00:45] alexandru.sima1512 [Pin connections] |
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 |}} | {{ :pm:prj2025:eradu:alexandru.sima1512:schematic.png?800 |}} | ||
Line 88: | Line 87: | ||
==== 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: |