Porting Deviation to F3/F4 MCU, new LCD, etc

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
12 Feb 2014 09:49 #20177 by rbe2012
Replied by rbe2012 on topic Porting Deviation to F3/F4 MCU, new LCD, etc
Can you publish the eagle files (board and layout) too?

Please Log in or Create an account to join the conversation.

More
12 Feb 2014 10:13 - 12 Feb 2014 10:17 #20180 by SadSack
Replied by SadSack on topic Porting Deviation to F3/F4 MCU, new LCD, etc
I sure will once I've made it, does need to work :-)
My list To Do has OLED 0.96" www.buydisplay.com/download/interfacing/...ries_Interfacing.pdf

TFT LCD Module Display,320x240,Touch Sceen

www.buydisplay.com/download/interfacing/...28-4_Interfacing.pdf

Really unsure if it will be suitable, fingers crossed!

One thought I had mostly from you idea about secondary screen for your devo12. How about dual screen 7/10 :woohoo:

But a pipe dream for me...
Last edit: 12 Feb 2014 10:17 by SadSack.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
13 Feb 2014 06:24 #20221 by rbe2012
Replied by rbe2012 on topic Porting Deviation to F3/F4 MCU, new LCD, etc
I bought a MultiWii oled screen (looking like yours), but did not manage to get it responding to I2c-requests (on my AVR-board; might be a timing problem or it is just broken, but I haven't had much time for this).
I also had the idea to use this as a second display for my colored-screen Devos to have something I can read better outside in sunny conditions. But 0.96" is really small...
Those without board are much cheaper and will need only a few additional parts to work (in theory).

Please Log in or Create an account to join the conversation.

More
13 Feb 2014 06:57 #20224 by MacGyverek
Replied by MacGyverek on topic Porting Deviation to F3/F4 MCU, new LCD, etc
You looking for new LCD??

I am a programmer and PCB developer in one small company (we do a controllers for heating devices). On our projects we are using smart LCD: artronic.com.pl/o_produkcie.php?id=1361 , artronic.com.pl/pdf/pl/M7-AXA-RTV2.PDF

Its very simple for control. You must have only UART TxD and RxD (for touch screen). There is two standards: UART (3.3V) and RS232. Power suppy is 5V.
All bitmaps/jpg/png you can put to SDCARD.

P.S. Sorry for my English.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
13 Feb 2014 07:16 #20226 by rbe2012
Replied by rbe2012 on topic Porting Deviation to F3/F4 MCU, new LCD, etc
Thanks, but if ever I will use an OLED display due to its advantages outside. Controlling it will not be a real issue, although I would prefer SPI over I2c. But a serial one with a simple bluetooth connection could easily mounted at the cap of a basecap so it could be in sight without looking down to the tx (no idea if one can read something or if it might need some optical support like in FPV glasses). Maybe in this case (near to the eye, in the shadow by the cap) a normal tft / other lcd could work too... might be worth a try... one of these days.

Please Log in or Create an account to join the conversation.

More
13 Feb 2014 09:32 #20228 by SadSack
Replied by SadSack on topic Porting Deviation to F3/F4 MCU, new LCD, etc
I'd better hurry and do layout for OLED.
You did nothing wrong with your code they just don't work. Mine worked for a moment then just spots. Its a simple'ish fix :)


www.multiwii.com/forum/viewtopic.php?f=6&t=2705&start=20#p27797

worth a go but why not just lift pin 14 and leave it floating? or just add RC circuit. What i did to get it running for Multi-Wii and now its modded again for 4 wire serial, which is not so easy.

Please Log in or Create an account to join the conversation.

More
17 Feb 2014 20:43 #20471 by SadSack
Replied by SadSack on topic Porting Deviation to F3/F4 MCU, new LCD, etc
rbe2012 Sorry taken so long to get this far. I've been trying out new product to me Photosensitive dry film and have to say fantastic product. Etching was near perfect, usually i'd try not to group tracks like that but perfect first time :)

Not complete yet but ....


Attachments:

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
02 Mar 2014 10:47 #21072 by rbe2012
Replied by rbe2012 on topic Porting Deviation to F3/F4 MCU, new LCD, etc
I also have been away for two weeks so no hurry...
I usually use overhead foils (inkjet film), print them with my inkjet (photo mode, really deep black) and transfer this with an UV lamp (for plants) to photosensitive plates.
But this method seems to make some things easier, esp. the time of lightning which I have to test with each new plate... seeing it changing the color while exposing is a great improvement.
It looks as if you don't have to care for light before applying the printout... I only use small red lights when I fix the printout until the plate is exposed and the photo-film is developed...

Please Log in or Create an account to join the conversation.

More
01 Jul 2014 10:48 - 01 Jul 2014 11:13 #24322 by john
hi everyone

i made er9x with lcd st7565. now i want to use it for devo , i don't know here have any version to do this ?

Devo with screen st7565 ?

devo 7e use lcd NT7538 , Is it same st7565 , compatible ?

and SST25VF016B , i can replace by 25LC512-I/SN ?
Last edit: 01 Jul 2014 11:13 by john.

Please Log in or Create an account to join the conversation.

More
01 Jul 2014 13:10 #24324 by PhracturedBlue
Replied by PhracturedBlue on topic Porting Deviation to F3/F4 MCU, new LCD, etc
the command set of the st7565 is generally the same as that of the nt7538, but the nt7538 has several additional commands that the st7565 doesn't support. I recommend comparing the manuals

25LC512 is very small (512kbit). I'd recommend something bigger. The Devo10 uses a 4MBit flash, which is much more suitable. The 25LC512 is not instruction-set compatible with the SST25VF032B. Deviation requires 4kB pages. Trying to coax it to work with 128kB pages will be a lot of effort.

Please Log in or Create an account to join the conversation.

More
01 Jul 2014 13:54 #24327 by SadSack
Replied by SadSack on topic Porting Deviation to F3/F4 MCU, new LCD, etc
www.buydisplay.com/default/graphic-displ...rer?cotroller_ic=445

If you follow into any of them you will find code examples.

Another one code.google.com/p/u8glib/ Very helpfull had both types st7565 nt7538 running on that+arduino before deviation.

Please Log in or Create an account to join the conversation.

More
01 Jul 2014 14:14 - 01 Jul 2014 14:18 #24328 by SadSack
Replied by SadSack on topic Porting Deviation to F3/F4 MCU, new LCD, etc
I did have one problem with nt7538. It ran fine but last last row on right was out of alignment didn't get a chance find out what was wrong or ask, I dropped it didn't work again...whoops.

Can't find circuit for this, sorry. Did work and selection buttons are correct to code but not wiki :P worked for me for driver nt7538.




File Attachment:

File Name: LCD.zip
File Size:8 KB
Attachments:
Last edit: 01 Jul 2014 14:18 by SadSack.

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 12:54 #54718 by anthony7288
Replied by anthony7288 on topic Porting Deviation to F3/F4 MCU, new LCD, etc
Hi Sadsack
oled use interface 8 bit 6800 or 8 bit 8080 or only SPI ?

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 13:13 #54719 by SadSack
Replied by SadSack on topic Porting Deviation to F3/F4 MCU, new LCD, etc

anthony7288 wrote: Hi Sadsack
oled use interface 8 bit 6800 or 8 bit 8080 or only SPI ?


All the above work. I used SPI for Devo 7e.

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 13:29 - 09 Oct 2016 01:00 #54721 by anthony7288
Replied by anthony7288 on topic Porting Deviation to F3/F4 MCU, new LCD, etc
Ok , thank for infor

I find a Oled 2.4 inch , good size , but it very expensive .
and ST7565R serial LCD very cheap and publish , but seem it not compatible

i will do a Devo 7e with OLED 0.96 same SADSACK
Last edit: 09 Oct 2016 01:00 by anthony7288.

Please Log in or Create an account to join the conversation.

More
17 Oct 2016 22:02 #55074 by cody
I got some parts from ebay and I am wondering if I can run vanilla deviation on it(Devo8 build?):
- STM32F103VET6 STM32 Minimum System Development Board (512KB flash)
- Winbond Serial Flash Memory Module SPI W25Q128FVSIG
- 2.4"240x320 SPI TFT LCD Serial 240*320 ILI9341 PCB Adapter SD Card LCD 2.4

The LCD and STM32F103VE should be ok with deviation, but did I get the right flash module?
Do I need any more components to start deviation?
And is there documentation how to hook everything up? (Which pins go where)

Please Log in or Create an account to join the conversation.

More
18 Oct 2016 00:52 - 18 Oct 2016 00:53 #55078 by Cereal_Killer
Replied by Cereal_Killer on topic Porting Deviation to F3/F4 MCU, new LCD, etc
I only have the 10 / 7e pages bookmarked but there should be a comparable HW pinout page for the 8/8S. That'll be the best "diagram" officially but maybe you could Google Image search and find some blog post somewhere...

www.deviationtx.com/wiki/hardware/devo10...hardware_connections

Edit: I cans guess: www.deviationtx.com/wiki/hardware/devo8#...hardware_connections

Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7

What I do in real life: rivergoequestrian.com/
Last edit: 18 Oct 2016 00:53 by Cereal_Killer.

Please Log in or Create an account to join the conversation.

More
18 Oct 2016 05:27 - 18 Oct 2016 05:27 #55081 by anthony7288
Replied by anthony7288 on topic Porting Deviation to F3/F4 MCU, new LCD, etc
- 2.4"240x320 SPI TFT LCD Serial 240*320 ILI9341 PCB Adapter SD Card LCD 2.4

i read in WIKI hardware , LCD is diffirence , but i do not know that LCD can Compatible that do not need modifi code ? If have to modifi code , forget it . :))
Last edit: 18 Oct 2016 05:27 by anthony7288.

Please Log in or Create an account to join the conversation.

More
18 Oct 2016 20:00 #55110 by victzh
@cody - if you're brave enough, you can. This specific Winbond flash is not listed, but W25QxxBV is very close - in your target_defs.h set this:

#define SPIFLASH_SECTOR_OFFSET 0x0000
#define SPIFLASH_SECTORS 4096
#define SPIFLASH_TYPE W25QxxBV

You better base your target on devo6, devo8 - they have support for ILI9341. This support uses FSMC - STM32 Flexible Static Memory Controller to do the data transfer, so connection to the display should be exactly as in Devo6, 8, or Radiolink AT9. I am not sure that your specific display module breaks out all necessary pins - you need to check it out.

For instance, this display - www.ebay.com/itm/2-4-240x320-SPI-TFT-LCD...ard-M52/291549777432 does NOT have data lines broken out, so it's not suitable.
The connection takes 20 pins, details are on Radiolink AT10 schematics: www.deviationtx.com/wiki/_media/hardware/at10_schematics.pdf .

I think that display that can work with the current drivers is the one you can buy from buydisplay.com - www.buydisplay.com/default/qvga-2-4-inch...dule-display-ili9341 variant 8080 16-bit parallel. This one though it has SPI in it's name has also wide connector - I suspect it will work also www.buydisplay.com/default/color-2-4-inc...0x320-dot-serial-spi

SPI display will need driver implementation, and it will definitely work slower. There is a Arduino library - Adafruit_ILI9341 which works with this display.

Please Log in or Create an account to join the conversation.

More
18 Oct 2016 20:40 #55113 by HappyHarry
Replied by HappyHarry on topic Porting Deviation to F3/F4 MCU, new LCD, etc
i have some parts i purchased to see if this could be done, the display i bought was this one here >> www.ebay.co.uk/itm/2-8-inch-1-8-TFT-LCD-...?hash=item282043aa0b and the stm board this one here >> www.aliexpress.com/item/1pcs-STM32F103ZE....13010608.0.0.zsPfj3 i was planning on basing it on the 6/8 code but it seems the screen i chose has the wrong driver :/

Please Log in or Create an account to join the conversation.

Time to create page: 0.121 seconds
Powered by Kunena Forum