r/ArduinoProjects • • Mar 19 '20

Covid-19 Dedicated Display

Post image
265 Upvotes

36 comments sorted by

46

u/MainRotorGearbox Mar 19 '20

Anxiety in a box. Quite convenient.

Pretty cool project though. I wonder if i could do this with the weather and pollen numbers. Where’s it pulling the data from? And how?

18

u/fil1983 Mar 19 '20

The display is connected to a nodemcu and just pulling the data over wifi using some random API I found so numbers may not be accurate, but since no one has tests for these cases, the numbers are going to be skewed no matter what. It’s more just to remind myself to never go outside again.

4

u/heidenbeiden Mar 20 '20

A company just released like 200,000 tests and supposed to make like 1 million a week starting by the end of the month.

15

u/fil1983 Mar 20 '20

That means I’m going to have to change my variables from int to long.

Programming humor. High five.

9

u/andymk3 Mar 19 '20

Nice.

Your nozzle is either too far from the bed or you are under-extruding though.

5

u/fil1983 Mar 19 '20

Thanks for the tip. I’m waiting on a new spool of PLA and will be performing a thorough calibration. I’d love to dial it in but it’s been printing “good enough” so haven’t messed with it. No time like a quarantine to get to it.

3

u/andymk3 Mar 19 '20

If you zoom in on your image, you can see all the gaps on the surface, they shouldn't be there. Watch your first layer go down, it should gently squash the filament onto the bed, so instead of a round bead, it goes down wider. Also calibrate your extruder steps, there's plenty of guides on that. What printer do you have out of interest?

2

u/fil1983 Mar 19 '20

I’m using a Prusa i3 mk3. I just watched their video that goes over common issues with printing and it seems like some of the adjustments will help with my issue. When I got it and got it to pass the auto bed leveling step, I just ran with it as is. I’m excited if I can get even better prints out of it.

3

u/bcuzitstrue Mar 20 '20

Just do the bed calibration or live bed tweaking while its printing. Best is the calibration, it will do a zig zag print, then just turn the knob till all the corners sticks firmly without getting pulled along. Boom. That’s basically it.

2

u/fil1983 Mar 20 '20

Sounds like a plan, thanks!

3

u/andymk3 Mar 19 '20

Ah, nice printer! With ABL it makes it even easier, you should have an option for Z-offset, you can tweak that on your first layer to get your nozzle a little closer to the bed and get a much nicer finish on your prints.

3

u/Gavin_152 Mar 20 '20

Kinda looks like the issue is on the second layer too, though. So it may be linked to the the extrusion width also. Hard to tell from afar ... just meant as a tip!

0

u/chopsuwe Mar 20 '20 edited Jun 30 '23

Content removed in protest of Reddit treatment of users, moderators, the visually impaired community and 3rd party app developers.

If you've been living under a rock for the past few weeks: Reddit abruptly announced they would be charging astronomically overpriced API fees to 3rd party apps, cutting off mod tools. Worse, blind redditors & blind mods (including mods of r/Blind and similar communities) will no longer have access to resources that are desperately needed in the disabled community.

Removal of 3rd party apps

Moderators all across Reddit rely on third party apps to keep subreddit safe from spam, scammers and to keep the subs on topic. Despite Reddit’s very public claim that "moderation tools will not be impacted", this could not be further from the truth despite 5+ years of promises from Reddit. Toolbox in particular is a browser extension that adds a huge amount of moderation features that quite simply do not exist on any version of Reddit - mobile, desktop (new) or desktop (old). Without Toolbox, the ability to moderate efficiently is gone. Toolbox is effectively dead.

All of the current 3rd party apps are either closing or will not be updated. With less moderation you will see more spam (OnlyFans, crypto, etc.) and more low quality content. Your casual experience will be hindered.

2

u/Dylpol Mar 21 '20

be cool if you included your state X/ that way you know how much anxiety you should be feeling X/

1

u/fil1983 Mar 21 '20

Anything above zero is full blown panic

2

u/Dylpol Mar 21 '20

you say this, but i find the mad anxiety threshold does increase as the numbers go up... and i run out of more toilet paper...

1

u/BA_humphrey Mar 19 '20

I love those fasteners. They are my favorite.

1

u/fil1983 Mar 19 '20

Socket head for life!

1

u/David_Westfield Mar 20 '20

Where are you pulling the data from. The news is challenging to find accurate data from since it is progressing so fast

2

u/fil1983 Mar 20 '20

Just a random endpoint I found searching for covid api. No idea how accurate this is.

1

u/Dylpol Mar 21 '20

yeah, to begin with I know there are a lot of hospitals pushing media suppression in my area alone, I live in florida and there are a lot of retirement communities and from what I understand hospitals have requested media outlets to not publicize the numbers but release confirmations of cases. Add in people not getting tested into the mix and it becomes a nightmare... that and conflicting numbers even within the same media outlets.... I wanted to write a simple python script that checks media outlets and pulls the highest number as a worst case assumption but haven't gotten to it yet.

1

u/[deleted] Jun 18 '20

Are you using some type of web scraping library or google API to get this information? Is it updating real time because your src code is using the given library/API from the covid19 data stream?

1

u/fil1983 Jun 18 '20

It’s just an API I found with a google search. This was early on so I’m sure there are better APIs now.

1

u/[deleted] Jun 18 '20

Was the API built for C? Or did you use something like cpython? I dont have experience with APIs using c++ or c lol

1

u/fil1983 Jun 18 '20

The api returns JSON that I parse. There’s a link to the code higher up in this thread.

1

u/[deleted] Jun 19 '20

https://covid19api.com/

is this a good API? is this a JSON API?

im a beginner to programming so i was wondering if you could tell me what you put in google search to find the random API you found. like how did you know what type of API to look for and how did you know it would use JSON and how did you know it would specifically return covid data??

1

u/fil1983 Jun 19 '20

The link you found seems like a great API for covid data.

JSON is the standard format for most APIs but there is also XML. It’s just the way the data (text) is formatted. The link you provided says the data will be in JSON format. The documentation for the API will tell you what data specifically it will give you and how you need to ask for it. Asking for data is just sending a request, for example, typing in google.com is sending a request for google servers to provide you with their homepage data which is formatted in HTML. Asking an API for something is just like that, only the address is different and the text they send back includes information formatted in JSON format.

Do a search for “what is an api” and “what is JSON” on YouTube and you’ll understand in no time. Every api is different so you have to learn the basics and even then, you’ll have to read the documentation for each api you plan on using as they will be different in how you ask and what they will give you.

3

u/[deleted] Mar 19 '20

Anxiety C4, BUT, it seems cool.

Make sure that you will stay home watching this lcd instead go out and spread more virus.

3

u/brarbirender Mar 20 '20

I wish we never have to make projects for such purposes in future.

1

u/FatherOfGold Jul 11 '20

Now you guys are getting 7 times the number of total cases you had then.

Per day.