Notifications
Clear all

Mega plus board with ESP 32

164 Posts
7 Users
96 Reactions
9,137 Views
Inq
 Inq
(@inq)
Member
Joined: 2 years ago
Posts: 1900
 

@dastardlydoug - Sorry, if you put a link to a Amazon page, it digs the picture out.  I don't know why the Share button goes to something Kindle.  If you press Preview button, it'll go to the Amazon page.

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi 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)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7173
 

@inq We don't see that. On this forum, do NOT post amazon links. Try a shortener or wrap the link in quotes.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Inq
 Inq
(@inq)
Member
Joined: 2 years ago
Posts: 1900
 
Posted by: @zander

@inq Correct, 2 or 3 pins can control a LOT of relays. Wait until you find out he already bought the hardware and it isn't cloud supported.

Not being cloud supported is no big deal... as he had already surmised, the ESP with software he/we can write will do that easily.  

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi 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)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7173
 

@inq ESP is supported, he has purchased an arduino mega that is not supported.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@dastardlydoug)
Member
Joined: 2 years ago
Posts: 68
Topic starter  
Posted by: @inq
Posted by: @dastardlydoug

From what I can see, the ESP32 has too few of anything, and just want it to make data available in the cloud.

Guys, I'm having trouble keeping up.  My Internet is running below 50 Kbits/sec.  After my last post, it took over 5 minutes to refresh the page.  Now I see you are on page 2 while I'm still processing through page 1.  I apologize if I ask something or answer something you've already covered, but you'll be on page 10 if I even look at page 2. 😆  

If I assume you have 8 relays to do 8 zones... I see why you might feel the ESP's can't cut it.  8 pins to measure moisture, 8 other pins to trigger relays.

Bare in mind, I'm a cookbook hardware guy... I can cook a mean project in a monkey see, monkey do kind of way.  Maybe a hardware type will chime in and suggest a better method.  On your other thread, someone mentioned using a Shift Register.  As I understand it, you hook up all your 8 sensors to the shift register and using just a couple of pins you tell the Shift Register to switch to sensor 1, query the sensor, then switch to the next sensor... so forth and so on... round-robin.

As for the relays... do you know if you have an I2C relay board or are all 8 individually triggered?

IMG 20220526 171748

All invividual


   
ReplyQuote
(@dastardlydoug)
Member
Joined: 2 years ago
Posts: 68
Topic starter  
Posted by: @zander

@inq ESP is supported, he has purchased an arduino mega that is not supported.

Hence the need to connect the two 😉 

The tricky part is that the ESP runs only on 3v

 


   
Inq reacted
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7173
 

@dastardlydoug What are the jumpers for?

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Inq
 Inq
(@inq)
Member
Joined: 2 years ago
Posts: 1900
 
Posted by: @zander

@inq We don't see that. On this forum, do NOT post amazon links. Try a shortener or wrap the link in quotes.

Are you saying there isn't a "Preview" button under the picture I posted?  If you press it, it goes to the Amazon page.

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi 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
(@dastardlydoug)
Member
Joined: 2 years ago
Posts: 68
Topic starter  
Posted by: @zander

@dastardlydoug What are the jumpers for?

On what?

 


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7173
 

@dastardlydoug Ok, I understand what you are saying now. If you run out of pins on the esp32 you can use the mega. So far I have not heard for a need for more than 6 to 10 pins.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7173
 

@inq Nope, see attached.

Screen Shot 2022 05 26 at 17.25.30
Screen Shot 2022 05 26 at 17.25.40

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7173
 

@dastardlydoug Your last picture of the relays, I see several banks of jumpers, I suspect they are important to the operation.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@dastardlydoug)
Member
Joined: 2 years ago
Posts: 68
Topic starter  
Posted by: @zander

@dastardlydoug Ok, I understand what you are saying now. If you run out of pins on the esp32 you can use the mega. So far I have not heard for a need for more than 6 to 10 pins.

That's not it at all Ron. I need to be able to run autonomous scripts, PLUS have the data sent to the cloud.

If I can do all that with just an ESP32, I would.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7173
 

@dastardlydoug That is exactly what an esp32 does. I was assuming you knew that you write some c code, and can then upload it to either an arduino or an esp32. It works the same on each board subject to pin assignments. In other words if there are enough I/O pins on the esp32 there is absolutely no need for any other boards.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@dastardlydoug)
Member
Joined: 2 years ago
Posts: 68
Topic starter  

@zander 

It wouldn't be as cool looking inside my fancy waterproof cabinet 🤣 

But recall that I said that I'm a complete noob in my welcome post 😊 


   
ReplyQuote
Page 3 / 11