General > General Technical Chat

I feel.... Dirty...

<< < (3/8) > >>

james_s:
You don't have to use the Arduino IDE, the Arduino hardware is little more than a breakout board, you can program them bare metal with gcc if you want.

I've always used the Auduino platform to program ESP8266 and ESP32 parts, it works great, it's just so easy to throw something together.

JPortici:
What's the stuff against ESP32? can't you just use their IDE and write C/C++ and not that platformIO monstruosity?
Not that i would see a reason to use an AVR while i have my trusty and rusty PIC18 at my side, but if you need 5V IO there are also options from ATMEL (ATSAM C20/21) and some kinetis from NXP (don't remember the family number, but look for "white goods" in the description)

Ed.Kloonk:
Incoming wall of text. Sorry.

A few years ago when I could foresee myself having some time on my hands  ;) , I did weigh up Ardruino vs. going somewhat deeper into rolling custom boards with more exotic, specific micros.

I had a bucket list(!) of home projects and after considering each one, realized that the Ardrino family satisfied the needs mostly, the big lure was the fact that if I run a standard board across all projects, I could cannibalize, at a pinch, if things failed.

And the mature programming interface. I knew that what ever Linux I happened to be on, I could plug in the board and have it connect. As a novice lacking only in experience, quick research indicated that the big micro suppliers would fall short for rapid application development, due to the complexity and inconsistency.

Coming out the other side, the only thing I'm dirty about is that we didn't have this fancy stuff when I was a little bloke. However, where I feel the need to speak up in these discussions is I still haven't found a reason, except for hardware limitation, why any of the Pro eco-systems are worth bothering with.

Any of the big chip makers could have owned the Arduino market. Yet, silly marketing wank and competitiveness has prevented them still from lowering themselves to create a simple, compelling turn-key solution to attract an audience who might like to get into mircos which might actually be greater than the existing number of rusted-on users, I'd wager.

What do you think?

tooki:

--- Quote from: MarkS on April 29, 2023, 12:26:19 am ---
--- Quote from: daqq on April 28, 2023, 12:22:12 pm ---If you are using an ESP32 and feel clean you should see someone about that ;)

--- End quote ---

 :-DD Fair enough! They are more powerful than the average Atmel chip found on an Arduino, but they do leave a lot to be desired.

--- End quote ---
Other than more GPIOs, what are they lacking? (For typical applications.)

Does anyone else make an MCU with built-in Wi-Fi and Bluetooth? If so, at what price? That's the ESP32's big selling point IMHO. The only other thing that comes to mind is the Raspberry Pi Pico W board (which uses a separate Wi-Fi chip).


--- Quote from: MarkS on April 29, 2023, 12:26:19 am ---Now if ST would just START PRODUCING CHIPS!!! |O

--- End quote ---
Yeah. That's another reason I've embraced the ESP32: they've maintained availability!


--- Quote from: MarkS on April 29, 2023, 12:26:19 am ---
--- Quote from: tooki on April 28, 2023, 01:37:53 pm ---Can’t you just run the other parts at 3.3V?

--- End quote ---

Unfortunately, in my current situation, no. I'm struggling with with getting the SST 39SF040 flash chip to work. I'm fairly certain the issue I'm having is one of timing and it only runs at 5v. Between the level shifters, IO expanders and slow as crap I2C bus, I'm getting nothing but problems. I'm going to remove the crap and connect directly to the chip.

--- End quote ---
Gotcha, makes sense.

But would it not be better, for the long term, to choose a 3.3V capable memory chip instead? There are 3.3V-compatible versions of your chip, the SST39LF040 and SST39VF040.

If you're using I2C now as a workaround, could you use an SPI Flash chip or I2C EEPROM? Then you wouldn't need to worry about large amounts of GPIOs. ESP32's have several SPI buses, so you could likely dedicate one to Flash if need be. (Or get an ESP32 model with more Flash memory to begin with?)

tooki:

--- Quote from: JPortici on April 29, 2023, 05:36:17 am ---What's the stuff against ESP32?

--- End quote ---
Yeah, I don't understand why some people are against ESP32. It's not suitable for all applications, but overall it seems pretty good.


--- Quote from: JPortici on April 29, 2023, 05:36:17 am ---can't you just use their IDE and write C/C++...

--- End quote ---
Yup. Though it's a primarily command-line thing, so it's usually used from within a full-featured graphical IDE like Eclipse or VS Code.

When using ESP32 with Arduino, the entire ESP-IDF libraries are used in the background (ArduinoCore basically runs atop FreeRTOS), so you can also use ESP-IDF commands if you want.


--- Quote from: JPortici on April 29, 2023, 05:36:17 am ---...and not that platformIO monstruosity?

--- End quote ---
What's wrong with PlatformIO? It seems to work really well for a huge number of people.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod