tag:blogger.com,1999:blog-59599791636028222792024-03-12T20:43:12.075-07:00Mark4Hmark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-5959979163602822279.post-88368239827695039802018-04-25T13:35:00.000-07:002018-04-25T13:35:11.258-07:00HI3518 Camera Module - Part 8 - I2C
Introduction
There are a number of HI3518 camera module designs available on sites such as
Aliexpress. At least some of them, including the two modules I have got, have
FM24C08 (AT24C08) EEPROM chips on them. I thought I would give a go at reading
the EEPROM and also see if I could hook into the I2C lines and use them to
control other devices.
Getting the I2C Working
To get the I2C workingmark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.com0tag:blogger.com,1999:blog-5959979163602822279.post-38312845212415314312018-04-25T13:32:00.000-07:002018-04-25T13:32:18.176-07:00HI3518 Camera Module - Part 7 - Hi3518 and HC-SR501 PIR Sensor Build
Introduction
In my previous blog post
I managed to work out how to read the alarm pin found on the Hi3518 camera
module I have been playing with. With this worked out, I decided to combine the
Hi3518 with an HC-SR501 PIR sensor so that, with a bit of software written
based on the samples in the Hi3518 SDK, I could save images from the camera
whenever the PIR sensor detected motion. This mark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.com0tag:blogger.com,1999:blog-5959979163602822279.post-4439621737070960262018-04-24T04:13:00.000-07:002018-04-25T12:24:20.718-07:00HI3518 Camera Module - Part 6 - Alarm/IR-Cut/GPIO Pins
Introduction
The HI3518 camera modules come in a range of designs. One common design has, in
addition to connectors for power, serial and ethernet, two connectors for
controlling an IR-cut filter, and a connnector that is shared by USB, audio and
and an alarm input.
The following is an image provided on an Aliexpress listing:
To make use of the IR cut and alarm features you need to know mark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.com2tag:blogger.com,1999:blog-5959979163602822279.post-33087404576944633972018-04-24T03:11:00.001-07:002018-04-24T03:11:56.719-07:00HI3518 Camera Module - Part 5 - Filesystem Overlay
Introduction
The HI35xx targeted version of buildroot I've been using in this series
of blog posts has support for an overlay filesystem. An init script
has been added to the skeleton filesystem that uses arguments provided through
the kernels command line parameters to mount the overlay. When it works, the
result is that the overlay gets merged into the root filesystem at boot.
However, I mark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.com0tag:blogger.com,1999:blog-5959979163602822279.post-85457847397307173692018-04-23T08:00:00.000-07:002018-04-24T14:57:10.166-07:00HI3518 Camera Module - Part 4 - NFS Root Filesystem
Introduction
In previous blog posts on the HI3518 I used an initramfs image, which combines
the root filesystem (rootfs) and the Linux kernel into a single image. Instead
of doing this you can also keep the root filesystem separate from the kernel
and use the command line parameters passed to the kernel at boot to tell it how
to mount the root filesystem. One option for where to store the mark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.com0tag:blogger.com,1999:blog-5959979163602822279.post-57750564002202616912017-09-17T15:00:00.000-07:002017-09-23T02:24:15.495-07:00HI3518 Camera Module - Part 3 - Capturing Images with an HI3518/SC1035 Camera Module
Introduction
This is part 3 of a series of blog posts about a cheap HI3518 based camera module. In part 1, I showed how to build a custom image for the module. In part 2, I fixed a bug that was preventing the Ethernet from working. This part covers capturing an image.
Once I had built a custom image and got the Ethernet working I was ready to compile the HI3518 sample programs that are mark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.com11tag:blogger.com,1999:blog-5959979163602822279.post-80059482723047883442017-08-02T13:32:00.001-07:002017-09-23T02:11:41.741-07:00HI3518 Camera Module - Part 2 - Getting Ethernet Working
Introduction
This is part 2 of a series of posts involving a cheap camera module based on the HI3518 SoC, which is available on sites such as Aliexpress. In part 1 I described how to build a new Linux OS image for the module to replace the stock version of Linux that comes pre-installed on the module. The post ended with me showing how to boot the new image, but unfortunately on doing so I mark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.com6tag:blogger.com,1999:blog-5959979163602822279.post-60208118424141430942017-07-30T04:50:00.002-07:002017-09-23T02:27:02.993-07:00HI3518 Camera Module - Part 1 - Replacing Pre-Installed Image
Introduction
I recently purchased a cheap camera module off Aliexpress based on the HI3518 and the AR0130 image sensor. I plan for this post to be the first of a series covering this module. This post will cover how to build a basic Linux image and boot it. This will serve as the starting point for further exploring what the module has to offer and the quality of the images it produces. The aimmark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.com7tag:blogger.com,1999:blog-5959979163602822279.post-9448190652108421762017-03-11T07:02:00.000-08:002017-09-23T02:28:44.965-07:00Image Sensor Theoretical Performance Calculator
table, th, td{
border: 1px solid black;
border-collapse: collapse;
text-align: left;
}
.calculator table, .calculator th {
border: 1px solid black;
border-collapse: collapse;
}
.calculator td {
border: none;
}
.calculator-right {
float: right;
width: 40%;
}
var calculator;
function rpi_OV5647_example()
{
// https://www.raspberrypi.org/documentation/mark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.com0tag:blogger.com,1999:blog-5959979163602822279.post-82228788805422304352017-03-06T12:17:00.001-08:002017-09-23T02:30:21.669-07:00Comparing the Theoretical Performance of Four Hackable Cameras
table, th, td{
border: 1px solid black;
border-collapse: collapse;
}
.calculator table, .calculator th {
border: 1px solid black;
border-collapse: collapse;
}
.calculator td {
border: none;
}
.calculator-right {
float: right;
width: 40%;
}
Update (11/03/2017): If you are looking to calculate your own read noise and SNR values like those used in this comparison, mark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.com0tag:blogger.com,1999:blog-5959979163602822279.post-52457114723165046252013-04-01T08:22:00.000-07:002017-09-23T02:07:49.023-07:00Cross-compiling OpenCV for OpenWRT (WR703N)
Introduction
OpenCV is currently not available through the package system for the WR703N. This guide shows how to compile OpenCV from source using the OpenWRT toolchain.
This was carried out for the Attitude Adjustment (12.09-rc1) release of OpenWRT and release 2.4.4 of OpenCV.
If you are looking for the libraries and don't want to have to compile them yourself I have placed them on github: mark4hhttp://www.blogger.com/profile/03043817622327937647noreply@blogger.com3