Smart Calculator W/Raspberry Pi

April 1, 2023, 05:14

Hol

Hi all, I'm new to working with Raspberry Pi's, but I figured they would be useful to use on a new project I'm working on. I'm planning on working on making a smart(er) calculator that uses the Raspberry Pi camera to allow my calculator to be able to take a picture of an equation, and then using a Raspberry Pi, send it to a math website (probably Photomath), and then send back the websites results. I'm mostly just curious if this is something that I can do with Raspberry Pi's, since as I mentioned, I'm new to working with them, and am not sure of their capabilities. If anyone can give some clarification, I'd appreciate it a bunch. Thanks!

Hol

I was going to 3d print a custom case for the back of it and use a TI-84 Plus CE.

Hol

Since the TI-84 Plus CE is already very slim, and just printing a custom case wouldn't make it too bulky

Hol

<@661583386992836619> I was going to modify it to look like this

Hol

Keeping the face of the calculator, but cutting in a small hole in the bottom left and adding in a 3d printed button that lets you take photos. The other red outline on the left would just be a custom printed 3d backpiece to the calculator that holds the components + the cam and raspberry pi, and the blue square is the raspberry pi camera.

Hol

Should be doable. I'm just not familiar with working w/Raspberry Pi's

Hol

<@661583386992836619> Hey, just checking back in to see if you had any tips for this project?

Hol

The Raspberry Pi camera would have to receive a signal from a button that tells it to take a photo, and then the raspberry pi camera would send that photo to a website like photomath

Hol

That should be doable, right? Or what did you get done before you gave up on the project?

oops.se

Yes, triggering the camera to take a picture is easy, and there is a lot of description for it, ex. https://projects.raspberrypi.org/en/projects/getting-started-with-picamera

oops.se

And to send the picture to a web depends on what the webservice allow, API, HTTP Post or other delivery method. I think that I saw that photomath has an API.

Hol

Gotcha, thanks for the response <@796000224690307072> <@661583386992836619>, would it also most likely be easy to display the answer back onto the calculator screen?

Hol

It would most likely have to display the entire page from the website, since I don't think there would be a way to specifically display just the answer and solution.

Hol

But that shouldnt be a problem, I'd assume

Hol

^ Or if you have any ideas of better beginner projects lol, realizing this might be a bit of a big project seeing as I've never worked with Raspberry Pi's before.