This is my electronic artwork inspired by Peter Vogel’s and Walter Giers works. And I am pretty happy with how it came out. It looks cool and it has artificial intelligence (to a limited extent). It recognizes when you are taking a picture of it with a mobile phone. And it uses only a microcontroller to do it. All thank to TinyML.

It consists custom-made PCB (made by PCBway) where plugged MCU (Arduino Nano PLE sense), a camera (OV7670) module and some LEDs. The largest part is the old soviet doorbell module, made in 1987. And then the speaker is connected there. I also added some status LEDs, so I will know what the MCU is currently doing.

The camera takes a picture every few seconds and MCU analyzes it. It detects things in three categories: 1) humans, 2) when someone takes a picture of it with a cell phone 3) and all other scenes.

There are also some sensors that can sense the environment:

  • 9 axis inertial sensor LSM9DS1
  • humidity, and temperature sensor HTS22
  • barometric sensor LPS22HB
  • digital microphone MP34DT05-A
  • gesture, proximity, light colour and light intensity sensor APDS-9960

And there is a Bluetooth module. But I have not used it so far.

Most of my effort and time have been spent building a Machine Learning model to process images and recognise scenes. So far I have collected almost 700 images with this camera. And labelling all of them. I use Edge Impulse and it makes the process to build an ML model and library to embed it very easy.

This camera can take colour images in sizes 160×120 px, but the model uses size 96*96px. And it is quite small. You can imagine how few pixels take a mobile phone on these images. It’s just a black blob.

There is a big difference in model performance whether to use an unoptimised (float32) or the quantised (int8) model. The microcontroller’s small resources force us to use the quantised (int8) model. I have experimented with model parameters and found optimal results that work for me.

Details

Schematic:

Pin layout may be different on different camera modules!

The Soviet doorbell electronics board

Links


21 responses to “Artwork that knows when you are taking a picture of it”

  1. Adam Benzion (@AdamBenzion) Avatar

    Erik, this is so cool. Edge Impulse has an event in silicon valley on Sept. 28. Would it be possible to showcase this magic there? adam@edgeimpulse.com

  2. […] Tauno Erik has done something a bit different thanks to embedded hardware and the power of tinyML. His work is able to actively respond to a person whenever they bring up a cell phone to take a picture of […]

  3. […] one thing a bit completely different because of embedded {hardware} and the facility of tinyML. His work is ready to actively reply to an individual at any time when they carry up a mobile phone to take […]

  4. […] out one thing a bit completely different due to embedded {hardware} and the facility of tinyML. His work is ready to actively reply to an individual every time they convey up a cellular phone to take an […]

  5. […] Erik has done something a bit different thanks to embedded hardware and the power of tinyML. His work is able to actively respond to a person whenever they bring up a cell phone to take a picture […]

  6. […] one thing a bit completely different because of embedded {hardware} and the facility of tinyML. His work is ready to actively reply to an individual at any time when they convey up a mobile phone to take […]

  7. […] Tauno Erik has done something a bit different thanks to embedded hardware and the power of tinyML. His work is able to actively respond to a person whenever they bring up a cell phone to take a picture of […]

  8. […] out one thing a bit completely different due to embedded {hardware} and the facility of tinyML. His work is ready to actively reply to an individual each time they carry up a cellular phone to take an […]

  9. […] Tauno Erik has done something a bit different thanks to embedded hardware and the power of tinyML. His work is able to actively respond to a person whenever they bring up a cell phone to take a picture of […]

  10. […] one thing a bit totally different because of embedded {hardware} and the facility of tinyML. His work is ready to actively reply to an individual every time they create up a cellular phone to take an […]

  11. […] standing in entrance. Impressed by Peter Vogel and Walter Giers, Estonian artist Tauno Erik‘s newest undertaking entails including embedded machine studying into a really attention-grabbing circuit that may play […]

  12. […] one thing a bit totally different because of embedded {hardware} and the facility of tinyML. His work is ready to actively reply to an individual at any time when they bring about up a cellphone to […]

  13. […] one thing a bit completely different because of embedded {hardware} and the ability of tinyML. His work is ready to actively reply to an individual every time they convey up a cellular phone to take an […]

  14. […] one thing a bit totally different because of embedded {hardware} and the facility of tinyML. His work is ready to actively reply to an individual every time they convey up a cellphone to take an image […]

  15. […] one thing a bit completely different due to embedded {hardware} and the ability of tinyML. His work is ready to actively reply to an individual every time they create up a mobile phone to take an […]

  16. […] one thing a bit completely different because of embedded {hardware} and the ability of tinyML. His work is ready to actively reply to an individual each time they carry up a cellular phone to take an […]

  17. […] Erik has done something a bit different thanks to embedded hardware and the power of tinyML. His work is able to actively respond to a person whenever they bring up a cell phone to take a picture […]

  18. […] has carried out one thing somewhat other due to embedded {hardware} and the ability of tinyML. His paintings is in a position to actively reply to an individual on every occasion they carry up a mobile phone […]

  19. […] standing in entrance. Impressed by Peter Vogel and Walter Giers, Estonian artist Tauno Erik‘s newest challenge entails including embedded machine studying into a really fascinating circuit that may play tunes […]

  20. […] standing in entrance. Impressed by Peter Vogel and Walter Giers, Estonian artist Tauno Erik‘s newest venture entails including embedded machine studying into a really fascinating circuit that may play tunes […]

  21. […] standing in entrance. Impressed by Peter Vogel and Walter Giers, Estonian artist Tauno Erik‘s newest mission entails including embedded machine studying into a really attention-grabbing circuit that may play […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.