Spark Logic

Replies19

Tue Jun 02, 2015 9:02 pm

I think what the article describes, has been available for quite some time.

I hacked together some code about 5 months ago, for a prototype / demo IoT device for enviromental monitoring, which could be switched to and AP and ran a web server, which allowed the device to be configured.

After configuration was complete the code switched the ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog back to being a Station and connected to an AP and started to send data to a php script I set up for testing

I presume that the Arduino version of the code also has the same functions, though I did notice that there were issues with the web server on Arduino, as its web pages are compressed into a single data file, and the Arduino IDE seemed to have issues uploading multiple files. But that’s a different issue and the pages data could be uploaded separately / manually

Wed Jun 03, 2015 12:32 pm

RogerClark wrote:I think what the article describes, has been available for quite some time.
<…>

Wed Jun 03, 2015 2:23 pm

For me it resemble an ad-hoc connection.

Wed Jun 03, 2015 9:25 pm

Hi Ray

I wasn’t using the at command set, in order to use the AP, I was programming the device its self using the API into the OS.
At the time I had to use the special Linux VM to compile, but you can now do the same thing using the Arduino IDE.

Programming for the ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog is not the same as the STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog or ATMega devices, as your code just get called by the OS in response to events. I think the loop() function on ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog is actually called on a timer interrupt, so doesn’t get called as often as on AVRAVRMicrocontrollers and processors…Arduino\libraries\U8glib\U8glib.cpp, C:\Program Files (x86)\Arduino\hardware\arduino\ avr \cores\arduino\HardwareSerial.h, C:\Program Files (x86)\Arduino/Blink3.ino, D:\Users\me\A…View in hardware catalog boards etc

Thu Jun 04, 2015 1:16 am

zoomx wrote:For me it resemble an ad-hoc connection.

Thu Jun 04, 2015 1:23 am

Hi Ray,

I think the AT commands may be OK up to a point, but I didnt bother with them, after having a lot of problems with some older TLN13AU06 “UART wifi” boards

I have some code elsewhere on github I wrote for those older boards, but getting them to be a web server was a nightmare.

Apart from having to learn a new language (possibly), there is also the Lua firmware for ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog , which is actually quite a good option for small projects because they have compiled in a load of extra stuff so that (I think) there is built in web server, and other interesting things

Prior to the Arduino core, I had considered shifting one of my prototypes from using C to using Lua (but Id have to learn Lua)

Thu Jun 04, 2015 1:33 am


Prior to the Arduino core, I had considered shifting one of my prototypes from using C to using Lua (but Id have to learn Lua)

Yea, that was my thought although Nick Gammon is a big Lua fan:
http://www.gammon.com.au/scripts/?bbtopic_id=113

At-The-Moment, I’m more interested in “getting” from the net than serving up an IoT sensor. My thinking is immature at this time due to lack of experience. It is amazing at the time one must expend on this $3 board! Just look at the manhours in the $4 Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog .

Ray

Thu Jun 04, 2015 1:43 am

Perhaps its the cheaper the board, the longer it takes

Cheap boards seem to have less support from the manufacturer, which makes sense really, in terms of their profitability. – UNless its a big company doing a loss leader.

I suspect the ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog is going to be easier to get working than the Cypress PSoCPSoCMicrocontrollers and processors… choice depends on your own requirements. Note. You may also want to add the Cypress PSoC devices to the list as well, as although they are not programmed via the Arduino IDE, I t…View in hardware catalog

Thu Jun 04, 2015 12:24 pm

I suspect the ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog is going to be easier to get working than the Cypress PSoCPSoCMicrocontrollers and processors… choice depends on your own requirements. Note. You may also want to add the Cypress PSoC devices to the list as well, as although they are not programmed via the Arduino IDE, I t…View in hardware catalog

:lol: That has already proven to be the case! But for all the hassle, the PSoCPSoCMicrocontrollers and processors… choice depends on your own requirements. Note. You may also want to add the Cypress PSoC devices to the list as well, as although they are not programmed via the Arduino IDE, I t…View in hardware catalog 4200 redemption is in the analog fabric that can be constructed from the resulting VHDL… it is a glorious feeling to be able to drag and drop an OpAmy, drag and drop an Analog Mux and then wire this stuff up virtually, assign a pinout through the analog switch fabric… Vola…. flash the composition and continue.

Ray

Thu Jun 04, 2015 10:01 pm

Ray

I guess I really must bite the bullet with the PSoCPSoCMicrocontrollers and processors… choice depends on your own requirements. Note. You may also want to add the Cypress PSoC devices to the list as well, as although they are not programmed via the Arduino IDE, I t…View in hardware catalog at the risk of bricking it, as drag and drop analog circuits sound very appealing.

I guess if the worst comes to the worst, I’d just need to get hold of an external programmer for my PSoCs, ie if I stuff up including the bootloader.

Ps.
Which ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog do you have. If its the $3 one with 8 or 10 pins in two rows at one end, I’d recommend you put the bigger ones on order. E.g. Something lik the ESP07, as you get a lot more pins including ADC

Thu Jun 04, 2015 11:47 pm

RogerClark wrote:Ray

I guess I really must bite the bullet with the PSoCPSoCMicrocontrollers and processors… choice depends on your own requirements. Note. You may also want to add the Cypress PSoC devices to the list as well, as although they are not programmed via the Arduino IDE, I t…View in hardware catalog at the risk of bricking it, as drag and drop analog circuits sound very appealing.

I guess if the worst comes to the worst, I’d just need to get hold of an external programmer for my PSoCs, ie if I stuff up including the bootloader.

Ps.
Which ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog do you have. If its the $3 one with 8 or 10 pins in two rows at one end, I’d recommend you put the bigger ones on order. E.g. Something lik the ESP07, as you get a lot more pins including ADC

Thu Jun 04, 2015 11:55 pm

Ray

Thanks

I was wondering if I could program / upload using one of my many other boards ;-)

I have quite a few different programmers, e.g. JTAG clone, as well as an 80518051Microcontrollers and processors…mand language, interpreter written in macro-11 through any of the sub-systems(8031/2, 8051 /52), adc, dac, controlled power supplies, relay card types and STT’s, interfaces to iee…View in hardware catalog programmer (Texas Instruments) and of course stuff for AVRAVRMicrocontrollers and processors…Arduino\libraries\U8glib\U8glib.cpp, C:\Program Files (x86)\Arduino\hardware\arduino\ avr \cores\arduino\HardwareSerial.h, C:\Program Files (x86)\Arduino/Blink3.ino, D:\Users\me\A…View in hardware catalog , but none of them e.g. the JTAG seem to list the PSoCPSoCMicrocontrollers and processors… choice depends on your own requirements. Note. You may also want to add the Cypress PSoC devices to the list as well, as although they are not programmed via the Arduino IDE, I t…View in hardware catalog as an option.
Though I’ve just read that perhaps the JTAG (ARM) can do it, but not directly from the cypress IDE

So its good to know I can program one of my PSoCs as a programmer if necessary. I bought 4 and gave one away, so I have 3 left.

Re: ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog

I started off with the ESP01, but soon realised that it didn’t have all the pins broken out that you normally need. So I bought a variety of different ones, including the nice white boards you mentioned. However I’ve not got around to using the nice new shiny white ones yet.

Fri Jun 05, 2015 12:23 pm

However I’ve not got around to using the nice new shiny white ones yet.

It’s adequate, but I had to reverse the I/O pin connector which is normally facing down with the headers because it will not fit into a breadboard otherwise! (I did see some folks creatively bent the pins at 90 degrees but that surely puts stress on the fiberglass. Someone in China had a very bad Monday when they designed the layout.

UnModified.jpg
UnModified.jpg (19.63 KiB) Viewed 726 times

Fri Jun 05, 2015 12:44 pm


So its good to know I can program one of my PSoCs as a programmer if necessary.

Remember, the trick does not apply to the less capable PSoCPSoCMicrocontrollers and processors… choice depends on your own requirements. Note. You may also want to add the Cypress PSoC devices to the list as well, as although they are not programmed via the Arduino IDE, I t…View in hardware catalog 4100 prototype board, just the 4200. While Cypress sold the 41/4200 both for $4, the 4200 has enhanced analog capabilities and an overall better feature set. (I’ve often wondered if life starts out as 4200 and then if the yield is low, it gets tested and re-branded as 4100?)

For anyone reading that is not familiar with these little boards:
http://www.cypress.com/?rID=92146
Note the break-off section of the board, this is the USB-serial section.

The full Cypress Creator software and standard libraries (newlib is used for the M0+ ARM core) system is freeware. If you were like me and had never worked with configurable silicon, Creator hides the VHDL with a graphical drag-n-drop metaphor, but the learning curve was rough on me due to having to go to numerous options for required configurations.

One can get a little creative with how the header pins are attached (headers NOT included):
https://www.hackster.io/rayburne/psoc-4 … ture-book1

Ray

Fri Jun 05, 2015 9:07 pm

Ray

I’m pretty sure my PSoCs are 4200 serial, but I will double check

Fri Jun 05, 2015 9:13 pm

mrburnette wrote:… (newlib is used for the M0+ ARM core) …

Fri Jun 05, 2015 9:21 pm

I think basically yes they are M0

But it’s all the other analog hardware blocks and interconnectivity in them that make them interesting

Fri Jun 05, 2015 9:59 pm

Rick Kimball wrote:mrburnette wrote:… (newlib is used for the M0+ ARM core) …

Fri Jun 05, 2015 10:04 pm

RogerClark wrote:I think basically yes they are M0

But it’s all the other analog hardware blocks and interconnectivity in them that make them interesting

Post a reply

Optional · up to 10 MiB