Skip navigation
Learning Mbed  To get started with Mbed I began programming a non-trivial but not complex LED library. The Pioneer PSOC6 board contains 3 user programmable LEDs: an RGB LED, an orange LED and a red LED.     The source code runs 2 threads: main() and ledThread(). main() controls the LEDs by sending messages, through an Mbeds' Queue object, to ledThread(). LEDs can operate in 3 different modes: on or off, oscillating and pulsing. The program is made of 3 files:     ma ...
The alternatives  The amount of tools and SDKs that can be used to program the PSOC6 is quite overwhelming, and choosing the right ones for a task is not simple, specially because the information to make the right decision is all scattered in the net. After some quick (and likely unreliable) research I found that Cypress provides 3 development tools: PSOC Creator Wiced Modustoolbox   PSOC Creator is the oldest and most mature product, and supports visual programming to set up pins ...
Introduction to AWS IoT Core  The AWS IoT Core is a cloud service that provides IoT devices a gateway to connect and interact with the complete AWS infrastructure. Devices access the IoT Core service through the lightweight, publish-subscribe MQTT (Message Queuing Telemetry Transport) protocol. AWS's MQTT protocol implementation is based on the 3.1.1 version and for reasons unknown to me, AWS deviates from the MQTT protocol specification.   The way devices interact with the IoT core w ...
AWS Management  AWS provides several alternatives to manage their services: the AWS Management Console, the AWS Command Line Interface (CLI) and the SDK (available in C++, Go, Java, JavaScript, .NET, Node.js, PHP, Python and Ruby).   To show how these methods compare to each other I decided to list my S3 Buckets and objects stored in a Bucket using the console, the CLI and the Python SDK. The Amazon Simple Storage Service (S3) is an object storage service, and before performing the li ...
Overview of AWS  While waiting for the Cypress PSOC to arrive I began studying how to use the AWS platform. AWS as the name implies is a set (actually a full ecosystem) of web services provided by Amazon to perform a wide variety of tasks such as: computation, data storage, database operations, machine learning, analytics and IoT connectivity among many other things:   AWS operates as pay-as-you-go, where you pay depending on how many resources you use. If you use very few resource ...
Introduction  In this design challenge I will build a system that will track small rodents activity and their environmental conditions. The system will use AWS and make the captured sensor data available (probably through a dashboard) to the pet owners almost in real-time.     The plan  The project will require the integration of 2 components: The AWS component and the PSOC6 component. Since I'm not familiar with any of the two technologies, but I have experience writing f ...