|
What MCU are you looking for? I can't imagine nothing being available.
I'm not sure how many cookies it makes to be happy, but so far it's not 27.
JaxCoder.com
|
|
|
|
|
I would have to dig through countless datasheets, but I think it was one of the PIC16F18000 series.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
I'm looking at Mouser's site, at a through-hole PIC16F18325-E/JQ with 14k of flash and 1k of ram.
They're listed at $1.62 ea, packed in a tube. (and not delivered)
A few months ago, I bought 5 BluePill boards. They've got an STM32F103C8T6 onboard that's got 64k of flash, 20k of ram and run at 72mhz. They turned up on my door for $13.66
They're a 32 bit Arm Cortex-M3. Wish I'd bought em years ago.
2/5/10PCS STM32F103C8T6 ARM 32 Cortex-M3 Minimum System Development Board Module | eBay
EDIT: Honey has been using some ESP32 boards. They're cheap, faaast and have large memories. Built-in wireless too, if that's important. You're talking about 600 mhz, a meg of memory and still under half a dozen dollars. Can be prone to overheating.
modified 3-Jan-21 22:42pm.
|
|
|
|
|
The ESP32s have 520kB of ram, some reserved, but expandable via SPI PSRAM.
They run at CPU clock of 160Mhz 240Mhz, but SPI clock locked to 40Mhz for the external, although it's possible to get a bit faster than that with 4-bit SD readers in SD MMC mode because the ESP32 is aware of them. SPI RAM also has special provisions to make it faster (80Mhz I think?) That's my biggest bottleneck there - SD and display over SPI. It makes me want to get out and push. JSON(C++) runs at about 74kBps on my little esp32. i *might* be able to speed it up with buffered reads, but it didn't help on by desktop so i took that feature out, so it's possible that you might get better results with fread() than fgetc() - my pc didn't (surprising, i know). Anyway, SPI i/o is not great, so it's a chip to avoid if you want to do say, full speed writes on microSD cards.
They're immensely connectable - bluetooth, wifi, OTA (though bluetooth libs and OTA are each huge so you often have to pick one), and ESP-NOW radio comms. You really have nothing you can't interface with.
The arduino framework is somewhat limiting though. Once I broke out of it and started using FreeRTOS and the espidf directly it opened some doors. multithreading and taking advantage of the second core for example. it's possible to do under the arduino framework but none of the libs are thread safe so why bother?
I think I want to move to the arm platform for my next IoT widgets.
I will probably always love these little chips though.
Real programmers use butterflies
modified 4-Jan-21 10:04am.
|
|
|
|
|
|
I was thinking about getting some of those. I just don't have a use for it yet.
Oh and I said 160Mhz but I should have said 240Mhz. For some reason 160Mhz came up on the ESP forums and now I can't remember why but it stuck in my head.
Real programmers use butterflies
|
|
|
|
|
I don't s'pose you've tried one of the ESP32Cam packages around have you?
I've been thinking about slapping one into some flying r/c models and am curious about any gotchas.
|
|
|
|
|
Not yet. From what I've seen on the forums they can be difficult. Mostly getting the ESP32 to keep up if you're trying to store screens of the video onto SD and things like that.
But I suppose it depends on what you need to do with it.
Real programmers use butterflies
|
|
|
|
|
Oh, you're a champion. Thankyou so much.
Perhaps I'll just spend more. Funny that people tightarse on something like this, then eat takeout or in a restaurant. We can be such dummies.
|
|
|
|
|
Yeah that might be best. I'm not entirely sure how suited the ESP32 is to cam applications. Don't get me wrong, I know people have done it - I've seen it on reddit's esp32 forums, but like I said, it strikes me as difficult to get the ESP32 to keep up, and I think that's because of its SPI bus limitations.
Edit: Speaking of spending more, be careful what ESP32 devboard you get. I've had bad luck with Adafruit stuff despite it being pricier. I've had good luck with hiletgo's offerings, despite being "chinese junk" and so i've bought plenty of equipment from them. I also like the DOIT devkit board.
If you can find a WROVER model as opposed to the more common WROOM model it will net you 4 additional megabytes of flash though, for a total of 8MB
Real programmers use butterflies
|
|
|
|
|
Ooooh. That's another one against the mighty fruit machine, thanks. I'll keep avoiding them. Half the reason I'm playing with these things, is that they're dirt-cheap and ubiquitous.
To a degree, I actually get-off on buying the cheapest, nastiest chinese junk and wondering if it'll work while I await its delivery. It's a thrill that reminds me of childhood. I'm about to solder together a GSM modem module and see if I can send myself a text-message. It was $2.38 usd on my door! (And I've since read how it's a bit nasty!! )
WROVER vs WROOM flash size - goodie, thank-you.
|
|
|
|
|
I recommend some hiletgo gear then. The devboards are like $6. Also they sell things like 5 packs of SD-reader modules. Got them for $7 on amazon. Probably cheaper on bangood but i don't like waiting for their shipping.
I also found a 5 pack of some ESP32 nodeMCU clones - i don't remember the brand, for like $25 on amazon.
ESP32 chips themselves (not the devboard) usually come with 4MB. The 8MB and 16MB ones are custom order so they are more rare because the devboard manufacturers simply don't custom order those chips
I've only ever seen one 16MB dev board and it was in an arduino form factor i don't remember where i saw it. I also don't remember what espressif (the people that make the ESP32 chips themselves) call the 16MB version.
Good luck finding one.
I'd go with the WROVER though. 8MB is plenty, and easier to track down. WROOM is even good with 4MB. I haven't really needed more.
Real programmers use butterflies
modified 4-Jan-21 10:07am.
|
|
|
|
|
Thanks mate, you're worth your weight in Palladium.
|
|
|
|
|
You're quite welcome. I love those little things, and have been tinkering with them (now professionally too) for a little while, so i've learned a couple things about a couple things where they're concerned.
I'm always happy to share what I know.
Real programmers use butterflies
|
|
|
|
|
I bought a couple of the esp with camera a while back but haven't been able to play with them. My I want to do list is getting so long that my stickie app is running out of room on my monitor...time to get a bigger monitor?, ill put it on the list...if there's room.
I'm not sure how many cookies it makes to be happy, but so far it's not 27.
JaxCoder.com
|
|
|
|
|
Quote: I wanted to boot the Zwölf with a microcontroller, but was not able to get one anywhere. Why?
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
For simplicity and compatibility. The original ELF had no ROM and was started by entering the first instructions manually with switches or (luxury!) a hex keypad. A microcontroller could automate that and keep a ROM out of the memory map. On the original ELF this was only a theoretical luxury, but you had all of your RAM at your disposal at all times. With my modest memory expansion a ROM would be in the way even more because it would reduce the physical address space to map my expanded RAM into.
The microcontroller also has a programmable oscillator and could start the computer with several clock frequencies, including precisely the original clock frequency for the original graphics chip, overclocking up to about 14 MHz and anything inbetween. Even single stepping bus cycles or instructions would be possible. At the flip of a switch you can have the old Elf back again and run the old stuff.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
I understand that.
Actually my "why" was on the: "but was not able to get one anywhere" part.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Nobody seemed to have them in stock, leaving only FleaBay or China as an option.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
I've bought PICs from the local electronics shop before.
Sure, at many times the price of Mouser or Digikey.
But at 5 bucks, I didn't care since I was back home with one in under 25 minutes.
I don't bother with that malarky any more. I'd rather wait 3 weeks, then go from sealed envelope to my code running on a uC in under 2 minutes.
It might be an option worth considering.
Also, fwiw, I've always had success buying them from both China and Fleabay. The worst it has been, was discovering that some (most) BluePill boards have the wrong usb data line resistors - doesn't matter, I don't use em.
|
|
|
|
|
|
Only if you dress up as the Jabberwocky
|
|
|
|
|
For 1000 club card points I'd dress up as Attila The Hun!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Would it be oh-so-much trouble to explain what these club card points are/do/buy/win ?
In US, most supermarkets have a club card - it's primary purpose (most of the year) is to gather information about your buying habits by making scanning it a requirement for the best discounts (typically advertised as "with card" in small print near the price).
Now occasionally, like those which just passed, some cards accumulate spending totals between certain dates (excluding certain items, like beer, cigarettes) and give you some large food item if you spend enough (often tiered, as well). I've no use for a dead turkey or pig's buttocks, so I don't every get that award.
But what do you get for 1000 club points that would make you get up and change out of your work-from-home garb (Unless you normally dress as a hun)?
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
The Club card itself is - just as yours are - an info gathering system, but each time you use it to buy groceries, or fuel, or insurance, or ... whatever the supermarket provides ... the bill total gets added to a total, which is converted to points at a ratio of £1 spent == 1 point (except fuel where it's £2 spent == 1 point). Every three months those points are converted to a cash-equivalent voucher which can be deducted from a shopping bill (at a rate of 100 points == £1 discount). With the average family shop coming out are around £600 per month and with fuel costs, it can mean some good "not-quite-cash back".
1000 Club Card points is £10.
What can I say? I work cheap for a costume!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|