SparkFun will be closed Monday 7/4 for the holiday. All orders placed after 2pm MT on Friday 7/1 will be shipped out next week.
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
January 11, 2012
about 7 months ago
Take that a step further: try storing the values as binary (floating point numbers take up 33 bits) in fixed-width fields (eliminating the separator) then base64-encode them to pass through the text transport. Also, a shorter date representation would be the “epoch date”, or the number of seconds since Jan 1 1970; 32 bits will hold you until 2038, or you could assign that 33 bits there, as well.
Okay, I’ve piqued my own interest, so let’s finish the thought experiment. Your message, above, is 45 bytes. Representing all of the above with seven fixed fields of 33 bits, along with 9 bits for the logging interval, give you 30 bytes. Converting that to text with an base64 library expands it at 4:3, so you get 40 characters. If I’ve got this right (and please, somebody, check it, I’m still on my first cup of coffee), you can fit up to 36 binary bytes into 48 ASCII base64-encoded characters.
The nice part about computers is they really don’t have anything better to do than run your code.
about 3 years ago
I believe there’s bitcoin mining software for this chip….
News - Whatever Happened to The …
about 3 years ago
Growing up, I remember many of these “futurisms.” But I was looking at ten- and twenty-year-old magazines. I was living in that future, and those things didn’t exist. So early on I became jaded.
As I grew up, I discovered I was wrong. Some of these magical things did, in fact, exist. Very few of them were in those magazines, however. More of them followed from period literature (pocket calculators and geosynchronous satellites) than from gaudier magazines. So I began to read with an active filter, looking at what could actually be done, and how new products from engineering journals could enable the dream products of yesteryear. I tried building things that worked, rather than simply dreaming about them, and found out how hard that really is.
These days I’ve joined a local hacker-space. I have a background in electronic hardware and cloud computing, and I look at projects the group wants to engage with an eye to, “how can we make this happen with available technology?” I used to dream about the future and how technology could make the future happen; now I live in the future and make it happen every day.
Forgot your password?
No account? Register one!