Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : ADC run command in MMBASIC, 8 vs 12 bits
Page 2 of 2 | |||||
Author | Message | ||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2129 |
|
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2108 |
https://www.thebackshed.com/forum/uploads/javavi/2024-11-12_044435_Screenshot%202024-11-11%20203333.png would this work with 2350 please? |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6756 |
First, forget that the pins are called GPnn. :) They are HSTX pins. Going round anticlockwise from the GP12 position they are 0,1,GND,2,3,4,5,GND,6,7. The above quote lets you assign the pins on the HDMI connector. There are 19 pins but we are only interested in these: 1 - D2+ 2 - GND 3 = D2- 4 - D1+ 5 - GND 6 - D1- 7 - D0+ 8 - GND 9 - D0- 10 - CK+ 11 - GND 12 - CK- OPTION HDMI 2, 0, 6, 4 works like this: 2 is HSTX 2 and that will go to CK+ / HDMI pin 10 0 is HSTX 0 and that will go to D0+ / HDMI pin 7 6 is HSTX 6 and that will go to D1+ / HDMI pin 4 4 is HSTX 4 and that will go to D2+ / HDMI pin 1 The HDMI pins are numbered from the left, looking from the back of the socket. There is a nice little HDMI breakout board available from Adafruit. It is breadboard friendly and has all the resistors on it. However, not many places seem to have it at the moment. There are some cheap ones on AliExpress but there are no resistors on them, you will need to put 22R or 270R in series with each signal line. ----------------------- No, that diagram won't work under MMBasic. You have to use the HSTX pins on the RP2350. The RP2040 can't do HDMI at all under MMBasic. . Edited 2024-11-18 08:24 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2108 |
Mick. thanks but not a clue. I used the manual for connecting vga,sd card,sound,keyboard but there's no easy as vga to connect hdmi. not been simplified. I'll work out what you posted but First, forget that the pins are called GPnn. :) ?? ta stan ordering hdmi breakout |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6756 |
HDMI is no more difficult than VGA really. It's just that there are a couple more pins used on the Pico. :) It looks more complicated because you have to use specific pins but you have to allocate how they are connected unless you are using one of the commercial boards that have a sort of standard. OPTION HDMI isn't bad to use, it just looks a little complex at first, possibly because the pins are always used as four adjacent pairs so it only has four values to define eight HDMI signal lines. :) The exact connections you use will depend on your PCB layout normally. From the Adafruit breakout board: Then OPTION HDMI 2, 0, 6, 4 if you want to use it. You don't need to in this case because that is the default anyway. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4212 |
Hi Mick, I see there are 8 HDMI wires, but what is the relation with the thread topic ? About 12 bit ADC versus 8 bit ADC ? I think you derailed.... Volhout PicomiteVGA PETSCII ROBOTS |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6756 |
I got derailed, yes.... lol Stan does that to me. This time we got here via audio on the Olimex board! (Because it has no ADC channels unless you disable the audio and pinch a pin from the HDMI socket, so that was a bit on-topic). Mind you, you can possibly think of it as thread recycling as the original post was eventually answered, I think. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Page 2 of 2 |
Print this page |