Im looking at making this table below but don’t know how he is getting the sensor to work through the wood and what the system is they are using would anyone have a idea please?
Disclaimer - I’m just guessing
It might be a capacitive proximity sensor, not sure what component they used, but it it’d let them detect things that get close and also through some materials.
This is a commercial product, they would have spent 10s maybe 100s of hours developing it. My guess is each hexagon module generates a small RF field. When something enters the field, the change to the field is detected.
While this table is Kool, the novelty would wear off eventually. The Kickstarter did not reach its goal so maybe they have not gone further.
from PiicoDev_RGB import PiicoDev_RGB
from PiicoDev_Unified import sleep_ms # cross-platform-compatible sleep
touchSensor = PiicoDev_CAP1203()
rgb = PiicoDev_RGB()
brightness = 8 # 1 -> infinity
def clamp(num, min_value, max_value):
return max(min(num, max_value), min_value)
def allow_range(num, min_value, max_value):
if ((min_value <= num) and (num <= max_value)):
return num
else:
return 0
while True:
for i in range(3):
value = clamp(allow_range(int.from_bytes(touchSensor.readDeltaCounts()[i + 1], 2), 0, 200) * brightness, 0, 255)
# somtimes value wraps around to 250s, this clamps it and multiplies it to get something the LED can work with.
rgb.setPixel(i, [value, value / 2, 0])
rgb.show()
Then use addressable RGB LEDs to light it up! If you have the hex edge length an even multiple of the led distance in one of the strips and you could put the LEDs in the corners. e.g. Fairy Lights - Addressable RGB (5m) | Sparkfun PRT-16792 | Core Electronics Australia are 5cm apart, so you could do hexagons with 5cm edges (10cm across the largest diameter).
If you start with one hexagon in the middle, then surround it with 2 more rows, you’ve got 19 hexagons as sensors, 54 corners for leds (you could also light the middle using another 19, and still have some left from the fairy lights above. A bit easier than the way they did it