Close

Schematic errors, first steps with the mainboard

A project log for IKEA LACK Table Lamp Clock

A ceiling-mounted ikea table, with dimmable LEDs and a bunch of small lamp shades to show time.

christophChristoph 01/18/2020 at 22:480 Comments

What I found so far:

I have some through hole schottky diodes so I'll put one between 5V and the Teensy's 5V pin, so that the Teensy can be powered via USB or an external supply. All that was needed was some magnet wire and the diode:

That seems to work. Top view:

The Teensy is currently running a crude serial passthrough sketch so that I can use it to

This is the crude serial passthrough sketch:

void setup() {
  // put your setup code here, to run once:
  Serial1.begin(115200);
  Serial.begin(115200);
}

void loop() {
  // put your main code here, to run repeatedly:
  if(Serial.available())
  {
    Serial1.write(Serial.read());
  }
  if(Serial1.available())
  {
    Serial.write(Serial1.read());
  }
}

The ESP app already connects to my WiFi using config data stored in the FFS and I'll now extend it to subscribe to MQTT topics as described in the previous log.

Discussions