Close

Year Older, Year Wiser

A project log for KiT: Keep In Touch

A tactile IoT device for spontaneous long-distance interaction

drewrisingerdrewrisinger 06/12/2017 at 06:100 Comments

I let this project go for the last year, but I recently decided to revisit this and make some much-needed improvements. A lot has changed in terms of my knowledge and hardware support, and some of my design decisions are definitely out of date.

Change Microcontroller

I played around with a few Digistump Oaks, and was having serious problems getting them to work at all, let alone connect to the Particle Cloud for the features that I wanted (Remote updates, easy Wi-Fi connection, and built-in messaging). With this advantage gone, it doesn't make sense to pay a premium for inferior hardware, so I will be redesigning this to work with a vanilla ESP8266, which offers everything I need for this relatively simple project. I haven't decided which variant I'll build this around (the key requirement is access to the ADC and several PWM pins), but this option should be several dollars cheaper and allow more people to build their own if desired.

Simplify ADC

The original design made the ADC far too complicated because I wasn't aware of the existence of Analog Muxes. The original design used a dedicated ADC IC to read the position of the knobs (which are linear potentiometers) and then send that data to the MCU. After a recent Hackaday article, I learned of the existence of a 74XX4051 IC, which is an 8-way Analog Mux. While I only need 2-3 of these channels, the 74xx IC is about a dollar cheaper than my previous ADC solution, and I don't have to write a driver to setup and communicate with the ADC. Yet another example of good design coming from good part selection.

Software

This was honestly never completed for v1.0, so I've got a lot of work to do on this. But removing the separate ADC should reduce the most complicated part, other than figuring out the messaging protocol and if I'll be using private servers for communication or an open MQTT server like Adafruit's or Sparkfun's.

LEDs?

I'm still planning to stick with the RGB LEDs, but I need to decide how many I want to use. The v1.0 from last year uses two, but I need to run some tests to figure out if that will be enough to be usable in both daytime and nighttime.

Enclosure?

The original design called for an enclosure. I'm not sure how this will work, because this isn't my forte. I'll probably need some sort of frosted glass or diffuser to spread the light from the LEDs. I'M OPEN TO SUGGESTIONS!!!

Discussions