add some more notes

This commit is contained in:
Vineet K 2024-04-13 13:49:15 -04:00 committed by kar
parent 742249f854
commit 5f6e9024f4

View File

@ -1,7 +1,7 @@
# Notes # Notes
## Plan ## Plan
- [ ] Test speaker without Arduino - [x] Test speaker without Arduino
- can be done by using a function generator and 3.3V square wave - can be done by using a function generator and 3.3V square wave
with variable frequency with variable frequency
- [ ] Write AVR C code to generate a square wave of varying frequency - [ ] Write AVR C code to generate a square wave of varying frequency
@ -13,7 +13,8 @@
- [ ] Create buffers to add recording/saving/playing functionality - [ ] Create buffers to add recording/saving/playing functionality
- the buffers are a sequence of notes (which are the indices of the previous - the buffers are a sequence of notes (which are the indices of the previous
table) that is terminated by some other byte table) that is terminated by some other byte
- [ ] Figure out how the LCD in the starter kit is programmed - [x] Figure out how the LCD in the starter kit is programmed
- we did this in lab 10 on April 10 and are allowed to use that code
- [ ] Show the current and surrounding notes in the currently selected buffer - [ ] Show the current and surrounding notes in the currently selected buffer
(or the note of the soundboard button that was just pressed) (or the note of the soundboard button that was just pressed)
- [ ] Add a menu on the second row to select the memory buffer (maybe 1-5) - [ ] Add a menu on the second row to select the memory buffer (maybe 1-5)
@ -49,3 +50,16 @@
buttons for the pins on the Uno. buttons for the pins on the Uno.
- We can ask same for a shift register. - We can ask same for a shift register.
- We looked into how to use the LCD display and got some Pseudo code from GPT to help. - We looked into how to use the LCD display and got some Pseudo code from GPT to help.
## 2024-04-12
- tested new speaker and it works very well with square waves
- so sine waves via Fast PWM+RC filter no longer needs to be done
- soldered speaker to a solderboard
## 2024-04-13
- started working on the project's poster
## 2024-04-14
- since we don't know if we can even get the shift registers on time,
it's possible to make our own via another Arduino that has all the buttons
connected to it and it sends the data over USART to the speaker Arduino