HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Nov 19, 2012, 09:57 PM
Registered User
United States, AZ, Prescott Valley
Joined Feb 2012
178 Posts
Quote:
Originally Posted by Dennis Frie View Post
Thanks
Your drawing looks right - just remember to connect GPS TX and RX to RX and TX on Arduino to get data. The signal from the current-sensor should also be connected, but start with just Arduino and MAX7456 shield.
Dennis,

I came home and wired it up. Before I plugged the OSD into the video stream, I made sure I had a good picture with the camera etc. Then I plugged in the OSD and no change. So I redid the diagram just to be sure and rewired it....still no numbers etc.
Hmm...I'm suspicious of the connections to the mini pro.
I can't make sense of the your original schematic verses what you emailed me here?
Looks like HSYNC, VSYNC and LOS all need to go to VCC through 1K resistors ....yes?

MAX7456 -> Arduino
CS - > PB2 (10)
SDIN - > PB3 (11)
SDOUT - > PB4 (12)
SCLK - > PB5 (13)

GND - > GND
5 V - > 5 V
Reset - > Vcc
RickEis is offline Find More Posts by RickEis
Last edited by RickEis; Nov 19, 2012 at 11:06 PM.
Reply With Quote
Sign up now
to remove ads between posts
Old Nov 20, 2012, 12:34 AM
Registered User
United States, AZ, Prescott Valley
Joined Feb 2012
178 Posts
Hey Dennis,
It also compiled first time with Arduno Uno V3
However same results - ie. no numbers
Hooked it up as follows

MAX7456 -> Arduino UNO
CS - > PB2 (2)
SDIN - > PB3 (3)
SDOUT - > PB4 (4)
SCLK - > PB5 (5)

GND - > GND
5 V - > 5 V
Reset - > Vcc

Rick
RickEis is offline Find More Posts by RickEis
Reply With Quote
Old Nov 20, 2012, 01:51 AM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
793 Posts
Quote:
Originally Posted by RickEis View Post
Dennis,

I came home and wired it up. Before I plugged the OSD into the video stream, I made sure I had a good picture with the camera etc. Then I plugged in the OSD and no change. So I redid the diagram just to be sure and rewired it....still no numbers etc.
Hmm...I'm suspicious of the connections to the mini pro.
I can't make sense of the your original schematic verses what you emailed me here?
Looks like HSYNC, VSYNC and LOS all need to go to VCC through 1K resistors ....yes?

MAX7456 -> Arduino
CS - > PB2 (10)
SDIN - > PB3 (11)
SDOUT - > PB4 (12)
SCLK - > PB5 (13)

GND - > GND
5 V - > 5 V
Reset - > Vcc
In that drawing you should connect 5 v directly to Vcc and not Raw (Raw should only be used if you connect a supply > 5 volt). If you connect to Raw it will use onboard voltage regulator. With just 5 volt input it will only give ~4 volt out. MAX7456 can't run below 4.75 volt.

When you tested with Uno, did you connect directly to the USB-port (for power) or same problem with 5 volt connected to Raw?

I will just check my connections when I get home..
(Just to be sure, you should be using 16 MHz crystal and not 8MHz)
Dennis Frie is online now Find More Posts by Dennis Frie
Last edited by Dennis Frie; Nov 20, 2012 at 08:06 AM.
Reply With Quote
Old Nov 20, 2012, 01:57 AM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
793 Posts
Just checked schematic..
http://arduino.cc/en/uploads/Main/Ar...-schematic.pdf

The pro mini schematic don't use the same pinout.. Explains the problem.

I think your Uno is a better candidate.
Dennis Frie is online now Find More Posts by Dennis Frie
Reply With Quote
Old Nov 20, 2012, 01:54 PM
Registered User
United States, AZ, Prescott Valley
Joined Feb 2012
178 Posts
Uno and MAX

Quote:
Originally Posted by Dennis Frie View Post
Just checked schematic..
http://arduino.cc/en/uploads/Main/Ar...-schematic.pdf

The pro mini schematic don't use the same pinout.. Explains the problem.

I think your Uno is a better candidate.

Dennis,
OK...when I get a few minutes I will hook it all up like this (see pict) and power it from the USB for now. I'll let you know what I find
Rick
RickEis is offline Find More Posts by RickEis
Reply With Quote
Old Nov 20, 2012, 02:31 PM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
793 Posts
Quote:
Originally Posted by RickEis View Post
Dennis,
OK...when I get a few minutes I will hook it all up like this (see pict) and power it from the USB for now. I'll let you know what I find
Rick
Where did you find those connections? I doubt that's right, the picture you made earlier looked right for Uno (except for 5 v connected to Raw).
Dennis Frie is online now Find More Posts by Dennis Frie
Reply With Quote
Old Nov 20, 2012, 02:35 PM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
793 Posts
Just a few quick picture...

Long story short - it's alive (have been tested)

A few prints (only some of them is the OSD project)


- and the first test-version mounted with just the minimal required components. The missing components is extra capacitors, voltage-divider etc.


Dennis Frie is online now Find More Posts by Dennis Frie
Last edited by Dennis Frie; Nov 20, 2012 at 02:54 PM.
Reply With Quote
Old Nov 20, 2012, 02:50 PM
Registered User
thnilsen's Avatar
Norway, Hordaland, Os
Joined Nov 2004
332 Posts
Quote:
Originally Posted by RickEis View Post
Dennis,
OK...when I get a few minutes I will hook it all up like this (see pict) and power it from the USB for now. I'll let you know what I find
Rick
One thing to try out is to use a 10kOhm pullup resistor between 5V and the RESET pin. This is something I picked up from the Aeroquad forum which uses the same board for OSD. WIthout it the MAX board keeps resetting.

If you can't get it working, lI can try to dig out some of the old code I have laying about for arduino. Its been over a year since I played with the MAX board, but it shouldn't be that difficult to get a picture from it when hooked up to the DUE.

- Thomas
thnilsen is offline Find More Posts by thnilsen
Reply With Quote
Old Nov 20, 2012, 02:53 PM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
793 Posts
Quote:
Originally Posted by thnilsen View Post
One thing to try out is to use a 10kOhm pullup resistor between 5V and the RESET pin. This is something I picked up from the Aeroquad forum which uses the same board for OSD. WIthout it the MAX board keeps resetting.

If you can't get it working, lI can try to dig out some of the old code I have laying about for arduino. Its been over a year since I played with the MAX board, but it shouldn't be that difficult to get a picture from it when hooked up to the DUE.

- Thomas
10K pull-up resistor is the "normal" thing to do with reset-pins etc. but as the direct connection to Vcc is recommended in the datasheet, I would be surprised it that's the problem.

Nevertheless - it's worth a try
Dennis Frie is online now Find More Posts by Dennis Frie
Reply With Quote
Old Nov 20, 2012, 03:17 PM
Registered User
United States, AZ, Prescott Valley
Joined Feb 2012
178 Posts
Quote:
Originally Posted by Dennis Frie View Post
10K pull-up resistor is the "normal" thing to do with reset-pins etc. but as the direct connection to Vcc is recommended in the datasheet, I would be surprised it that's the problem.

Nevertheless - it's worth a try
OK - hooked it up as in the last schematic - started with a good video - then I inserted our project - no difference - I did note that when only the output to the screen was connected the screen went from no signal to a gray screen when connected - then when I hook up the camera the screen shows what the camera see's - no OSD yet ?
RickEis is offline Find More Posts by RickEis
Reply With Quote
Old Nov 20, 2012, 03:19 PM
Registered User
Joined Aug 2011
64 Posts
Quote:
Originally Posted by Dennis Frie View Post

can I buy that, please?
what about a kickstarter like they did with the CC3D?
FPVdude is offline Find More Posts by FPVdude
Reply With Quote
Old Nov 20, 2012, 03:23 PM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
793 Posts
Quote:
Originally Posted by RickEis View Post
OK - hooked it up as in the last schematic - started with a good video - then I inserted our project - no difference - I did note that when only the output to the screen was connected the screen went from no signal to a gray screen when connected - then when I hook up the camera the screen shows what the camera see's - no OSD yet ?
But SCK, MISO, MOSI and SS is still on pin 13, 12, 11 and 10? I don't quite understand why you use pin 5, 4, 3 and 2?
Dennis Frie is online now Find More Posts by Dennis Frie
Reply With Quote
Old Nov 20, 2012, 03:26 PM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
793 Posts
Quote:
Originally Posted by FPVdude View Post
can I buy that, please?
what about a kickstarter like they did with the CC3D?
I don't really think it's worth starting production, but I don't mind to share the PCB-design etc. if anyone can solder the parts

It's mainly the MAX7456 chip that's a bit tricky.

I have a new PCB-design that was ordered some time ago. It have been shipped and will hopefully arrive next week.
Dennis Frie is online now Find More Posts by Dennis Frie
Reply With Quote
Old Nov 20, 2012, 03:30 PM
Registered User
United States, AZ, Prescott Valley
Joined Feb 2012
178 Posts
Quote:
Originally Posted by Dennis Frie View Post
But SCK, MISO, MOSI and SS is still on pin 13, 12, 11 and 10? I don't quite understand why you use pin 5, 4, 3 and 2?
Dennis,

So you like this one

Rick
RickEis is offline Find More Posts by RickEis
Reply With Quote
Old Nov 20, 2012, 03:40 PM
Just another user
Dennis Frie's Avatar
Denmark, Capital Region of Denmark, Naerum
Joined Feb 2011
793 Posts
Quote:
Originally Posted by RickEis View Post
Dennis,

So you like this one

Rick
Just checked the connections again and compared with Arduino Uno schematic, my schematic and the breakout-board for MAX7456. As far as I can see that should be correct.

If you see a few posts back (okay, perhaps a lot) you can see that I also had the MAX7456 connected to the same pins on my Arduino-board

Edit:
Hard to see the exact connections, but as you can see I used pin 13, 12, 11 and 10.
Dennis Frie is online now Find More Posts by Dennis Frie
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Diy osd karl k FPV Talk 2 May 03, 2011 12:31 AM
Idea New DIY OSD? atari7202 FPV Talk 1 Mar 25, 2011 12:08 AM
Discussion see my own diy OSD video Passion Aerial Photography 7 May 27, 2010 01:28 AM
Discussion REAL homebrew DIY OSD - Check it out! jafoca FPV Talk 8 Jun 29, 2009 06:52 PM
Discussion picoOSD DIY PIC12F683 based OSD in C kbosak FPV Talk 6 Jan 31, 2008 07:47 AM