stevstrong / liveov7670_stm32 Goto Github PK
View Code? Open in Web Editor NEWLive pictures from OV7670 camera on ILI9341 display
Live pictures from OV7670 camera on ILI9341 display
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!
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.