Built a Deskbot. Now What?

“What’s the development time for HP5 Plus 120 in 510 Pyro?” It’s the sort of thing I check before I mix the developer. The time depends on how I rated the film and the conditions I’m developing it in. Cori can use the details in the question to look up the relevant chart entry and show me the time alongside the exposure index, dilution and temperature. From there I can decide whether to follow the chart or use a recipe I’ve kept from a previous roll.

I wanted to build something with AI that could sit on my desk and respond to what was happening around it. I’d already used AI to write software and work through designs for 3D printing, and I’d built tools that could help me review photographs or find dust on a scanned negative. This time I wanted to bring a local model together with sensors, a screen and information feeds, then see what I could make out of those parts.

I called the project Deskbot and the companion Cori. The idea was to give it a small computer as its brain, with a microphone for questions, a camera it could use to read things I put in front of it, and a presence sensor that could tell when I’d left the desk. The model could interpret what I said, and the application could decide how to display a sensor event or whether an action needed my confirmation. With a forecast or a news feed it could bring in information from outside the room. Speech recognition, the language model and the voice itself would run on the Pi.

I work in digital engineering as a solution architect, and I wanted to build enough of this myself to  understand for myself, first hand, where the difficult decisions were. Could the Raspberry Pi run the voice conversation quickly enough that I’d want to use it? How much recent conversation did the model need to make sense of a follow-up? What should happen if the camera could only read part of a film label? I started with a terminal on a Pi 4 and a voice coming out of its headphone socket. The build now runs on a Pi 5, 16gb with usb microphone, speakers, a touchscreen and camera, while a Pico 2 W reports events from the presence sensor and the physical button.

Cori’s Home screen with example notices and a quick view of the weather and remaining daylight.

How I got here

Cori grew out of a few projects I’ve written about before. I built Negative Retouch to find dust and hairs on film scans, reused that work in Lightbench and used a local model in Frame to help me review my portfolio. I’d also used AI to help design a 3D printed toughbox for six boxed rolls of 120 film. There’s more about those projects in my previous blog; Lightbench, Signalroom, a Film Box, and a Roll of ISO 6 Film.

With Cori, I wanted to see whether a local model could make sense of a question and use the right tool to answer it. Film development gave me a way to check. I could see whether Cori had picked out the film and developer correctly, then compare its answer with the chart. If it gave me the wrong time, I could work out whether it had misunderstood the question or looked up the wrong entry.

What Cori can do

Cori is still a work in progress. I’ve reached the point where I can try the features at my desk and get a sense of which ones I might use regularly.

The six Actions tiles open conversation, desk tools, film stock, camera identification, the briefing and room controls.

A dashboard I can glance at

If I’m thinking about going out with a camera, I can see when the rain is likely to ease and how much daylight I’ll have left. The dashboard starts when the Pi boots, and I can swipe between views or have Cori read a summary aloud. The forecast comes from the Met Office. The photography view also shows sunrise and sunset, with moonrise and evening cloud where the data is available.

Cori’s visual theme

I took inspiration for Cori’s visual theme from some aspects of Blade Runner 2049, especially the way the film uses pink and blue light against dark backgrounds. That influence is clearest in the standby portrait, where neon reflects off the wet street and coloured light falls across Cori’s face.

I carried those colours into the dashboard and paired them with details I like from old terminal interfaces: monospaced lettering, pixel icons and headings that look like system labels. It felt right for a computer I’d spent so much time building through a terminal.

Briefings and local updates

I can replay the morning briefing when I’m ready to listen. It brings together the local outlook and BBC UK headlines, with optional updates during the day. The dashboard has separate cards for nearby stories from police, fire and regional news sources, as well as my kids' school notices and items on photography, local AI and other subjects I’m interested in.

I’d like Cori to surface something I might have missed, such as Harman announcing a new film stock, or Intrepid Cameras launching a new camera. I’m still working out which items are worth hearing aloud and which I’d rather glance at on the screen. 

Asking a question and following it up

I can tap the microphone to ask how many rolls of Ilford Fp4 I have left in medium format, then ask what else I have in 120. Cori carries enough context into the follow-up to make sense of it. The screen shows what it heard and what it’s doing, so I can spot a misheard film name. I can stop the reply or start a new chat from the touchscreen. A standalone question or 90 seconds of inactivity also starts a fresh thread.

The voice exchange runs on the Pi. Whisper Base English transcribes the question, Vosk helps detect when I’ve finished speaking and recognise film vocabulary, and Piper reads the reply in British English. A local model routes the request to an orchestrator that can ask several specialists for information and combine their results into one answer.

Memory and notes

I can ask Cori to remember something I might want to come back to, such as a detail about my campervan. It can read back what it’s saved about my preferences or use those details in a later answer. I can also ask it to save a note when I want to record something separately.

Timers, recording and shutdown

I can set a named timer for a job or start a focus session. The screen shows the countdown, and two tones tell me when it’s finished.

Room recording has its own physical button. I can start and stop recording without opening a menu. The screen shows how long the recording has been running, and Cori produces a timestamped transcript in UK English. I can also ask Cori to shut down the Pi, with a confirmation on the touchscreen before it goes ahead.

Presence and facial recognition

I wanted the screen to go into standby when I left the desk and return to Home when I came back. The presence sensor detects the change. On my return, the camera can check whether it recognises the face I enrolled, and Cori can show a welcome and say hello before Home reappears. It gives me a way to test how quickly the system can go from a sensor event to a response.

Camera and lens identification

I generally know which camera I’ve picked up. I built identification to see whether Cori could recognise a physical object and match it to a record it could use. I can show it a body, a lens or both. It checks the visible markings and can use reference photographs I’ve enrolled for each item. My existing inventory gives me a way to check the match.

I can already browse the camera and lens records or have Cori read them aloud. A more useful next step would be to show it a camera and ask it to find compatible film in my stock, then carry that choice into a trip plan. Testing identification on its own helps me see whether the time is going into reading the image or finding the match before I add more steps.

Film stock

If I want to know what I have left, I can browse the film inventory, have Cori read it aloud or ask about a particular stock. When I take a roll out or put one back, I can show Cori the carton or canister, using the camera. It reads the label, can suggest a format for the HP5 cartons I’ve tested and shows me the proposed count before I save it. I can check whether it got the stock and format right, and whether scanning it takes less time than updating the count by hand.

Reading the desk clock

The LCD clock gives me a result I can verify at a glance. Cori mirrors the live camera preview and compares readings across several frames before displaying and speaking the time, date, room temperature and humidity. I can move the clock, change the light or hold it at an angle and see which values Cori still gets right and how long it takes.

I started with the clock in a fixed spot on the desk and the camera pointed at it. I switched to holding the clock up to the live preview so I could leave the camera in position for other jobs, including recognising me when I return to the desk.

I built this to see whether Cori could read displays and dials on equipment I already own. In the darkroom, for example, I could show Cori a thermometer dial and have it record the temperature alongside my notes for the roll I’m developing.

Developing a roll

When I’m getting ready to develop a roll, I can look up a time by film, format, developer and exposure index. Cori has Zone Imaging’s 510 Pyro data, selected Rodinal chart entries and my own recipes. If the 510 Pyro time is over 15 minutes, it can suggest a matching Rodinal entry where one is available.

Sometimes I’m looking for what worked on a previous roll. I might have rated the film differently or changed the dilution. Having my own recipes in Cori means I can look up what I actually did, compare it with the chart and decide how I want to develop the next roll.

Planning a photography trip

Trip planning has been one of the hardest parts of Cori to tune. I want to talk through anything from a day out by train to a few nights in the campervan or a trip that starts with a flight. The recommendations are part of what would make that useful. If I’m heading to Derwentwater for the morning light, I might want a campsite close enough to get to the shore early and somewhere to eat when I get back. If I’m flying, I might want Cori to suggest a flight that gets me there with enough daylight left to go out with the camera.

Cori can already save a plan, give straight-line distances and look up published flight schedules. I’m still working on how it uses that information to make recommendations that fit the trip. If I decide to stay an extra night because the forecast looks better the next morning, I want it to carry that change through the plan and reconsider any suggestions that depend on the dates.

I could probably spend as much time on the trip planner alone as I’ve spent on the rest of Cori. There are likely existing APIs I could use for routes, timetables, campsites and places to eat. That would let me spend more time on the part I’m interested in: whether Cori can weigh those options against what I want to photograph and help me rethink the plan when things change.

Getting files onto the Pi

I set up a Samba share so I can move files from Windows Explorer directly onto the Pi. If I’ve updated my camera or film inventory on the computer, I can drop the export onto Cori. I can do the same with a technical PDF I want to use while testing.

What runs where

When I ask Cori how long to develop HP5 Plus 120 in 510 Pyro, the language model picks out the film, format and developer. The darkroom tool uses those details to find the right entry in the chart. If the answer is wrong, I can check two things. Did Cori understand which film I meant, and did the tool find the right entry?

That’s the pattern behind much of Cori. A local model acts as a router, which means it works out where a request should go. It passes the request to an orchestrator, the part of the application that can call several tools and bring their results together. The application checks the details before it runs each tool. If I ask Cori to save a note, for example, the application writes it to SQLite, a small database on the Pi. Cori can then tell me whether the save actually worked. The touchscreen shows what it heard and what it’s doing, and Piper turns the final answer into speech.

The dashboard, camera tools and voice system all run on a Raspberry Pi 5 with 16 GB of memory. My earlier tests used a small language model called Qwen3 1.7B, which I ran on the Pi using Ollama. Running locally means the Pi can turn my speech into text, work through the request and speak the answer without sending the conversation to a cloud service. The film inventory and notes live on the Pi too. A live forecast, news headline or flight schedule still needs an outside source. If the internet drops, I should still be able to save a note. If Cori can’t get a fresh forecast, I want it to say when it last checked.

The hourly forecast shows when the chance of rain is likely to ease, where the data came from and when it was checked.

The main Pi connects to the touchscreen, a USB microphone and speaker, and a five megapixel OV5647 camera. I use the same camera to read the desk clock, scan film cartons, identify equipment and recognise me when I return to the desk.

A second, much smaller board, the Pico 2 W, looks after the presence sensor and the physical button. It runs MicroPython and reports events to the main Pi over USB. The presence sensor tells the Pi that someone has arrived or left. The main application decides when to show the standby portrait or use the camera to check whether it’s me. The button gives me a separate way to start and stop room recording, with the elapsed time shown on the touchscreen.

Cori’s standby portrait and the welcome it shows when it recognises me on my return

.The physical build is still changing as I try it at the desk. I’ve kept the wiring solderless so I can move parts around and see what works in practice. The recording button is a good example. I got it working on the breadboard, then found I could barely get my finger between the wires to press it. If I’m going to use it to start recording a conversation, I want to be able to reach it without shifting anything on the desk.

I’m still working out where the camera should sit, too. I want to leave it aimed at my seat so Cori can recognise me when I return, with enough room to hold up a film carton or the clock and see the preview on the touchscreen. Once I’m happy with where everything sits, I’ll probably 3D print a case for it. I’d like it to look like a bit of equipment from the same world as the dashboard, with some of that Blade Runner 2049 influence carrying through into the physical build.

When systems fail and who stays in control

The Microsoft 365 outage, the US ground stop and the November cyber attacks were all in the news while I was building Deskbot. I was following them as a solution architect as much as someone tinkering with a Pi at home. When a service goes down, I want to know what else depends on it and what people can still do while it’s being fixed. After the attack on the Department for Work and Pensions, Andy Burnham’s call for people to remain in control of AI raised a related question for me. Once we give a model access to tools and data, where can someone step in?

I still want to see what useful things I can build with AI. Cori can save me a search through development charts or help me keep track of the film I have left. The responsibility that comes with building those features is fairly practical. I decide which tools Cori can use, which actions need my approval and what it should tell me when something fails. If it can’t get a fresh forecast, I want it to say so. I can still look up a darkroom recipe because those records live on the Pi.

I have a responsibility when I use it, too. If Cori reads a carton and proposes a change to my stock, I check the film, format and count before I save it. If I’m going to record a conversation, I tell the people in the room and check they’re happy with it before I press the button. The recording timer makes it clear when capture is active, and I can stop it at any point.

That’s how I want to carry on developing Cori. As I add features, I want to give each one a job worth doing, test what happens when it gets things wrong and make sure the person using it can see what’s happening and step in when they need to.

Why voice has been the hardest part

Voice; tap to talk.

I’d worked on conversational AI before generative AI came along, so I knew how much of the experience depends on timing and wording. Building Cori brought that back to me. A reply that reads perfectly well on screen can be hard to follow aloud, and a short pause while I’m thinking can sound to the system as though I’ve finished speaking.

I had to think about pauses on both sides of the conversation. When I ask a question, Cori needs to leave enough room for me to hesitate or correct myself. If it cuts me off too early, it might miss the developer at the end of a question about film. If it waits too long, I’m already waiting before the model has seen the request. I also adjusted the pace of Cori’s voice and added pauses where I needed a moment to take something in. When she reads out a development time, temperature and dilution, I want to hear each clearly without having to replay the answer.

Then there’s how well Cori understands me. I want to speak in my Birmingham accent, at my usual pace, and use the shorthand I’d use with another photographer. I might say “HP5 in Pyro”, so I gave Cori a vocabulary of film names, developers and the ways I say them. Those aliases help it connect what I said to Ilford HP5 Plus and 510 Pyro in the darkroom lookup. I can see what Cori heard on the touchscreen, which helps me tell whether it misheard me or understood the words and took the question the wrong way. I’ve improved the recognition, and I still want to measure how reliably it handles my accent across a wider range of questions.

When the answer feels slow, I want to know whether Cori was waiting for me to finish, working out what I’d asked or getting the reply ready to speak. I’m still tuning those stages. What matters at the desk is whether it understood me in the first place and how long I waited to hear the first useful words.

How long is too long?

A pause of three to five seconds feels longer in conversation than it does when I’m waiting for text on a screen. In one test on the Pi 4, with the model already loaded, it took just over 15 seconds from pressing Enter to hearing the answer. That was a single call to Ollama with no external tools. Prompt caching helped, but I still need to run comparable tests on the Pi 5 to see how much has changed.

I’d like Cori to start answering simple questions in about three seconds. Expecting that on every turn is probably unrealistic. As a conversation goes on, there may be more history to work through, and a follow-up that needs a forecast or another lookup can take longer still.

For voice, I measure from when I stop speaking to when I hear the first useful words. That includes the time Cori takes to realise I’ve finished. A message on the screen can show that it’s working, and a brief “Checking the forecast” can be useful during a longer wait. I’d still measure when the answer itself begins and how long it takes to get to the detail I asked for.

Even with a prepared line to fill some of the silence, Cori still has a long way to go before the wait feels acceptable in everyday conversation. 

Where I go from here

I’ve learnt enough from building Cori to be more selective about what belongs in it. Some features were worth building because they let me try an idea. Whether I keep them comes down to whether they make a job easier at the desk.

For the next version, I’m going to work with what I’ve already built. I’ll settle the layout and print a rugged case, then spend some time using Cori to see what I reach for and what I keep doing by hand.

Unless I’ve missed something that would cut the wait substantially, I suspect I’ll end up using the touchscreen more and may drop voice altogether. I doubt there’s one change that will solve the whole latency problem. If a few taps get me where I want to go with less effort, I’m happy for that to be how Cori works.

I’ve got six rolls of Kodak Gold waiting to go into some fresh CineStill CS41, so it’s back to the darkroom for the next post.

Next
Next

Lightbench, Signalroom, a Film Box and a Roll of ISO 6 Film