Description: The objective of this lab session is to outline the process of setting up Renesas IoT Sandbox account, connecting the S3A7 IoT Fast Prototyping Kit to that account with the pre-flashed ‘Smart Chef’ demo, and make couple of tweaks in the workflows to observe the impacts.
1 Known Issues - Please read, before attempting the lab procedures
So far some pitfalls and issues have been identified, that may create turbulences in this lab execution. Avoiding these will make your experience much smoother. Please read the following carefully, and familiarize yourself with these issues.
1.1. Firefox Browser is known to have issues. Safari, Internet Explorer, Chrome and Opera are tested browsers and work fine.
1.2. The Wireless Module (pre-soldered) is known to work with 2.4 GHz Wi-Fi and “WPA2 Personal” security credentials. WEP, and “WPA Infrastructure” modes are known to have issues. Other configurations are un- tested.
1.3. On Step 3.9, you’ll be asked to provide the project name. Currently, for other reasons, project names are supposed to be unique, across the board. So better select the project name that you feel like unique enough. Tip: Prefix the project name with your initials, and postfix with your last 4 mobile phone digits. It will give you quite a good chance of creating unique project names.
1.4. Related to Step 3.9, if for any reason (most probably email verification failure, and/or project name conflict), if your activation is not successful, the webpage retains your information, but you will not be able to enable the “Activate” button. Please re-fresh the webpage, and re-enter the form information, to move forward.
1.5. Lenovo and Dell laptops running Microsoft Windows consistently face trouble connecting with Wireless Module, during the kit provisioning, when it is in AP-mode. MacBook, on the other hand, shown no issues so far. If you’re not using MacBook, your best bet is to use your mobile phone for Step 4.3
1.6. If you’re using your mobile device for Step 4.3, a good tip is to either receive your Renesas IoT Sandbox emails on your device or forward those emails to your device. It will make your life so much easier during Step 4.4.
1.7. During Step 4.7, your browser (on your phone or MacBook) will not tell you about the success, or failure. It’ll just simply disconnect. However, your kit will show you the message.
1.8. The Smart Chef Demo (pre-installed on the kit), will not show proper error messages. So if you don’t see the progression on regular ‘happy path’, most probably you have to repeat the step again. This issue is more related to Step 4.9, but may apply to other cases as well.
1.9. It might happen that the battery inside your kit is not charged. To avoid any guess-work and/or surprises, plug the cable to your laptop to power up the kit, and do not use the USB battery that comes with the kit.
1.10. Getting Started Card is the only place where you’ll be able to find the URL for Renesas IoT Sandbox, in print. Don’t lose it.
1.11. For Section 7, different browser might have different behavior. If a single click does not work on your browser, try double-clicking on the workflow studio links.
2 Board Setup (10 min.)
This lab section shows the board setup procedure for S3A7 IoT Fast Prototyping Kit
Step 2.1 Kit Box Contents
Make sure that your kit comes with the following contents. For this lab, you don’t need J-Link Lite Debugger, USB thumb drive, and USB battery. Please find the USB power cable in the white battery box.
Step 2.2 Setup the AMS Connector
Connect the Grove Cable Pins to AMS Sensor, as shown in the following pictures. You’ll be connecting White to Pin-2, Yellow to Pin-3, Black to Pin-5, and Red to Pin-6 of the PMOD connector. Note that as it is a sensor and has male header pins, the female-pinouts of PMOD are mirrored
Step 2.3 Setup the Motion Sensor Module
Make sure that your BMC 150 Sensor module is configured for PMOD. Make sure that you have J1 jumper short and J2 jumper open, of the module.
Connect the AMS sensor J18 Grove Connector on the MCU main board, through Grove cable.
Connect BMC 150 Sensor Module to J5 PMOD Connector, with Renesas logo facing up
Connect the Micro USB end of the power USB cable (white, which came out of small white box with USB battery) to the S3A7 board J1 connector. Do NOT plug the other end of the cable to your laptop, yet. We’ll do it later. Also for this lab, do not use USB battery, you find the white box, as it might not be charged.