|
Forum Index : Microcontroller and PC projects : JR6001 MP3/WAV file player with USB host for $1....
| Author | Message | ||||
| Bill7300 Senior Member Joined: 05/08/2014 Location: AustraliaPosts: 159 |
Before we confuse anybody, it is actually "head over heels", methinks? Bill |
||||
| zeitfest Guru Joined: 31/07/2019 Location: AustraliaPosts: 622 |
I was talking with someone with a german accent once and suddenly realised, he was speaking excellent english and was also using perfect and exact grammar - and I had not heard that ever before ! [ so much for the expensive school I went to ! ] I think german can be more exact in specifying the logic of a situation, english has intrinsic ambiguities sometimes. But I have a theory, that any complex system of knowledge evolves its own language anyway...it occurs in software a lot, that an application for a profession, will have a scripting language built into it. BTW we are all typing ASCII right ? Not even I, would try using ebcdic |
||||
| Poppy Guru Joined: 25/07/2019 Location: GermanyPosts: 486 |
You are right! But probably for some situations this might even heal! I love this song/band: https://www.youtube.com/watch?v=NYx8IHJ9dWE ![]() Andre ... such a GURU?![]() | ||||
| Paul_L Guru Joined: 03/03/2016 Location: United StatesPosts: 769 |
I worked at Pan Am engineering for a third of a century and so had to deal with people from all over the world on a daily basis. Back in 1963 I was debating the relative merits of Boeing Freon vs. Air Cycle PACs, (Passenger Air Conditioning Units), with an engineer in Frankfurt. We had the usual translation difficulties. He acquired a good English dictionary. He was amazed to find that the English dictionary was three times the thickness of a similar German dictionary until I pointed out that modern English is an amalgam of Anglo-Saxon, German and French. (The language of the English Royal Court was French for several centuries.) Don't be confused ... we are confused too. Paul in NY Edited 2020-03-09 10:31 by Paul_L |
||||
| Poppy Guru Joined: 25/07/2019 Location: GermanyPosts: 486 |
Hi Paul, this reminds me of a little conversation I once (about 25 years ago) had with a fresh graduated electrical engineer, who took a special interest in interdisciplinary communication, exclusively between german engineering branches and he said that even within the same basic language (= german) different technical professions need some kind of translation, for example between electrical and mechanical engineering. And this brings me on further rethinking back to a greek fellow I asked to help me with some ancient greek words and said to me he could type them but does not know what they mean. Furthermore this reminds me of a private talk I once had with a Scotsman who asked me to explain some english words I used (and certainly not being wrong with them) because he just didnīt know their meaning (presuming he didnīt take me for a ride ).Now based on these experiences I can question myself and find that even in my mother language there are many words I still donīt exactly know, which I have to look up or havenīt heard/read yet. I also think it is the amount of different words being confusing and a living language constantly grows, even within generally related professions which develop deeper specializations. That makes it all so interesting to me where words and expressions come from and what they originally, currently and actually mean. --- By the way right now I just looked up "coach" and now I finally know where the "athletic coach" ( = "trainer") comes from, right from the classic vehicle, a "coach" is short for "coacher" (being called before, until the late 1880īs), originally the horse in front of a coach-vehicle that now metaphorically pulls you through your training situation. The vehicle comes from hungarian "Koczi szeter" meaning "wagon of Koc", "Koc" is a village in northwestern Hungary where the horse-driven vehicles originally were built, in german they are called "Kutsche", coming from the same linguistic origin. Now listening to a coach can depend on being a student, an athlet or simply a repairing mechanic. And the specific situation could cause hospitalization or not ... ![]() Andre ... such a GURU?![]() | ||||
Grogster![]() Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9755 |
Tears For Fears! One of my favourites from the 80's when I was a teenager. I was also kinda in to Kraftwerk..... LINK ...along with this.... LINK Kraftwerk were one of those bands that REALLY used the electronic sounds of the time. I expect that PERHAPS that is why I developed an interest in German - so I could understand Kraftwerk lyrics that went with the electronic music I resonated with at the time - as I was learning electronics at the time. I still don't! ![]() (Cos I have not learned enough of the language!) Also, Bill Bailey's take: LINK Do the hokey kokey..... Then, there is this hottie from the 80's.... LINK Yes, I think it is fair to say I am a bit obsessed with this language. Wish I had the time to actually learn it a bit more! EDIT: Fixed duplicate links. Edited 2020-03-09 18:02 by Grogster Smoke makes things work. When the smoke gets out, it stops! |
||||
| CaptainBoing Guru Joined: 07/09/2016 Location: United KingdomPosts: 2171 |
UK was freaked by her armpits: 19821987: International success and band breakup Edited 2020-03-09 19:06 by CaptainBoing |
||||
| Poppy Guru Joined: 25/07/2019 Location: GermanyPosts: 486 |
Yeah, KRAFTWERK ... still a weird one of its kind, but great! But in the first song ("Autobahn") they do not "sing": "Fun, Fun, Fun of the Autobahn" rather "Fahrīn, Fahrīn, Fahrīn auf der Autobahn" literally meaning: "Drivinī, Drivinī, Drivinīon the Motorway/Free-/Highway" But their best lyrics of all times were these: https://www.youtube.com/watch?v=O0lIlROWro8 This really rocks! Better than RAMMSTEIN Some even older german Pioneers on electronic music are "Tangerine Dream", founded 1967, 3 years earlier than Kraftwerk I think. What I also still like is Jean-Michel Jarreīs OXYGENE (esp. PART II and PART IV) https://www.youtube.com/watch?v=6Q00HQwO2Sg https://www.youtube.com/watch?v=5DDEl7JnWvo When I was young I also learned very much english by trying to understand lyrics, thatīs a great possibility to do so. And still I do, even today I still try to get any Kate Bush .... https://i.imgur.com/5uvi3Ab.jpg Yeah ... but still better than this one: https://www.youtube.com/watch?v=enJJeOqHbqE ![]() Andre ... such a GURU?![]() | ||||
| CaptainBoing Guru Joined: 07/09/2016 Location: United KingdomPosts: 2171 |
DUDE!!! That is grim! |
||||
| Poppy Guru Joined: 25/07/2019 Location: GermanyPosts: 486 |
No, this is grimm: https://www.welt.de/img/kultur/mobile101901079/4501624317-ci23x11-w1600/GilliamGrimm2-DW-Kultur-NA-jpg.jpg ![]() Andre ... such a GURU?![]() | ||||
| Poppy Guru Joined: 25/07/2019 Location: GermanyPosts: 486 |
By the way, just looked up "grim" and that is a very old english word, the Oxford English Dictionary shows literature containing it even back to 1400 (written as "gryme"). The related german form is "grimm" ... ... and those brothers really made grimm stories! Well that is classic english! ![]() Andre ... such a GURU?![]() | ||||
| Jeromnimo59 Newbie Joined: 04/10/2020 Location: FrancePosts: 3 |
Hello, The link appears to be dead : .Would you have a local copy of the datasheet ? Thanks |
||||
Grogster![]() Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9755 |
Bonjour. ![]() Welcome to the forums. Here you go: JR6001 MP3 player chip.pdf Smoke makes things work. When the smoke gets out, it stops! |
||||
| Jeromnimo59 Newbie Joined: 04/10/2020 Location: FrancePosts: 3 |
You saved my life, thank you Did you get it to work ? Did you create a lib for it ? I intend to use it with an ESP32 using Platform.io ... Edited 2020-10-08 00:54 by Jeromnimo59 |
||||
| Jeromnimo59 Newbie Joined: 04/10/2020 Location: FrancePosts: 3 |
Actually I'm stuck I get a strong "buzz" on SPK+/SPK-, and based on the module's LED, it seems it reboots when I remove the speaker. No response on board's TX when I send commands over its RX ... and no sound played ! Did anyone get this module to work ? Thank you ! Edited 2020-10-08 15:51 by Jeromnimo59 |
||||
| chadeby Newbie Joined: 18/04/2021 Location: United StatesPosts: 3 |
Greetings! In case anyone is still interested in getting one of the little JR6001 mp3/wav modules going, I just wanted to report that after I found the data sheet here (thanks, Grogster! ) things were pretty much plain sailing.Here's some Arduino code that I put together as a test; it just adjusts volume and plays specific tracks directly. I pasted all the modes and commands as comments in the code. Haven't tested all the commands, but next track (A5) and vol+ (B0) and vol- (B1) definitely work. #include <FastLED.h> // FastLED included just for the nice timer for now...will add blinkenlights! // I have the JR6001 connected to an Adafruit Circuit Playground Express // CPx JR. 6001 // VOUT -> VCC // GND -> GND // A6 (RX) -> TX // A7 (TX) -> RX void setup() { // initialize *both* serial ports: Serial.begin(9600); // USB comms Serial1.begin(9600); // Pins A6 & A7 on the Circuit Playground Express } void loop() { EVERY_N_SECONDS(8) { Serial1.write("AF:1"); // Set low volume by writing JR via Serial1 Serial.println("Volume set to 1"); // Print to the Arduino serial monitor via USB delay(500); Serial1.write("A7:00001"); // Play track 00001 Serial.println("Play track 00001 sent..."); delay(2000); Serial1.write("AF:22"); // Set higher volume Serial.println("Volume set to 22"); delay(500); Serial1.write("A7:00005"); // Play track 00005 Serial.println("Play track 00005 sent..."); } } // END LOOP //JR6001 V2.1 //Play Mode Definition: Power-on defaults to single stop // Whole Circle (00): Play the whole track in sequence, and then play it in circle after playback. // Mono Loop (01): Always Loop the Current Track // Single Stop (02): Stop playing the current track once // Total Random (03): Random Play of Tracks in Characters // Catalog Loop (04): Play the tracks in the current folder in sequence, and play them in a loop after playing. The catalog does not contain subdirectories. // Random Directory (05): Play in the current directory randomly, the directory does not contain subdirectories // Catalog sequential playback (06): Play the tracks in the current folder in order, stop after playback, the directory does not contain subdirectories. // Sequential Play (07): Play the whole track in sequence and stop after play. // // B7:xx Sets Play Mode // ###. Communication instruction. ### // // 1. Play(A2) // Directive: A2 // Note: Any time this command is issued, the current track will be played from scratch. // // 2. Pause(A3) // Directive: A3 // // 3. Stop(A4) // Directive: A4 // Return :null // // 4. Next(A5) // Directive: A5 // // 5. Last(A6) // Directive: A6 // // 6. Designated tracks(A7) // Directive: A7:00001 // E.g A7:00008 Specifies to play a file named 00008 in the current memory. // Number of tracks from 00001-99999 // // 7. Specify Disk Character, Specify Path Play(A8) // FLASH Directive: :A8:02+Path // TF Directive: :A8:01+Path // U Directive: :A8:00+Path // The instructions require MP3 file names loosely, both in English and Chinese, // but only 8 bytes at most. // e.g1:To play the 00005.MP3 file in the FLASH root directory,A8:02/00002 // *??? // A8:02 A8 is Directive NO.,02 is a express FLASH, /// 00002*??? Is the path format // e.g2:To play the apple.MP3 file recorded by MUSIC in FLASH,Directive: // A8:02/MUSIC*/APPLE*??? // A8:02 A8 is Directive NO.,02 is a express FLASH, // /MUSIC*/APPLE*??? is Path format // // 8. End play(AE) // Directive:AE // Note: This instruction can terminate the current operation ahead of time, will // terminate the current play, if it is in the plug-in, etc., will end the plug-in a // head of time and return to the original state. // // 9. Volume Setting(AF): // Directive:AF:XX // For example:AF:20 Set the volume to level 20 [docs say volume level is from 0-30; defaults to 20 om power-on] // // 10. Volume plus(B0): // Directive:B0 // // 11. Volume minus (B1): // Directive:B1 // // 12. Setting cycle mode(B4): // Directive:B4:XX // For example:Set to Mono Stop : B4:01 // // 13. Combination play(B7) // Composite playback can only play files in the ZH folder, and the file names in the folder need to be two digits. // Directive:B7:XXXX (Follow the file name in the ZH folder directly behind the colon) // For example:B7:01020504,Files named 01, 02, 05, 04 in ZH folder will be played in this order // // 14. End Combination Play(B8) Cheers! -c |
||||
Grogster![]() Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9755 |
Welcome to the forums. ![]() I must have another play with these little modules. I currently use the DFplayer module with a uSD card, but this little thing would be ideal for simple messaging or sound-effects etc. Smoke makes things work. When the smoke gets out, it stops! |
||||
| chadeby Newbie Joined: 18/04/2021 Location: United StatesPosts: 3 |
Some quirks I have noted so far with the JR6001: Filenames to be invoked with A7:xxxxx actually *must* have 5 places. So, 000005.mp3 is good, but 005.mp3 is not. This was a surprise. The volume set with AF:x seems to only have 3 levels (four if you count 0): AF:1, AF:2 and AF:3. Doesn't affect an already playing file, either. The docs mention 31 levels, and indeed, B0 and B1 may get you there... Still testing that. Commands need time to settle. If you issue them too quickly, nothing seems to happen. I am testing delay() durations, but 300ms is completely reliable. I will post more as I figure this little guy out. For reference, the 4mb of storage will hold right around 2'42" of 192kbps mp3 files (and you get a whopping 5'25" if you drop down to 96kbps). My eventual use for these will be as part a low-cost mesh network-coordinated light/sound installation based on ESP8266 chips. If anyone has ideas on very cheap but decent sounding loudspeakers to pair with these, I am all ears. I currently have some Visaton FR13s which are lovely, but not affordable enough (for me!) for a 32+ node setup. Edited 2021-04-19 06:28 by chadeby |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |