Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 1207 matches
www.mcselec.com Forum Index
Author Message
  Topic: LCD Powertip Init?
Paulvk

Replies: 5
Views: 189

PostForum: BASCOM-AVR   Posted: Sat Sep 04, 2021 1:22 am   Subject: LCD Powertip Init?
Why not use the I2C library and a PFC8574 adapter
Note you can have up to 8 LCDs connected this way using 2 pins of the mcu.
There is also a library to use a 128x64 graphical display with I2C.
http ...
  Topic: Nextion and Bascom
Paulvk

Replies: 51
Views: 3839

PostForum: BASCOM Project Blog   Posted: Sun Jun 27, 2021 5:31 am   Subject: Nextion and Bascom
I have written a document to try and make it easier to understand how the reparse mode works
and how to use the timers as sub programs. It also has a lot of comments and instructions on how
to use ...
  Topic: Nextion and Bascom
Paulvk

Replies: 51
Views: 3839

PostForum: BASCOM Project Blog   Posted: Fri May 21, 2021 5:35 am   Subject: Nextion and Bascom
Now since I have had some more time to get back to the Nextion
and learn more of its code I have improved the CRC generator
it no longer uses EEprom here is updated code and a hmi file
that has th ...
  Topic: MCP23017 I2C Graphic LCD Adapter Library
Paulvk

Replies: 4
Views: 529

PostForum: Share your working BASCOM-AVR code here   Posted: Sun May 09, 2021 4:26 am   Subject: MCP23017 I2C Graphic LCD Adapter Library
Many thanks Very Happy
This opens the micros with smaller numbers of pins for use with displays that use to
consume nearly all the pins with very little left to be of use.
Again Many thanks
  Topic: Bascom 2083
Paulvk

Replies: 12
Views: 709

PostForum: BASCOM-AVR   Posted: Sat Apr 17, 2021 7:48 am   Subject: Bascom 2083
If you search the forum for problems windows 10 there are things to do first
I do not have 10 but have seen a number of posts.
  Topic: Question of 'AN #118 - I2C LCD and Keboard library'
Paulvk

Replies: 7
Views: 571

PostForum: BASCOM-AVR   Posted: Wed Mar 24, 2021 9:50 am   Subject: Question of 'AN #118 - I2C LCD and Keboard library'
It would have been nice to have an I2C library using two PCF8574s for the basic graphic displays these use a lot of pins.
The bugs may explain some of the intermittent odd things I have experienced. ...
  Topic: Nextion and Bascom
Paulvk

Replies: 51
Views: 3839

PostForum: BASCOM Project Blog   Posted: Mon Mar 22, 2021 7:05 am   Subject: CRC16 generator
Here is code that generates CRC16 for a string you first have to run the
previous program once to put the characters ! to ~ in the eeprom
(Note if you use other characters you will need to add the ...
  Topic: Interrupt overflows being missed?
Paulvk

Replies: 29
Views: 1264

PostForum: BASCOM-AVR   Posted: Sat Feb 27, 2021 10:21 am   Subject: Interrupt overflows being missed?
"One interrupt can't occur while another is occurring"

This is correct.
  Topic: how entering sleep mode
Paulvk

Replies: 32
Views: 1162

PostForum: BASCOM-AVR   Posted: Mon Jan 04, 2021 11:15 pm   Subject: how entering sleep mode
Noisy relays !
Have you put diodes across the coils ?
Have you also put 100nF capacitors across the coils.
Relay contacts can be a source of noise.

Can you publish your project for others there ...
  Topic: how entering sleep mode
Paulvk

Replies: 32
Views: 1162

PostForum: BASCOM-AVR   Posted: Mon Jan 04, 2021 1:12 am   Subject: how entering sleep mode
Have you thought about using flip flops to drive the relays
you could then turn off everything but the relays and flip flops.
Regards Paul
  Topic: Nextion and Bascom
Paulvk

Replies: 51
Views: 3839

PostForum: BASCOM Project Blog   Posted: Mon Dec 14, 2020 6:30 am   Subject: Get ASCII
I have been working to make sending to the nextion faster.
So to do this you need to just send the data to the display
and then process on the display to put in the boxes
but we need error checking ...
  Topic: tools for Nextion display on Arduino M2560
Paulvk

Replies: 12
Views: 2105

PostForum: Share your working BASCOM-AVR code here   Posted: Fri Dec 11, 2020 11:24 pm   Subject: tools for Nextion display on Arduino M2560
From the code displayed it appears your trying to draw circles and boxes on the nextion
there is no need for this on the nextion as you simply use paint or similar program
to make a picture and load ...
  Topic: Nextion and Bascom
Paulvk

Replies: 51
Views: 3839

PostForum: BASCOM Project Blog   Posted: Mon Oct 26, 2020 12:02 am   Subject: Nextion and Bascom
The nextion display is set to 9600 baud at the start.
You have to write code in the nextion editor to change from this.



Regards Paul
  Topic: Nextion and Bascom
Paulvk

Replies: 51
Views: 3839

PostForum: BASCOM Project Blog   Posted: Sun Oct 11, 2020 1:23 pm   Subject: Nextion and Bascom
Thank you. It is new and complete different to my other Displays, thats why I am little confused...

which sd-card do you prefer?

Yes it does all the hard work.

It can also be programmed to do ...
  Topic: Nextion and Bascom
Paulvk

Replies: 51
Views: 3839

PostForum: BASCOM Project Blog   Posted: Sun Oct 11, 2020 12:10 pm   Subject: Nextion and Bascom
To display hello world you need to-

1- create a text box with nextion editor

2- load program from editor to SD Card

3- put SD Card into nextion display so that it loads program created with ...
 
Page 1 of 81 Goto page 1, 2, 3 ... 79, 80, 81  Next
All times are GMT + 1 Hour
Jump to: