What's about SPI support for Mega8515 ? I saw only an example and an include file for the Uno_328 ... SPI seems easier to use as I2C, and some text displays (EA OLEDM204) have only these interfaces !
Thanks for any answer !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
However, there is no library to drive that display. And, unless someone sends me one (they are very very expensive) then you will have to write the library.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for Your answer, but, some questions, rather hardware related :
- I will only use one device, so I think that I can tie CS permanently to ground. And since I use the "classic" reset circuit with 10K resistor, 1N4148 diode and 100nF capacitor, can I tie the reset input of the display to the reset input of the processor ?
- The device has no DC input.
- Should I connect MISO (and MOSI) together between the device and the processor, or should I make a "crossover" like for serial (MISO to MOSI) ?
- And include the Uno_328 library, or not ? Are the "fundamental" commands yet included in the compiler, or not ?
- And finally, maybe I will test I2C, after all ... Using external pullups and disabling all internal. Or ... simply use a display with parallel interface : I think that it's much easier !
Thanks in advance ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can tie CS to ground. However, the library needs to supports CS or any library will not interoperate.
Regarding reset - sounds ok.
Regarding DC. However, the library needs to supports DC or any library will not interoperate.
MOSI goes to Slave In and MISO goes to Slave Out.
The compiler is not the issue. There is no library for either SPI or I2C.
Or, if you can tell me the manufacturer I will ask for sample - the library is only a few hours work (for me). I need the manufacturers name/contact info not a reseller. Then, you have to wait for the library. :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately I saw that the device I wanted to buy needs 12v (or a converter 5 to 12v), so I will rather use another model ... preferably with a parallel interface ! Thanks for all infos ...
In fact I am looking for a feedback system for my voice control of the railway layout : I tested Elechouse's VR3, it needs training and works fine in the same session when You trained the words (otherwise I noticed that some words need to get re-trained, I wonder if the system is not very sensitive to the position of the microphone if You use a head worn version), now I am waiting for delivery of their SimpleVR, speaker independent ; my choice is between a text display or a voice output, either via synthesis (Emic-2) or sample playing (AdaFruit Sound FX). Since I am not sure that I will finally implement my first idea of train announcements (it can make a rather boring effect) , a "silent" solution via a display would perhaps be welcome !
Last edit: Bertrand BAROTH 2020-08-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everybody again ...
What's about SPI support for Mega8515 ? I saw only an example and an include file for the Uno_328 ... SPI seems easier to use as I2C, and some text displays (EA OLEDM204) have only these interfaces !
Thanks for any answer !
Should work! Give it a try.
However, there is no library to drive that display. And, unless someone sends me one (they are very very expensive) then you will have to write the library.
Thanks for Your answer, but, some questions, rather hardware related :
- I will only use one device, so I think that I can tie CS permanently to ground. And since I use the "classic" reset circuit with 10K resistor, 1N4148 diode and 100nF capacitor, can I tie the reset input of the display to the reset input of the processor ?
- The device has no DC input.
- Should I connect MISO (and MOSI) together between the device and the processor, or should I make a "crossover" like for serial (MISO to MOSI) ?
- And include the Uno_328 library, or not ? Are the "fundamental" commands yet included in the compiler, or not ?
- And finally, maybe I will test I2C, after all ... Using external pullups and disabling all internal. Or ... simply use a display with parallel interface : I think that it's much easier !
Thanks in advance ...
Here goes.
You can tie CS to ground. However, the library needs to supports CS or any library will not interoperate.
Regarding reset - sounds ok.
Regarding DC. However, the library needs to supports DC or any library will not interoperate.
MOSI goes to Slave In and MISO goes to Slave Out.
The compiler is not the issue. There is no library for either SPI or I2C.
I would use http://www.pickitplus.co.uk/Typesetter/index.php/PICKitPlus-LCD-Rucksack will a regular LCD.
Or, if you can tell me the manufacturer I will ask for sample - the library is only a few hours work (for me). I need the manufacturers name/contact info not a reseller. Then, you have to wait for the library. :-)
Unfortunately I saw that the device I wanted to buy needs 12v (or a converter 5 to 12v), so I will rather use another model ... preferably with a parallel interface ! Thanks for all infos ...
In fact I am looking for a feedback system for my voice control of the railway layout : I tested Elechouse's VR3, it needs training and works fine in the same session when You trained the words (otherwise I noticed that some words need to get re-trained, I wonder if the system is not very sensitive to the position of the microphone if You use a head worn version), now I am waiting for delivery of their SimpleVR, speaker independent ; my choice is between a text display or a voice output, either via synthesis (Emic-2) or sample playing (AdaFruit Sound FX). Since I am not sure that I will finally implement my first idea of train announcements (it can make a rather boring effect) , a "silent" solution via a display would perhaps be welcome !
Last edit: Bertrand BAROTH 2020-08-29