Posts | Comments

Planet Arduino

Archive for the ‘light sensor’ Category

Taking pictures in the 21st century is incredibly easy. So easy in fact that most people don’t even own a dedicated camera; from smartphones to door bells there are cameras built into nearly electronic device we own. So in this era of ubiquitous photography, you might think that a very slow and extremely low resolution camera wouldn’t be of interest. Under normal circumstances that’s probably true, but this single pixel camera built by [Tucker Shannon] is anything but normal.

At the heart of his unusual camera is the TCS34725 RGB color sensor from Adafruit which receives a tightly focused beam of incoming light by way of a 3D printed enclosure and a 3mm OD aluminum tube. This allows an Arduino Uno to determine the color of this tiny slice of light, making up a single pixel of the final color image. [Tucker] notes that you could even swap the color sensor out for a simple photocell if you don’t mind a black & white image at the end of the process.

In either event, once the light has been analyzed the sensor is repositioned autoturret-style by way of dual BYJ-48 stepper motors. This process continues on, spiraling outwards until the whole image is stitched together from these individual readings

Now compared to the camera in your phone, the resulting image might be a bit underwhelming. We’d say it’s a bit like looking at a digital picture on an 8 bit computer, but in truth even that might be overly generous. But even if it isn’t as crisp as modern eyes would like there’s no question that it’s certainly a recognizable image, which is all [Tucker] was shooting for.

Of course if your optical frugality is such that even this low-resolution camera is too sharp for your tastes, we’ve seen a similar concept  using a roof-mounted solar array.

Feb
25

Using a flashing LCD monitor to transfer data

arduino hacks, data transfer, flashing, ldr, light sensor, monitor, screen, temt6000 Commenti disabilitati su Using a flashing LCD monitor to transfer data 

lcd-screen-data-transferWe love the concept of using an LCD screen to transfer data. The most wide-spread and successful method we know of is the combination of a QR code and the camera on a smart phone. But for less powerful/costly devices data can be transferred simply by flashing colors on the screen. That’s what [Connor Taylor] is testing out with this project. He’s using a TEMT6000 light sensor to turn a white and black flashing monitor into binary data.

So far this is just a proof of concept that takes measurements from the light sensor which is held in front of a Macbook Retina display with different backlight levels. At 3/4 and full brightness it provides more than enough contrast to reliably differentiate between black and white when measuring the sensor with the Arduino’s ADC. What he hasn’t gotten into yet is the timing necessary to actually transfer data. The issue arises when you need to have multiple 1′s or 0′s in a row. We’ve tried this ourselves using an LDR with limited success. We know it’s possible to get it working since we’ve seen projects like this clock which can only be programmed with a flashing screen.

[Connor's] choice of the TEMT6000 should prove to be a lot more sensitive than using just an LDR. We figure he could find a way to encode using multiple colors in order to speed up the data transfer.


Filed under: arduino hacks


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook