Welcome to Multi-Rotor UK. Please login or sign up.

Sunday,August 18, 2019, 16:02:12

Login with username, password and session length

Shoutbox

Gaza07:
07 Aug 2019 19:52:01
ooooh mrs jones  :D
hoverfly:
30 Jul 2019 15:26:34
D.B. you tightwad.. :cool:
atomiclama:
29 Jul 2019 20:14:10
DB that just means you have shed loads of props in the first place ;-)
DarkButterfly:
29 Jul 2019 18:53:33
Just had a thought, even with all the crashing I've done, I haven't bought any replacement props in over a year ~~
ched:
09 Jul 2019 19:45:42
May the sun shine and winds be light for BFU#8. Son't forget lots of vids for those of us unable to attend.  :D
Gaza07:
09 Jul 2019 18:10:30
Hope you all have a great day  :beer2:
Andy7:
09 Jul 2019 14:05:28
BFU#8 details locked in for this saturday - see the head of the forum thread for all details.
hoverfly:
05 Jul 2019 21:51:05
Good for genital warts as well......or so I'm told.. :hmm
DarkButterfly:
05 Jul 2019 21:48:24
Just fixed a busted SMA connector on my TBS unity pigtail, it suffered badly in a recent crash and split in two, nothing a touch of the soldering iron couldn't fix  :D
DarkButterfly:
05 Jul 2019 19:44:08
 :D
Members
Stats
  • Total Posts: 196548
  • Total Topics: 19799
  • Online Today: 48
  • Online Ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 3
Guests: 40
Total: 43

Theme Changer





3d - Printworx

Printing 3d Forum

The Oled Telemetry Screen

Started by Gaza07, Friday,September 21, 2012, 10:21:19

Previous topic - Next topic

Gaza07

I have had a chance to have a go with the i2c Oled screen for multi wii it works very well and has telemetry and configuration screens  ~~
You have to connect the screen to the 5v / Gnd / SDA /  SCL lines on your flight controller, I used the Paris v3 board and added the pins to be able to plug the screen in rather than hard wire it.

When you plug your flight controller in the screens boots up and shows a multi wii logo and then shows the firmware version and your copter configuration type x or +

To enter Telemetry mode: hold the roll (aileron) stick to the right then move the pitch (elevator) stick forwards, you do this each time you wish to scroll to the next screen, there does seem to be gaps where nothing shows

To enter Configuration mode: hold the pitch (elevator) stick forward and then push the Yaw (rudder) stick to the right, the board won't arm because of the elevator being held forwards,
This should then show you the configuration screen,
to navigate the configuration screen you push the pitch stick (elevator) forwards or backwards to scroll up and down the list,
Use the roll (aileron) stick left or right in increase or decrease values,
To exit the configuration screen just hold the the pitch (elevator) stick forwards and then right Yaw (rudder) you will then see the exit message and it will return to telemetry if you have already activated it  ~~

Its quite a handy little gadget to be able to alter settings at the field with out the use of a computer, but I prefer blue tooth and a lap top as the screen is very small and quite hard to read for us olduns  :rolleyes:

[attach=1]

To enable the screen in multi wii v2.1 look for the following lines of code in the config.h tab and make sure the are uncommented remove the //
They are all below this line " LCD/OLED - display settings " but they are not together you will have to scroll down and search for them  ;)


/**************************************************************************************/
  /***********************        LCD/OLED - display settings       *********************/
  /**************************************************************************************/

    /* uncomment this line if you plan to use a LCD or OLED */

#define LCD_CONF

#define OLED_I2C_128x64 // I2C LCD: OLED

#define LCD_TELEMETRY

#define LCD_TELEMETRY_STEP "0123456789" // must begin with 0

#define VBATREF 24



Gaza07

Doh! I received two of these screens and thought they had made a mistake, but after checking the mistake was mine, I must have clicked on two as I payed for both  :rolleyes: Not that it matters as they are handy little screens now I know how to use then  :embarrassed

Any way heres a short video of the screen in use  ~~


Wilfrid70

Hello Gaza,

Still, no chance with that oled. At least I know my arduino board works fine for i2c (just received the Drotek 10 dof IMU and works fine with sample codes).
This IMU should  works with multiwii, and if I manage to compile multiwii with Arduino IDE 1.01 (Some issue with HardSerial...) I should be able to test my oled more easily no ? Or should I need an RC radio connected too ? If so, is it possible to use serial pc instead? Can I do something with MultiWiiConf.exe instead ?

Quote from: Gaza07 on Friday,September 21, 2012, 10:21:19


/**************************************************************************************/
  /***********************        LCD/OLED - display settings       *********************/
  /**************************************************************************************/

    /* uncomment this line if you plan to use a LCD or OLED */

#define LCD_CONF

#define OLED_I2C_128x64 // I2C LCD: OLED

#define LCD_TELEMETRY

#define LCD_TELEMETRY_STEP "0123456789" // must begin with 0

#define VBATREF 24





In that code, you changed

Wilfrid70

Hello Gaza,

Still, no chance with that oled. At least I know my arduino board works fine for i2c (just received the Drotek 10 dof IMU and works fine with sample codes).
This IMU should  works with multiwii, and if I manage to compile multiwii with Arduino IDE 1.01 (Some issue with HardSerial...) I should be able to test my oled more easily no ? Or should I need an RC radio connected too ? If so, is it possible to use serial pc instead? Can I do something with MultiWiiConf.exe instead ?

Quote from: Gaza07 on Friday,September 21, 2012, 10:21:19


/**************************************************************************************/
  /***********************        LCD/OLED - display settings       *********************/
  /**************************************************************************************/

    /* uncomment this line if you plan to use a LCD or OLED */

#define LCD_CONF

#define OLED_I2C_128x64 // I2C LCD: OLED

#define LCD_TELEMETRY

#define LCD_TELEMETRY_STEP "0123456789" // must begin with 0

#define VBATREF 24





In that code, you changed LCD_TELEMETRY_STEP (0). Why exactly ? Is it related with oled initialisation ?

I'll do it, I'll do it !!!
Wil

Gaza07

Hi Wilfrid the telemetry setting shows what the gyros or rc are doing live, the other mode is for the settings, you should be able to test your screen now if you have an imu (sensor board) just un comment the define in the config.h that suits your board  ~~
I had a quick look at the oled firmware from the site and it wont compile but it would seem its a minor error but Im not sure how to fix it  :rolleyes:

Wilfrid70

Yep, the include for data.c is wrong in the i2c_arduino.pde
Simply put data.c in the same directory,  comment/delete the include  line and it should compile.
I would be happy to see if it works for you... :-)

Gaza07

I still cant get it to compile ive copied the data.c to the wire folder and also altered wire.send to wire.write for the newer arduino, but im getting these errors shown below  :shrug:
Im really not into programming so have no clue whats wrong but it would seem not much  :-/

QuoteWire\data.c.o:(.data.myFont+0x0): multiple definition of `myFont'
data.c.o:(.data.myFont+0x0): first defined here
Wire\data.c.o:(.data.logo+0x0): multiple definition of `logo'
data.c.o:(.data.logo+0x0): first defined here

Wilfrid70

Not shure to catch what you've done. Data.c should remain in the same project directory than the i2c_Arduino.pde file and nothing else inside it. Wire is a library file which shall remain in its own directory inside arduino system files.
If data.c appears at different places it can explain these multiple definitions of its content (myFont...)
Wil

Gaza07

Hi Wilfrid your right I had the file in 2 places so it made the errors  :rolleyes:
managed to compile and upload the code but it doesn't do anything  :shrug:  :rolleyes:
the screen doesn't show anything at all, back to the drawing board I think  ~~

Wilfrid70

Sorry Gaza, but that make me smile cause it's another step saying my oled is maybe not dead :-))

Gaza07

They certainly appear dead until the text appears the screen doesn't light up like a normal screen it stays black and the text appears in white, tested mine again with mutlti wii, and it is fine  ~~ 

Quote from: Wilfrid70 on Friday,October 12, 2012, 19:34:01
Sorry Gaza, but that make me smile cause it's another step saying my oled is maybe not dead :-))

lakis21

Hello I have a Crius AIO P v1.1 with multiwii 2.1
Can I use the CO-16 OLED from Crius? And if I can where I have to connected?

Thank you :popcorn:

Gaza07

Hi Lakis the Oled screens dont work very well and need a bit of work to get them going, they connect to the I2c port and have to be enabled in the sketch,
You would be far better of getting a blue tooth adapter and using the multi android app if you have a android smart phone that is  ~~

Quote from: lakis21 on Wednesday,March 13, 2013, 16:17:14
Hello I have a Crius AIO P v1.1 with multiwii 2.1
Can I use the CO-16 OLED from Crius? And if I can where I have to connected?

Thank you :popcorn:

lakis21

Quote from: Gaza07 on Wednesday,March 13, 2013, 16:19:37
Hi Lakis the Oled screens dont work very well and need a bit of work to get them going, they connect to the I2c port and have to be enabled in the sketch,
You would be far better of getting a blue tooth adapter and using the multi android app if you have a android smart phone that is  ~~


Thank you!
This is the way that I am now! BT & Galaxy S2. Really great.
But I order it just to tried it. :)

thank you again!


lakis21

Just to update, I tried the Crius OLED with Crius AIO v1.1 on MulitiWii 2.2 and its working perfect!!! ;)
You just need to place a resistor of 100ohm resistor on the positive line in (red wire).

Nice if you forgot your android mobile at home ;)  :beer2:

Gaza07

Hi Lakis have you got an image of how you fitted the resistor the fix I saw used a resistor and a capacitor  ~~

Quote from: lakis21 on Saturday,March 23, 2013, 16:37:36
Just to update, I tried the Crius OLED with Crius AIO v1.1 on MulitiWii 2.2 and its working perfect!!! ;)
You just need to place a resistor of 100ohm resistor on the positive line in (red wire).

Nice if you forgot your android mobile at home ;)  :beer2: