All posts tagged: arduino

The new Arduino Create platform aims to make embedded computing and Internet-of-Things development even easier, and an effort to make the popular Arduino development environment more relevant and up-to-date for today’s networked, connected Internet-of-Things applications – and to be easier to use for collaborative development and sharing of projects and open-source resources.

This new platform is intended to replace the widely used and proven Arduino IDE that many people will be familiar with. This system has been around for a decade, with minor revisions along the way – however is basically the same original system, derived from the Wiring platform.

Over time the Arduino IDE has inherited many things, some good and some bad, from this underlying legacy of the Wiring platform – and the Arduino Create platform aims to replace this with a modern, flexible toolchain. One of the most significant changes is that this new development environment will be a Web-based platform, with all the advantages as well as challenges that go along with that.

More than 10 years ago, the Arduino project set out to develop easy-to-use tools to make physical computing accessible and simple, with a focus on open-source software and hardware. Today, the Arduino Create platform aims to continue to remain true to these values in order to bring the same outcomes to the world of Internet-of-Things development, bringing this technology into the hands of teachers, students and creative artists, making the technology accessible for everybody, and serving as “one stop shop for Makers”.

But this new browser-based internet-connected platform is not just a new development environment. It enables everybody, including students, hobbyists, makers and other non-expert users to not just write code easily but also to share their work.

Users can easily configure their hardware, install updates and patches that are easily managed in the cloud, such as support for different board hardware types, and extra software libraries, and connect their networked devices to the cloud, using Web-accessible dashboards and other Internet-based features.

This cloud-based approach includes some clever features, such as the ability to easily “hide” sensitive private API keys and passwords within your code when you share it, and automatically insert this kind of secure information into your code at the preprocessor stage, before the code is uploaded to your board.

Alongside these new development capabilities, the new platform’s focus on community, culture leadership and education around the emerging Internet-of-Things domain is clear. The Arduino “IoT Manifesto” sets out not only how Arduino will approach the Internet of Things, but also how they intend to develop tools for it as well as how they think other parties should approach the way they’re developing their own tools and services for the IoT.

Arduino Create makes it very easy to get started, featuring guided workflows to help easily configure Internet services and to help users through the process of installing the cross-browser plugin. Once the plugin is installed, you can get started writing code and uploading sketches to an Arduino board connected to your computer directly from your web browser, in a way that will be largely familiar on the surface to everybody who has ever used an Arduino.

On the surface the Arduino Web Editor looks a lot like the familiar IDE, only browser-based. All the standard libraries included with Arduino IDE installations are immediately available, along with support for all the standard Arduino hardware targets.

This makes usability easy for new users, with minimal transition required for users who are already familiar with the Arduino IDE. All the significant back-end changes are hidden underneath, with a largely familiar user experience.

The Create platform also includes the Arduino Cloud infrastructure, which allows you to connect your Arduino boards directly to the Internet with ease, using transport protocols such as MQTT to communicate from Arduino devices to Web services and to other devices.

The Arduino Cloud infrastructure as well as the Arduino Web Editor are powered by Amazon Web Services behind the scenes, with AWS IoT and AWS Lambda providing the Arduino Create platform with secure, reliable and highly scalable infrastructure, enabling the platform that enables makers to easily connect and manage their Arduino projects through the internet and the cloud.

Eventually the Arduino Cloud infrastructure will provide Arduino users with a one-stop-shop for Arduino-connected Web services, including real-time data display dashboards, streaming of data and database storage.

CreateThe community surrounding the Arduino platform is one of its defining characteristics, and the Arduino Project Hub integrated into the Arduino Create system aims to continue this community-oriented tradition.

The huge amount of open-source code, examples and community support available around the Arduino platform mean that if you have a problem you can probably find somebody else that has had the same problem earlier that can easily help you solve it.

This ecosystem of community support is a key part of the Arduino success story – this has helped make Arduino the default platform for beginners and hobbyists looking to get started with microcontrollers and embedded computing.

The Arduino Create ecosystem builds upon this tradition with the integration of the Arduino Project Hub. The Arduino Project Hub is intended to be the new focus for the extensive community of Arduino users to share their projects, ideas and examples.

Although this may be an exciting development for the hobbyist community, it is not an ideal situation for those looking to design, build and manage their own commercial Internet-of-Things products. This is quite apparent with first use, thanks to the ominous “You may lose your data” warning.

Furthermore, there are many options on the hardware, software and platform fronts that require serious consideration – with security being paramount. Thus you need to discuss your IoT project with professionals from the LX Group.

We have end-to-end experience and demonstrated results in the entire process of IoT product development, and we’re ready to help bring your existing or new product ideas to life. Getting started is easy – click here to contact us, telephone 1800 810 124, or just keep in the loop by connecting here.

LX is an award-winning electronics design company based in Sydney, Australia. LX services include full turnkey design, electronics, hardware, software and firmware design. LX specialises in IoT embedded systems and wireless technologies design.

Published by LX Pty Ltd for itself and the LX Group of companies, including LX Design House, LX Solutions and LX Consulting, LX Innovations.

Muhammad AwaisArduino Create Platform – increasing access to the Internet of Things

Here at the LX Group we investigate many Internet of Things platforms for research and fit-for-purpose testing, and one of these is the new hardware and software ecosystem has been announced by the Arduino team in Italy.

They have recently released and announced a number of new products and services specifically aimed at enabling cloud-connected wireless solutions and other Internet-of-Things applications, including the MKR1000 develpoment board, their IoT Development Environment, and a companion Community Project Platform.

Their new MKR1000 is a tiny, feature-packed board based on Atmel’s ATSAMW25 module, which incorporates a IEEE 802.11 radio certified by the Wi-Fi Alliance along with a low-power ARM Cortex-M0+ 32-bit microcontroller.

With a much smaller form-factor than traditional Arduino boards, along with 32-bit ARM performance and built-in wireless networking, the MKR1000 offers a LiPo battery charging circuit and on-board cryptographic support, making it an Internet-connected platform that is compact, powerful, secure and battery-ready – ideally suited for the burgeoning Internet-of-Things market.

To promote the new board, Arduino will team up with Microsoft to give away 1000 units to makers who submit project ideas based on the platform. The new board “offers the ideal solution for Makers seeking to add Wi-Fi connectivity with minimal previous experience in networking”, according to the team.

Arduino has also recently announced their new project and tutorial platform, the Arduino Project Hub, as the place to go for Arduino users to host and share their projects and experiences.

As with the the recent “World’s Largest Arduino Maker Challenge” competition alongside Microsoft, the Arduino Project Hub has been developed by Arduino in partnership with hackster.io, and this official partnership between Arduino and another commercial entity – telling the community that this is “the place” where your Arduino projects are supposed to be hosted and shown off – is an interesting move for the Arduino company and the Arduino community.

It is not just the new networking-oriented Arduino MKR1000 hardware platform that has made Arduino’s push towards the Internet of Things obvious in their recent announcements. Among the new Web properties that Arduino has announced is Arduino IoT, hosting a collection of Arduino-oriented tutorials and guidance for people who want to get started with Internet-of-Things development.

With this, Arduino aims to create a new platform to “make building IoT devices as easy as blinking a LED”, providing a range of inspirational examples and tutorials based on the Arduino and Genuino MKR1000 platform, ranging from a simple Telegram Bot to a more complex smart thermostat.

Another key part of Arduino’s push towards IoT and connected applications is the new Arduino Cloud environment. Arduino Cloud is designed around the new MKR1000 board, although it also supports the more modern of the official Arduino Wi-Fi Shields (which like the MKR1000 has on-board cryptographic support).

Arduino Cloud allows you to connect your Arduino directly to Web services and other Internet- or cloud-based applications using MQTT as the messaging protocol. It can also connect messages across the Internet from one Arduino device to another.

At the moment the Arduino Cloud environment is in an early alpha release, and it is claimed to currently have “one percent of the features” that will be implemented in the final product. Although it is still in development today, it will be interesting to see how having cloud capabilities natively included in the official Arduino ecosystem will potentially affect similar, competing environments such as Particle Cloud.

We’re already seeing a consolidation of board support around the Arduino development environment, with many different kinds of hardware platforms from different manufacturers all being unified by common compatibility with the Arduino IDE, especially with the more advanced Board Manager functionality that is included in the current revision of the Arduino IDE.

Now the Arduino Cloud platform could potentially bring this same unification to the cloud and Internet applications side of the IoT, with a common cloud platform that is compatible with all those different hardware products.

mkr2

The Arduino Create platform is another exciting new addition to the Arduino ecosystem that has recently been announced – a Web-based development environment for Arduino projects. This new environment is still in private beta, with the development team refining the Web-based code editor based on feedback from the beta cohort, but we’re told that it is almost ready.

This platform promises to replace the familiar Arduino IDE – which inherits many legacy elements, both good and bad, from Wiring on which is is based – with a modern, flexible, Web-based toolchain. Using a browser plugin, the new environment will allow you to write code and upload sketches to any Arduino device connected to your computer, directly from the Web browser.

It will also store your sketches and allow you to connect to services in the cloud. Other attempts at cloud-based development environments have been unpopular in some cases, since users are sceptical of having their files and work potentially disappear with a defunct company or become suddenly locked up behind a paid subscription model in the future, without users having local possession of their own files.

However, given Arduino’s long-standing commitment to open-source free software for their development tools, these factors are unlikely to be a concern. Nevertheless, this is not a total recommendation – as each client has different needs that may require open or closed hardware and software solutions.

And this is where the LX Group us ready to work with you. We have end-to-end experience and demonstrated results in the entire process of IoT product development, and we’re ready to help bring your existing or new product ideas to life. Getting started is easy – click here to contact us, telephone 1800 810 124, or just keep in the loop by connecting here.

LX is an award-winning electronics design company based in Sydney, Australia. LX services include full turnkey design, electronics, hardware, software and firmware design. LX specialises in IoT embedded systems and wireless technologies design.

Published by LX Pty Ltd for itself and the LX Group of companies, including LX Design House, LX Solutions and LX Consulting, LX Innovations.

Muhammad AwaisArduino team releases new Internet of Things Platform

In this instalment in our series of articles focusing on various Internet-of-things systems, we explore the new Nearbus Open IoT Project. Although not the most complex of systems, Nearbus offers a level of control and interaction with devices and sensors which is ideal for demonstrations, proof-of-concept designs or even simple products where rapid development and low-cost are the main requirements.

Unlike other systems, Nearbus takes a different approach to device control. After loading the Nearbus on the device’s microcontroller, it is considered to be part of the “cloud” and as such transparent to the web services or API. In other words, you can read or write to the MCU’s registers directly from the cloud – which makes control much simpler than other systems. By “virtualising” the hardware in the cloud, it makes it much easier for existing services to interact with the real hardware, and in a more secure manner. Let’s examine the how this is possible with regards to the required hardware and software

device_mapping

Hardware – Due to market forces and age of the system at the time of writing, the Nearbus system only works with the Arduino-Ethernet platform. Thus the end microcontrollers used are Atmel ATmega328 programmed with the Arduino boot loader and interfaced with the Wiznet W5100 Ethernet controller. However this allows you plenty of GPIO, ADCs and CPU speed to complete a variety of tasks, and due to the open-source licensing of the Arduino platform the hardware cost for around A$20 per unit in volume. The main downside to this solution is the inability to use onboard WiFi chipsets, so the agent hardware needs to be connected to a separate WiFi router for true wireless control.

Software – Due to the current hardware requirement, the only code for each Nearbus node is their sketch (code) and the Arduino boot loader – both of which are totally open-source. The rest of the work is in interfacing your own cloud- or server-based applications with the Nearbus hub system. This transfer takes place via HTTP requests.

There are two methods for interfacing applications with the Nearbus system. The first method is the “transparent” mode which allows the agent to send and receive a packet of data over preconfigured periods of time, for example every five or ten seconds. This allows your cloud applications to call functions on the agent hardware as if it was controlling the MCU directly.

graphic_dash_0a

The second method is the “VMCU” mode (Virtual Microcontroller) which allows direct control of the basic MCU features such as GPIO, ADC, etc., via a web services API. This is the more complex method that maps the MCU remotely and thus allows direct control of the MCU’s registers and returns data in the raw from for your own web app to work with. The ability to map the registers removes a layer of complexity from the user or designer – as they don’t have to worry about network protocols, instead just be concerned with the microcontroller itself.

Furthermore you can configure, add and remove devices with a web-interface, and also create connections to send data to other IoT services such as cosm or twitter. If you don’t have a server capable of running your own web apps to interface with Nearbus, you can use other free or paid services such as Google Spreadsheet web apps – and demonstrations have been provided to show how easy it is to display, capture and analyse data from the hardware agent.

The Nearbus system is a different paradigm to the usual IoT systems. It may seem awkward or different to more conventional or consumer-oriented ways of doing things, however if you have a strong PHP and networking background it can be implemented easily with your server and applications. Due to the low hardware cost it’s ideal for monitoring or remote-control applications that don’t require complete real-time interaction.

If you’re interested in moving forward with your own system based on the Nearbus, we have a wealth of experience with the required hardware options, and the team to guide you through the entire process – from understanding your needs to creating the required hardware interfaces and supplying firmware and support for your particular needs.

Our goal is to find and implement the best system for our customers, and this is where the LX Group can partner with you for your success. We can create or tailor just about anything from a wireless temperature sensor to a complete Internet-enabled system for you – within your required time-frame and your budget. For more information or a confidential discussion about your ideas and how we can help bring them to life – click here to contact us, or telephone 1800 810 124.

LX is an award-winning electronics design company based in Sydney, Australia. LX services include full turnkey design, electronics, hardware, software and firmware design. LX specialises in embedded systems and wireless technologies design. https://lx-group.com.au

Published by LX Pty Ltd for itself and the LX Group of companies, including LX Design House, LX Solutions and LX Consulting, LX Innovations.

Muhammad AwaisLX Group examines the Nearbus IoT Open Project