Author Topic: EEVblog #962 - Hacking A Calculator Into A Counter  (Read 14407 times)

0 Members and 1 Guest are viewing this topic.

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37661
  • Country: au
    • EEVblog
EEVblog #962 - Hacking A Calculator Into A Counter
« on: December 28, 2016, 02:44:22 am »
How to hack a calculator into a test system event counter.



 
The following users thanked this post: jonovid

Offline Mr.B

  • Supporter
  • ****
  • Posts: 1237
  • Country: nz
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #1 on: December 28, 2016, 02:52:08 am »
My, my... You have been busy today Dave.
Thanks for that video. Nice simple hack to achieve the desired result.
I approach the thinking of all of my posts using AI in the first instance. (Awkward Irregularity)
 
The following users thanked this post: jonovid

Offline Muttley Snickers

  • Supporter
  • ****
  • Posts: 2333
  • Country: au
  • Cursed: 679 times
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #2 on: December 28, 2016, 03:02:29 am »
Nice enhancement.   :-+

Unattended monitoring could be a trap for young conductors should the APO kick in.   :-BROKE

 

Offline rrinker

  • Super Contributor
  • ***
  • Posts: 2046
  • Country: us
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #3 on: December 28, 2016, 03:42:57 am »
 I remember doing that as a kid, adding an external contact to the = key. I had some big plan in mind but somewhere I lost interest and never finished. I don't THINK I got into any trouble - claculators weren't exactly a dime a dozen like they are these days, but I'm pretty sure we had 2 identical ones and I didn't touch the one that was most frequently used.

 

Offline DTJ

  • Frequent Contributor
  • **
  • Posts: 997
  • Country: au
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #4 on: December 28, 2016, 03:59:54 am »
This is a neat idea. I remember seeing it done in the 70's and used in conjunction with a astronomy telescope. Instead of adding '1' each time the contacts closed the fraction of a degree per rotation of the positioning lead screw was entered. Could be a useful hack for a cable reeling set up.

One place I worked at we needed a quick and dirty field amphometer. 
We hacked transistors across the start and stop buttons of a cheap stopwatch and put together a circuit similar to the Electronics Australia (or ETI?) magazine 'Coax Sensor Amphometer".


 
The following users thanked this post: jonovid

Offline MK14

  • Super Contributor
  • ***
  • Posts: 4527
  • Country: gb
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #5 on: December 28, 2016, 04:05:51 am »
I did similar, a long time ago, as a hobby project. If I remember right, I used a relay, so it could count any low frequency source that could drive the relay. You can also use a 4016/4066 cmos analogue multiplexer, may need a monostable (set to around 250 ms, else the calculator may not respond) as well. (CD4066B CMOS Quad Bilateral Switch).

In theory you could use a transistor/mosfet. But it is tricky, because (as Dave says in the video), to get that to cope with the unknown multiplexing keyboard scan scheme.
 
The following users thanked this post: jonovid

Offline smithnerd

  • Regular Contributor
  • *
  • Posts: 120
  • Country: gb
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #6 on: December 28, 2016, 05:52:24 am »
I recently needed to map out the keyboard matrix for the Chinese scientific calculators, which are currently available from poundshops here. The plastic/carbon keyboard membrane is glued on, so soldering to the PCB is completely destructive (but they are absurdly cheap). Pads are numbered left to right.
 
The following users thanked this post: jonovid

Offline jonovid

  • Super Contributor
  • ***
  • Posts: 1425
  • Country: au
    • JONOVID
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #7 on: December 30, 2016, 09:36:37 am »
as posted on your yt.  IMO I would use hot glue to anchor wires in place. also I would use sockets as end connectors so you can close the back up.
and re-use for other jobs in the lab.  :-+ Chinese calculators & DMMs make cool loggers & hobby projects
Hobbyist with a basic knowledge of electronics
 

Offline Luminax

  • Regular Contributor
  • *
  • Posts: 159
  • Country: my
    • Electronesk
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #8 on: December 30, 2016, 12:02:14 pm »
Hmmm.... I remember one of my old horizontal Casio can do a 0+1 and just press equals forever more and it'll add up. I forgot what the model is ... or if it's even really Casio or some Wun Hung Lo brand
Jack of all trade - Master of some... I hope...
 

Offline AdiGital

  • Contributor
  • Posts: 10
  • Country: gb
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #9 on: December 31, 2016, 09:15:06 pm »
 ??? Hacking? A Calculator? Seriously?

Dave! Please. I love watching your channel and learning from you but this is... just shocking. I'm sorry but it really is.
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #10 on: December 31, 2016, 11:08:44 pm »
??? Hacking? A Calculator? Seriously?

Dave! Please. I love watching your channel and learning from you but this is... just shocking. I'm sorry but it really is.

Really? Why?

He needed a lap counter for the Batteroo train test. This was the quickest, easiest way to do it.

Personally, I think it's super resourceful and very clever.
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3802
  • Country: au
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #11 on: December 31, 2016, 11:27:39 pm »
??? Hacking? A Calculator? Seriously?

Dave! Please. I love watching your channel and learning from you but this is... just shocking. I'm sorry but it really is.

Really? Why?

He needed a lap counter for the Batteroo train test. This was the quickest, easiest way to do it.

Personally, I think it's super resourceful and very clever.
I agree. In terms of using something on hand that essentially has zero cost (people throw these things out), can run for hours and show up clearly on the single frame, it is a pretty brilliant solution. There is a better solution? Dave could have used his Agilent counter, but the calculator seems a better solution for the task. The counter display would not have been visible from the top down shot.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26754
  • Country: nl
    • NCT Developments
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #12 on: January 01, 2017, 12:05:00 am »
Weirdest thing I hacked together with pushbuttons where pushbuttons attached to a cable to push buttons. That way there was some certainty that two systems where started at the same time without modifying one of the systems. Yeah, I once had a job where these kind of wacky ideas saved the day. I still kinda miss working there.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline jonovid

  • Super Contributor
  • ***
  • Posts: 1425
  • Country: au
    • JONOVID
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #13 on: January 01, 2017, 01:30:47 am »
Quote
Quote
Quote from: timb on Today at 10:08:44 AM
Quote
Quote from: AdiGital on Today at 08:15:06 AM
??? Hacking? A Calculator? Seriously?

Dave! Please. I love watching your channel and learning from you but this is... just shocking. I'm sorry but it really is.
Really? Why?

He needed a lap counter for the Batteroo train test. This was the quickest, easiest way to do it.

Personally, I think it's super resourceful and very clever.
I agree. In terms of using something on hand that essentially has zero cost (people throw these things out), can run for hours and show up clearly on the single frame, it is a pretty brilliant solution. There is a better solution? Dave could have used his Agilent counter, but the calculator seems a better solution for the task. The counter display would not have been visible from the top down shot.
I would do the same as Dave.  :-+  but used maybe hot glue not tape.
Hobbyist with a basic knowledge of electronics
 

Offline AdiGital

  • Contributor
  • Posts: 10
  • Country: gb
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #14 on: January 01, 2017, 12:22:17 pm »
??? Hacking? A Calculator? Seriously?

Dave! Please. I love watching your channel and learning from you but this is... just shocking. I'm sorry but it really is.

Really? Why?

He needed a lap counter for the Batteroo train test. This was the quickest, easiest way to do it.

Personally, I think it's super resourceful and very clever.

I didn't want to be rude. Especially in my first post. I follow Dave's channel for a long time and I admire him and his work. I just couldn't believe he would actually invest the time and create an episode on exposing calculator's key. I'm not negating the idea and yes, this is the right and clever thing for the task. But even so, all I would expect (considering EEVBlog's high standard) was no more than a mention and seeing it in action rather than how to get the wires out.
 

Offline VK3DRB

  • Super Contributor
  • ***
  • Posts: 2252
  • Country: au
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #15 on: January 01, 2017, 12:48:52 pm »
I remember doing this is 1983 on a cheap 4 function calculator, except I had to do "+, 1, =" because it had no constant K function. One CMOS buffer IC and different RC time constants at the inputs would produce a round robin of key presses. It worked a treat and I thought it was clever because the circuit was so simple. If anyone is interested I'll see if I can find the circuit in my old filing cabinet and publish it here.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11790
  • Country: us
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #16 on: January 01, 2017, 12:56:53 pm »
I didn't want to be rude. Especially in my first post. I follow Dave's channel for a long time and I admire him and his work. I just couldn't believe he would actually invest the time and create an episode on exposing calculator's key. I'm not negating the idea and yes, this is the right and clever thing for the task. But even so, all I would expect (considering EEVBlog's high standard) was no more than a mention and seeing it in action rather than how to get the wires out.

But why not? Not everyone who watches is an expert in everything electronic, and even a simple mod like that can stimulate thought about how to approach it and alternative ways of doing so.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16272
  • Country: za
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #17 on: January 01, 2017, 02:06:24 pm »
Well, the calculator use has been around for a long time, at least since a calculator was available at such a low cost that you could think of them as something with a counter, display and a small controller you could buy for under $5. I remember appnotes that used them to make totaliser units, and even one using it as a postscaler for a faster counter, to improve resolution and give extra readout, at the expense of increased gate time.  Another used a sequence of RC delays, like VK3DRB describes, to enter the startup keypresses on power on ( using a calculator that had no APO functionality of course)  to make a "low cost robust totalising 8 digit counter for under $10" IIRC.

The calculator provides really good keyboard debouncing, reliable counting and in this application, a perfect solution instead of ordering a counter that likely would never be used again much. Dave already has a plethora of cheap calculators, so just grabbing one, likely from the dumpster room as well, tossed out because they did not want to dust it ( yes it happens) is both cheap, efficient and a good solution to the problem.
 

Offline jonovid

  • Super Contributor
  • ***
  • Posts: 1425
  • Country: au
    • JONOVID
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #18 on: January 01, 2017, 04:23:09 pm »
Quote
I didn't want to be rude. Especially in my first post. I follow Dave's channel for a long time and I admire him and his work. I just couldn't believe he would actually invest the time and create an episode on exposing calculator's key. I'm not negating the idea and yes, this is the right and clever thing for the task. But even so, all I would expect (considering EEVBlog's high standard) was no more than a mention and seeing it in action rather than how to get the wires out.
You cannot please everyone 
if Dave had designed and built two identical dedicated pieces of batteriser testing lab equipment from the ground up with fabricated counter pcb's and crowdfunding of the cost. then had programmed all the counter logging software with a full color clock displays showing seconds plus cycle per lap, in real time milliamps voltage  this requiring wireless data link modules if a moving toy is used in the testing. requiring a second power supply on the toy. had then setup two identical test rigs side by side. at the same time.
maybe everyone will be happy.  ::)  government departments work this way.  :-DD
Hobbyist with a basic knowledge of electronics
 

Offline rrinker

  • Super Contributor
  • ***
  • Posts: 2046
  • Country: us
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #19 on: January 02, 2017, 01:13:40 am »
 Except Clive has stated several times that he just did that as a spoof. But it does prove what level your typical Internet user operates at - since THAT one went viral and got him name recognition. And as he explains on the recent questions and answers and rants video he mentions how he engaged a company to promote it and manage ad revenue, which he regrets, as they never pay, he had to sign over full rights to the video, and they do nothing to prevent the video getting ripped off - which he doesn't care about since he doesn't get money from that one anyway. It is in every way an atypical video for his channel.

 

Offline jh15

  • Frequent Contributor
  • **
  • Posts: 561
  • Country: us
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #20 on: January 02, 2017, 04:59:55 am »
Back in '81 or so we did mileage tracking for a bicycle club newsletter for brags 30 or 80 - 100 miles a day on weekends.

A friend strapped a calculator to the rack a reed switch on the frame and a magnet on the spokes. exactly as as dave did.  Owner happened to have a Honeywell computer in his basement and calculated wheel diameter etc. to get results.
« Last Edit: January 02, 2017, 05:09:33 am by jh15 »
Tek 575 curve trcr top shape, Tek 535, Tek 465. Tek 545 Hickok clone, Tesla Model S,  Ohio Scientific c24P SBC, c-64's from club days, Giant electric bicycle, Rigol stuff, Heathkit AR-15's. Heathkit ET- 3400a trainer&interface. Starlink pizza.
 

Offline rrinker

  • Super Contributor
  • ***
  • Posts: 2046
  • Country: us
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #21 on: January 02, 2017, 05:12:37 am »
 I remember building a (I'm pretty sure it was Radio Shack) bike speedometer that was pretty much exactly that - a magnet on the spokes and a reed switch. It used an analog meter movement, so I'm guessing it just displayed the average mv from a simple capacitor circuit where the cycle was started/stopped by the reed switch.

 As to Clive - I'm a rather obsessive person when I get my teeth in to an interesting topic. A bit over a year ago when I first found this forum, I watched a few of Dave's then-current videos, then I went back and started all the way back at the beginning and pretty much watched every single one in order. Pretty much the same with Clive although I did get bored with the multiple of the same sort of thing so I've skipped quite a few. That series he did with stuff from his day job was quite interesting to me.

 

Offline SNGLinks

  • Regular Contributor
  • *
  • Posts: 136
  • Country: gb
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #22 on: January 02, 2017, 09:19:00 am »
What amazes me is that in December he posted a video a day apart from one day.
 

Offline Wollvieh

  • Contributor
  • Posts: 26
  • Country: de
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #23 on: April 21, 2017, 11:46:39 pm »
When I was a boy (which was aproximately about the same time as Dave) we had the same type of wooden toy train at the Kindy. Love it! ;D

But of course, no electric engine so shortly after the war. :-DD

I learned about the idea of using a calculator as counter on a german TV DIY show, maybe around the early 80s: How to build your own step counter for walking and jogging. Just add some cable to the "="-Key and put a mercury switch in your shoe.
 

Offline LarryStein

  • Newbie
  • Posts: 1
  • Country: gb
Re: EEVblog #962 - Hacking A Calculator Into A Counter
« Reply #24 on: May 14, 2018, 06:23:33 pm »
Very nice idea. I just have 1 thought, why not use 1 - 1? It would allow you to start at the more convenient 0 point.
Larry
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf