Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
demonoR
PostPosted: Feb 09, 2012 - 01:51 PM
Wannabe


Joined: May 18, 2010
Posts: 52


Hello,

I am trying to play with that sensor. It uses i2c or so called sccb bus.

I was able to use i2c in many other sensors like accel, gyro and everything worked fine for me.

But the I trying to read with i2c the ov7670 sensor, I dont get the id number.

Maybe somebody has figured out, what is the main difference between standart i2c and sccb bus?

and what frequency I should use? Standart i2c uses 400kHz I think.

SCCB specification is located here:
http://www.ovt.com/download_document.ph ... amp;DID=63


Thank you

//Nikolaj
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Feb 09, 2012 - 02:15 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 69289
Location: (using avr-gcc in) Finchingfield, Essex, England

Just to note that a search for "ov7670" hits 11 other threads beside this one. Maybe something in one of those?

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
demonoR
PostPosted: Apr 27, 2012 - 10:59 AM
Wannabe


Joined: May 18, 2010
Posts: 52


Done.. Lots of mistakes, in code and in hardware..
 
 View user's profile Send private message  
Reply with quote Back to top
seblovett
PostPosted: Jul 27, 2012 - 03:53 PM
Newbie


Joined: Jun 22, 2012
Posts: 2


What was the end conclusion?
Can I2C be used straight off an AVR to communicate with the OV7670?
 
 View user's profile Send private message  
Reply with quote Back to top
seblovett
PostPosted: Nov 04, 2012 - 10:08 PM
Newbie


Joined: Jun 22, 2012
Posts: 2


Just to confirm for anyone reading this forum. I2C and SCCB are directly compatible. The difference's are you need pull-ups as with any I2C bus and the SCCB device won't NACK, only ACK. This doesn't cause any problems though.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits