• Summary on WEEK5

    Summary for WEEK5

    Hardware Side

    Finalize the design of sensor node PCB on the basis of saving power and price optimization. The Gerber file has been sent to the manufacturer for printing the PCB on Thursday. The simple flexible power management PCb was also finished designing the schematic as well as the PCB routing. In the next week, there is not much practice work but wait for the PCB arriving and try to lean Sketchup for building the plastic box contaning the sensor nodes with the 3D printer in the purpose of creating the electronic LEGO IOT node.

    Software Side

    For the software side, the simple server was researched with serveral existing IOT hobbist and commercial IOT plarform. Among all the platforms, Thinkspeak and plotly, Xively were deeply researched and compared with the connection solutions. Instead of the direct connectiong with the database and MCU which is the sensor nodes placed among the “smart city” under a WI-FI environment, RF tranceivers are used for communicating with two identical MCU board. The other MCU which is not managing the various of sensors would be connect to a Raspberry PI as a main station which is called a Hub. Normally, the connection is through simple serial port for a easier and faster communication solution. However, there are existing solutions of some RF modules which needs the serial port communication with MCU as well. As a result, SPI and I2C are being considered to becoming the alternative ways of PI talking to MCU.

    Thus, the important bits are to be done next weeks are:

    • Hardware side:
      • Research on how to communicate wi the MCU and Raspberry PI without the serial port(including hte software serial)
      • Soldering the PCb if arrived
    • Software Side:
      • More research on how normally the data is sent to the server more
      • Understanding the make the comparisons between different framework regarding restful (Express, restify)
      • Try to build the streaming data plot on top of the previous simple server response from Mongodb stores the sensor readings from Arduino/Moteino
  • Summary on WEEK4

    Summary For WEEK 4

    This week, the Moteino experiment was succeed transferring data through rfm69 offered by HOPERF within a small range, and data could be uploaded to web server provided by Nquiringminds with the driver developed for each different sensor. Followingly, the main tasks are experimenting the PCB previously designed on the breadboard and print the PCB for further testing. The MCU and RF module are to be changed through more research regarding different application solutions. It is believed the design of PCB should be fairly quick after the basic PCB design is succeed.

    The report is to be started with background and literature review, here are something occured that could be involved in the report.

    What could possibly go in Background
    • General IOT background for generic purpose
    • mode detailed proposals for IOT nodes in terms of the hardware issues
    • In terms of the business purpose, the price as well as the scale of each IOT nodes should be optimized
    what could be in literature review
    • The exising solutions like Arduino, Moteino
    • the comparisons between each MCUs solutions
    • the comparisons between each RF modules solutions
    • what problem solved
      • modularization
      • price/size optimizaton
      • secure authentication
    • the comparisons between different connection: SPI, I2C, UART
    • the comparisons between each different solution of secure the MCU node
    • any modulazed solutions like little bits but not price optimized

    Thus, the certain things are to be done in the following week:

    • continue on designing the PCB in order to finish the project
    • Testing the design see if it could be successful
    • try to build the simple data upload server based on previous CMS system which was developed from the basic blog system
    • The literature review and background should be drafted before Wednesday in terms of the report
  • Summary on WEEK3

    Week 3

    After researching on the MCU and the HOPErf modules, the initial PCB was produced in 4 days. The MCU selected was the ATmel 328P which is the most popular one on diffrerent Arduino alternative boards. The schematic circuit was pretty much the same as Moteino has, the only difference so far is the RF module which in my design the rfm69hw was basically used while in moteino the rf module was deployed from rf12b.

    It has been a long time being familair with the software Eagle which is to be used for following PCB design as well. The next step would be adding the secure device ATmel produced called ATSHA204A that can be compatible with ATmel mega 328P using now. The original PCB design still need a lot of improvements in order to be price and size optimized for building the sensor nodes. The bootloader for the ATmel mega 328P MCU should also be researched and re-implemented for intergated with intialization of ATSHA204A module.

    What have been done on PCB initial design:

    The schematic circuit

    image

    The board:

    image

    In the next two weeks, the following things are to be done hopefully:

    • Continue working on the “perfect” PCB design in order to fit the flexibility as well as relative price optimization purpose
    • Research on the secure chip may be used on the PCB ATSHA204A module
    • Research on the bootloader ATmel 328P requires and find out it the bootloader could work with the secure module
    • Further research on the ATmel chip which has larger flash memory, and try to find if it is necessary to have external flash momery on PCB design or not *
    • Continue working on some nodejs development, transfer the simple blog building to a simple CMS