this post was submitted on 27 Jun 2023
1 points (100.0% liked)

Arduino

532 readers
9 users here now

This is an UNOFFICIAL Arduino community.

Everyone who uses Arduino board or their clones or associated boards and/or the Arduino IDE is welcome here. If it involves Arduino hardware or software it's welcome here. If it connects to Arduino hardware it's welcome here. If you're building your own boards that you use with an Arduino it's welcome here. There will be no Arduino elitist bullshit in this community.

You may also be interested in:

AVR

RULES:

  1. It's always a floating input.

  2. All Lemmy.ca rules apply here.

  3. Everyone (see rule 98) is welcome.

  4. If you’ve seen a question 100 times answer it the 101st time or ignore it. Even better, write a complete, detailed answer and suggest that the mod(s) pin it to the community.

[Did you actually think there were 98 rules?]

  1. If you present something as fact and are asked to provide proof or a source provide proof or a source. Proof must be from a reliable source. If you fail to provide proof or a source your post or comment may be removed.

  2. Don’t be a dick. Yes, this is a catch-all rule.

  3. The mod(s) have the final say.

founded 1 year ago
MODERATORS
 

ESP8266 and a 2.4 inch touch screen. The button turns on and off the LED backlight on the screen.

Inside the base is a charging station that powers the weather display, 2x USB C and the galaxy 4 watch base.

The base is made of layers of plywood cut out on my laser cutter.

Weather station code by Daniel Eichhorn https://github.com/ThingPulse/esp8266-weather-station-color

Weather info is grabbed from Openweathermap, you can sign up for their free API key

Source code https://github.com/ThingPulse/esp8266-weather-station-color/blob/master/esp8266-weather-station-color.ino

I was using adafruit hardware so used their guide/libraries https://learn.adafruit.com/wifi-weather-station-with-tft-display

I had to remove some of their touchscreen calibration code since it seemed to be causing things to get hung up in a loop when turned on.

I also had to adjust the rotation 180degrees so the ESP attached to the back of the screen was at the bottom instead of the top to fit it in the enclosure.

I use pin 5 to toggle the LED backlight.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here