I am trying to send OV7670's data through a HC-05 Module.
I am able to send RBG 160x120 photos though UART to the computer. (I am using Indrek's code on GitHub). Now I want to upgrade my project so that it can send the OV7670's data wirelessly though Bluetooth HC-05 module. I am not able to do so I need help. Indrek's liveov7670 link OV7670 Image Reading JAR
Hardware:
OV7670 no FIFO
Arduino Uno Original
HC-05
Resistors
Jumpers
// HC-05 Bluetooth module AT commands
// note Serial1 baudrate is 9600 - set remote terminal to 9600baud
// using Arduino Due (noteHC-05 Rx and Tx are 3.3V)
// Arduino %V and GND to HC-05 5V and GND
// Arduino pin 18 Tx to HC-05 Rx (if using a Mega use a level converter)
// Arduino pin 19 Rx to HC-05 Tx
void setup()
{
Serial.begin(115200 );
Serial.println();
Serial.println("HC-05 set remote terminal to 9600baud\nenter text:");
Serial1.begin(9600);//38400); // HC-05 default speed in AT command more
}
void loop()
{
if ( Serial1.available()) // read from HC-05 and send to Arduino Serial Monitor
Serial.write( Serial1.read());
if (Serial.available()) // Keep reading from Arduino Serial Monitor and send to HC-05
Serial1.write(Serial.read());
}
on my windows PC
the HC-05 appears as a Bluetooth device
I pair with it
it creates a virtual COM port (use device manager to view COMports)
using a terminal emulator I open the COM port and can send text between the devices
my HC-05 is labeled 3.3V level and requires a level converter on the Arduino TX to HC-05 Rx line
hey so yea I got the camera pixel data sent over bluetooth through the phone. Its something like this. Now I need to know how to decode it into an image.