This is kumar. I used the AT commands of ESP8266 12e successfully. It's AT version is 0.4 & SDK version is 1.3. but I don't how to use the functions that are given in its SDK. I want to interface ESP8266 12E to my cortex 32bit controller through SPI communication & also I want to use the Wi-Fi P2P functions which are given in the SDK. I'm using windows 10 OS & LPC controllers & KEIL IDE. so can anybody tell me what are the basic requirements that I need so that I can build my application program in my controller. since I'm new to SDK's or API's. In CC3000 Wi-Fi module, through SPI communication we can call its API functions through host controller. In the same way how can I call the SDK's function from my controller since they are stored in its flash(esp8266) & how can I know what are the functions available in SDK's & how to access them from controller. Since there is no proper document available for my question.
You should start here and read and understand the Tutorial for Beginners.
Related
I am researching on micropython to use for an IoT project for school using nodeMCU esp8266. one of the use cases requires the device to receive IR signal from an Aircon remote control and save it as well as being able to transmit this code using and IR LED. in circuitpython there is a library called pulseio that can do this function, but it is not available in micropython. can this library be imported into micropython?
In short No.
It is very unlikely any CircuitPython library willl work straight over in MicroPython on your board. The main reason for this is that once the library starts to use UART or I2C the underlying implementation in CircuitPython is very dependent on other CircuitPython libraries which do not have equivalents in MicroPython.
It may be possible to find all these and re-implement them using standard MicroPython.
The decision point is if you can do that faster than finding a MicroPython library or example for your board to do the same thing OR if you should buy a CircuitPython compatible board instead.
I'm trying to get some initial info on my very first IoT project. I want to build a * tiny * wifi connected relay to control, let's say, lights. I'm a newbie in the hardware and electronics field though, but I'm a pro developer, so programming is not a problem.
Now, I've looked at different options and I can't seem to find really small components for the task. It might be I overlooked something, so please help me with available options.
Look at the ESP8266 devices. They have WiFi on chip and can be programmed using the Arduino environment. You basically write code in C++ to do whatever you need.
Here is an Amazon search for some examples:
https://www.amazon.com/s?k=esp8266
I recently did a project using a Linknode R4 (similar to above but with 4 relays) and programmed it as a web server with REST API. Then I built a front end with ASP.NET Core to that talks to the REST API for the devices on my network. The Arduino sketch for the web server is posted on Github at https://github.com/SteveInCO/LinknodeR4. I would assume it would work with little modification on the device I linked above.
The default program for the R4 allows controlling it via their website or iOS/Android apps, though I could never get it to work out of the box. Their model uses a polling method so the relays continually ask the server what to do next.
Windows IoT doesn't run on these small devices yet, but no reason you can't front end the Arduino API with a UWP app running under Windows IoT on a Raspberry Pi instead of the web app like I did. I think the eventual plan is for ASP.NET Core to be able to run on an ARM based system like a Raspberry Pi, but last I checked it wasn't quite there yet.
I'm doing a small project in IoT .I'm using ARDUINO microcontroller(with temperature sensor)to sense the temperature value.Now i need to get those value into JDE(i.e..into IoT Orchestrator).How do i get those values into JDE?
Thanks!
Vasanth Kumar, iot integration is very new to everyone as well as oracle has also released some of the android apps recently. Please check some of the apps from oracle jdedwards in play store.
I used to study the oriely's book internet of things. I think programming the iot devices requires the assembly language background knowledge but c the high level language with a visual c++ editor should be included With jde installation as common language between jde and the microcontroller device. BSSV is used for mail transactions and practice BSSV for the message exchange between the microcontroller application amd the JDE, use this mail data to update the required tables. There are n number of devices so it is advised to you to make the protocols and programming by yourself.
Please update me if you have progressed in any particular direction and share with me as we both are in same new boat.
Working on an appliance and would like to support zero configuration feature. That way users can look for the device on the network and simply double click an icon to access the web interface without having to configure it or know its ip address.
Tried to use UPNPLib_TLB but functions seem to be read-only; am I right? I can create a device using CoUPnPDevice.Create but can't set a FriendlyName or a URL.
Tried to use Deltics Bonjour service but it crashes on create (ACCESS_VIOLATION). The demo code uses a custom test unit which complicates experimentation.
After much research it does not look like there is a component available for this and would appreciate some pointers. Has anyone successfully created a zeroconf broadcast either via UPnP or Bonjour with Delphi XE2/5.. I can go back to Delphi 7 if required. Target = Windows 7.
NOTE: To be clear, I can find existing devices on the network and don't want to enumerate existing devices but what I want is to broadcast my service so that my box behaves like a network printer for example. The only service I need to expose is the URL so that users can access an embedded web server.
Appreciate the help!
EDIT
With the tips provided I did some research and getting this done the RAD way is not possible.
Using MS APIs directly is time consuming and requires a level of understanding of C that I don't have. Porting the Delphi 5/Indy 7 component to XE2/5 will require a good amount of work and debugging.
I discovered UPnP developer tools from Intel now open source here: Developer Tools for UPnP. This tools makes it really simply to create a server in 10-15 lines of code. Intel provides a DLL that I can call from VS Express as follows and it works great:
device = UPnPDevice.CreateRootDevice();
device.FriendlyName = 'My name';
device.PresentationURL = 'URLToEmbeddedServer";
..
I tried to use headconv7 tool to convert the .h file Intel's UPNP.DLL to a pascal file and call the external functions within the DLL directly from Delphi but there were too many problems with the conversion.
It's too bad because the Intel library makes it really simple to create UPnP stacks and the approach would apply itself very well to a component but for now its quicker to use .NET and VS Express to get the job done.
When using UPNPLib_TLB, you are not supposed to create a UPnPDevice object directly. UPnpDevice describes a known device on the network, which is why its properties are read-only.
Read the documentation:
Control Point API
Finding Devices
You are supposed to create an instance of the UPnPDeviceFinder class instead. Its search methods will give you a UPnDevice object for each device that is found.
I would like to write some applications involving IP cameras. AXIS has a greatoverview on their pages. They provide API for their cameras called Vapix and they also indroduce Open Platform SDK, which is supposed to be some form of SDK that enables developers to write code specifically for the devices. E.g. communication with server over your own protocol.
The problem is - they require registration and an entrance fee to enroll in the developer program. My question is, though, WHICH language do they support? Is it C, Java?
Note: I am not talking about the Vapix API, I am talking about the Open Platform SDK.
It is written in C/C++. Note that they have their own compiler based on GNU Linux.