lcd display with matlab simulink
38 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
klob
el 22 de En. de 2012
Comentada: bharath H P
el 17 de Abr. de 2021
Hello everyone, I have a project in which i have to take the temperature of a sensor via arduino and make a fan spin accordingly. Even though i am new to the electronics i managed to do that. Now the final step is to display it in a lcd screen(display the temperature and the revolutions of the fan per minute,or at least one of these two).
Can someone help me please? I have an arduino uno board and a 2x16 lcd screens which has 4 bits for input.
Arduino has a library(liquid screen) and i managed to use the screen. But how can i do it in Matlab Matlab-Simulink?
Thanks in advance.
1 comentario
Anubhab Pal
el 8 de Mzo. de 2015
Hello, maybe you can take a look in this link http://in.mathworks.com/matlabcentral/fileexchange/46247-tenet-lcd-library-for-arduino-hardware
Respuesta aceptada
Walter Roberson
el 23 de En. de 2012
LCD displays usually require a driver, and the driver can be chip specific. There are LCD drivers for some specific targets, but I do not see any generic LCD controller block.
Specific LCD control examples:
General Arduino support:
Some of the ways used to control LEDs (not LCD), that could in theory be adapted for LCD:
0 comentarios
Más respuestas (1)
phil
el 6 de Feb. de 2013
hey klob... i am currently doing the exact same thing. i have had partial success!...
google this: Writing a Simulink Device Driver block: a step by step guide
basically you can use external libraries in simulink. i used the liquidcrystal.h file from arduino to make it work.
So i can already drive the display with simulink but unfortunately I can not pass any strings to it...
please contact me if you have a solution ...or contact me if you are unclear about the drivers guide.
gl - phil
1 comentario
bharath H P
el 17 de Abr. de 2021
i have doubt in creating s function using LCD drivers
Please help with this
Ver también
Categorías
Más información sobre Simulink Supported Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!