0 Members and 7 Guests are viewing this topic.
Some AY-AT/GM328A come with a different LCD emulating an ST7735 (semi-compatible). That LCD module has an MCU and a level shifter on the PCB. In this case use LCD_SEMI_ST7735 (see 'Clones' file).
#define LCD_SEMI_ST7735#define LCD_GRAPHIC /* graphic display */#define LCD_COLOR /* color display */#define LCD_SPI /* SPI interface */#define LCD_PORT PORTD /* port data register */#define LCD_DDR DDRD /* port data direction register */#define LCD_RES PD0 /* port pin used for /RESX */#define LCD_CS PD5 /* port pin used for /CSX (optional) */#define LCD_DC PD1 /* port pin used for D/CX */#define LCD_SCL PD2 /* port pin used for SCL */#define LCD_SDA PD3 /* port pin used for SDA */#define LCD_DOTS_X 160 /* number of horizontal dots */#define LCD_DOTS_Y 128 /* number of vertical dots */#define LCD_LATE_ON /* turn on LCD after clearing it */#define FONT_8X8_HF /* 8x8 font */#define SYMBOLS_30X32_HF /* 30x32 symbols */#define SPI_BITBANG /* bit-bang SPI */#define SPI_PORT LCD_PORT /* SPI port data register */#define SPI_DDR LCD_DDR /* SPI port data direction register */#define SPI_SCK LCD_SCL /* port pin used for SCK */#define SPI_MOSI LCD_SDA /* port pin used for MOSI */
Does the probing cycle start again or does the tester restart (showing the firmware version)?
Embehu,Try this firmware to test the performance of your clone. ignore the russian language.Will there be the same reboot effect as on your 1.46m?
Embehu,for what purpose did you apply such a Vref? Put a good quality LDO +5v and remove the external REF altogether!Attach the zip archive to a message with your config.h and config_328.h. I will compile the 1.46m firmware for you in English.
I got LM399 (it has 6.75 super stable Vout) from scratch then I use three 470K resistors 0.1% in series then I got 2234V. I think it will be better than mpc1720 or tl431
Put original MCP1702-5002 - it will be enough for this clone and you will get great results without using ExtVref. LM399 can be used in other project, where high stability of the reference voltage is required.
Yep, LM399 is total overkill.
Since I really get difficulty while buying the real mcp1702. How about the one from China? Do you have any idea about it?
In 99% of cases you will receive a fake or relabeled part from China. You can take a risk and order it from a seller who has the highest number of orders of this LDO and positive feedback from buyers - shop FU NENG Storehttps://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjt9a2qqev4AhVJKewKHYq1AFM4ChAWegQICRAB&url=https%3A%2F%2Fwww.aliexpress.com%2Fw%2Fwholesale-mcp1702.html&usg=AOvVaw0n34iQzC8z5oOlhG0OeJ6JBut I'm not at all sure it'll be an original part.
Quote from: indman on July 08, 2022, 03:43:24 pmPut original MCP1702-5002 - it will be enough for this clone and you will get great results without using ExtVref. LM399 can be used in other project, where high stability of the reference voltage is required. Quote from: madires on July 08, 2022, 06:07:06 pmYep, LM399 is total overkill.Ah ha, I got it. So this project requires stability of 5V more than Vref.Since I really get difficulty while buying the real mcp1702. [...]
In Vietnam it’s super hard to order just a mcp1702 from digikey or mouser because the price would be really high. Anw I will figure it out!
AFAIK the ATmega generates its internal Vref from an amplified bandgap (obviously feeded from Vcc), therefore if the Vcc is stable enough, so is the Internal Vref. Else, we use the external Vref.
/* check for valid voltage range */ if ((U_Ref > 2250) && (U_Ref < 2750)) /* voltage is fine */
Hi,I know there are a lot of different models, anyway have you saw this one ?What is the purpose of USB interface ?I try to use it to supply the module, it shows around 7 V, but didn't measure a simple resistor.
I know there are a lot of different models, anyway have you saw this one ?What is the purpose of USB interface ?
I have no idea what version that is, but trying a OCR translation it seems to be saying that the USB port is only for user upgrades (of the firmware) and that it does not supply power.
Is there a version of firmware for these devices, which skips battery tests and other welcome messages on each button press?This is very annoying.....
I know there are a lot of different models, anyway have you saw this one ?