Recent Posts

Pages: [1] 2 3 4 5 6 ... 10 Next
1
Sustainable farming will only support a sustainable human population.  Which may take a pandemic to achieve.
2
Microcontrollers / Re: SD Card reliability in SPI mode
« Last post by coppice on Today at 03:03:40 pm »
Fairly sure any recent major brand microSD cards would have wear leveling implemented: https://forums.sandisk.com/t/which-sandisk-cards-support-wear-leveling/34679/4
But good idea to use something like littlefs, unless OP wants to implement a battery or supercap to guarantee safe shutdown.
I wouldn't trust that to be true. Even if the data sheet says there is wear levelling it might be some crude implementation that doesn't help much. SD cards have a horrible history of wearing out when used for heavily reused areas, like swap space, where they may only last days. I was still seeing that happen 5 or 6 years ago. Many SD cards also fail completely  after weeks or months, without particularly high usage. There is some evidence that this may be associated with particular products they are plugged into. For example, one of the Samsung Galaxys, I can't remember which, had a huge problem with dying SD cards. That doesn't seem to be your problem, though, as you indicated the cards become flaky rather than die completely. If they are wearing out, and write more reliably on one machine than on another, look at the power supply. Any setup with a droopy supply is likely to show up worn areas first. A rock steady supply will ensure they get pumped to the maximum.
3
Hi friend,

I have E4404B with serial number MY41441147 and HostID: B842CBEA.
can you generate license code for options: 1DR, 219, 226 ?
Thank you.
4
Beginners / Re: Any off-the-shelf clock using DS3231?
« Last post by Peabody on Today at 03:00:43 pm »
I think even more accurate would be a clock that receives the time signals from WWVB in Colorado.  They are called "self-setting", or sometimes "atomic" clocks.  They need to be able to receive the very low frequency WWVB signal, but that frequency goes through walls pretty well.  In theory you never have to set them, and will never be more than one second off if you have good reception.  But even if you get a good signal only at night, it's never going to be off enough for you to notice.  Look at the WWVB entry on Wikipedia.

I suspect most normal clocks just use a crystal, which is a lot cheaper than a DS3231.
5
General Technical Chat / Re: piano switch
« Last post by vivi-d on Today at 03:00:03 pm »
Thanks for the great explanation :)

I'll watch for clues like that in the future.
6
Projects, Designs, and Technical Stuff / Re: Opamps - Die pictures
« Last post by Noopy on Today at 02:58:32 pm »
 :-+

That´s ok for me.
The "four terminal problem" is another reason why I don´t like drawing MOS schematics...  ;D
7
I would consider it as a joke ,
for a very simple reason ...  any analog humidity sensors have a special compound that change resistance absorbing water molecules.

from your question I would assume that epoxy foundation of PCB significantly change resistance , ( or capacitance ,  or some other  electrical parameters ...)
And that would be real fun ....  to see electronics behavior in real life ...  after rain outside ... for example ...

...   take a real sensor intead ..
https://www.newark.com/multicomp-pro/mp007422/humidity-sensor-w-o-case-90rh/dp/45AJ6216
8
For professional use ?

You surely know about diy ones ?
9
General Technical Chat / Re: Cable Management
« Last post by reboots on Today at 02:56:58 pm »
Most of my test equipment is in a 2-post aluminum telco rack. I have a couple of the Pomona cable racks mounted sideways, 90 degrees from the design orientation, on one of the posts. They work almost as well vertically as they do horizontally, and the cables take up less space. Not quite as convenient for avoiding tangles.
10
What works for me is a struct like this:
struct TCommand
   {
   char *command;
   void (*func)(int argc, char **argv);
   char *helptext;
   };

which is used to create an array with commands and help texts. I use a buffer which only receives text (>=32 <127). When a 13 is encountered, the input buffer is split by spaces, the space replaced by 0x00 to mark end of string and an array with pointers to each parameter is created. The first entry into the parameter array is the command. Iterate over the commands to find an match and call the callback function. Note that the callback function is exactly like the main function of a 'regular' C program.

Every piece of embedded software I have made or worked on has a CLI and this has been proven to be an immensly useful feature for development, integration testing and field debugging (logging & fault finding).
Good tip for the ASCII 32 to 127. Thanks. I see that you use also var arguments. Any open source project of yours that you could share with us? I am also interested how do you do parsing. I am a hobby coder therefore quite an amateur.
Pages: [1] 2 3 4 5 6 ... 10 Next