Time-Circuits-Display
Time-Circuits-Display copied to clipboard
unable to load sounds via SD and web portal or save settings in web portal for v2
the device either does not recognize the SD card or the web portal is not recognizing the content. Unable to load sounds via the enter key command instructed either. unable to save settings in the web portal. *upon clicking save, nothing changes.
I just updated the data directory to remove some files that should not have been there. Please try again with only the files currently in the data directory.
I am loading a new .bin file as well. Please load this first.
I only have the mp3 files on the SD card. Is one of those the wrong file? I upgraded to v2 yesterday via the web portal and while the web portal loads, the settings don't save anything, so the time is central instead of the PDT I've tried to save and no other changes I make save.
beep, and a nmoff2, and nmon2 should not have been in there. 4 ee files were just added.
When you save everything does the TCD reset?
I literally only loaded these files to the root of the SD card and tried that (based on how I was understanding the instructions.
beep.mp3 Dtmf-0.mp3 Dtmf-1.mp3 Dtmf-2.mp3 Dtmf-3.mp3 Dtmf-4.mp3 Dtmf-5.mp3 Dtmf-6.mp3 Dtmf-7.mp3 Dtmf-8.mp3 Dtmf-9.mp3 enter.mp3 startup.mp3 timetravel.mp3
should I have loaded the entire DIR "src" or "data"?
The v2 .bin has been loaded via the web portal.
Does "TCD reset" mean, the screen "reboots" to the "Back to the Future" screen and then time(s)?
Sorry, it should be everything in this data folder: https://github.com/CircuitSetup/Time-Circuits-Display/tree/v2/Software/src/data v2 is a separate branch at the moment.
TCD Reset clears all custom settings and loads default, so yes, the intro is loaded by default, and any custom times that were entered.
ok, so it does seem to reset when I click save, although nothing changes. I've reloaded all the content referenced to the SD, and the audio section to "copy" is still not present, (in addition to no changes being saved.) - screenshot attached for the portal I'm seeing.
hum, I'm sorry this is being such a pain to update.
I made a small change in the way it stores data - please try this bin file: https://github.com/CircuitSetup/Time-Circuits-Display/blob/v2/Software/v2.0.0_tcd_firmware_spiffs.bin
Also, do you have a way to view serial output when it is connected to a computer with a USB cable? Via the Arduino IDE or Platformio, maybe?
no worries at all... I appreciate the quick updates.
So, the new bin, enabled the web portal to seemingly accept updates, and implied that the audio files were copied, however, upon reboot, only the red, orange and green buttons are lit, the time screens have shut off and there is still no audio (even on button presses.)
The time screens do seem to work (in that the few times I've rebooted it, the Back To The Future" screen scrolls in,) but then all three go blank.
unfortunately, I am not connected to a computer (just power.)
I could, but I may not have the necessary utilities to view things.
If you have instructions, I can try.
new discovery...
it was not displaying 'cause I had enabled "Enable fake power switch" clearly, I was testing and didn't (don't) know how to "power it on"... so I disabled that option. Now, everything but sound appears to be working.
the device either does not recognize the SD card or the web portal is not recognizing the content. Unable to load sounds via the enter key command instructed either... ...Now, everything but sound appears to be working.
@thecolor Hello! I also did an update, both yesterday and today, and had a similar experience to yours with regard to the sound files. It took me a little bit of time, but I finally figured it out and was successful in loading the sounds. (BTW, I am totally a noob at this; I bought the kit because I thought it was cool, and I only have one other experience with Arduino, so if what I'm telling you here is something that you obviously tried, then please forgive me!)
It would seem that all of the downloaded MP3 files need to be present in the root folder of the SD card with no variations. I downloaded the files one at a time, and after downloading, apparently all of the files were "renamed", adding their source to the beginning of the file name (Ex: the file "enter" was labeled as "Software_data_src_enter", "startup" was labeled as "Software_data_src_startup", and so forth.). I figured that after I put the SD card into the slot and not getting it to be recognized was that perhaps the file names were incorrect, so I went back to my computer and removed the source from the name of each file. After doing this, I put the SD card back into the slot, powered 'er up, and bingo! (I knew it had worked when I heard the clocks ticking when the opening title showed). Then I was able to access the menu from both the keyboard and the portal, uploaded the sounds, and everything was gold.
Anyway, I hope this helps with your sound issue.
@Rudycub23 Sorry it wasn't easier to get working correctly! I'm glad you figured it out though, and thanks for posting your method for getting there.
Thanks @Rubycub23 - I will say, the display has stayed lit all night, so that is a good sign... however, I've now noticed that the AM/PM lights are no longer lit - which appears to be related to Enabling "Enable 24-hour clock mode"
I would like the 24-hour clock mode and the AM/PM lit. I might even prefer the "Present Time" to be 24-hour and the Destination Time and Last Time Departed to not be 24-hour.
As for the sounds, all the files "appear" to be labeled correctly.
Here's a snapshot of the files I'm loading (noting that they are in the root of the SD card.)
it's also formatted as the instructions indicated. (despite formatting it on my MAC.)
so, the most recent try still does not work. I forgot that my MAC adds hidden files to the drive on copying... so, I reformatted on my wife's PC and re-added the same files note above and still no audio. I will say, it did work prior to the v2 upgrade.
Additional files don't make a difference.
ALL the files of the "data" folder need to be on the SD, unmodified, including the txt file.
If you don't see the menu "copy sound files" and there is no such option in the Config Portal, one or more files are missing or have been modified. (Or the SD is for some reason not recognized)
If you see the "copy audio files" menu (or the respective option in the Config Portal), the SD is recognized and validated, ie the firmware checked if all files are there and unmodified.
If you can activate the "copy audio files" menu, and there is still no sound, there might be a bug (which I unfortunately can't reproduce here). Will investigate though.
OK, it looks like you're almost there, but I'm seeing a couple of things in the image above that will need to be corrected (if it hasn't been done already!).
First, those two directories at the top will need to be removed. Next, it looks to me as if the file names are still not in the correct format; specifically, the dot/period and underscore will need to be removed from the file name of those files. I think I would do these corrections using the PC if the Mac is adding hidden items, as it would seem that anything extraneous that is added to the root directory will cause it to not work correctly. Also of note, it looks like you have a couple of duplicate sound files present as well (specifically, "alarm", alarmoff" and "alarmon"). Only one file of each is necessary; duplicates may not make it work, too.
Another thing that I neglected to mention is that the SD card should be inserted with the power OFF; this way, the card can be read when the power is turned on (you have probably done this, but I just want to make sure).
As an aside, I was doing some experimentation with the sound files which I think goes to show how precise and exact things need to be in order for the upload to work correctly. For example, I wanted to substitute the "enter" sound with the old one from the previous version (I thought it sounded a bit better to me), so I switched them, and when I attempted the upload, it didn't work. Taking the card back to my PC, I discovered that the file sizes were slightly different (13.0 kb for the old vs. 11.8 kb for the new), so I'm thinking that file size might have something to do with it. Another thing that I tried was I put the "hour" sound file from the alternate sound directory on the same root directory as the other sounds, and this seemed to also cause the card to not be read. So it would seem to me that only the files that are in the "data" directory are permitted to be uploaded.
One last thing; I'm not sure if you have seen this, but here is the README file from the fork by A10001986. It has great step-by-step instructions on how everything works in the set-up menus:
https://github.com/realA10001986/Time-Circuits-Display-A10001986/blob/main/README.md
Again, hope this helps you out.
Thanks. So far, I'm on everyone's same page (have done all the suggested things.)
The file duplicates are standard items a mac adds (like an index) when copying. They are no longer there (from my latest attempt) and ONLY the audio files with (seeming) proper naming are in the root.
I went to a different computer (my wife's PC) to reformat and re-add the files, so there were no MAC hidden files. So far, the copy process "seems" to be working, just not playing the sounds on re-boot.
I'll give a poke around the README you mentioned and see if something helps.
Thanks
ALL the files of the "data" folder need to be on the SD, unmodified, including the txt file.
If you don't see the menu "copy sound files" and there is no such option in the Config Portal, one or more files are missing or have been modified. (Or the SD is for some reason not recognized)
Oops, looks like you beat me to it!
this is the menu item I see when transferring the audio files... does this appear correct?
Yes. Write "COPY" into the empty text field to initiate the copy process (which will happen after you click on "Save").
You cannot upload your custom audio files to the flash file system using the "copy audio files" menu / option. This is ONLY for the supplied default sounds (which are very tidily sync'd to the display action).
If you want to "replace" sounds, put the on the SD and leave the card in the slot. They will be played directly from the SD card. If, for instance, a file named "enter.mp3" is found on the SD card, this file is played instead of the default sound in the flash memory. In other words: SD has priority over the internal flash file system.
OMG!
it was set to SW sound... which was all the way down!!
thanks for the link to the settings page @Rudycub23 that helped perfectly!! now, if I can figure out how I messed up the live date/time.
*figured out fixing the time!! the menu items help... although my enter button is sticky, so it's a little harder than the web portal.
**future upgrade to the portal perhaps, (the ability to change all settings.)
Don't you have the clock connected to a WiFi network? The actual present time should come through NTP.... (if a time server is configured)
Bingo! Glad you got it figured out.
(Of course, no one even thought about the volume being turned down, but there you are...lol! :)
now we have this GREAT troubleshooting thread! :)
thanks all for the help!!
I"d like to point out that (in an effort to resolve this)... I mistook the "0" (zero) key as the "enter" key a couple of times, which caused all three displays to go a little berzerk and at one point, display "malfunction"... then, all three went blank, and not knowing how to fix it, I had to reinstall the v2 bin file to get it back.
Is that an easter egg I don't know how to use?
Nope; it's the updated, longer time travel mode. At the end of the sequence, you should see the times have moved, just like in the previous version.
As a bonus, you can now "go back" to where you were previously, by holding down "9".
I'm still trying to find the Easter eggs. I'm guessing that they are specific dates that, when entered, will play a particular sound file.
@Rudycub23 sorry, not sure I understand. what is long pressing "0" (zero) doing?
It is triggering a time travel.
Here is detailed manual: https://github.com/realA10001986/Time-Circuits-Display-A10001986/blob/main/README.md
I made some easter eggs, but they are not included in the version you are using. John for some reason didn't take over those parts of the code.