COPING WITH CARING

Share this post

Nearly Talking of Robots

paulbackhouse.substack.com

Discover more from COPING WITH CARING

Welcome everyone! I write about Unpaid Caring, Health, Technology, Robots, and Garden Railways.
Continue reading
Sign in

Nearly Talking of Robots

My colour recognition machine

Paul Backhouse
May 26, 2023
8
Share this post

Nearly Talking of Robots

paulbackhouse.substack.com
4
Share
My system, my picture.

Whilst I don’t have a great deal of time to devote to them nowadays my robot and train projects continue (slowly) as my occasional escape from care giving. Last night, I became so frustrated with my inability include a short video clip in a reply to a note (most likely operator error), that I decided to create this new post.

It started with a discussion of AI. I was overcome by this sudden urge to create a machine that was primitive, but which could nonetheless learn and recognise colours. So that’s what I did. And here it is.

OK, it is not *exactly* a robot. Nor is it especially useful, but I love it all the same. It is a simple functioning sensory system that “sees” and reports colour.

Sound right up…🔊

Loading video

The HC-SR04 ultra sound detects the target. The command Mega fires a relay to flood the target with light from 2 rows of LED strips, the sort used under kitchen cabinets.

The target cards are a different colour on each side.

The colour sensor consists of a black metal mask with 96 6mm holes arranged in diagonal lines. Each diagonal line is backed by a theatre quality red or blue or green acetate light filter. Behind the RGB filters are 96 light dependent resistors (LDRs) providing analogue output to 6 Arduino Megas. Each Mega supports 16 analogue inputs, so there are two for each colour.

The (7th) command Mega, collates the input from the 6 others, assigns percentage values for each RGB colour component, and compares these to known values. It also controls speech synthesis from stored allophone values.

The voice is created by an SP0256 “Narrator”. An obsolete chip by today’s standards, which assembles recognisable words from allophone sound fragments. I love this “War Games” type voice, and I use in several of my robots.

I included the 3 now-empty DIL sockets on the interface card for latches, but it turned out I didn’t need them.

As I mentioned. Fairly useless, but hopefully engaging nonetheless…

My thanks to

Tom Halligan
for inspiring me to post this!

Thanks for reading COPING WITH CARING! Subscribe for free to receive new posts and support my work.

8
Share this post

Nearly Talking of Robots

paulbackhouse.substack.com
4
Share
4 Comments
Share this discussion

Nearly Talking of Robots

paulbackhouse.substack.com
Tom Halligan
Writes Not A Robot
May 26Liked by Paul Backhouse

Brilliant stuff Paul - nice job! Glad I could inspire you to share your work! I don't think Notes supports video at all currently which is a bit frustrating, but I prefer the longer posts with more detail anyway!

Expand full comment
Reply
Share
Nat
Writes The AI Observer
May 26Liked by Paul Backhouse

Is this the one I saw on Twitter? 🙂

Expand full comment
Reply
Share
2 replies by Paul Backhouse and others
2 more comments...
Top
New
Community

No posts

Ready for more?

© 2023 Paul Backhouse
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing