Accéder au contenu principal

My Mp3 Tesla Music Driver with arduino (weekend) !

 Sure I do have weekend. Some day in the day it's hard working in Perl, java, and many more C/C++ constraints and different goal to achieve. Being the tale of my ArduinoPlan not completed due to weird interaction level with respond of zenity, it also sometime compose to properly the windows required !!! More around a bug than around function process that is not passing right. As opposed to Perl whiptail, with my personal test to final read a big configuration file or configured plan in a menu creation process to manage parameter instead of calling them from the command prompt. Of Course it's the Sqlite development in Perl to create a database for installation packages. Because after seeing the time it take to try an I2S mp3 decoder being available for esp32 in 4 Mega bit to 128 Mega bit with the personal N16R8 dev version, one in pin-board press clip and the other one weld to a dev kit-c version 4. So it's also true a Java layer of Sqlite and even Arduino layer in Sqlite should be tested. Elsewhere, who else want a data miner with only resolution of the economic in 32 bit... It does all Trump error, miss leading in digit you lost by this granularity. Where apparently Sqlite do calculation in 64 bit you gain advantage to use all the database backing to get an economic answer, people will always receive the invoice over what you spared and will continue to.

 Seeing at what it cost, using free time of weekend and plenty of waiting. The initial example from Arduino esp library ESP32-audioI2S-master version 3.0.13, still work with at least the version 3.0.5 of esp32 and I did not migrate it to 3.1.11 because it's good to test few thing before. 


79 minutes 33.814 seconds, to get it compile. There a 32Mbit version from an dow6d (esp32s) version of esp32 and and esp32 WROVER-IB 128 Mbit (16 Mega Byte of RAM), to store your huge application that cost merely 1.4 Mb in programming and apparently Arduino-IDE should pad a spiffs with a 1.4Mb song too on it that was never send in the observation of the debug from Arduino IDE 2.2.1. I made a compilation and uploading to the esp32s, try to recompile for the 128 Mbit version and the IDE fall into lost backend and stop everything and the cake or the framing hang and require to terminate the IDE application with kill function. 

The result here is the arduino-cli, because the IDE itself multiply the compilation by almost 2, someday I will get bare-steady state to boot on and compile. It's not exactly like falling in init-3, but at least a X window simple to show a bare minimal X windows to save a lot of computer power. I still saying there other test like developing the serial interface to talk to the chip. The initial effort by this example from library   ESP32-audioI2S-master is close to a demonstration of read from SD card read from internet and reading several type of media format that provide FLAC, AAC or mp3 format is quite enough. But having a play of the initial music only once is occluded by read-string function that do stop everything and treat, look like a player with introduction or publicity and after what you want. And this widget is also connecting to you internet for it's WiFi and some offer the blue-tooth pairing . Using as external reader of music to broadcast on your Bluetooth headset or to your computer, they give how to connect a max98357A 3watts I2S amplifier. I did not show the speaker to tell I was waiting for them and for long before they become available. 



 By the way esp32 is greatly cheaper, the board itself it's like 3$ and the esp32 N16R8 in one bulk chip cost less than 6$. Acquire more than a year ago, it was cheaper. Special as Trump tariffs imposition does naturally refill the invoice to the public. 

On the picture you can find :

  1. the dow6d (esp32s) 32 Mbit or with default 4MB of memory.
  2.  ESP32 WROVER-IB 128 Mbit.
  3. the 220 turn of coil part of the 15 Watts Tesla coil.
  4.  Maxim Max98357A audio amplifier 3 watts I2S .
  5.  Current monitor INA226 current monitor for several's test.
  6. The plate of the 15 Watts Tesla coil with Power transistor BD243 and 80NF70 Power MOSFET.  
  7. Rest of the part of the internal coil and schema of the 15 Watts Tesla coil, provided with an ear-bud line connection . I assume there is no need for because I to put the exit of Number 4 to the plan on the schema where is the weld spot for earbud will end the music in there and will see what ATR will offer and sound effect .
  8. The cooler for such power transistor and mosfet help. Also another surprise like an SD card support to achieive a reading from SD ,and also the Mini player from DFminiplayer is a direct sd-card to music interface.


A weekend pinning things altogether, but since that compilation time, I do have to develop a shell to select other song from terminal, and possibly changing the wifi connection and saving the settings as well. But being the fact my code will be overcrowded of DEFINE  to allow compiling the function of the shell access and spend less time in compiling and finally change the switch at the end when everything work... A lot of fun and a lot of hours... I am not seeing the time passing . But I swear sometimes it's more than working... And at least fun. 


Based on Number 3 images, the 220 turns of coil is another achievement to do with before the ultimate welding times, a Thief-Joules effect to light up bulb from non-Tesla coil exist. Achieved recently because I finally received my 80mH and 100mH inductor which are perfect in a 3 times voltage increase using a Timer 555.This one was also an object to ask ourself, providing as output of only 200mA can be achieved, while this little 8 pins chip tell nothing but working up to 36 volts, a design of 36 volts and 200mA is a bit different of 3.3 volts at 200mA, and arbitrary store 6.54 (v*mA) remaining possible to let it manage by the timer itself, will require such huge energy depending of the timer to be release. Than schema found on the internet and exchanging the transistor BC547 to 2N2222 and voltage from Vout formerly reach 22.2 Volts, but at 200mA, ,and the INA226 should confirm it. Even better, I do have 12 volts fans operating a starting range of 250 mA and does wound connecting to this schema. And also lower the heat of my raspeberry. Yesterday it was having backing problems but today that little hack help reserving electron freely from a phenomenon call regeneracy of the of electro-magnetic fields and help supply the energy by accumulating. It's same principle of the booster but now it use the 80mH inductor, as I did not try yet with the 220 turns coil to see the resulting voltage. It also reduce by 10 degree the raspberry and might be an issues Ubuntu 22.04 start to be heavy like an Apple.



Note, everything even the Tesla Coil is in 1/4 watt resistor, and I plan to change the 2k by a 20k * 10 in parallel to provide same resistance ratio to the Tesla Coil. But apparently changing the 1/4 watts resistor set into 2.5 Watts will possibly generate a 150 Watts as electric Thief-Joule effect between J1 and J2 from number 6 plates will be horrific for the tiny wire loose. And a Tesla phenomenon is really by passing the emitter side of the mofset and arrive into the collector of the transistor and thus mechanism of feed-path create really the copper indside the coil to really be attached to the ground of the design and get responsible of the electric passing in the air. So I doubt about that tiny wire, but mind you, I do have one from a 3A 470uH which are really big to wound around that coil.. We will see. 



Posts les plus consultés de ce blog

Les Juges de la cour Sûprème qualifient les tarifs de Trump illégaux, prochaine étape rendre ma communication ACN avec Trump disponible.

 C`est un gros titre et pourtant la prochaine étapes est bel et bien de parler des tarifs illégaux de Donald Trump. N'étant pas visé par l'Acier, bois et aluminium il reste les terres rares et les semi-conducteurs qui sont au cœur de la réalité informatique, la mémoire les disques dure à base de semi-conducteur et mieux encore ce que cache le terme "I'm covering it", dans une discussion avec Donald Trump et l'état des terres rares dans la vie des médias. Il y a la fibre optique hybride de Vidéotron qui contient, Oxide de gallium sour forme de vitre tel la tourmalines et sont pouvoir ionisant et le substrat samarium sur dopage d'étain ou zinc et autres métaux qui ne recouvre pas l'Or. Cette technologie européenne couvrant la technologie DOCSIS. J'étais au centre d'un artifice de support technique multi protocole et favorisé avec Bell, "A.C.N" Canada était un lien avec les Américains de Wasington, mais laissait toutes les technologies d...

And Arduino stand on that ST chip ?

An ST-Link ? Nope it's next derivative, St-link were for long  into C6T6 with 32Kilo byte long. Today acquired st-link to upload a factory default let you receive code from PA9 + PA10 Pin are 128 Kilo Byte version call ST32103fCBT6. Like the WeAct compagny hold couple of them into the retail market it's likely to offer a lot of space to enjoy complex fuzzy learning. Some day maybe a full night sleep !     Here the image, coding Arduino on it sing the simple pair of Pin PA9 + PA10 with an good FTDI like a cheap one on alieexpress, make it possible to run the 1.3 SH1106 screen and a ECPR11 rotary wheel to make it possible to add several graphic to the design. Can accept many pin in ISR for wide number of available working pin it's good way to make plenty of test with several tools costing by to overpass the Serial terminal as throughput channel make it possible to output on screen with several image to enhance the coding. It's calling coding on a Blue Pill.  ...

English Side and American Side, Peeting For...

Unfortunately, rupture of Great-Britain did not have any side effect, but offering wide range of Crown-citizen and Federated member aim to reluct and establish in "Real" London, shall have their chance to avoid a similar case of evasive Greece citizen quitting their land for economic context. London should have to modify it's internal adoption politic to prevent loosing citizen...  Having another turn, on British story, it's something American had learn by the past, waiting to get serve, getting out of economic crisis, and at least developping their own tongue instead of lowering theirs expression. Ultimately, Trainspotting is deliberately developped after the British had leaved the European Union... Removed from original movie, Inside introduction of " Trainspotting " after show-up of an apartment in non-fortunate region of side-London, they start there movie with following quote: "After economic strike of Quitting the Union"... If you do me...