Notifications
Clear all

Mega plus board with ESP 32

164 Posts
7 Users
96 Likes
3,286 Views
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4454
 

@dastardlydoug Those numbers make no sense. 25A at 120V is 3,000 watts so that is wrong. I think it's 120V at 15W. The problem here is Watts vs Volt Amps and PF. I think it's 120V at .25A so your 4 fans will use 1A out of 15 or 20 while the charger will use 0.5A. The extension cord is a winner!!!

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
(@eliza)
Trusted Member
Joined: 1 year ago
Posts: 81
 

@inq Thanks for that projecthub link. I had a look and found an intro to arduino assembly language programming which I will use.

Β 


   
ReplyQuote
frogandtoad
(@frogandtoad)
Noble Member
Joined: 4 years ago
Posts: 1506
 

@zander

Posted by: @zander

@dastardlydoug Those numbers make no sense. 25A at 120V is 3,000 watts so that is wrong. I think it's 120V at 15W. The problem here is Watts vs Volt Amps and PF. I think it's 120V at .25A so your 4 fans will use 1A out of 15 or 20 while the charger will use 0.5A. The extension cord is a winner!!!

I have researched the building of an off-grid system myself over recent years.Β  Of course, there are many online calculators available, but may assume 12 volts only, whereas going to a 24 or even 48 volt system can be cheaper due to reduced wiring costs, due to wire gauge requirements - The money and efficiency appears to be in the wire πŸ˜‰

Having said that however, those high capacity 2V Lithium batteries are worth an initial mint on their own, but likely worth it in the long run!

Cheers


   
Inst-Tech reacted
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4454
 

@frogandtoad Yes, if my 12VDC system was bigger I might have considered 24 or 48 but the pieces affected are basically all within arms reach and I used 4/0 cables. I know other folks in RV's that have used 24 or 48 but really question the wisdom of the savings on a few ft of wire vs conversion losses. I am not convinced it is an automatic goto decision to go that route. I am not even 100% comfortable I know all the tradeoffs and costing both in $ and Watts to do the calculations and determine the optimal solution. That is why I stayed with 12.

I am 57ish V on the feed from the panels to the MPPT controller however, that allowed me to use the existing wires from before when I was foolishly using old knowledge and was wired all parallel. Now I am 3S2P so (57V at 10A) x 2. My previous system was driving 30A down and the MPPT efficiency was impeded by that decision.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
Inq
 Inq
(@inq)
Noble Member
Joined: 12 months ago
Posts: 1017
 

I've received the sensor kit and have started playing around with it.Β  Although theΒ  moisture sensor was the major take-away, I wanted the kit, well... just because.Β  😉Β  However, I didn't really note in the Ad that the pumps are a submersible type.Β  I would have preferred a tube input/output instead ofΒ having to put them down in a tank is a pain.Β  This kit is really low volume and only really good for a house plant.Β  This is fine for my proof of concept to study the sensor.Β  But...

I've also studied my wife's "challenges" with the garden.Β  Her use case is probably different from @dastardlydoug andΒ IF she lets meΒ interfere with her hobby, I'd need to go about it differently.Β  I wanted to offer a different architecture than I proposed before.Β  I think we all have this mindset that using a bunch of MPU units is wasteful, mainly because "computers" were expensive.Β  These days... the major expense is wire or in @dastardlydoug case, a solar panel system and pumps!Β Β 

In my wife's case, the garden sits on a piece of our property about 500 feet away and about 50 feet lower than the house and any other AC power source.Β  Conveniently from a water supply view point, we have a stream that runs near the house.Β  Now, she has to walk down the garden, do her "one with the garden thing" and determines if it needs water or not.Β  IF it needs water, she walks up to the stream and drop a garden hose in and gravity feeds the garden.Β  When the garden is wet enough, she pulls the hose out and heads back up to the house.Β  Many trips, even if no water is needed, multiple trips up/down while watering... Hell, it wears me out just watching her.Β  😆

Here's the architecture for this.Β 

Moisture Node - I've read that an ESP01 can run for a year on a AA battery if it uses sleep mode effectively.Β  I'm thinking, checking soil moisture is perfect... checking it once an hour is probably overkill.Β  So a moisture node is simply a $1.50 ESP-01, a $1.50 capacitive sensor, a $1 DC-DC converter and a AA battery.Β  The sensor node wakes up, checks the moisture.Β  If it doesn't need water, it goes back to sleep for say... an hour.Β  If it needs water, it "requests" water and goes back to sleep for say... a minute.Β Β 

Watering Node - At the stream, I'd use another another ESP8266 to receive the request and it simply has a solenoid valve all powered by a small AC adapter.Β  When it gets a request for water, it opens the valve.Β  It sets say a 2 minute timer.Β  If it gets another request before the timer goes off, it resets the timer.Β  If timer expires, it closes the valve.Β Β 

I'm thinking, this might be motivational enough for her to accept my interference.Β  😉Β 

VBR,

Inq

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, Access Point Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4454
 

@inq Speaking as a gardener. Waking up to test for moisture, I would test 3 or 4 times a day between 6AM and 6PM.

Watering is dependent on species of plant but most benefit from less frequent bu deep watering.

I at one time contemplated automating my garden, but found mechanical timers and local knowledge were cheaper but also I was always there.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
(@dastardlydoug)
Trusted Member
Joined: 10 months ago
Posts: 68
Topic starter  

@zander

How much easier would it be to use the MKR Motor Carrier shield with my MKR 1010?

It has native support for 4 DC motors (in my case water pumps).

https://store-usa.arduino.cc/products/arduino-mkr-motor-carrier?selectedStore=us


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4454
 

@dastardlydoug Sorry Doug. I am classically trained, Requirements, Analysis, Design, Code/Implement. I can't just dive in at the implementation stage. Good luck.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
frogandtoad reacted
ReplyQuote
(@dastardlydoug)
Trusted Member
Joined: 10 months ago
Posts: 68
Topic starter  
Posted by: @zander

@dastardlydoug Sorry Doug. I am classically trained, Requirements, Analysis, Design, Code/Implement. I can't just dive in at the implementation stage. Good luck.

No worries.

I was just asking if you thought that it was a logical addition or not. Sorry 😉Β 

Β 


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4454
 

@dastardlydoug I can't venture an opinion since I have not gone through the process. If all you are asking is if the board will drive a motor then of course, but it has a lot of other stuff on that board. Maybe you should see what Bill used as his motor driver.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
Inq
 Inq
(@inq)
Noble Member
Joined: 12 months ago
Posts: 1017
 
Posted by: @zander

Speaking as a gardener. Waking up to test for moisture, I would test 3 or 4 times a day between 6AM and 6PM.

Not being one (gardener) I haven't the foggiest idea.Β  Does anyone have any actual experience with these sensors?... a graph, etc?Β  I'm wondering how fast does soil dry out.Β  I know... it would be highly specific depending on situation... how hot, how dry the climate, type of soil, how well drained... etc... ad nauseam.Β  I know my wife only waters house plants once a week or so... would this sensor go from 100% to say... 20% over that week.

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, Access Point Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4454
 

@inq I haven't used the sensors, but the same basic tech is available with a primitive meter head and I did try that. The only device that worked close to reliably was the temperature probe, the ph and moisture probes quickly fouled and required constant cleaning. I also had very little confidence in the accuracy and abandoned them in favour of other methods after a couple months.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
frogandtoad
(@frogandtoad)
Noble Member
Joined: 4 years ago
Posts: 1506
 

@zander

Posted by: @zander

@dastardlydoug Sorry Doug. I am classically trained, Requirements, Analysis, Design, Code/Implement. I can't just dive in at the implementation stage. Good luck.

You forgot "testing", "maintenance" and all the "arguing" LOL πŸ™‚


   
ReplyQuote
Ron
 Ron
(@zander)
Illustrious Member
Joined: 2 years ago
Posts: 4454
 

@frogandtoad Yes I did.

Arduino says and I agree, in general, the const keyword is preferred for defining constants and should be used instead of #define
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon
My experience hours are >75,000 and I stopped counting in 2004.
Major Languages - 360 Macro Assembler, Intel Assembler, PLI/1, Pascal, C plus numerous job control and scripting


   
ReplyQuote
Page 11 / 11