Code Monkey home page Code Monkey logo

Comments (18)

graham22 avatar graham22 commented on May 24, 2024

I used the anemometer from Aidafruit and measured the output (0.4V to 2.0V)
You can use diptrace to view the full schematic (NanoTracker L298 L7805 NoPOT V7.dch)

from skyetracker.

thijstriemstra avatar thijstriemstra commented on May 24, 2024

thanks for the feedback. I ordered one of these, hopefully it'll work out https://www.ebay.com/itm/12V-24V-Wind-Speed-Sensor-Voltage-Signal-Output-Anemometer-Fit-for-Outdoor-Use/201249466834

The idea is to create multiple solar controllers so I guess I'll only need one and supply that data to multiple arduinos somehow.

Also ordered the other parts from your list. Will first try to setup everything using one of these controllers: https://www.ebay.com/itm/Dual-Axis-Solar-Tracking-Tracker-Controller-for-PV-Solar-Panel-System-Sun-Track/191406191627

And then move the system to Arduino. If I end up using your code I will try to contribute a web interface. I guess this will need an ESP32 module running a webserver? I'm new to Arduino. Or an ESP32 running the webserver and arduino feeding it data?

from skyetracker.

graham22 avatar graham22 commented on May 24, 2024

I"m also working on a ESP32 implementation of the tracker, all you would need is an ESP32 dev board with a motor controller like this one.
The code is under code/ESP32/SkyeTracker in github, i used VSCode with the PlatformIO plug in

from skyetracker.

thijstriemstra avatar thijstriemstra commented on May 24, 2024

I added a parts list on the wiki page: https://github.com/graham22/SkyeTracker/wiki

can you check if this is correct? and I couldn't find any bluetooth references in the Arduino sketch (yet), is this correct and is it only used in esp32 version, or did i miss the references in the code?

from skyetracker.

graham22 avatar graham22 commented on May 24, 2024

from skyetracker.

thijstriemstra avatar thijstriemstra commented on May 24, 2024

the esp version doesn't need the HC-06 or the RTC

I still see references to the ds1307 in the esp32 code though, e.g. https://github.com/graham22/SkyeTracker/blob/master/code/ESP32/SkyeTracker/src/Configuration.cpp#L4

And also a hc-06 reference, but I can see how it's a simple string and not tied to implementation: https://github.com/graham22/SkyeTracker/blob/master/code/ESP32/SkyeTracker/src/main.cpp#L143

from skyetracker.

graham22 avatar graham22 commented on May 24, 2024

from skyetracker.

thijstriemstra avatar thijstriemstra commented on May 24, 2024

I should rename the define to STORAGE_SIZE

I will take a look and open a pull request.

from skyetracker.

graham22 avatar graham22 commented on May 24, 2024

from skyetracker.

thijstriemstra avatar thijstriemstra commented on May 24, 2024

sounds good. I've ordered a new ESP32, but have others if this one might cause issues somehow: https://www.ebay.com/itm/ESP-32-ESP32S-Development-Board-2-4GHz-WiFi-Bluetooth-Antenna-CP2102-Module/152479854433

What specific ESP32 device are you using?

from skyetracker.

thijstriemstra avatar thijstriemstra commented on May 24, 2024

I see the anemometer vars are hardcoded in Anemometer.h:

//Anemometer Technical Variables
//The following variables correspond to the anemometer sold by Adafruit, but could be modified to fit other anemometers.
#define voltageMin .4 // Mininum output voltage from anemometer in mV.
#define windSpeedMin  0 // Wind speed in meters/sec corresponding to minimum voltage
#define voltageMax 2.0 // Maximum output voltage from anemometer in mV.
#define windSpeedMax 32 // Wind speed in meters/sec corresponding to maximum voltage

I'll be using different values so can this be moved to build_flags in platformio.ini?

from skyetracker.

graham22 avatar graham22 commented on May 24, 2024

from skyetracker.

graham22 avatar graham22 commented on May 24, 2024

from skyetracker.

thijstriemstra avatar thijstriemstra commented on May 24, 2024

Let me figure out how to do that. Can you also take a look at pull request #4?

from skyetracker.

thijstriemstra avatar thijstriemstra commented on May 24, 2024

I should rename the define to STORAGE_SIZE

Opened pull request #6 for this.

from skyetracker.

graham22 avatar graham22 commented on May 24, 2024

from skyetracker.

thijstriemstra avatar thijstriemstra commented on May 24, 2024

BTW, the ESP version has support for MQTT that is not implemented in the Arduino version

Very cool, can't wait to try it out, the actuators arrive thursday.

from skyetracker.

thijstriemstra avatar thijstriemstra commented on May 24, 2024

We should also make a separate wiki page for the arduino and the ESP32 since the ESP is 3.3 volts, it should not be used with a regular L298

Created separate wiki pages:

from skyetracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.