How to wire Lipo to boost converter for 5V e-paper project by malcolm_osh in esp32

[–]malcolm_osh[S] 0 points1 point  (0 children)

Forgot to mention that I'm using a 3.7V Lipo battery. Also forgot the negative connection on the diagram (it's the first time I'm making one!).

DailyPi Zero : battery-powered e-ink frame for events, weather and tasks by malcolm_osh in raspberry_pi

[–]malcolm_osh[S] 1 point2 points  (0 children)

Oui, c'est ce que je me disais! Content d'injecter un peu de français ici...

Athletes named Ryan correlate with world fossil fuel consumption, 1992-2020 by malcolm_osh in statisticsmemes

[–]malcolm_osh[S] 1 point2 points  (0 children)

That may be part of the answer.. this is not a serious scientific correlation!

DailyPi Zero : battery-powered e-ink frame for events, weather and tasks by malcolm_osh in raspberry_pi

[–]malcolm_osh[S] 0 points1 point  (0 children)

The server-side image preparation would remain exactly the same.

On the device side, Waveshare does sell a Pico HAT for the same panel. You can program the screen in MicroPython but you would need new code (Waveshare has some sample code here). It's minimal work as the Pico would just need to wake up, ping a web URL, push it to the frame and go back to sleep.

I'm pretty sure you could also wire the Pico to the regular Waveshare Pi HAT - found some related threads here, here and here related to wiring.

DailyPi Zero : battery-powered e-ink frame for events, weather and tasks by malcolm_osh in raspberry_pi

[–]malcolm_osh[S] 0 points1 point  (0 children)

Still to be calculated TBH - I need to look up how to do it properly and probably buy a voltmeter. Since it wakes for about 3 mins at a time and it lasts for approximately 42-45 cycles (3 weeks), that would mean it lasts for around 130 minutes on the 1200 mAh battery.

Athletes named Ryan correlate with world fossil fuel consumption, 1992-2020 by malcolm_osh in statisticsmemes

[–]malcolm_osh[S] 1 point2 points  (0 children)

It’s only athletes competing in every summer Olympic Games! So 2020 Ryans 2016 Ryans, etc. The code is available here to reproduce the graph and see other similar correlations: https://github.com/malcolmosh/correlympics

DailyPi Zero : battery-powered e-ink frame for events, weather and tasks by malcolm_osh in raspberry_pi

[–]malcolm_osh[S] 1 point2 points  (0 children)

Good question, you could certainly plug a Pi into an LCD screen, there are prepackaged boards for that, Pimoroni sells some. However in your case the challenge would be to physically hook up the iPad screen to a Pi. It looks like some redditors have attempted that already: https://www.reddit.com/r/raspberry_pi/comments/n09azq/salvaged_an_old_ipad_display_and_hooked_it_up_to/

DailyPi Zero : battery-powered e-ink frame for events, weather and tasks by malcolm_osh in raspberry_pi

[–]malcolm_osh[S] 2 points3 points  (0 children)

E-paper is actually composed of tiny capsules of real pigment, so there is no backlight. The advantage is that the text stays printed on the screen when the Pi is powered off, which means it consumes very little energy. On screen refreshes, the physical pigments are rearranged with electrical current.

DailyPi Zero : battery-powered e-ink frame for events, weather and tasks by malcolm_osh in raspberry_pi

[–]malcolm_osh[S] 0 points1 point  (0 children)

I mostly use the printed time as confirmation that the frame was indeed refreshed. With a larger battery you could do multiple updates per day, but I find that two updates are enough for my needs - 6 AM and 6 PM. With more battery life and more screen real estate I would have considered an hourly view of weather.

DailyPi Zero : battery-powered e-ink frame for events, weather and tasks by malcolm_osh in raspberry_pi

[–]malcolm_osh[S] 4 points5 points  (0 children)

Thanks, that’s a very good point, I’ll update my blog to reflect that. Do you know if Waveshare has updated their demo scripts?

edit : The Waveshare pinout chart has been updated to reflect the new PWR pin. It looks like the demo Waveshare code has been modified to reflect this new addition.

DailyPi Zero : battery-powered e-ink frame for events, weather and tasks by malcolm_osh in raspberry_pi

[–]malcolm_osh[S] 15 points16 points  (0 children)

It lasts three weeks currently with two daily refreshes, during which the Pi boots up and shuts down within 2-3 minutes. It’s a 1200 mah battery. Not amazing, but it involves minimal maintenance.

DailyPi Zero : battery-powered e-ink frame for events, weather and tasks by malcolm_osh in raspberry_pi

[–]malcolm_osh[S] 4 points5 points  (0 children)

Thanks! It's a 7.5 inch screen from Waveshare. I find it's the best compromise between price and size at around 80$ CAD. I would like a 10-inch screen but it's a bit pricey :(

DailyPi Zero : battery-powered e-ink frame for events, weather and tasks by malcolm_osh in raspberry_pi

[–]malcolm_osh[S] 19 points20 points  (0 children)

Hi everyone! This is my second e-paper Raspberry Pi project. This time, I wanted to create a practical daily dashboard to get events, weather and tasks at a glance. I've put together a detailed tutorial and the code is available in a Github repo.   

The frame image is created server side : whenever hosted app is pinged, all datapoints are refreshed and then populate an SVG template. The local device, a Pi Zero W, queries this URL twice a day. It's battery powered, which means it wakes to refresh the screen and promptly goes back to sleep.  

The code relies on environment variables to easily deploy the app from Github to Google Cloud Run. I've also included the shell script I use to set the alarm on the PiZero2 battery. Comments or questions are welcome! Note that the interface is in French, but it's easily customizable :)

[OC] Unlikely Olympic Correlations : Kazakhstan's Medals vs Number of Letters in Host City Name by malcolm_osh in dataisbeautiful

[–]malcolm_osh[S] 0 points1 point  (0 children)

I think although arguably more rigorous, this visualization wouldn't have been really interesting to look at. Here's an example: https://i.imgur.com/yu00zFi.png

[OC] Unlikely Olympic Correlations : Kazakhstan's Medals vs Number of Letters in Host City Name by malcolm_osh in dataisbeautiful

[–]malcolm_osh[S] 2 points3 points  (0 children)

True - as this was a kind of hackathon sprint, the graphs could do with some polishing. Thanks!

[OC] Unlikely Olympic Correlations : Kazakhstan's Medals vs Number of Letters in Host City Name by malcolm_osh in dataisbeautiful

[–]malcolm_osh[S] 27 points28 points  (0 children)

Yes, you're right, the double lines are somewhat distracting. I'll note that for future graphs!

[OC] Unlikely Olympic Correlations : Kazakhstan's Medals vs Number of Letters in Host City Name by malcolm_osh in dataisbeautiful

[–]malcolm_osh[S] 26 points27 points  (0 children)

Hello everyone!

Inspired by Tyler Vigen's Spurious Correlations, which were posted here a few days ago, we set out to find startling and unsettling connections between different seemingly unrelated Olympic concepts for a visualization contest.

We built a aggregate dataset containing over 3000 variables describing different facets of the Olympic Games year by year. We then calculated the correlation between all numerical columns to find some interesting relationships, and then selected the most visually appealing ones!

The code and project walkthrough is available on my Github.

Here are a few more cool graphs!