Notifications
Clear all

Mega plus board with ESP 32

164 Posts
7 Users
96 Likes
8,719 Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7026
 

@dastardlydoug Let me put it another way in order to either help me understand or to educate you, at this point I don't know which of us is misunderstanding.

Assume your app has code that conbceptually does the following.

if temperature > SomeTarget

  turn on a fan

That requires 2 pins, one for the temp sensor and one for the fan.

That code can be executed on either an arduino mega or an esp32. Look at the IDE Tools/Board assuming you have used the Tools/Board/Boards Manager to install support for the ESP family by adding the following to the preferences. See attached pics.

Screen Shot 2022 05 26 at 17.36.21
Screen Shot 2022 05 26 at 17.36.07

 

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


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

@dastardlydoug Remember the mega isn't supported in the cloud. YES you could use some sort of board to board protocol to make use of it but it would be less than ideal especially when there are standard ways to accomplish what you want with any of the ESP or Arduino supported boards. I assume you have a cloud account and have looked at what boards are 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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


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

Just a typical ESP32 AFAIK

IMG 20220526 173407

 I just want to use the Arduino IDE to make libraries, and code.


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

Here is the pinout of the Arduino Nano IoT33. Maybe 1 inch wide and 2" long. LOTS of pins and works in the cloud, in fact made for it hence the IoT name.

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


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

@zander 

The ESP32 is supported


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

Here is the pinout of the Arduino Nano IoT33. Maybe 1 inch wide and 2" long. LOTS of pins and works in the cloud, in fact made for it hence the IoT name.

Who am I going to leave all of this extra crap I bought when I die? 😆 

 


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

@dastardlydoug Yes, that's either a 36 pin or 38 pin esp32. Do you have a link to that relay block you showed us, I want to check something out.

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


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

@dastardlydoug Yes, I said the esp8266, esp32 and that handful of arduino boards are 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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


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

@dastardlydoug You think you have a lot, you should see mine and I am 80.

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


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

@dastardlydoug Yes, that's either a 36 pin or 38 pin esp32. Do you have a link to that relay block you showed us, I want to check something out.

"https://www.amazon.com/dp/B08RS9LRH2?ref=ppx_yo2ov_dt_b_product_details&th=1"

 


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

@dastardlydoug Yes, that's either a 36 pin or 38 pin esp32. Do you have a link to that relay block you showed us, I want to check something out.

These are the ESP's I purchased

"https://www.amazon.com/dp/B09J95SMG7?ref=ppx_yo2ov_dt_b_product_details&th=1"

 


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

@dastardlydoug What devices do you plan on connecting to those relays?

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


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

@dastardlydoug Those esp32's do not have an external antenna so make sure the router is close. Lot's of pins on one of those, 2 spares.

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


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

@dastardlydoug What devices do you plan on connecting to those relays?

My 4 water pumps (12v) Got 8 relays in case I get more planters.

I may put my 2 waterproof fans on it also.

I still need to monitor pH and water temp in holding tank.


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

I went ahead and bought a Nano. 😑 


   
ReplyQuote
Page 4 / 11