Nikon D3400 and AI: more possibilities for about $300

A used Nikon D3400 for around $200, a Nikon 50mm f/1.8 for roughly $80, and a month of Claude Pro for $20. About $300 for a camera body, a lens, and access to the AI tool I used to build software around my own workflow. With good lighting, framing, and focus, this equipment can produce a very polished result. What interests me most is how much more useful affordable equipment becomes when you can build the tool you need around it.

Those used prices are my rough budget, not verified listings or a promise that you will find the same deal. A computer, USB cable, tripod, and lighting are extra. Claude Pro is a monthly subscription with usage limits, not a permanent license or unlimited development for $20. Once built, the app runs locally and does not need an AI subscription to control the camera.

I did not know what I could get out of it until I built the tool

I thought of the D3400 as an entry-level DSLR, rather than a camera I would build my workspace around. Making an app for it changed how useful it was to me for everyday filming and photography.

Now I connect it to my Mac with a 3-meter USB cable, open a local page, and see the framing on my monitor. I can sit at my computer, record myself, and change the settings the camera exposes without getting up to reach it. That solves a very specific problem: when you are both in front of and behind the camera, every adjustment and playback check interrupts your work.

The actual Nikon D3400 remote app, showing the preview area, local gallery and right-hand control panel
The actual app interface. No camera was connected when this screenshot was taken, so there is no live image or camera settings readout. It shows the layout and available controls; the app's interface is in Serbian.

What I built with Claude Opus 5.5

I developed it with Claude Opus 5.5: describing what was getting in my way, asking for features, and checking the behavior on the camera. The app uses Python, libgphoto2, and a plain HTML/JavaScript interface. The browser talks to a local Python server, which talks to the camera over USB.

There is no modified firmware. This is remote control and automation through the camera’s existing interface. AI helped write the software; it does not process every frame or control the camera through the cloud.

The project currently includes:

  • Live view on the monitor, with framing guides and an option to mirror the preview.
  • Photo and video modes, remote shutter release, and video start/stop. The space bar works as a shortcut.
  • Settings exposed by the camera, such as ISO, shutter speed, aperture, white balance, and focus modes.
  • Autofocus from the app, plus a command to select a focus point by clicking the image. The exact mapping between a click and the camera’s focus point still needs further practical verification, so I am not presenting that as a universally confirmed feature.
  • An SD card and local media gallery, with downloads and copy verification so I do not have to keep track of what I have already transferred.
  • Sequence capture, with a choice of shot count and interval.
  • Automated exposure brackets and merging into a single photograph.

Video is recorded to the camera’s card and transferred to the computer afterward. With ffmpeg, the app can make an MP4 copy for browser playback. This does not turn the D3400 into a USB webcam that streams full HD into any application.

The biggest reduction in manual work: several exposures, one image

For a static scene, I can choose 3 or 5 photographs, spaced 1 or 2 EV apart. In M mode, the app changes shutter speed, captures the sequence, downloads the files, and combines them on the computer.

That gives me a darker frame that preserves bright areas and a brighter one that reveals shadow detail, without manually adjusting settings and merging every sequence afterward. The physical lights do not change between shots: the exposure of the same scene changes.

The app's HDR controls: shot count, EV spacing, capture and automatic middle-exposure buttons
The exposure sequence controls. “HDR auto sredina” means automatic middle exposure: test shots measure the light and help select the middle shutter speed. I still choose the aperture.

The interface calls this HDR, but exposure fusion is the more precise description. A process based on the Mertens algorithm, implemented in hdr.py using NumPy and OpenCV, weights and combines useful parts of the different exposures. That is different from calculating a physically calibrated HDR radiance map. The output is a 16-bit TIFF and a JPEG; NEF inputs are developed with rawpy.

After a successful merge, the app removes the source shots from the SD card and moves the local originals to a separate folder outside the main gallery. Anyone downloading the project should understand that behavior before running a sequence and keep backups of important files.

This makes the most sense for products, objects, and interiors on a tripod. A person or object moving between exposures can spoil the result. In a previous project test, merging five NEF files needed about 3 GB of memory and around 40 seconds. Automatic does not mean instantaneous.

Where affordable equipment still has limits

The USB preview in this project was tested at 640 × 424 pixels and around 15 frames per second. It is useful for checking framing and position, but I check a photograph or test video for final sharpness. The first camera test confirmed video at 1920 × 1080 and 30 fps; preview resolution is not recording resolution.

The D3400 does not charge over USB. Long video files transfer slowly over USB 2.0, and live view drains the battery. In the tests so far, live view prevented shutter speeds slower than 1/30 s, so the app turns it off during long-exposure sequences.

One important buying detail: not every Nikon 50mm f/1.8 is the same. The D3400 has no body motor for older lenses that require one. For autofocus, check the exact lens compatibility, for example the AF-S 50mm f/1.8G. The older, often cheaper AF 50mm f/1.8D does not autofocus on this body. An $80 lens budget therefore does not guarantee autofocus.

On the DX sensor, 50mm gives roughly the field of view of a 75mm lens on full frame. That works well for portraits but may be too tight in a small room. At f/1.8, depth of field is shallow; when recording myself, stopping down can give me more room to move. AI cannot make up for the wrong working distance, poor light, or missed focus.

Why a video about camera hacking made me want to share this

The video “Hacking Camera Software with AI is Getting Crazy” prompted me to share this project. Someone else might need exactly this kind of computer control without realizing that an old camera can be part of that setup. I did not know how useful mine could be until I built the tool.

My example depends on a desk, a cable, and a computer. Firmware modifications can serve different needs, especially when you want features on the camera itself without a computer. I see this as another practical possibility worth exploring.

My comment for the video

A used Nikon D3400 for roughly $200, a Nikon 50mm f/1.8 for around $80, and a $20 month of Claude Pro can be a surprisingly capable starting point if you already have a computer. Those are rough used-price estimates, and the exact lens matters: older AF-D lenses won't autofocus on the D3400.

I used Claude Opus 5.5 to build a local browser-based USB control app. With a 3-meter cable, I can frame myself at my desk, adjust the settings the camera exposes, trigger photos, and start or stop video without walking over to the camera. I didn't realize how useful this old entry-level DSLR could be until I built the tool.

It also automates 3- or 5-shot exposure brackets and combines them on the computer using exposure fusion. For static scenes, that removes a lot of repetitive capture and processing work. No modified firmware involved: just USB control, libgphoto2, and software built around my workflow. It's a desk setup rather than a portable firmware mod, but it might help someone with a similar camera.

Download and sources

The code and instructions are public: nikon-d3400-daljinski on GitHub. The app was built for macOS and runs on the computer connected to the camera. This website does not control your USB device.

To get started, read the README, connect the camera, and launch pokreni.command. The first launch prepares a local Python environment and dependencies. The launcher checks GitHub for project updates; the repository explains how to skip that check.

The features and limits described here come from this project’s code, README, and recorded tests. The screenshots were taken on October 29, 2026, without a connected camera. A different camera or lens needs its own practical checks.