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

Friday,April 26, 2024, 10:56:30

Login with username, password and session length

Shoutbox

Gaza07:
23 Apr 2024 08:09:45
The Domain expires for the forum in 60 days, I'm not going to renew it this time unless I see any activity  :beer2:
Gaza07:
20 Apr 2024 18:02:50
Is there anyone who would like to see this forum stay open ? :shrug:
hoverfly:
17 Apr 2024 17:15:13
 :rolleyes:
Bad Raven:
26 Mar 2024 08:41:05
 :(
Andy7:
25 Mar 2024 14:49:21
An excess of work and rain.  :thumbdown:
Bad Raven:
23 Mar 2024 18:12:38
Almost a personal Blog, it would seem. LOTS of members, but NO posts.  :-/   :shrug:
Gaza07:
06 Mar 2024 16:59:49
Anyone still here  :shrug:
ched:
24 Dec 2023 11:48:48
Hope you all have a Great Christmas and a happy New Year.
Bad Raven:
20 Dec 2023 06:17:47
 ~~   :beer2: 
Gaza07:
19 Dec 2023 22:20:27
Merry Christmas All  :beer2:
Members
  • Total Members: 8,195
  • Latest: lokloks
Stats
  • Total Posts: 201,427
  • Total Topics: 20,261
  • Online today: 24
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 17
Total: 17

Theme Changer





3d - Printworx

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


[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

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  ~~

http://youtu.be/umEerh-PrLY
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

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:
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

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
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

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  ~~
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

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 :-))
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

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:
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

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:
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]