Devo f7 for DelFly

More
08 Oct 2013 19:50 #14358 by Microuav
Devo f7 for DelFly was created by Microuav
Hello world,
I'm impressed of the work done here @ deviationtx!!

At the mavlab of the TUDelft we develop small flapping wing ( www.delfly.nl ) and small autonomous quad rotors ( paparazzi.enac.fr/wiki/Lisa/S )

Both have 5.8ghz fpv systems on board so we want to use the devo f7 as transmitter and fpv ground-station.

I know the devo f7 is currently not supported by deviationtx but I'm wondering if somebody is working on it at this moment.

Kind regards microuav

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

More
08 Oct 2013 19:55 #14359 by FDR
Replied by FDR on topic Devo f7 for DelFly
AKAIK no. The F7 has a too limited MCU, so deviation wouldn't fit into...

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

More
10 Oct 2013 12:25 #14435 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
The Devo f7 have a stm32F103
What do the other devo's use?

We just figured out thad we can select by SPI the 5.8ghz frequently for receiving the video. So it become even more interesting for us to be able to reprogram the STM 32

Microuav

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

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
10 Oct 2013 12:32 #14436 by rbe2012
Replied by rbe2012 on topic Devo f7 for DelFly
You can read this in the articles section .

Important are the numbers and letters behind stm32F103 - they tell us which capabilities the chip ha, esp. how much memory of which type it has.

Devo7e: STM32F103RBT6 128kB Flash, 20kB RAM 64pin package
Devo8: STM32F103VCT6 256kB Flash, 48kB RAM 100pin package
Devo10: STM32F103VCT6 256kB Flash, 48kB RAM 100pin package
Devo12: STM32F103ZET6 512kB Flash, 64kB RAM 144pin package

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

More
10 Oct 2013 12:40 - 10 Oct 2013 12:47 #14438 by FDR
Replied by FDR on topic Devo f7 for DelFly
OK, but which one?

The 6/6S/8/8S/10 have the STM32F103VC with 256kB flash and 64kB 48kB RAM,
the 12/12S have the STM32F103ZE with 512kB flash and 64kB RAM,
but the 7E has only the STM32F103RB with 128kB flash and 20kB RAM!!!,
which is already a limiting factor...

EDIT: I wasn't quick enough... ;)
Last edit: 10 Oct 2013 12:47 by FDR.

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

More
10 Oct 2013 12:46 #14440 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
For the devo f7 it is the STM32 RBT6 ....

What is still possible then?

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

More
10 Oct 2013 12:51 - 10 Oct 2013 12:54 #14441 by FDR
Replied by FDR on topic Devo f7 for DelFly
So capabilities like the DEVO 7E, but the other thing is the user interface, which in case of the F7 is a simple video overlay, but not much is known about...

EDIT: Does it have an SPI flash, and which one?
Last edit: 10 Oct 2013 12:54 by FDR.

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

More
10 Oct 2013 12:58 #14442 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
pct25vf512a-33-4c-sae

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

More
10 Oct 2013 13:21 - 10 Oct 2013 13:22 #14444 by FDR
Replied by FDR on topic Devo f7 for DelFly
So it has very limited flash too. (64kB)
It's enough for 16 model configs, but nothing else...

EDIT: The main problem here is that it would need a completely new user interface. We can't use anything from the current deviation codes...
Last edit: 10 Oct 2013 13:22 by FDR.

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

More
10 Oct 2013 15:58 #14459 by SadSack
Replied by SadSack on topic Devo f7 for DelFly
Couldn't the screen code just be toggled off for flight or display the min needed ?
You don't need to see everything shown and when theres a problem you'll still have the buzzer to warn you ?


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
10 Oct 2013 16:40 - 10 Oct 2013 16:41 #14465 by rbe2012
Replied by rbe2012 on topic Devo f7 for DelFly
SadSack,
I guess the display you use is a 128x64 b/w OLED display with serial port (maybe SPI). I have looked at those some time ago and thought about using it as a secondary display for my Devo8 and Devo12. Visible even in the brightest sunlight. EDIT: [dream mode on] switch with th between them? [dream mode off]
How do you control it?
We have a complete gui for such an interface: the b/w-gui for Devo7e/10 uses a display of the same resolution... with some changes in the display routines we could get this to work for deviation (but I am quite sure we will not (or only with hard efforts) get two displays working at different resolutions because the code is mostly separated but some code is used for both).

Maybe this is the time I should order one.
Last edit: 10 Oct 2013 16:41 by rbe2012.

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

More
10 Oct 2013 18:10 #14473 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
Do someone knows what video overlay chip is used on the devo f7?

Next to the STM32F103RBT6 it have also has a chip labeled 'IA911 L0932A'' anybody know the purpose of this chip?

There is also a LM1881M for synchronizing a composite video, so we can guess the output is an analog overlay.

Microuav

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

More
11 Oct 2013 14:15 - 11 Oct 2013 14:17 #14498 by SadSack
Replied by SadSack on topic Devo f7 for DelFly
I had a thought and bear in mind I am no coder but! There's a timer for back light on devo7e/10 couldn't something like that be used but tx display just disappears or just middle area ? Still all off would be better.

Microuav would you be able to do a dissembled photo shoot of F7? pretty please :) Have looked but didn't see anything.

Well that screen is very nice. Its same one used by LadyAda There's lots of info there about it. Its I2c, 3/4 wire serial. The Cruis OLED is flawed and to make it work you need to disconnect reset from 3.3v! And add cap/res and works great I2C only 3.3v/5v


Now all I did was change few codes in PB's lcd.c. All will be good once i figure out how to read datasheet :-). I broke my proper replacement screen for Devo7e not sure how or why guessing i got internal regulator codes wrong. Only had 1 screen so had to stop. Then I saw that and thought what the hey. Well I did get it going first time but text/graphics back to front(found right code in the end) But Idea popped in to my head FPV and use that screen as HUD. If you can cut your own PCB's www.buy-display.com/default/oled-display...-display-module.html $3+ shipping I got my Devo7e screen there as well

In all its glory
Attachments:
Last edit: 11 Oct 2013 14:17 by SadSack.

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

More
14 Oct 2013 21:22 #14647 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
See here for my pictures of the devo f7

www.dropbox.com/sc/dyf786xdun2era2/9qX1GQL6EZ

I hope you find the video overlay chip

Microuav

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

More
16 Oct 2013 09:06 #14696 by enderffx
Replied by enderffx on topic Devo f4
Hi all !
Just a quick Question:
Did anyone check if the problems porting deviation apply to the F4 in the same way or does the F4 have even less / different resources ??

Thanks for any info, i'd love to see a F4 with a NRF24L01 to use it with my WLToys quadcopters (v222 & v262).

Greetings,

Ender

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

More
24 Oct 2013 16:08 - 24 Oct 2013 18:23 #14928 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
Ok we already got alot working right now. Figured out how to control the 5.8GHz receiver ( it is not in spi mode but normal mode ) and also figured out how to communicate with the overlay chip(osd, display).

We are able to show characters at the screen, but it is a character based screen not like all the other devo's so I have to take a look at the menu's etc. We reverse engineered the display by listening on the spi bus of the screen and the flash. Attached is the logic analyser data.

File Attachment:

File Name: devo_F7.zip
File Size:171 KB


But my other concern is the flash chip(usb memory) that isn't working. I used the devo 7e code, and the usb drive shows up in Windows. But now the problem is that I can't format it. I think it has something todo with the flash chip, but don't know that much about deviation yet. So can someone please point me in the right direction how to get this working for the devo 7f. www.pctgroup.com.tw/attachments/files/files/255_25VF512A-P.pdf

Btw here is the conenction to the 5.8GHz receiver chip to the stm32:
CS0 --> PA0
CS1 --> PA8
CS2 --> PA15
on/off??? --> PA4
Attachments:
Last edit: 24 Oct 2013 18:23 by Microuav.

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

More
24 Oct 2013 20:42 #14929 by FDR
Replied by FDR on topic Devo f7 for DelFly
Great progress!
However the problem lies in the character based overlay: you need to rewrite the whole user interface...

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

More
25 Oct 2013 13:21 #14958 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
Yes I'm looking in to that now, but first want to get it working without interface and see if the rest is working. That's why I asked for some help with the flash.

I also like to know if there is soruce available for www.deviationtx.com/forum/7-development/...ers-for-usbcode#9489 because I really like to work on linux. It currently isn't capable of flashing the F7.

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

More
25 Oct 2013 13:53 #14959 by SadSack
Replied by SadSack on topic Devo f7 for DelFly
The pdf you linked is all but same as microchips. I know 2meg in devo7e 4 meg in others.

Not much good to you but here's my working circuit from devo7e. Not great and maybe not much good to you.


Attachments:

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

More
25 Oct 2013 19:53 #14977 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
Tnx, but already knew what ports it was at. It's at the same SPI bus as the video overlay chip.
I think like 99% of the connections to the STM32 are the same as on the devo7e, I checked a couple of them and they were all correct.

The only problem with the flash etc. is how to correctly configure it. Because it's smaller then the devo7e, and with the devo7e firmware loaded in the devo7f with an adjusted lcd file I can't format the usb drive that comes up. Things like screen brightness seem to work.

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

Time to create page: 0.122 seconds
Powered by Kunena Forum