Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I have a tacklebox full of random chinese modules that cost under $2 each as well, but when you need two or three of them to make something work real quick they're worth the cost of at least 20 of the ones you never use. Once you have a working bit of code for each one you can throw together a lot of solutions pretty quickly.
I thimk I have a couple of st modules hanging around too, never got round to do anything with them, but I didnt know you can program them with the arduino Ide, I'll look in to that one.
Are the i/o pins markings logical, or is it like some other non duino boards the physical i/o pin numbers and the ide pin numbers dont match.
This might be useful to anyone starting with these:
Let us know how you get on Burt, I'm going to get a few of those next china order.
SVG guages look smart and are not hard to do.
One thing with the esp dont use client.print too much or it'll go sloow, either concatenate all your page data into one string and then just have one client.print, or better use client.stream, even better still an async stream which is about as good as the esp gets, you can see images loading a little slower than usual on my stuff, but its much quicker than anything else I've tried.
Spiffs is very handy esp on the 12e chip as found in the wemos.
The on-board LED is 'PC13' and is plenty bright on my "blue pill" boards. The scary part for me is how much memory is used just for the simple "blink" sketch.
I've been using **broken link removed** (see below) for programming both STM32 "blue pill" and cheapie STM8 boards. It's really painless. You don't have to mess with the STM32 board jumpers and you don't have to give up a big chuck of memory on the boards for a bootloader.
The nice "sale" prices I saw last summer seem to be starting again... and, how about that little STM8 board for little more than the cost of a postage stamp (16-MHz, 8K Flash/1K RAM/640 EEPROM)?
Hey Nige/peeps, the stm32 modules were on the doorstep today, so I'm gonna have a try and see if I can get the 'duino Ide to burn these things, will let you know if I get anywhere.
I notice there are 2 xtals on the board, one maybe for the uart?
Edit: Sussed, I managed to program one of these modules, I burned the blink sketch using the serial programming interface and it works, changing the flash rate works too.
Now to see if I can burn the maple bootloader to this device so I can use its Usb port to program it.
Looks like some of my 'duino projects are going arm 32 bit.
Aha Ok mike this chip has a built in Rtc, that'll be usefull, I'll look that up and see how to use it with the 'duino Ide.
The hackaday article was the most useful aid for this little test.
Burt the arduino Led_built_in has never failed for me, the Ide seems to know which is the correct pin, must be in the processor file.
On my windows xp pc I cannot get the Dfu drivers installed so I'm unable to use the onboard Usb serial device, this isnt surprising as my arduino M0 is the same.
So I can either use my win7 pc or this xp one with the Usb to serial dongle, kinda handy I can do that, the M0 only programs on the win7 computer which isnt always handy.
Having messed around for too long I've realised that if you get one of these program it with a serial adaptor, getting the thing to work with its Usb socket is well hard.
An original maple would probably be simple as it already has a bootloader / Usb driver pre loaded in the stm32.
Edit: Sussed it in the end I got it to program via Usb, a lot of sites you see on the web are written by people who presume you have the same knowledge as they do, while its useful for those to share with us such knowledge it can be really tricky to decipher, This wiki is what I used to get the bootloader into the virgin Stm32F1, it uses St's own software so it works: **broken link removed**
And this is where I got the Pc device drivers (which I dont think you need to bother with), its the hackaday article mentioned further up: http://hackaday.com/2017/03/30/the-2-32-bit-arduino-with-debugging/