Kunstmatige Intelligentie heeft ook verstand van HAM

Voor als het echt nergens anders thuis hoort.
Bericht
Auteur
Gebruikersavatar
Paula Bean
Berichten: 301
Lid geworden op: 04 aug 2019, 12:50

Kunstmatige Intelligentie heeft ook verstand van HAM

#1 Bericht door Paula Bean »

https://chat.openai.com/chat

Q:
Dear ChatGPT, I want to use my HAM radio, but I live in a small condo and have only a balcony available, and the home owner association forbids putting antennas up. What can I do?

A:
If you want to use your HAM radio but are not allowed to put up antennas, there are a few options you can consider:

- Use a small, low-profile antenna: There are a number of antennas available that are designed to be small and low-profile, such as a magnetic loop antenna, a whip antenna, or a dipole antenna. These antennas can be mounted inside your condo or on your balcony, and they typically don't require a large amount of space.

- Use a portable antenna: Another option is to use a portable antenna, such as a handheld or mobile antenna, that can be easily set up and taken down. These antennas are designed to be portable and easy to use, and they can be a good option if you're not able to permanently mount an antenna.

- Operate on VHF/UHF bands: Operating on VHF and UHF bands can also be an option, as these bands are generally more forgiving when it comes to antennas and the signals can propagate through buildings.

- Use an indoor wire antenna: You can also try building an indoor wire antenna, which can be made from a simple piece of wire. These antennas are easy to build and use, but they are less efficient than outdoor antennas.

- Operate on digital modes: Digital modes of operation such as D-STAR, DMR, and FT8 can also be used, which require less power and less bandwidth than traditional analog modes, so they can be used with smaller antennas.

It's important to be aware that using these options will likely result in a reduced range and performance in comparison to using a full-size outdoor antenna, but they may be the only viable options in your situation. Additionally, it's important to check with your local regulations and laws before installing or using any kind of antenna.

on4avt
Berichten: 1501
Lid geworden op: 12 jan 2011, 13:48

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#2 Bericht door on4avt »

???

Gebruikersavatar
Paula Bean
Berichten: 301
Lid geworden op: 04 aug 2019, 12:50

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#3 Bericht door Paula Bean »

Het is een computerprogramma dat je allerlei vragen kunt stellen (wel in het Engels). Het kan zelfs gedichten maken!

Gebruikersavatar
PE9ZZ
Berichten: 1239
Lid geworden op: 06 nov 2010, 18:00
Roepletters: PE9ZZ
Locatie: Amsterdam (JO22KI)
Contacteer:

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#4 Bericht door PE9ZZ »

Volgens columnist Sylvain Ephimenco (paywall) is het een holle bolle gijs die miljarden teksten heeft geconsumeerd en probeert daar context uit te halen. Mensen zijn daar goed in, computers notoir slecht. Ik las dat je het ding ook kan laten schaken. Dan doet-ie zomaar drie zetten achter elkaar. Dat mag helemaal niet. Maar waarom doet-ie dat? De zetten die die deed kwam-ie het vaakst tegen in discussies over de beste schaakstrategieën.

Edit: ik kan het ding niet benaderen want-ie zit vol. "ChatGPT is at capacity right now"

Tjerk, 9ZZ

Gebruikersavatar
Paula Bean
Berichten: 301
Lid geworden op: 04 aug 2019, 12:50

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#5 Bericht door Paula Bean »

Ja, het is verbazend wat dat ding allemaal kan.

Q:
A current of 3 amps is running through a resistor of 300 ohm, what is the voltage?

A:
The voltage can be calculated by using Ohm's law which states that voltage (V) is equal to current (I) multiplied by resistance (R). So in this case, the voltage would be:
V = I x R
V = 3 amps x 300 ohms
V = 900 volts (V)

Gebruikersavatar
PE9ZZ
Berichten: 1239
Lid geworden op: 06 nov 2010, 18:00
Roepletters: PE9ZZ
Locatie: Amsterdam (JO22KI)
Contacteer:

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#6 Bericht door PE9ZZ »

Ik had een fout in mijn vraagstelling maar er kwam evengoed een uitgebreid antwoord:
Q: Can you generate assembly code for a PIC16F628A to convert BCD input on PORTA(2:0) to 7-segment display output on PORTB?
A: I'm sorry, but as a language model, I am not able to generate code for specific microcontroller or platform. However, I can give you an example of assembly code that should work for the PIC16F628A to convert BCD input on PORTA(2:0) to 7-segment display output on PORTB,

Code: Selecteer alles

; PIC16F628A assembly code to convert BCD input on PORTA(2:0) to
; 7-segment display output on PORTB

; Declare variables
CBLOCK 0x20
bcdInput      ; BCD input on PORTA(2:0)
ENDC

; Set PORTA as input and PORTB as output
BSF STATUS, RP0
MOVLW 0x07
MOVWF TRISA
BCF STATUS, RP0
MOVLW 0x00
MOVWF TRISB

; Read BCD input from PORTA and store in bcdInput
BSF STATUS, RP0
MOVLW 0x07
MOVWF CMCON
MOVF PORTA, W
MOVWF bcdInput
BCF STATUS, RP0

; Convert BCD input to 7-segment display output
MOVF bcdInput, W
ANDLW 0x0F
CALL bcdTo7Segment
MOVWF PORTB

; bcdTo7Segment subroutine
bcdTo7Segment
    ANDLW 0x0F
    SWAPF bcdInput, W
    MOVWF bcdInput
    BTFSC bcdInput, 0
    GOTO segA_on
    GOTO segA_off
segA_on
    BSF PORTB, 0
segA_off
    BCF PORTB, 0
    BTFSC bcdInput, 1
    GOTO segB_on
    GOTO segB_off
segB_on
    BSF PORTB, 1
segB_off
    BCF PORTB, 1
    BTFSC bcdInput, 2
    GOTO segC_on
    GOTO segC_off
segC_on
    BSF PORTB, 2
segC_off
    BCF PORTB, 2
    BTFSC bcdInput, 3
    GOTO segD_on
    GOTO segD_off
segD_on
    BSF PORTB, 3
segD_off
    BCF PORTB, 3
    BTFSC bcdInput, 4
    GOTO segE_on
    GOTO segE_off
segE_on
    BSF PORTB, 4
segE_off
    BCF PORTB, 4
    BTFSC bcdInput, 5
    GOTO segF_on
    GOTO segF_off
segF_on
    BSF PORTB, 5
segF_off
    BCF PORTB, 5
    BTFSC bcdInput, 6
    GOTO segG_on
    GOTO segG_off
segG_on
    BSF PORTB, 6
segG_off
    BCF PORT
Wat ik wel heeeeeeel grappig vind is dat-ie weet dat je CMCON als digitale input moet declareren voor PORTA omdat-ie anders niet werkt. Of de routine zelf ook daadwerkelijk functioneert betwijfel ik... Bonuspunten voor degene die mijn fout vindt :lol:

Tjerk, 9ZZ

Gebruikersavatar
PA8S
Berichten: 168
Lid geworden op: 25 jan 2020, 21:42
Locatie: JO32bl
Contacteer:

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#7 Bericht door PA8S »

Een losse thread hierover is wel handiger, ik had o.a. hier en hier er al wat over ChatGPT geschreven.

Gebruikersavatar
PE9ZZ
Berichten: 1239
Lid geworden op: 06 nov 2010, 18:00
Roepletters: PE9ZZ
Locatie: Amsterdam (JO22KI)
Contacteer:

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#8 Bericht door PE9ZZ »

Oh crap, de code is niet compleet en ik kan niet opnieuw inloggen...

Edit: ik kon wel inloggen en dit is wat OpenAI heeft gegenereerd. Nu moet ik verzinnen wat er verder nog inmoet. Waarschijnlijk niet veel want waar-ie is gestopt is een subroutine.

Tjerk, 9ZZ

Gebruikersavatar
PE9ZZ
Berichten: 1239
Lid geworden op: 06 nov 2010, 18:00
Roepletters: PE9ZZ
Locatie: Amsterdam (JO22KI)
Contacteer:

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#9 Bericht door PE9ZZ »

ChatGPT laat wel een paar steekjes vallen. Zo decodeert-ie BCD helemaal niet en gaat van elk bit testen of het segment in port B aanmoet of niet. In de subroutine. Dan komt-ie terug en MOV't-ie WREG naar PORTB. De beste manier is om de BCD te ANDen met 0x0F (dat doet-ie keurig) en dan een RETLW (lookup table) te doen die het 7-segmentspatroon geeft. En die naar PORTB MOV't. De hele bittestsubroutine is daarmee overbodig. Beetje zelfde idee als het gedrag met de schaakopdracht. "Needs some work" :lol:

Tjerk, 9ZZ

PA3CQN
Berichten: 789
Lid geworden op: 10 dec 2014, 21:59
Roepletters: PA3CQN
Locatie: Groningen
Contacteer:

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#10 Bericht door PA3CQN »

PE9ZZ schreef: 12 jan 2023, 18:40 Ik had een fout in mijn vraagstelling maar er kwam evengoed een uitgebreid antwoord:
Q: Can you generate assembly code for a PIC16F628A to convert BCD input on PORTA(2:0) to 7-segment display output on PORTB?

Wat ik wel heeeeeeel grappig vind is dat-ie weet dat je CMCON als digitale input moet declareren voor PORTA omdat-ie anders niet werkt. Of de routine zelf ook daadwerkelijk functioneert betwijfel ik... Bonuspunten voor degene die mijn fout vindt :lol:

Tjerk, 9ZZ
Volgens mij gaat het al in de eerste zin mis. PORTA(2:0) is maar 3 bits en dus geen BCD ;)
_______________________________________________
Na jaren afwezig toch maar weer eens rondkijken.
UV-B5, RTL stick, SDRPlay2, miniwhip, magloop, X300
http://www.pa3cqn.nl
_______________________________________________

Gebruikersavatar
PE9ZZ
Berichten: 1239
Lid geworden op: 06 nov 2010, 18:00
Roepletters: PE9ZZ
Locatie: Amsterdam (JO22KI)
Contacteer:

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#11 Bericht door PE9ZZ »

PA3CQN schreef: 13 jan 2023, 06:33 Volgens mij gaat het al in de eerste zin mis. PORTA(2:0) is maar 3 bits en dus geen BCD ;)
Klopt! Je hebt de bonuspunten binnen! :mrgreen: De AI was dat dus niet opgevallen en daarmee was het een strikvraag geworden. Ongewild...

Tjerk, 9ZZ

PA1RA
Berichten: 97
Lid geworden op: 03 mar 2018, 18:07
Roepletters: PA1RA
Locatie: Eindhoven

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#12 Bericht door PA1RA »

als je een fout vindt, kun je 'hem' dat ook vertellen. Dan gaatie dat werkelijk corrigeren (na eerst sorry gezegd te hebben)!

Gebruikersavatar
PA2EFR
Berichten: 1455
Lid geworden op: 04 jan 2008, 00:13
Roepletters: PA2EFR
Locatie: JO33HE: Haren Gn.
Contacteer:

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#13 Bericht door PA2EFR »

Hij of zij snapt ook gewoon Nederlands, hoor.

Q: wat is een zendamateur?

A: Een zendamateur is iemand die gecertificeerd is om radio-uitzendingen te maken op bepaalde frequenties, zoals voor communicatie- of experimentele doeleinden. Zendamateurs hebben vaak een speciaal vergunning nodig om hun uitzendingen te maken, en moeten zich houden aan specifieke regels en beperkingen.

Gebruikersavatar
PE9ZZ
Berichten: 1239
Lid geworden op: 06 nov 2010, 18:00
Roepletters: PE9ZZ
Locatie: Amsterdam (JO22KI)
Contacteer:

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#14 Bericht door PE9ZZ »

PA1RA schreef: 13 jan 2023, 16:56 als je een fout vindt, kun je 'hem' dat ook vertellen. Dan gaatie dat werkelijk corrigeren (na eerst sorry gezegd te hebben)!
Dat is wel wat om te proberen. De chat history is niet gewist.

Tjerk, 9ZZ

Gebruikersavatar
Paula Bean
Berichten: 301
Lid geworden op: 04 aug 2019, 12:50

Re: Kunstmatige Intelligentie heeft ook verstand van HAM

#15 Bericht door Paula Bean »

Voor zolang als het duurt... want ik lees in de FAQ:

Q: How much does it cost to use ChatGPT?
A: During the initial research preview, ChatGPT is free to use.

Dus binnenkort moet je ervoor betalen.

Plaats reactie