The AI as a calculator - Page 1
Forum section: electronics / general

author: npelov
author_rank: Frequent Contributor
timestamp: March 10, 2023, 10:38:42 pm
content: I bought simple "MPPT" controller (not really tracking anything). You set the voltage with a resistor divider. So I disordered one resistor of the divider (R4 of theCN3767 dataseet schematic, R2 on the pcb) which is 45.1k.R3 in datasheet (R1 on thePCB) is 177k. So I calculate it's about 6V. The CN3367 is meant for lead acid battery. I don't know why they set it to 6V - 6V panel can't charge any lead acid battery.I wanted to set it up for 18V panel. So I tried to cheat by using chat gpt for it - whole conversation attached. I gave him the task to find the best parallel resistor combination that's close to 12.7k from resistors I had: 15k 18k 20k 30k 39k 47k 75k 100k 120k 150k 200k 470k 680k. he couldn't. So I did few calculations myself and I found that 18k||47k = 13k. 18|43 would be perfect match but I don't have 43k. Even better - if I leave the 45k resistor and solder 18k above it, it'll become 12.86kMost people want (or are afraid that) the bot to create a whole project. I think it'll be better for small tasks. like you need an odd resistor value or an opamp gain, or comparator hysteresis - something like that. Also you couldn't trust that there will be no errors in a whole project. Debugging is harder than design sometimes. But for small task you can easily double check if the bot is lying.I think chat gpt accumulates errors when you have 1 over something. 1/R = 1/R1 + 1/R2 - he couldn't make this right even one time. I told him to verify the solution by plugging it to the original solution and he said "yep, doesn't match. probably the formula is wrong. it couldn't be me"So what's your experience with the bot. Could you make it do something useful?To print the bot's conversation to pdf you need to right click->inspect and remove h-full from the second div in <body> - like this:(well click the thumbnail. I can't inline the image for some reason)

author: vk6zgo
author_rank: Super Contributor
timestamp: March 11, 2023, 12:18:24 am
content: Quote from: npelov on March 10, 2023, 10:38:42 pmNot maths, but I asked ChatGTP how a superregenerative radio receiver worked & got a "vanilla" response which left out most the "nitty gritty" of the operation of this very interesting device.That said, I've seen worse descriptions written by humans.For a second test, I asked it to discuss a "Carpenter Relay".It didn't have the slightest idea & waffled on about thermal relays.I told it what they really were, then it Googled, & found a little more information, but it basically just regurgitated my words back to me.At this point, I wonder if it does learn stuff, or if asked the same question by someone else, won't remember what I told it.If I try again, it might specifically remember for me.

author: vk6zgo
author_rank: Super Contributor
timestamp: March 11, 2023, 07:53:53 am
content: I asked it about Carpenter Relays again---this time it didn't even hazard a guess, so it doesn't learn from interactions.

author: sleemanj
author_rank: Super Contributor
timestamp: March 11, 2023, 08:37:51 am
content: ChatGPT is a language AI. It is not a mathematics AI.You should not expect it to be able to perform mathematical tasks with necessary accuracy, or even sanity.As for your question,my resistor paralleler with your available setgives a solution of [ 100 kΩ || 470 kΩ || 15 kΩ ] for a total of 12.691k (0.07% low), or [ 120 kΩ || 680 kΩ || 75 kΩ || 18 kΩ ] for 12.708k (0.06% high).

author: xrunner
author_rank: Super Contributor
timestamp: March 11, 2023, 01:13:54 pm
content: Quote from: vk6zgo on March 11, 2023, 07:53:53 amI think it's you ...Me: I need information on carpenter relaysChatGPT: Certainly! Carpenter relays are a type of electrical relay that was first introduced in the 1950s. They are also known as "reed relays" or "reed switches" because they use reed switches as their switching element.Reed switches are small, magnetically activated switches that consist of two thin, ferromagnetic blades (or "reeds") that are sealed in a glass tube filled with an inert gas. When a magnetic field is applied to the reeds, they move together and make contact, completing the electrical circuit.Carpenter relays use reed switches to control the flow of electrical current. They are known for their high reliability, low contact resistance, and low power consumption. They are also small in size, making them ideal for use in applications where space is limited.Carpenter relays are used in a variety of applications, including telecommunications, automotive electronics, industrial controls, and medical equipment. They are particularly useful in applications that require high switching speeds, high insulation resistance, or low thermal and electrical noise.If you have any further questions about Carpenter relays, feel free to ask!Me: Thanks I'll pass this to a friend that was stating you didn't know what it was.ChatGPT: You're welcome! I'm glad I could provide you with some useful information on Carpenter relays. If you or your friend have any further questions or concerns, don't hesitate to ask. I'm here to assist you in any way I can.

author: vk6zgo
author_rank: Super Contributor
timestamp: March 11, 2023, 03:51:48 pm
content: Quote from: xrunner on March 11, 2023, 01:13:54 pmWell, it certainly did "attempt" in your case, & as in its attempt when I first asked this question, got it completely wrong.Carpenter relays arenotreed relays, they are bi-state relays, using normal contacts, which were widely used in communications equipment in the 1950s & '60s.I told it that, & it found a reference that agreed with me, but has now quite forgotten that.P.S.https://rochesteravionicarchives.co.uk/collection/general-purpose/relay-electrical

author: npelov
author_rank: Frequent Contributor
timestamp: March 11, 2023, 05:21:00 pm
content: Quote from: sleemanj on March 11, 2023, 08:37:51 amYes, and it understands what I want perfectly. If they teach it to use non-ai based (ai can never be exact science) math tool it would be very valuable. It can write code, so maybe it can use code to calculate.Quote from: sleemanj on March 11, 2023, 08:37:51 amIt's an AI - you cannot expect accuracy or sanity in any area.Quote from: sleemanj on March 11, 2023, 08:37:51 amIt's a nice tool and much more reliable than the bot. However if the bot was able to produce accurate results I'll prefer to use it any time. The tool takes thinking to use. if you use it everyday, then it becomes effortless, but I use many tools every day. If the bot could pick a tool and fill the values in it that would be ideal.Btw why doesn't the tool give me 18k||47k = 13.015 even when I select 4%. I feel like it doesn't want to overshoot. I actually need >=12.7k and I don't really need high accuracy.

author: sleemanj
author_rank: Super Contributor
timestamp: March 11, 2023, 10:12:34 pm
content: Quote from: npelov on March 11, 2023, 05:21:00 pmIIRC because it finds 15 kΩ || 75 kΩ first and it is a closer 2 pair.

author: artag
author_rank: Super Contributor
timestamp: March 12, 2023, 02:44:27 pm
content: I think it's intentional that it doesn't learn, except for within that specific interaction.I imagine this is in order to avoid people intentionally teaching it wrong facts or attitudes as in the case of that early microsoft bot.