# Project by Michael; Infinity-Mirror Table

**URL:** <https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470>\
**Category:** Projects\
**Created:** [24 August 2017 01:32 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470 "2017-08-24T01:32:23Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_R](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael_r/32/435_2.png) [@Michael\_R](https://forum.core-electronics.com.au/u/Michael_R)\
**Post date:** [24 August 2017 01:32 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/1 "2017-08-24T01:32:23Z")

</div>

Michael just shared a new project: [**"Infinity-Mirror Table"**](http://core-electronics.com.au/projects/infinity-mirror-table)

 ![](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/1X/80683ac161f1544e06c7a18b4537ffc11f13075f.png)  
  
An infinity mirror creates a striking optical illusion - a tunnel of light that seems to tear through space. We thought it would be cool to have one to take along to MakerFaires and conventions. I built this infinity-mirror table using some addressable LEDs, a Particle Photon and easily obtainable timber supplies.

If you have any questions about building your own Infinity-Mirror Table then jump down to the comments section at the bottom of this page. If you have any other technical questions then feel free to hit us up on the forums - we’re full-time makers and we’re here to help with your projects!  
  
 [**Read more**](http://core-electronics.com.au/projects/infinity-mirror-table)

---

<div class="post-metadata">

**Author:** ![Kelby](https://avatars.discourse-cdn.com/v4/letter/k/a587f6/32.png) [@Kelby](https://forum.core-electronics.com.au/u/Kelby)\
**Post date:** [3 October 2017 05:17 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/2 "2017-10-03T05:17:34Z")

</div>

Hey Michael. Im a bit of a beginner and attempting this project. Are you able to make a more complete wiring diagram? I’m a little unsure of the pots wiring and the ports used through the level shifter from the photon and to the LED strip.  
Any help would be great, thanks for posting this project.

---

<div class="post-metadata">

**Author:** ![Michael\_R](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael_r/32/435_2.png) [@Michael\_R](https://forum.core-electronics.com.au/u/Michael_R)\
**Post date:** [3 October 2017 05:45 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/3 "2017-10-03T05:45:19Z")

</div>

Hey, @Kelby. Here’s a picture for a pot, but layed out more visually. The left connection is ground, the right connection is to 3.3V, and the center connection goes to an analogue-input of the particle. This is just replicated for each of the three pots.

 ![Doc](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/1X/075cfe3d4f40884e1810c861de94357eab9fe4f5.jpg)

**As for the logic level shifter:**

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/1X/280ae74eb41568eb9da3502d72ac9bbd5f318675.jpg)  
HV =\> 5V from main power supply / from Photon VIN pin  
LV =\> 3.3V from Photon  
GND =\> ground  
LV1 =\> Photon D0  
HV1 =\> Data connection to LED strip

---

<div class="post-metadata">

**Author:** ![Kelby](https://avatars.discourse-cdn.com/v4/letter/k/a587f6/32.png) [@Kelby](https://forum.core-electronics.com.au/u/Kelby)\
**Post date:** [20 February 2018 00:12 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/4 "2018-02-20T00:12:46Z")

</div>

Hi @Michael_R,  
I’ve finally managed to find the time to finish off all the hardware side of this project.  
I did the table side of it a bit different, used table top quality glass, didn’t rebate it into the frame.  
Here’s an insitu pic:

 ![kelby_infinity_table_mirror_web](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/b/bb69514b18462c4097a88acb7247756eb879640d.jpg)

I plan to do some changes to the code though… but I’ve noticed a couple of things…  
With the other laser cut desktop infinity version … the project isn’t linked to the more in depth tutorial (oversight?). The code is also different between those two posts (warning?).  
With that in mind, should i be looking at forking the original table version to incorporate the danger zone in the tabletop version?  
Cheers

---

<div class="post-metadata">

**Author:** ![Graham](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/graham/32/54_2.png) [@Graham](https://forum.core-electronics.com.au/u/Graham)\
**Post date:** [21 February 2018 04:28 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/5 "2018-02-21T04:28:52Z")

</div>

What a build! Thanks for sharing this @Kelby 🙂

I’d stick with the tabletop version of the code; there is no power throttling for LED brightness. We added this because the desktop version might be connected to a computer USB port which provides limited power.

The desktop version does have some other little improvements as it has matured more, however, the tabletop version is just as good for a starting point to create your own effects. Please do share them if you make new ones!

---

<div class="post-metadata">

**Author:** ![Kelby](https://avatars.discourse-cdn.com/v4/letter/k/a587f6/32.png) [@Kelby](https://forum.core-electronics.com.au/u/Kelby)\
**Post date:** [22 February 2018 23:52 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/6 "2018-02-22T23:52:55Z")

</div>

Cheers Graham,  
I’ve created a pull request against the GitHub (infintiy-mirror-table) code version.  
I updated the original table code:  
removed the defines and replaced with constants  
replaced the mode selection function with a more flexible way to segment the pot (via a configurable array). It will allow modes to be added and removed without the need to reconfigure the pot segmentation.  
Not sure if its the best way to do it… as i’ve really only stepped into c++ this week, but it works with no issues on my table.

---

<div class="post-metadata">

**Author:** ![Brady67455](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Brady67455](https://forum.core-electronics.com.au/u/Brady67455)\
**Post date:** [4 August 2018 04:32 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/7 "2018-08-04T04:32:41Z")

</div>

I get this error when trying to flash the code…

call of overloaded ‘map(float&, int, int, int, int)’ is ambiguous

What am I doing wrong =/

---

<div class="post-metadata">

**Author:** ![Stephen](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/stephen/32/1599_2.png) [@Stephen](https://forum.core-electronics.com.au/u/Stephen)\
**Post date:** [5 August 2018 23:54 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/8 "2018-08-05T23:54:34Z")

</div>

Hi Brady,

It seems you have an error in your code. To be able to help you out could you share your code with us?

Thanks!

---

<div class="post-metadata">

**Author:** ![Brady67455](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Brady67455](https://forum.core-electronics.com.au/u/Brady67455)\
**Post date:** [6 August 2018 00:43 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/9 "2018-08-06T00:43:07Z")

</div>

I cut and paste the code from the project page. It seems to point to an error in the following line…

infinitydefault.ino:105:39: call of overloaded ‘map(float&, int, int, int, int)’ is ambiguous

return map(potVal,0,ADC\_PREC,100,0);

---

<div class="post-metadata">

**Author:** ![Stephen](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/stephen/32/1599_2.png) [@Stephen](https://forum.core-electronics.com.au/u/Stephen)\
**Post date:** [6 August 2018 01:10 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/10 "2018-08-06T01:10:09Z")

</div>

Brady,

Are you using the same micro-controller as the project?

---

<div class="post-metadata">

**Author:** ![Brady67455](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Brady67455](https://forum.core-electronics.com.au/u/Brady67455)\
**Post date:** [6 August 2018 01:35 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/11 "2018-08-06T01:35:45Z")

</div>

Yea, using the particle photon. Just as a test I deleted that part of the code and it flashed fine.

---

<div class="post-metadata">

**Author:** ![Stephen](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/stephen/32/1599_2.png) [@Stephen](https://forum.core-electronics.com.au/u/Stephen)\
**Post date:** [6 August 2018 01:53 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/12 "2018-08-06T01:53:50Z")

</div>

Try changing the floats to doubles for the PotVal. See if that helps out at all. Seems like a strange error.

---

<div class="post-metadata">

**Author:** ![Jason68917](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@Jason68917](https://forum.core-electronics.com.au/u/Jason68917)\
**Post date:** [26 August 2018 21:56 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/13 "2018-08-26T21:56:22Z")

</div>

Maybe I have bitten off more than I can chew…

Can you show me a picture of the back side of the PCB board so I can see how all the connections are made/soldered. Or point me in the right direction of how to solder multiple connections on a PCB board.

---

<div class="post-metadata">

**Author:** ![Stephen](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/stephen/32/1599_2.png) [@Stephen](https://forum.core-electronics.com.au/u/Stephen)\
**Post date:** [11 September 2018 22:48 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/14 "2018-09-11T22:48:17Z")

</div>

Hi Jason,

You can find some more detailed instructions for a very similar project here:

> **[Infinity Mirror Kit V1 - Assembly and tutorials - Tutorial](https://core-electronics.com.au/tutorials/infinity-mirror-kit.html)**
>
> The Infinity Mirror Kit is a desk-top display that creates a dazzling optical illusion - a tunnel of light that tears through space!
> Note: This tutorial is for the Infinity Kit V1. We updated have updated to the Infinity Kit V2 as of 25/10/2018. If...

and here:

> **[assembly-instructions-171109.pdf](https://core-electronics.com.au/media/kbase/226/assembly-instructions-171109.pdf)**

This obviously is a little different and has only one controlling pot, but it has a nice wiring diagram so you can compare to see if your pots are hooked up properly.

As far as soldering on a through hole PCB like this one, you basically just shape the wires on the back side so they are touching and solder them together. There is nothing to it really.

Here is a great video about using these through hole boards:

Hopefully that gets you started!

---

<div class="post-metadata">

**Author:** ![Duke74362](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@Duke74362](https://forum.core-electronics.com.au/u/Duke74362)\
**Post date:** [19 November 2018 07:45 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/15 "2018-11-19T07:45:07Z")

</div>

I was wondering what the tint of the semi-reflective privacy film is, when I click on the link I do not get taken to the exact product and I was wondering what was used.

---

<div class="post-metadata">

**Author:** ![Stephen](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/stephen/32/1599_2.png) [@Stephen](https://forum.core-electronics.com.au/u/Stephen)\
**Post date:** [19 November 2018 23:14 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/16 "2018-11-19T23:14:40Z")

</div>

Hi Duke,

It looks like Bunnings doesn’t have it available anymore! Any mirrored window tint should work!

---

<div class="post-metadata">

**Author:** ![Graham](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/graham/32/54_2.png) [@Graham](https://forum.core-electronics.com.au/u/Graham)\
**Post date:** [19 November 2018 23:31 UTC](https://forum.core-electronics.com.au/t/project-by-michael-infinity-mirror-table/1470/17 "2018-11-19T23:31:00Z")

</div>

Bunnings have a couple of options still, though I’m not sure if any are “just” mirror-type film.

> **[Window Film available from Bunnings Warehouse](https://www.bunnings.com.au/our-range/building-hardware/door-window-gate-hardware/window/film)**
>
> Check out our range of Window Film products at your local Bunnings Warehouse. Visit us today for the widest range of Window Hardware products.

Someone, somewhere will have some - let us know what you find!
