[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

-plz point to work working sample for Uno with 16x I2C and few push buttons RSS feed
Forum Index » tcMenu Arduinio library
Author Message
thevikas


Joined: Mar 16, 2021
Messages: 4
Offline
Hi,

I have read lot of the docs for tcMenu. Have even tried Menu designer. I feel it is really a superb project with a sort of multi tasking system it has while rendering menus.
I just cant get it to work. menu designer is not giving the options that I have.
I just need a smallest example which uses Arduino Uno + 16x2 I2C + 3 push buttons. I cannot locate this most simple sample. I do not have keypad shields and advance gfx hardware with me. I do have esp8266 and not able to work with even that.
Plz assist me.

Thanks,
Vikas
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
I'm not sure if an I2C LCD will fit on an Uno board along with task manager and everything else. I mean LCD I2C on its own is 10K before task manager or tcMenu are brought into play. For Uno, we normally recommend using a DfRobot LCD shield, or using an LCD display with direct wiring. I think the SSD1306 ASCII support also fits well. In 2.0 when we release it soon, we've actually made some improvements, and got an Uno DfRobot menu down to 23K, that would probably just about allow I2C, but then what about your own code.

One important point, as per the documentation you need to determine if your display is RS first or EN first, and set it as such in the code generator, see https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/tcmenu-plugins/liquidcrystalio-hd44780-renderer-plugin/ particularly the section on "Commonly available I2C".

I quote from that page:

PIN_LAYOUT: I2C displays mainly fall into two categories, either with EN on pin0, or RS on pin 0. Try each of these if you are not sure. If your display does not work with either, use the above “display direct or non standard i2c option”.
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
We'll also look to add this example in 2.0 if Uno has enough memory to allow for it, if not we'll add the example for Mega2560. I think as odd as it sounds, the nano 33 ble example does use a common I2C 20x4 display.
thevikas


Joined: Mar 16, 2021
Messages: 4
Offline
Got it finally running using esp8266 + few buttons + 16x2 LCD
Thanks.
 
Forum Index » tcMenu Arduinio library
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.