Spark Logic

by-passing the arduino-e-ness?

zmemw16 Tue Sep 08, 2015 8:25 am

is it or will it be possible for users to access the HAL layer interface directly?

could we have a flag __HAL_CODE__ ?

it is perhaps not a good idea for libraries:–)

stephen

Replies

mrburnette Fri Jan 22, 2016 12:22 am

RogerClark wrote:

But, I had the same thought, however from what I’ve read, even if you use the command to set the WIFI_NONE mode (I think thats wha-t its called)… Apparently it still seems to run the Wifi hardware, as the current consumption doesn’t drop.
Not that this would necessarily cause problems in most cases

RogerClark Fri Jan 22, 2016 1:08 am

Ray.

I’d seen that posting when I was investigating the possibility of the Wifi interfering with the Bluetooth.

Re: Cost

Yes. Very cheap for a 80MHz processor with lots of memory (4M)

With the 12E I noticed it has SPI, but I’m not sure if that supply supported yet by Ivan (Arduino ESP8266), I wanted to hook up am ILI9341 but it looks the the previous examples didnt use he 12E’s SPI pins, it was just bit banging the GPIO (and I’m already using most of the ESP-12’s GPIO for LED’s and buttons. So attaching to the 12E’s dedicated SPI pins was attractive

BTW. I also wanted to possible use the ESP for a AC power dimmer, but I was concerned in case the overhead of the wifi would screw up the interrupts which occur at 100 times a sec for me (120 times a sec for you) and need to be handles straight away to control a Triac (via opto triac etc)

mrburnette Fri Jan 22, 2016 2:07 am

RogerClark wrote:
Yes. Very cheap for a 80MHz processor with lots of memory (4M)
<…>
With the 12E I noticed it has SPI, but I’m not sure if that supply supported yet by Ivan (Arduino ESP8266), I wanted to hook up am ILI9341 but it looks the the previous examples didnt use he 12E’s SPI pins, it was just bit banging the GPIO (and I’m already using most of the ESP-12’s GPIO for LED’s and buttons. So attaching to the 12E’s dedicated SPI pins was attractive
<…>

RogerClark Fri Jan 22, 2016 2:50 am

I think SPI is probably on Ivan’s to do list.

I must admit however that as those postings are about 9 months old, I’m surprised I have not seen any code published for hardware SPI

I guess I’ll need to stay with the bit banged version for the time being, just using the new ESP-12E pins

zmemw16 Fri Jan 22, 2016 11:29 am

if you look for adapter plates,you’ll find the 12E plate adapter doesn’t expose the short edge pins; all the adverts show the ESP12 variant.
sadly that’s what you get regardless, although i had placed the order with a message on the topic.

at approx 10p a pop, so now i’ve 20 of the bleep things.

there’s a comment in schematic i have using an ESP-12E, that those pins are dedicated to flash spi and not available to the user. not followed that up as yet.

srp

mrburnette Fri Jan 22, 2016 5:03 pm

zmemw16 wrote:if you look for adapter plates,you’ll find the 12E plate adapter doesn’t expose the short edge pins; all the adverts show the ESP12 variant.
sadly that’s what you get regardless, although i had placed the order with a message on the topic.

at approx 10p a pop, so now i’ve 20 of the bleep things.

there’s a comment in schematic i have using an ESP-12E, that those pins are dedicated to flash spi and not available to the user. not followed that up as yet.

srp

zmemw16 Sat Jan 23, 2016 12:19 pm

@Ray
nice pictures. looks like your 12E is already soldered to the plate.

however mine aren’t, first guess for me would be … …
tin and solder fill as above. bend header pins as required, (?) right angle header, minor snipping on inner pins(?) and twist pins (?)
so insert header into breadboard, find a packing piece, align and orientate the module.
tack preferably the outer pair.
continue as suggested as above

i’ve just raised an applicable topic in General Discussion ;)

stephen

Sign in to reply