dc92e2f382c61d165cfb6e9a9ff6d647ef2514f4
Board-dat/MSP/MSP1014-dat/MSP1014-dat.md
| ... | ... | @@ -1,7 +1,16 @@ |
| 1 | 1 | |
| 2 | 2 | # MSP1014-dat |
| 3 | 3 | |
| 4 | +## Info |
|
| 5 | + |
|
| 6 | +[product url - LM386 Audio Amplifier, 200X Gain](https://www.electrodragon.com/product/lm386-audio-amplifier-20x-gain/) |
|
| 4 | 7 | |
| 5 | 8 | ## ref |
| 6 | 9 | |
| 7 | -- [[LM386-dat]] |
|
| ... | ... | \ No newline at end of file |
| 0 | +- [[MSP1014]] |
|
| 1 | + |
|
| 2 | +- [legacy wiki page](https://www.electrodragon.com/w/LM386) |
|
| 3 | + |
|
| 4 | +- [[LM386-dat]] |
|
| 5 | + |
|
| 6 | +[SimpleAudioPlayer](http://arduino.cc/en/Tutorial/SimpleAudioPlayer) |
|
| ... | ... | \ No newline at end of file |
Chip-dat/TI-dat/LM386-dat/2025-04-03-14-07-36.png
| ... | ... | Binary files /dev/null and b/Chip-dat/TI-dat/LM386-dat/2025-04-03-14-07-36.png differ |
Chip-dat/TI-dat/LM386-dat/2025-04-03-14-07-52.png
| ... | ... | Binary files /dev/null and b/Chip-dat/TI-dat/LM386-dat/2025-04-03-14-07-52.png differ |
Chip-dat/TI-dat/LM386-dat/LM386-dat.md
| ... | ... | @@ -4,19 +4,91 @@ |
| 4 | 4 | legacy wiki page - https://w.electrodragon.com/w/LM386 |
| 5 | 5 | |
| 6 | 6 | |
| 7 | -- gain 200:R1=0 |
|
| 8 | -- gain 50:R1=1.2K |
|
| 9 | -- gain 20:R1,C1,C2 NC |
|
| 7 | + |
|
| 10 | 8 | |
| 11 | 9 | ## SCH |
| 12 | 10 | |
| 11 | + |
|
| 12 | + |
|
| 13 | +| gain | R4/RPI1 (pot-trim) | R1 | C1 | C2 | |
|
| 14 | +| ---- | ------------------ | ---- | ---- | --- | |
|
| 15 | +| 10x | 10K | | - | | |
|
| 16 | +| 14x | 5K | | - | | |
|
| 17 | +| 20x | 2K | - | - | - | |
|
| 18 | +| 50x | | 1.2K | 10uF | | |
|
| 19 | +| 100x | | - | 10uF | | |
|
| 20 | +| 200x | | 0 | 10uF | | |
|
| 21 | + |
|
| 22 | + |
|
| 23 | + |
|
| 13 | 24 |  |
| 14 | 25 | |
| 26 | + |
|
| 27 | +LM386 with microphone, Amplification is controlled by R2 in schematic 2 |
|
| 28 | + |
|
| 29 | + |
|
| 30 | + |
|
| 31 | + |
|
| 32 | + |
|
| 33 | +| BOM | value | explain | |
|
| 34 | +| --- | ------- | ---------------------------------------------- | |
|
| 35 | +| C1 | 1~10uF | Bypass capacitor | |
|
| 36 | +| C2 | 10uF | Gain 200x. Optional, without 10uf is 20x gain. | |
|
| 37 | +| C3 | 220uF | Output coupling capacitor | |
|
| 38 | +| C4 | 47nF | Boucherot cell | |
|
| 39 | +| C5 | 100nF | Power supply decoupling | |
|
| 40 | +| C6 | 100uF | Power supply decoupling | |
|
| 41 | +| C7 | 10uF | Microphone coupling capacitor | |
|
| 42 | +| MIC | | Electret microphone | |
|
| 43 | +| R1 | 10R | Boucherot cell | |
|
| 44 | +| R2 | 1 ~ 10K | Microphone load resistor | |
|
| 45 | +| VSS | 4 ~ 12V | Supply voltage | |
|
| 46 | + |
|
| 47 | + |
|
| 48 | + |
|
| 49 | + |
|
| 50 | + |
|
| 51 | +## demo code |
|
| 52 | + |
|
| 53 | +Only generate very simple sound for testing. |
|
| 54 | + |
|
| 55 | + |
|
| 56 | + #define SOUNDOUT_PIN 9 |
|
| 57 | + |
|
| 58 | + void setup(void){ |
|
| 59 | + //Set the sound out pin to output mode |
|
| 60 | + pinMode(SOUNDOUT_PIN,OUTPUT); |
|
| 61 | + } |
|
| 62 | + |
|
| 63 | + void loop(void){ |
|
| 64 | + //Generate sound by toggling the I/O pin High and Low |
|
| 65 | + //Generate a 1KHz tone. set the pin high for 500uS then |
|
| 66 | + //low for 500uS to make the period 1ms or 1KHz. |
|
| 67 | + |
|
| 68 | + //Set the pin high and delay for 1/2 a cycle of 1KHz, 500uS. |
|
| 69 | + digitalWrite(SOUNDOUT_PIN,HIGH); |
|
| 70 | + delayMicroseconds(500); |
|
| 71 | + |
|
| 72 | + //Set the pin low and delay for 1/2 a cycle of 1KHz, 500uS. |
|
| 73 | + digitalWrite(SOUNDOUT_PIN,LOW); |
|
| 74 | + delayMicroseconds(500); |
|
| 75 | + } |
|
| 76 | + |
|
| 77 | +## online simulation |
|
| 78 | + |
|
| 79 | +- https://www.circuitlab.com/circuit/hcqmtsvrz7mw/lm386/ |
|
| 80 | +- https://www.circuitlab.com/browse/by-tag/lm386/ |
|
| 81 | + |
|
| 82 | + |
|
| 15 | 83 | ## demo |
| 16 | 84 | |
| 17 | 85 | https://www.youtube.com/watch?v=Q6ArZWTh-w0&ab_channel=Electrodragon |
| 18 | 86 | |
| 19 | 87 | |
| 88 | + |
|
| 89 | + |
|
| 20 | 90 | ## ref |
| 21 | 91 | |
| 92 | +- [[EDA-simulation-dat]] |
|
| 93 | + |
|
| 22 | 94 | - [[LM386]] |
| ... | ... | \ No newline at end of file |