Jump to content

Sharif

Member
  • Posts

    3,961
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Sharif reacted to OneMember in Worms Revolution Gold Edition FREE on GOG December 27th   
    Us older generation knows worm-on-worm war never ends!
  2. Like
    Sharif reacted to shadow_ray in Plant monitoring system Pi zero - back end advise <python>   
    No, mongo is fine
  3. Like
    Sharif reacted to AndreiArgeanu in Plant monitoring system Pi zero - back end advise <python>   
    Not relevant to the programming part of the project but it's worth knowing the YL-69 is a resistive soil moisture sensor from what I could find which isn't great especially given that a capacitive one basically costs the same now. First issue is soil moisture detected by the sensor can be affected by fertilizers and the second issues being the most important one is that the resistive soil moisture sensor will corrode over time due to the way it works and as a result the data you collect will become erroneous over time to the point where you won't even be able to take a reading any more. If you already bought/have this sensor then it's fine, it's just worth considering switching it for a capacitive one if you want to use the device long term.

    If you want to know more, this video goes in good depth about this.
     
    The DHT11 is a decent sensor and it's suitable for this project, but if you haven't bought it already, I would suggest going for an I2C temperature sensor.
    https://learn.adafruit.com/modern-replacements-for-dht11-dht22-sensors
    There's this article from adafruit which explains the problems with the DHT11 and DHT22 sensors and shows you alternatives like the AHTXX sensors (AHT10, AHT20, AHT21). Adafruit sells the AHT20 in a PCB package, capsule package like the DHT11 and DHT22 and wired capsule like the AM2302. And you can find them on aliexpress as well but the PCB model requires soldering. If you want the capsule package similar to DHT11 that doesn't require soldering you'll have to search DHT20 on aliexpress instead of AHT20.
     
    The AHTXX chips beside their I2C interface which makes them much more easier to read than the DHT11/22 also have a number of improvements such as lower power consumption, higher temperature range, higher temperature and humidity resolution, higher temperature and humidity repeatability, higher temperature and humidity accuracy, lower prolonged drift and a wider range of operating voltages.
  4. Like
    Sharif reacted to shadow_ray in Plant monitoring system Pi zero - back end advise <python>   
    Exactly 🙂
     
    Even if you save a measurement in every 15 minutes that's 4 * 24 * 365 = 35 040 data point/sensor, which is not a lot of data. Times series databases are optimized for this kind of workload. Usually u don't need this much resolution for a graph and these databases can calculate averages (and many other things) for you. So when you watch a yearly overview then 365 data points are more than enough. But if you interested to see data from a specific day then you can just query every original data point from that time period. This might be overkill for a small project that uses 1 or 2 sensors, but I just wanted to let you know that these things exist, in case you are interested.
  5. Funny
    Sharif reacted to Zalosath in Plant monitoring system Pi zero - back end advise <python>   
    Oh I know the feeling, controlling a motor with a button on a breadboard was one of my first experiments, in no way was it mentally demanding but it was great to play with, even came with some blades that would fly off when the motor got fast enough, good fun.
     
    Node.js express is pretty useful, set up a database within it, use a little script on the website to fetch the data and plot it to your hearts content. Your python app can push data to the database whenever you fancy and you can let the website handle the updates. 
  6. Like
    Sharif reacted to shadow_ray in Plant monitoring system Pi zero - back end advise <python>   
    // server endpoint for saving measurement data app.post('/sample', auth, (req, res, next) => { const received_data = req.body; console.log(received_data); // body can be JSON string XML whatewer u want // validate the request // make sure it's coming from your device // (it should be an auth middleware) //save data to DB let db_result = save_to_db(received_data); // use whatewer db u like if(!db_result) res.status(201).send("yeeee, data saved") else res.status(500).send("hellnooo, something went terribyl wrong") }) Server side would look something like this.  Postman is a great tool for sending requests with dummy data for testing purposes.
  7. Like
    Sharif reacted to Zalosath in Plant monitoring system Pi zero - back end advise <python>   
    Cool project idea. Love little IoT devices.
     
    I think you've got a pretty good plan there. I would start with getting the moisture sensor working, write some code to parse the data from the sensor and see if you can get some meaningful information out of it. LEDs should be easy from there. I don't know how you plan to run your website but personally I'd use a database of some kind, storing date and moisture content, your website can fetch this data every 30 minutes like you wanted, I would send the data every time you take it, I assume once a minute? 1440 readings per day, and obviously adjust according to traffic. But you can always just store up the data and send it every 30 if that's what you'd prefer. 
     
    I'll leave the website design to you, not much of a HTML/CSS/JavaScript person. 
  8. Funny
    Sharif reacted to lewdicrous in Are we pirates?   
    This guy taught me, and others, how to be pirates.
  9. Like
    Sharif reacted to laslars in Pro tech tip for removing resonating noise from AIO   
    Corsair AIOs come without any rubber thingies or vibration dampeners at all (which might not even help, since the fans also resonate when not even mounted to the radiator).
    Putting some rubber or something absorbant behind the fans, so the backsides are flush against something solid is the only thing that helps🙂
  10. Funny
    Sharif reacted to Imbadatnames in Do you Americans/Canadians ever drive manual cars?   
    Idiotic drivers are enough to keep me thinking tbh 😉
  11. Like
    Sharif reacted to Heliian in Do you Americans/Canadians ever drive manual cars?   
    Manual transmissions are good for small, cheap cars that are underpowered and race vehicles. 
     
    In Canada, there is no different licence for manual or auto so it doesn't matter in regard to the OP.  
     
    I highly recommend learning manual gear shifting as it will give you a better understanding about the vehicle and it gives you a basic knowledge if you ever want to drive anything manual including but not limited to: motorcycles, Ag tractors, classic cars, race cars and lorries.  
  12. Agree
    Sharif reacted to Skiiwee29 in Do you Americans/Canadians ever drive manual cars?   
    Everyone should learn how to drive a Manual. 
  13. Like
    Sharif reacted to BYOGamingPC in 2021 Holiday Deals Compilation   
    Thought I'd share my personal annual deals compilation list again for anyone interested. Feel free to share.
     
    https://docs.google.com/document/d/1DANKyvYtv3wDL3Bb0QvUNE2UErbc1C6UiXjHK0_Qnw4/edit?usp=sharing
  14. Funny
    Sharif reacted to Nathan5660 in 3 monitors breaks GPU drivers   
    Ive dicked about with so many drivers now i think legally i qualify as a software engineer XD
  15. Like
    Sharif reacted to WkdPaul in [CANADA] [multiple retailes] Logitech G604 on sale for $60 CAD   
    It's not mandatory, I use it on other PCs than my desktop at home and all the buttons and functions work fine without it. Only reason you need it is to change the mapped buttons that are saved in the mouse memory.
  16. Like
    Sharif got a reaction from WkdPaul in [CANADA] [multiple retailes] Logitech G604 on sale for $60 CAD   
    tempting to get away from cables forever and I can bring that around with me too  >.>
     
    I'd still have cable from my keyboard remaining but that's not going anytime soon so until I convince myself next year
  17. Like
    Sharif reacted to SquintyG33Rs in HDD SMART health? Should I be worried?   
    hard to say, both reliable brands but i know there's sometimes fishy stuff happening on specific SKU as far as i'm aware these are the usual no specific issue. i'd just get the cheaper of the two.
  18. Like
    Sharif reacted to BondiBlue in HDD SMART health? Should I be worried?   
    2TB drives are cheap, so if it's making concerning noises then I'd go ahead and just replace it. It's cheaper than recovering lost data. 
  19. Like
    Sharif reacted to SquintyG33Rs in HDD SMART health? Should I be worried?   
    if it's making noises yeah i'd replace as soon as possible. SMART doesn't exactly cover everything and it's also not standard (different drives report different metrics) so really the noise is much more worrisome than the SMART
  20. Like
    Sharif reacted to Helpful Tech Witch in Choosing a Raspberry Pi starter kit (Gardening)   
    om not sure. The only pi ive ever worked with was a pi4 that i use for emulation so im not much of a help.
  21. Like
    Sharif reacted to Helpful Tech Witch in Choosing a Raspberry Pi starter kit (Gardening)   
    it would probably only need ot be a pi 0w. (the w model comes with wifi) 
    it doesnt hacve to be fast for this
  22. Like
    Sharif reacted to PlayStation 2 in .BMP Support?   
    Literally how inconvenient is it to spend 10 seconds to convert an image yourself? You'd be waiting about the same amount of time for this forum to convert an image, anyways. 
    Sincerely, someone who's posted many 10+MB images to this forum before.
  23. Funny
    Sharif reacted to flibberdipper in .BMP Support?   
    Correct, this is in fact such a massive inconvenience that I could have made 14 dollars in the time it took me to convert this image.
    DooyF1KvJE.mp4
  24. Like
    Sharif reacted to PlayStation 2 in .BMP Support?   
    Seems a bit superfluous when PNG exists, no? I get the desire to upload images as-is, but it just seems rather wasteful to even go down the BMP route for uploading... unless the site offered a conversion of the images to PNGs...
  25. Funny
    Sharif reacted to CommanderAlex in When will the 3080 be back in stock   
    Let me just grab my crystal ball out and rub it and see what it tells me!!!
     
    All jokes aside, use a bot that is available that will tell you when they come in stock across different websites or constantly check back. Also, if you're looking for EVGA cards, use their queue feature from EVGA's webstore so that they can hold a card for you and let you know they will keep it reserved for you for the next couple of hours (8 or 12 hours I believe). 
×