2017-03-29 (W) Pi0 Laser Tag PiTagErrUs

Getting a Raspberry Pi 0 to use two of its GPIO for serial communication was troublesome and a hurdle I couldn't get over. To test the feasibility of using ordinary serial pins with infrared LEDs a couple of USB→Serial adapters were gathered. These have been used in the past for programming Arduino Pro Minis, which, by coincidence, were used in the Arduino Laser Tag.

A standard wired connection was made first. This merely tested the connection between the computers.

Ordinary serial↔serial connection

Once a reliable connection was proven, by sending and receiving to and from each computer, the wires were replaced with infrared LEDs on the transmitter (Tx) pins of the adapters and infrared receivers were placed on the receiving (Rx) pins of the adapters.

Wires replaced with IR transmitters and receivers

Infrared is outside the normal visual spectrum for humans but some of it gets through the IR filters in digital cameras so it appears purple. While in operation, the transmitting LED glowed purple continuously as seen below.

IR showing on digital camera

It was possible to get information across the data link but it was not readable by either computer. All the data coming across was garbled, which was kind of expected.

Video demonstrating the nonsense coming over IR


The rest of the posts for this project have been arranged by date

First time here?

Completed projects from year 1 
Completed projects from year 2
Completed projects from year 3

Disclaimer for http://24hourengineer.blogspot.com/ and 24hourengineer.com
This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.
All information in this blog, or linked by this blog, are not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property or similar, is the responsibility of those involved in the replication.
All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by Brian McEvoy, cannot be used to claim property or assets.
Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on a post.
This blog, including pictures and text, is copyright to Brian McEvoy.

2017-03-28 (Tu)