Introduction to the openx vario/altimeter
Moderator: rainer
-
- Posts: 2
- Joined: Mon Oct 14, 2013 7:19 pm
- Country: -
Re: Introduction to the openx vario/altimeter
Hi everyone,
first sorry for possible OffTopic...but..
I am not very familiar to programming therefore I would ask you if there is a possibility to use openXvario also with non EX Jeti Duplex protocol. I have build the vario according the steps and load the OpenXvariojeti.ino and Jetibox.ino files into the vario modul. I can read the ascend and descend via LED blinking, but after I connect the oXv to Jetibox mini or via RX I am not able to read the data via JETIBox mini. Am I doing anything wrong or is there something that I missed?
Thank you for any advice.
first sorry for possible OffTopic...but..
I am not very familiar to programming therefore I would ask you if there is a possibility to use openXvario also with non EX Jeti Duplex protocol. I have build the vario according the steps and load the OpenXvariojeti.ino and Jetibox.ino files into the vario modul. I can read the ascend and descend via LED blinking, but after I connect the oXv to Jetibox mini or via RX I am not able to read the data via JETIBox mini. Am I doing anything wrong or is there something that I missed?
Thank you for any advice.
-
- Posts: 2
- Joined: Mon Oct 14, 2013 7:19 pm
- Country: -
Re: Introduction to the openx vario/altimeter
Hi,
everything runs fine but there has to be added one 150R resitor on APM between RX and TX.
Anyway, great work. Thank you..
everything runs fine but there has to be added one 150R resitor on APM between RX and TX.
Anyway, great work. Thank you..
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Introduction to the openx vario/altimeter
Getting closer got the FTDI USB adapter and the recommended Arduino boards. I'm waiting for the vario sensor now. Maybe this week?
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Introduction to the openx vario/altimeter
Well I'm almost ready to power and program mine. I messed up and bought the deek robot Arduino mini pro so the pinouts are a little different and I think the boards miss labeled RXD or 0 ? instead RXI. I bought the sparkfun FTDI programmer and it's pinouts don't match the deek robot board either. A lot of head scratching and googling has got me going I hope. At Least I bought the suggested vaio module!
Here's a pix of my deek robot Arduino board pinout. A4 and A5 are in a different location for starters and no RXI label, it's RXD but goes to the correct IC pin.
Here's a pix of my deek robot Arduino board pinout. A4 and A5 are in a different location for starters and no RXI label, it's RXD but goes to the correct IC pin.
Re: Introduction to the openx vario/altimeter
Hi,
I don't know your particular board but there is no problem with the labels.
RXD is correctly named and stands for Receive Data, TXD means Transmit Data.
Tchao
I don't know your particular board but there is no problem with the labels.
RXD is correctly named and stands for Receive Data, TXD means Transmit Data.
Tchao
Re: Introduction to the openx vario/altimeter
Does that board have pads to solder a ISP Programmer? It looks like it
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Introduction to the openx vario/altimeter
My confusion is that the openxvario and real Arduino shows the RXI connection. On my board it's RXD and seems to go to the same pin?
Per the wiki,
I'm pretty sure I've got the correct wires going to the right places. I couldn't find an actual deer_ robot board schematic on line.
Same for the GY board so I used the pictures for my connections. Not for actual holes but to cross reference what they're called.
My Sparkfun FTDI programer is my next issue. It's pinouts doesn't match the pictures so I made up a cable to interface the required FTDI pins to the deer robot Arduino board.
Finally I loaded the Arduino program and selected the mini Arduino 328 board.
I downloaded the FTDI driver on the sparkfun site for XP and ran it. I had no indication it actually loaded?
XP does detect the FTDI at port 13 and I've selected that in the srfuino pgm.
I can't select or see a FTDI programmer option in the Arduino program, other choices but none of them work?
So where I'm at now is the mini board when plugged into the FTDI board that has the led flashing and the 5v (4.87) is there and the correct polarity. XP shows the FTDI as com 13.
Help me fill in the blanks please.
Per the wiki,
I'm pretty sure I've got the correct wires going to the right places. I couldn't find an actual deer_ robot board schematic on line.
Same for the GY board so I used the pictures for my connections. Not for actual holes but to cross reference what they're called.
My Sparkfun FTDI programer is my next issue. It's pinouts doesn't match the pictures so I made up a cable to interface the required FTDI pins to the deer robot Arduino board.
Finally I loaded the Arduino program and selected the mini Arduino 328 board.
I downloaded the FTDI driver on the sparkfun site for XP and ran it. I had no indication it actually loaded?
XP does detect the FTDI at port 13 and I've selected that in the srfuino pgm.
I can't select or see a FTDI programmer option in the Arduino program, other choices but none of them work?
So where I'm at now is the mini board when plugged into the FTDI board that has the led flashing and the 5v (4.87) is there and the correct polarity. XP shows the FTDI as com 13.
Help me fill in the blanks please.
Re: Introduction to the openx vario/altimeter
ShowMaster,ShowMaster wrote:My confusion is that the openxvario and real Arduino shows the RXI connection. On my board it's RXD and seems to go to the same pin?
Per the wiki,
.
I think that is RX1, not RXI, on a board with multiple UARTS there would be RX1, RX2 etc. With one UART it is shown as RXD (Receive Data).
Colin.
Re: Introduction to the openx vario/altimeter
You don't need to. Just select the COM port, and click Upload.ShowMaster wrote: I can't select or see a FTDI programmer option in the Arduino program
The programmer choice is only used for burning the bootloader.
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Introduction to the openx vario/altimeter
Thanks for the rx1 info. I guess I treat it as RXD since I dine see a RXD pad. I'll check it out again however.
Thanks Kikrah for the programming info. So I don't select any programmer.
I tried uploading the .ino file after selecting several programmers and it gave me an error.
How do I know the FTDI driver installed?
I'll give it all a good going over and try it again but not tonight.
I have 2 more Arduino mini boards as spares. Too bad I didn't get the exact parts, thought I did.
Thanks everyone for the help.
Thanks Kikrah for the programming info. So I don't select any programmer.
I tried uploading the .ino file after selecting several programmers and it gave me an error.
How do I know the FTDI driver installed?
I'll give it all a good going over and try it again but not tonight.
I have 2 more Arduino mini boards as spares. Too bad I didn't get the exact parts, thought I did.
Thanks everyone for the help.
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Introduction to the openx vario/altimeter
Ok, I see RXD and RXI (it is a I not a 1) are the same so that's ok on my wiring.
Re: Introduction to the openx vario/altimeter
You wouldn't have a com port number if it wasn't.ShowMaster wrote: How do I know the FTDI driver installed?
If power and connections are OK, maybe that board doesn't have a bootloader on?
Sent from my SC-03E using Tapatalk
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Introduction to the openx vario/altimeter
The next question is how do I load a boot loader? I'm open to trying it but I'm learning this as I go. Not many locally to ask. Google is going to get a workout!
I do get the flashing led with power applied so I would think it has the Blink pgm loaded?
I do get the flashing led with power applied so I would think it has the Blink pgm loaded?
Re: Introduction to the openx vario/altimeter
Hi,
The boot loader should be already installed in your board, you just need to use the upload button in the arduino IDE to flash your program.
I suggest you to read a little more about arduino, there's a bunch of informations around the web, begin with http://arduino.cc/.
Tchao
The boot loader should be already installed in your board, you just need to use the upload button in the arduino IDE to flash your program.
I suggest you to read a little more about arduino, there's a bunch of informations around the web, begin with http://arduino.cc/.
Tchao
Re: Introduction to the openx vario/altimeter
Showmaster, exactly what error are you having?
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Introduction to the openx vario/altimeter
Thanks guys.
I'm reading and have uploaded to my UNO in the past.
I agree that my boards probably have the boot loader installed as part of the 328 setup. It does blink the led when power is on.
So my error is that I'm missing a step by step on what I should setup in the Arduino pgm for flashing with a Sparkfun FTDI board to a deer robot board.
I'll try it all again later when I get home.
I'm sure it's my lack of experience that's to blame. I asked at a recent RC club meeting of 60+ members if anyone was programming Arduino and you could hear a pin drop!
Guess I can't count on them for help ha ha.
I'm reading and have uploaded to my UNO in the past.
I agree that my boards probably have the boot loader installed as part of the 328 setup. It does blink the led when power is on.
So my error is that I'm missing a step by step on what I should setup in the Arduino pgm for flashing with a Sparkfun FTDI board to a deer robot board.
I'll try it all again later when I get home.
I'm sure it's my lack of experience that's to blame. I asked at a recent RC club meeting of 60+ members if anyone was programming Arduino and you could hear a pin drop!
Guess I can't count on them for help ha ha.
Re: Introduction to the openx vario/altimeter
AAhheemm???jhsa wrote:Showmaster, exactly what error are you having?
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: Introduction to the openx vario/altimeter
Ok,
Below, the connection diagram:
FTDI Basic | Arduino
DTR ---------- DTR
TXO ---------- RXD
RXI ---------- TXD
5V ---------- VCC
CTS ---------- GND (pull low)
GND ---------- GND
Then you select the good board in the Arduino IDE : Tools/Boards/Arduino ProMini and you choose the COM port corresponding to your FTDI.
That's all !!
Good luck
Below, the connection diagram:
FTDI Basic | Arduino
DTR ---------- DTR
TXO ---------- RXD
RXI ---------- TXD
5V ---------- VCC
CTS ---------- GND (pull low)
GND ---------- GND
Then you select the good board in the Arduino IDE : Tools/Boards/Arduino ProMini and you choose the COM port corresponding to your FTDI.
That's all !!
Good luck
Re: Introduction to the openx vario/altimeter
which arduino is that board? Mini? Pro-mini?.....?
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: Introduction to the openx vario/altimeter
I think I've found ShowMaster's board :
It's a Pro Mini with an Atmega328 running at 5v,16MHz.
So the diagram I've posted is right.
Tchao
It's a Pro Mini with an Atmega328 running at 5v,16MHz.
So the diagram I've posted is right.
Tchao
Last edited by davx on Thu Oct 31, 2013 5:52 pm, edited 1 time in total.
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Introduction to the openx vario/altimeter
I can't post the error until tonight.
That's what's holding this up. It's 10am here now.
What will help is the ok that if I see a port in XP device manager it verifies the FTDI driver loaded?
Next I set this port in the Arduino 1.05 pgm config.
I then set the board as a Arduino mini 328 board?
I don't however select a programmer board?
I then load the .ino file posted on the wiki site into the Arduino pgm and basically select upload or what ever it's called?
I have read where I may need to hit the reset button on the mini after the file is processed and just before it uploads?
I haven't done this but the file does go through some processing and then the error message "may say from my memory" that the device can't be found.
If we agree on the config I've posted I'll trace and double check all my wiring tonight after I get a screen shot of the current config.
Sorry for the delay on answers, work got in the way and it's Halloween tonight so it'll be busy until later tonight. I just want to be clear on the config and upload process.
That's what's holding this up. It's 10am here now.
What will help is the ok that if I see a port in XP device manager it verifies the FTDI driver loaded?
Next I set this port in the Arduino 1.05 pgm config.
I then set the board as a Arduino mini 328 board?
I don't however select a programmer board?
I then load the .ino file posted on the wiki site into the Arduino pgm and basically select upload or what ever it's called?
I have read where I may need to hit the reset button on the mini after the file is processed and just before it uploads?
I haven't done this but the file does go through some processing and then the error message "may say from my memory" that the device can't be found.
If we agree on the config I've posted I'll trace and double check all my wiring tonight after I get a screen shot of the current config.
Sorry for the delay on answers, work got in the way and it's Halloween tonight so it'll be busy until later tonight. I just want to be clear on the config and upload process.
Re: Introduction to the openx vario/altimeter
-When you plug in your FTDI, look in the device manager what com port has been assigned.
-The board is an Arduino Pro Mini 5v/16MHz with Atmega328.
-You don't need to set a programmer.
- Load the .ino file and hit upload
- You don't need to press the reset button if you connect the FTDI as in the previous diagram.
-The board is an Arduino Pro Mini 5v/16MHz with Atmega328.
-You don't need to set a programmer.
- Load the .ino file and hit upload
- You don't need to press the reset button if you connect the FTDI as in the previous diagram.
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Introduction to the openx vario/altimeter
Wow, thanks everyone. While I was typing you answered my questions!
I've probably got the TXD and RXD lines reversed.
Just couldn't find a deer robot board schematic so I did a little ohm meter search using the sparkfun schematic.
Late night ahead!
I've probably got the TXD and RXD lines reversed.
Just couldn't find a deer robot board schematic so I did a little ohm meter search using the sparkfun schematic.
Late night ahead!
Re: Introduction to the openx vario/altimeter
Don't worry, you will have that victory glass of wine
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Introduction to the openx vario/altimeter
TX and RX on serial is a classic! TX on one goes to RX on the other, unless one is a modem (DCE = Data Communication Equipment) when TX is already really RX and RX is already really TX (confusing what!).
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Introduction to the openx vario/altimeter
I swapped TXD and RXD and tried it again.
No good, got this message.
I tried every programmer choice as well just for grins and also just the upload options. Tried a reset on the Arduino clone several times as well.
I have a solid red led and a inking green one.
Got to run again but I'm not giving up.
To many interruptions today to fully focus.
I an also try another mini clone I have and with help I understand I can use my UNO board of I remove the IC?
No good, got this message.
I tried every programmer choice as well just for grins and also just the upload options. Tried a reset on the Arduino clone several times as well.
I have a solid red led and a inking green one.
Got to run again but I'm not giving up.
To many interruptions today to fully focus.
I an also try another mini clone I have and with help I understand I can use my UNO board of I remove the IC?
Re: Introduction to the openx vario/altimeter
That error tells that there might be no connection with the chip. check the right com port for the FTDI..
I also wonder if that board has a bootloader, or which bootloader..
Recently my stripduino (cos I built it on a stripboard ) had the same error..
Burnt the bootloader again and all was fine. Not saying that is the case..
Also you can try to use a normal programmer like the UsbAsp to program the arduino..
in tools select the usbasp programmer and com port. find the right pads on the board and connect the programmer to them. MISO. MOSI, SCK; etc
then to upload the code using the programmer hit the shift key on your keyboard and click "upload"
João
I also wonder if that board has a bootloader, or which bootloader..
Recently my stripduino (cos I built it on a stripboard ) had the same error..
Burnt the bootloader again and all was fine. Not saying that is the case..
Also you can try to use a normal programmer like the UsbAsp to program the arduino..
in tools select the usbasp programmer and com port. find the right pads on the board and connect the programmer to them. MISO. MOSI, SCK; etc
then to upload the code using the programmer hit the shift key on your keyboard and click "upload"
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Introduction to the openx vario/altimeter
Thanks Jsha, I can try the USBasp programmer. I have many.
-
- Posts: 87
- Joined: Sat Jun 22, 2013 2:12 pm
- Country: United Kingdom
- Location: Wiltshire
Re: Introduction to the openx vario/altimeter
Are you trying to run Ardiuno program under Windows 7 or 8 ?
I found my board loaded once then failed to handshake on the serial ever again.
I replaced the usb drivers with different versions but still failed.
I found running the ardiuno program in XP sp3 mode sorted the problem and I can download at will using arduino v1.5.4
I've just got in a couple of deer_robot boards in from China yesterday I planning to setup to investigate SPORT interface,
I'll let know when they working
I found my board loaded once then failed to handshake on the serial ever again.
I replaced the usb drivers with different versions but still failed.
I found running the ardiuno program in XP sp3 mode sorted the problem and I can download at will using arduino v1.5.4
I've just got in a couple of deer_robot boards in from China yesterday I planning to setup to investigate SPORT interface,
I'll let know when they working
-
- Posts: 87
- Joined: Sat Jun 22, 2013 2:12 pm
- Country: United Kingdom
- Location: Wiltshire
Re: Introduction to the openx vario/altimeter
Showmaster
I've just checked out both new deer_robot boards both download programs ok using the above configuration
I've just checked out both new deer_robot boards both download programs ok using the above configuration