Calculator using pi

May 5, 2024, 13:54

martzitgrt

Hi

martzitgrt

<@1071178789939331253> (sorry for ping) i have a project idea: a pi 2 that can calculate

martzitgrt

Wanna try doing it together?

martzitgrt

I have things from the kit

martzitgrt


martzitgrt


martzitgrt

Lcd and keyboard

martzitgrt

What do u say <@1071178789939331253> ?

k9t33n

I'll brb

k9t33n

What is this?

martzitgrt

Lcd display ig?

martzitgrt

<@1071178789939331253> can u help plz?

k9t33n

First figure how to use both of those on your own

martzitgrt

Ok

martzitgrt

<@1071178789939331253> i connected the keyboard but i dont have enough wires to connect the lcd. any ideas?

martzitgrt

i have a breadboard tho

martzitgrt

<@1071178789939331253>

riothedev

im guessing u dont have an i2c module for the lcd if u dont have enough wires or pins

riothedev

i suggest getting one

martzitgrt

whats that]

riothedev

theyre quite cheap

riothedev

under a dollar usually

riothedev

wait

riothedev

this

riothedev

u can probably find it in a local electronic components shop

martzitgrt

i dont i think

riothedev

that gets connected to the lcd screen

martzitgrt

no i dont i think

riothedev

like this

martzitgrt

This is all i have

martzitgrt


riothedev

oh its an arduino kit

martzitgrt

yes

martzitgrt

but he told me it works with pi too

riothedev

well u could connect the lcd to the pi or the arduino but it would take up way too many pins

riothedev

instead of that just get an i2c module

riothedev

all that'll take up is 2 pins (excluding the voltage and ground pins)

martzitgrt

well i cant cuz this is just a smol project that im gonna be disassembling

riothedev

well u'll need to get it in the future anyway if u want to actually use the lcd later on as well

riothedev

and its quite cheap so i suggest getting it

martzitgrt

ok

riothedev

i have a similar kit

riothedev

and mine didnt come with one either

martzitgrt

other ideas?

martzitgrt

ok

riothedev

where r u from

riothedev

<@1026818953617612851>

martzitgrt

romania

martzitgrt

oh thx

martzitgrt

any other ideas?

riothedev

nope

martzitgrt

:((

riothedev

i mean its quite cheap so what is the problem

martzitgrt

i wanted to do the project rn and then dissasemble it

riothedev

oh

riothedev

if u have an arduino and a pi a one very complicated solution would be to use the arduino to solely control the lcd and the pi could communicate with the arduino and tell it what to display on the lcd

riothedev

but that would be VERY annoying

martzitgrt

i dont

riothedev

then why do u have an arduino kit

riothedev

😭

martzitgrt

someone gave it to me :((

riothedev

oh

riothedev

welp

martzitgrt

lol

riothedev

i suggest getting this

riothedev

i have no other ideas

riothedev

lol

martzitgrt

ok lol

martzitgrt

ty

riothedev

ACTUALLY

riothedev

i do have na idea

riothedev

an*

riothedev

do u have the 74HC595 shift register

riothedev

<@1026818953617612851>

riothedev


martzitgrt

Yea

martzitgrt

Yesss

martzitgrt

<@403551075187163136> whats yr idea

riothedev

u can use that to reduce the amount of pins u use on the pi

oops.se

Why use 74HC595? You have 26 GPIO pins available. - Keyboard uses 8 GPIO pins - LCD uses 6 GPIO pins So why make a project more complicated than it has to be?

oops.se

So I suggest that you follow K9T33Ns advice, get one device working and get to know how to use it, then get the other part working and learn how t use it and then start combining those two. 1. Keyboard https://maker.pro/raspberry-pi/tutorial/how-to-use-a-keypad-with-a-raspberry-pi-4 2. LCD, here you need to find some inspiration on internet

martzitgrt

man

martzitgrt

i dont have enough wires

k9t33n

Should come in the Arduino kit

martzitgrt

man

martzitgrt

please

k9t33n

Well this comes with them

k9t33n

And the screen only takes 6

martzitgrt

if ur too lazy to read what happened above

k9t33n

Yeah explain for me

martzitgrt

above

k9t33n

The keypad?

martzitgrt

yes

k9t33n

This

k9t33n

That comes with them

k9t33n


k9t33n

Should be all you need for that

martzitgrt

man

martzitgrt

they arent the correct ones

martzitgrt

it said

martzitgrt

on a website

martzitgrt

that u have to connect like this

k9t33n

Can you show me the back of this?

martzitgrt

theres nothibng on the back

martzitgrt

also

martzitgrt

i think ill give up

k9t33n

Nothing like saying GND or anything

k9t33n

Or a manual

martzitgrt

it said on a website

martzitgrt

that u have to skip the grounds

k9t33n

Thats not how power works

martzitgrt

ik

martzitgrt

but

k9t33n

Can you give this website? Also I mean I want the manual specifically for and from this kit

martzitgrt

man i dont have

martzitgrt

it onlky had a cd

martzitgrt

and my shitty laptop dont have cd slot

martzitgrt

ill give up

martzitgrt

thats it

k9t33n

Okay Okay you do you

martzitgrt

i leave this server

k9t33n

Okay

martzitgrt

bye

k9t33n

Bye.

martzitgrt

it was nice seeing u ig

martzitgrt

ty for all the help

k9t33n

No problem

martzitgrt

also feeling suicidal and shit

martzitgrt

bye man was a pleasure