SD player UI development
-
- Posts: 395
- Joined: Mon Aug 11, 2014 4:19 am
Re: SD player UI development
BTW, these ESP's are amazing for the price. And for IOT/HA kind of tasks, are pretty nice.
I have a Pi running Domoticz (Home Automation software), which is basically the controller and human interface.
The ESP's talk to the Pi. I have scripts running in Domoticz, and can control Domoticz though apps or a web gui.
I have relays connected to ESPs, lets me do things like control sprinklers.
I also have connected reed switches (magnetic switches used in home alarms) that do things like tell me if the garage door was left open too long.
The most useful application has been that I get texts if the freezer in the garage has it's door left open. Sometimes the door is slightly ajar.
Randy
I have a Pi running Domoticz (Home Automation software), which is basically the controller and human interface.
The ESP's talk to the Pi. I have scripts running in Domoticz, and can control Domoticz though apps or a web gui.
I have relays connected to ESPs, lets me do things like control sprinklers.
I also have connected reed switches (magnetic switches used in home alarms) that do things like tell me if the garage door was left open too long.
The most useful application has been that I get texts if the freezer in the garage has it's door left open. Sometimes the door is slightly ajar.
Randy
MSI H81-P33 MB, Xeon E3-1225 V3, LPS/LIFEPO4 and Astron RS-12A, 240gb SSD music, 2nd SSD for OS, Mod SS PCIE USB card, Server2012 R2 Ess+AO+MQn, Amanero USB to DACEND ES9018 to Schiit Lyr amp to Senn HD 700 headphones
Re: SD player UI development
Yes, sounds good, Randy
What optocouplers are you using?
I'm coming around to thinking that the SD card should only be used as the playlist storage, not as the storage for the music library - it makes navigation/synching easier between control device & SDP
And if we delete the song from the SD card when finished playing & do a reset, then we are always playing the first file on the list. Maybe we/I am expecting too much functionality from the control program - perhaps all it should do is add/delete songs from playlist & the SDP just acts as the player of the songs on the playlist, always playing the first song (which changes when the last played song is deleted)?
What optocouplers are you using?
I'm coming around to thinking that the SD card should only be used as the playlist storage, not as the storage for the music library - it makes navigation/synching easier between control device & SDP
And if we delete the song from the SD card when finished playing & do a reset, then we are always playing the first file on the list. Maybe we/I am expecting too much functionality from the control program - perhaps all it should do is add/delete songs from playlist & the SDP just acts as the player of the songs on the playlist, always playing the first song (which changes when the last played song is deleted)?
www.Ciunas.biz
For Digital Audio playback that delivers WHERE the performers are on stage but more importantly WHY they are there.
For Digital Audio playback that delivers WHERE the performers are on stage but more importantly WHY they are there.
-
- Posts: 395
- Joined: Mon Aug 11, 2014 4:19 am
Re: SD player UI development
4n26 opto, cheap garden variety one.
I bought a bunch of them for a few bucks, so have plenty for this project.
I think I like this last idea, copy and play a song then delete. Repeat for all the songs you want to hear.
Nice simple approach.
I guess you can copy the next song while you are listening to the current one, so should have no/little waiting time.
Then you just need play, skip and repeat buttons I think.
Randy
I bought a bunch of them for a few bucks, so have plenty for this project.
I think I like this last idea, copy and play a song then delete. Repeat for all the songs you want to hear.
Nice simple approach.
I guess you can copy the next song while you are listening to the current one, so should have no/little waiting time.
Then you just need play, skip and repeat buttons I think.
Randy
MSI H81-P33 MB, Xeon E3-1225 V3, LPS/LIFEPO4 and Astron RS-12A, 240gb SSD music, 2nd SSD for OS, Mod SS PCIE USB card, Server2012 R2 Ess+AO+MQn, Amanero USB to DACEND ES9018 to Schiit Lyr amp to Senn HD 700 headphones
Re: SD player UI development
Yea, then the SD player just acts like a FIFO playlist buffer - don't need to worry much about navigation - it's probably a good starting point & functionality may develop from there?
I copied a 400 MB audio files while current song was playing - no effect on sound & took 2.5 mins - so very doable
I copied a 400 MB audio files while current song was playing - no effect on sound & took 2.5 mins - so very doable
www.Ciunas.biz
For Digital Audio playback that delivers WHERE the performers are on stage but more importantly WHY they are there.
For Digital Audio playback that delivers WHERE the performers are on stage but more importantly WHY they are there.
Re: SD player UI development
will the arm chip like been reset every track?
almost sounds like a streamer....
modern sd cards are supposed to do up to million writes, and spread that out to prevent hot spots
almost sounds like a streamer....
modern sd cards are supposed to do up to million writes, and spread that out to prevent hot spots
sd card player, modded soekris dac, class a lifepo4 amp or gb class a/b amp, diy open baffle speakers based on project audio mundorf trio 10's
Re: SD player UI development
Don't think it will mind :)
Yes, the constant writing/deleting from the SD card did worry me a bit - how long do we reckon 1M writes would take? 1 million songs @ 3 mins per song - 50,000 hours or 2083 days or ~300 wks ~6 Years of continuous music playbackmodern sd cards are supposed to do up to million writes, and spread that out to prevent hot spots
We should be OK :)
www.Ciunas.biz
For Digital Audio playback that delivers WHERE the performers are on stage but more importantly WHY they are there.
For Digital Audio playback that delivers WHERE the performers are on stage but more importantly WHY they are there.
-
- Posts: 395
- Joined: Mon Aug 11, 2014 4:19 am
Re: SD player UI development
These cards have sophisticated controllers for wear leveling, and also have spare memory they can map in as required
So they will move around the card, and not write to the same spot all of the time. And when cells wear out, the controller maps in new memory cells to replace the bad ones.
And if we are writing a couple hundred meg to a 16 or 32gb card, it will be last a long, long time.
Randy
So they will move around the card, and not write to the same spot all of the time. And when cells wear out, the controller maps in new memory cells to replace the bad ones.
And if we are writing a couple hundred meg to a 16 or 32gb card, it will be last a long, long time.
Randy
MSI H81-P33 MB, Xeon E3-1225 V3, LPS/LIFEPO4 and Astron RS-12A, 240gb SSD music, 2nd SSD for OS, Mod SS PCIE USB card, Server2012 R2 Ess+AO+MQn, Amanero USB to DACEND ES9018 to Schiit Lyr amp to Senn HD 700 headphones
Re: SD player UI development
when all settles down we can drop the screen, as it is no longer is useful/ maybe just switch it off
sd card player, modded soekris dac, class a lifepo4 amp or gb class a/b amp, diy open baffle speakers based on project audio mundorf trio 10's
-
- Posts: 395
- Joined: Mon Aug 11, 2014 4:19 am
Re: SD player UI development
Programmed my esp (wemos mini d1) yesterday, and updated these instructions based on what I did
https://sites.google.com/view/randy-wik ... os-mini-d1
Also updated this page on how to setup esp, and get it started
https://sites.google.com/view/randy-wik ... p-esp-easy
I haven't configured the board yet, that is the next step, along with building a little opto circuit which hopefully can drive the switch circuit.
BTW, I used the mini d1. They have a mini d1 pro which has more memory, which when I was working with it last year, made it much harder to program. The mini d1 should be fine for this project, so I recommend using it.
Randy
https://sites.google.com/view/randy-wik ... os-mini-d1
Also updated this page on how to setup esp, and get it started
https://sites.google.com/view/randy-wik ... p-esp-easy
I haven't configured the board yet, that is the next step, along with building a little opto circuit which hopefully can drive the switch circuit.
BTW, I used the mini d1. They have a mini d1 pro which has more memory, which when I was working with it last year, made it much harder to program. The mini d1 should be fine for this project, so I recommend using it.
Randy
MSI H81-P33 MB, Xeon E3-1225 V3, LPS/LIFEPO4 and Astron RS-12A, 240gb SSD music, 2nd SSD for OS, Mod SS PCIE USB card, Server2012 R2 Ess+AO+MQn, Amanero USB to DACEND ES9018 to Schiit Lyr amp to Senn HD 700 headphones
Re: SD player UI development
If we're pretty sure were using that esp
we should get some ordered for ireland?
Assuming the delivery takes a while
Where to get?
we should get some ordered for ireland?
Assuming the delivery takes a while
Where to get?
Last edited by nige2000 on Thu Apr 19, 2018 3:44 pm, edited 1 time in total.
sd card player, modded soekris dac, class a lifepo4 amp or gb class a/b amp, diy open baffle speakers based on project audio mundorf trio 10's