Coder Social home page Coder Social logo

liveov7670_stm32's People

Contributors

stevstrong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

liveov7670_stm32's Issues

Code breaks at set datasize

I have tried downloading the updated code 3.3K resistors pullup was used on the I2C pins. The code seems to break down at
// SPI.setDataSize(SPI_DATA_SIZE_8BIT); // set to 8 bit mode
SPI.setDataSize(DATA_SIZE_8BIT); // set to 8 bit mode

I had to remove SPI_DATA_SIZE_8BIT, as it was found only in the SPI library for F4 series. The blue screen shows that the init is done and nothing happens after that. It seems to break down at 'setDatasize' Please help.
Thanks!

Compiler error: 'HardWire' does not name a type

Hi there, the project will not compile for me. I get following error on STM32F103C8T6 (blue pill):

Arduino: 1.8.5 (Windows 7), Vývojová deska: "Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), Serial, 72Mhz (Normal), Smallest (default)"

C:\Users\Jack\Documents\Arduino\libraries\LiveOV7670_STM32\CameraOV7670Registers.cpp:9:1: error: 'HardWire' does not name a type

 HardWire mWire(2);

 ^

C:\Users\Jack\Documents\Arduino\libraries\LiveOV7670_STM32\CameraOV7670Registers.cpp: In member function 'void CameraOV7670Registers::init()':

C:\Users\Jack\Documents\Arduino\libraries\LiveOV7670_STM32\CameraOV7670Registers.cpp:14:3: error: 'mWire' was not declared in this scope

   mWire.begin();

   ^

C:\Users\Jack\Documents\Arduino\libraries\LiveOV7670_STM32\CameraOV7670Registers.cpp: In member function 'bool CameraOV7670Registers::setRegister(uint8_t, uint8_t)':

C:\Users\Jack\Documents\Arduino\libraries\LiveOV7670_STM32\CameraOV7670Registers.cpp:47:3: error: 'mWire' was not declared in this scope

   mWire.beginTransmission(i2cAddress);

   ^

C:\Users\Jack\Documents\Arduino\libraries\LiveOV7670_STM32\CameraOV7670Registers.cpp: In member function 'uint8_t CameraOV7670Registers::readRegister(uint8_t)':

C:\Users\Jack\Documents\Arduino\libraries\LiveOV7670_STM32\CameraOV7670Registers.cpp:66:3: error: 'mWire' was not declared in this scope

   mWire.beginTransmission(i2cAddress);

   ^

Byly nalezené násobné knihovny "Wire.h"
 Used: C:\Users\Jack\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2018.7.2\libraries\Wire
 Unused: C:\Users\Jack\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2018.7.2\libraries\WireSlave
exit status 1
Nastala chyba při kompilaci u desky Generic STM32F103C series.

Can you help me please? I tried downloading and including some a HardWire library but then had an unmet dependency which I did not pursue yet.

Tried to use this: http://downloads.arduino.cc/libraries/github.com/thexeno/HardWire-1.0.2.zip

Camera won't initialize - any ideas?

I am trying to duplicate this project. I have duplicated the circuit using a generic Blue Pill, SPI TFT and OV7670 (no FIFO).

After downloading the code, the TFT initializes, but it seems that the program hangs when the CameraOV7670Registers.cpp function is called for the first time. My gut feeling is that it has something to do with the SPI bus... I have replaced the 'HardWire mWire(2);' line with 'TwoWire mWire(1);' as the previous comments stated.

I have added some debugging commands that print out to the TFT screen, so I am confident that this portion works as intended.

My previous experience with the OV7670 was to get it working with the Arduino UNO (as described elsewhere on the internet). I believe that my camera module is functional, and have also tried 2 others.

At one point I did actually receive the red screen with the camera failure message, but I have not been able to duplicate it.

My next step might be to try to recreate the other project (STM32_OV7670), but I was hoping that I could just jump to this one directly.

So, do you have any suggestions as to what might be tripping me up? Any debugging suggestions (I have limited test equipment - no oscilloscope nor logic analyzer)?

Any help that you could provide would be appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.