Skip navigation

In the Air Design Challenge

13 Posts authored by: engswee

Programing code and Hardware:


Like what I guess. I really stuck at the programing coding. It take me more time then the given. The given example code from the Sensirion cannot just implemented directly in the Energia . Example code from Arduino also not working in Energia it just show so many unclear error massage.


Link to the sample code for the Sensirion sensor http://www.sensirion.com/en/products/humidity-temperature/download-center/.


Example for the given sample code:


I also cannot found any sample code from Energia for the I2C or digital bus on CC3200. The example communication for Energia Wire | Energia.


There have 2 pair of I2C can be use on CC3200. Pin 9 and pin 10 or pin 39 and pin 40.

cc3200lppinmap



 

Some modification:

 

I have done some modification by placing a capacitor at the 3.3V supply as a buffer for the power bank switch over when doing charging and power up again from charging mode.

Due to the power bank behavior that shut down a while when charging and discharging the micro controller will restart every time I charging the power bank and unplug the charging.



Sharing:

Lately bombardment with power rack design and assembly project. So take some time to catch up the programing code.


Sorry all. Just joint new working environment and don't have enough time for this project.

I will try my best to get this project running and update the progress.




More Hardware and software update:

 

For hardware, PCB have been send for manufacture. Most of the component is ready for assembly.

Now just waiting for PCB and some accessories.

Picture show the final PCB send for manufacture.

fab3000temp.jpg

 

Picture bellow show the pin map for the CC3200. Please edit the given example before upload to MCU.

Do remember if you are using the 430 shapr96 LCD with CC3200, connector at the P1 and P2 is using by the LCD.

Please avoid using pin function at this connector if possible. If you still need to use the pin at P1 and P2 then you need to check in detail at the LCD side which pin is available.

cc3200lppinmap.jpg



This one show LCD pin map. Please bare in mind that some of the pin is not use for LCD but they been use or connected touch slide.

For more information please go to the given link. Guide_SharpMemoryDisplayBoosterPack | Energia

 

This picture show the pin map for the LCD:

sharpdisplaybppinmap.jpg

Wire crimping:


Sound and look simple for wire crimping but without proper tool it will give you bad day. For this I will show the wire cramping for the JPT connector use with dust sensor.

Proper tooling for the wire crimping and some tip to make wire crimping more easy.

But for me, I will solder the wire directly to the connector for better connection .

 

 

IMG_4208.jpg

 

 

Please chose suitable cable size for the crimping job if not you will end up with difficulty to place the cable assembly in the holder.

I know some of you thinking of cut down the cable to smaller size but with this end up having a lose wire crimping.

You also need some steady hand for this jobs where very bad for me he..he..

IMG_4210.jpg


Picture show my dust sensor using direct wire soldering

IMG_4220.JPG

 

PCB is coming and it look good to use.

IMG_4223.JPG



Assembly and Connection:


Now in the process of assembly the hardware. Most of the hardware is ready for assembly and now just use temporary fix using magic tape .

Like I mansion the wiring will be a bit headache due to multipurpose PCB. my self also get confuse about the pin he..he..


Picture show the working progress for the assembly work.

IMG_4226.JPG

 

IMG_4228.jpg

 

Spacer:


I plan to use the aluminum spacer from WÜRTH Electronic. They look very nice but unfortunately they only have limited stock.

So I end up using some PVC spacer

IMG_4212.JPG

 

Previous:

Dust, Temperature and Humidity Monitor Chapter 10

 

Next:

Coming soon


CC3200 + 430BOOST-SHARP96 with Energia:


In this chapter I will explain the CC3200, 430Boost-sharp96 and Energia. This should save lot of time with given code and example code for the existing hardware and software.

I have try the BBB and BB View 4.3" with no success, not even power up the display to show something @.@ so give up that for now.

 

CC3200 come with pre install program. User can test and play around with the hardware and software. I will not talk about that here.

All information about this can get from TI webpage or just follow the given info come together with the CC3200.



Hardware & Software:


I will put the hardware and software together because they related to each other.

Let go straight to the point for CC3200 and Energia.


Preparation for the CC3200 to use with Energia. There are few connection setting need to be done at CC3200.

Jumper 8 need to be remove, connection at P1 also need to be remove and make a connection at jumper 8 and JTAG

Picture show connection example.

IMG_4173.jpg


Next is the Energia software where it look similar with the Arduino IDE.

Here just show  the LCD example code to the Energia for CC3200. The given link bellow is the example code.

Link to 430 boost-sharp96 code.Sharp Memory LCD BoosterPack | Energia


Unzip the downloaded folder, place them under related hardware libraries folder.

Picture show the example for the folder location for CC3200. Don't put the code under example folder it will not work.



After everything done you should be able to program CC3200.

Remove the jumper wire and plug in the LCD module. Power up the board and it should work.

Picture show the example for the LCD display. Sorry for the blur picture

IMG_4172.jpg



The coming day will be programing, programing and programing.


Now stuck with value to display at the LCD. It took me more then 3 days and I still unable to convert the float value to char for the LCD.

I heard Energia is similar with Arduino. Now I realize that there are very different.

Place the code here in case some one can help .


//float to charactor convertion
float value = 12.3456789;
char res[10];
sprintf(res, "%4.3f", value);

 

char res1[10];
float valuek = 78.230984;
sprintf(res1, "%4.3f", valuek);

 

myScreen.clearBuffer();
myScreen.setFont(0);
myScreen.text(10, 20, "Voltage:");
myScreen.text(10, 30, res);
myScreen.text(10, 40, res1);
myScreen.flush();

 

//myScreen.clearBuffer();
myScreen.setFont(0);
myScreen.text(10, 10, "Haze Monitor");
myScreen.flush();
delay(2000);


screen show value 2.031. I have no idea at all where this number come from OMG.


IMG_4192.JPG


Old style programing.

I think many people will comment about my programing.

Using the basic function in program to change the float to char(number only). It working at slow speed due to using fix for loop.

This program also just run up to XXXX.XXXX and it should be more then enough for this project.

I will optimize the programing is there is time to do it. For now keep to this first because cannot fine function to convert float to char in Energia.

Any suggestion are welcome to improve this programing .


//float to char convertion

    float value = sensorValue * a/ b;

    //float value = 9999.9999;// for testing

    int v1000 = 0;

    int v100 = 0;

    int v10 = 0;

    int v1 = 0;

    int v01 = 0;

    int v001 = 0;

    int v0001 = 0;

    int v00001 = 0;

 

    //make the reading to 0.XXX

    int x = 0;

    for (x = 0; x < 100; x ++)

    {

    if (value > 1000)

    {

      value = value - 1000;

      v1000 = v1000 + 1;

    }

    else if (value > 100)

    {

      value = value - 100;

      v100 = v100 +1;

    }

    else if (value > 10)

    {

      value = value - 10;

      v10 = v10 +1;

    }

    else if (value > 1)

    {

      value = value - 1;

      v1 = v1 +1;

    }

    else if (value > 0.1)

    {

      value = value - 0.1;

      v01 = v01 +1;

    }

    else if (value > 0.01)

    {

      value = value - 0.01;

      v001 = v001 +1;

    }

    else if (value > 0.001)

    {

      value = value - 0.001;

      v0001 = v0001 +1;

    }

    else if (value > 0.0001)

    {

      v00001 = v00001 +1;

      value = value - 0.0001;

    }

    else

    {

    

    }

    }

    char res[1];

    sprintf(res, "%d", v1000);

    char res1[1];

    sprintf(res1, "%d", v100);

    char res2[1];

    sprintf(res2, "%d", v10);

    char res3[1];

    sprintf(res3, "%d", v1);

    char res4[1];

    sprintf(res4, "%d", v01);

    char res5[1];

    sprintf(res5, "%d", v001);

    char res6[1];

    sprintf(res6, "%d", v0001);

    char res7[1];

    sprintf(res7, "%d", v00001);

  

  

    myScreen.clearBuffer();

    myScreen.setFont(0);

    myScreen.text(10, 20, "Voltage:");

    myScreen.text(10, 30, res);

    myScreen.text(15, 30, res1);

    myScreen.text(20, 30, res2);

    myScreen.text(25, 30, res3);

    myScreen.text(30, 30, ".");

    myScreen.text(35, 30, res4);

    myScreen.text(40, 30, res5);

    myScreen.text(45, 30, res6);

    myScreen.text(50, 30, res7);

    myScreen.flush();

  


Picture show the output for the given float value. Play around with some value and the output is still acceptable.

IMG_4193.jpg



Previous:

Dust, Temperature and Humidity Monitor Chapter 9

 

Next:

Dust, Temperature and Humidity Monitor Chapter 11




Best view 1920 X 1200


CAM editing:


Still editing the CAM file to make all hardware compatible with the PCB.

Having some down side due to different pin location but still able to solve the issue. Just need to be careful when using this PCB due to non command sense routing .

I hope nobody else will use this PCB, if not they sure hate me.

merge1.jpg

Picture show the almost complete merge job with CC3200 header not align with the BBB header.



Version 5 with solving all the issue for the merge jobs. The file will be ready for manufacture after the final checking.

Solving problem with the NC file for the BBB and CC3200 by manual hole placing over the given pad.

According to the plan, it should able to support BBB, CC3200, MSP430FR5969, fan, sensor and 430boost sharp96.

Now just hope that I not miss or mistake any major dimension and size.

fab3000temp.jpg

This is the merge PCB for all the gerber file from TI and eagle.



Version 8 for the PCB with detail checking and modification. Solving some overlap silk screen and number.

4 design PCB been align, modifier and merge.

pcb.jpg

Picture show the example for the PCB in CAM after merge.

 

 

Clearing the overlap drill and unwanted silk. Final touch for the PCB and this what I get.

Better PCB for manufacture.

fab3000temp15.jpg

This is the PCB that going to send for manufacture. Hope everything go like planned.


I also making a prototype PCB to test the size and dimension:)

IMG_4159.JPG


Link for the gerber file.


CC3200:

CC3200 | Wi-Fi (IEEE 802.11 / WLAN) | Wireless Connectivity | Tools & software

BBB :

http://www.element14.com/community/docs/DOC-71707#downloads

The PCB for this project: (The share download link will broken without notice)

https://www.dropbox.com/s/hvydsg364g59r7z/Archive.zip?dl=0

 

Prepare for the worse, PCB ready to send out then come the connector issue. OMG it very difficult to find a PCB stack through connector.

No choice new PCB design with available connector need to come. So here introducing my new PCB design 2.

fab3000temp.jpg

 

Sharing:

 

Tokyo Banana is not banana. It not mean banana grow in Tokyo japan.

It just cake with banana flavor made in Japan

Picture of it he..he..

IMG_4181.jpg

 

Previous:

Dust, Temperature and Humidity Monitor Chapter 8

 

Next:

Coming soon


Just coming back from Las Vegas, US. Sorry for no weekly update

 

Power Bank:

Getting this power bank few day ago. It look quite solid and nice. Took me more then 7hour to fully charged this power bank with 2A 5V adapter.

Look like the power indicated is correct for 10400mah capacity. This also mean the battery is original .

Few reason for choosing this power bank for this project. First is their capacity with 10400mah it enough to run 2A 5V at lease 4hour.

Second is the price with SGD$14, I don't think your can get other better then this and the last one is their function that able to working while charging.

IMG_3843.JPG

This picture show the complete set for the power bank. They not come with charger.

 

Next is the important testing for the power bank that related with this project. The test include output power test to support the project hardware and charging function while the output running.

This helpful for the project mean that I don't need to build another step up converter to running the hardware. It can be tap directly powered from the power bank because it work all the time while charging or not.

IMG_3844.JPG

Picture show the power bank still working to charging my Ipad/Iphone while it in charging mode.

Maybe I should upload better picture to explain or show this function . Let me know if require.

 

 

PCB:

This is version 4 for the PCB. Almost all the hardware been put together and some wrong measurement for hardware been corrected.

80 pin connector been share and same go to BBB. Additional 12 pin for BBB can be connected by hard wire. Thinking this should be more then enough.

Next should be the CC3200 and LCD. Maybe will do this in the merge work at CAM side or just wire up.

Screen Shot 2015-01-14 at 12.59.23 pm.png

Picture show the updated 2 layer PCB design for the BBB, fan, dust sensor and connector.


fab3000temp.jpg

Attached picture show the CAM for merge PCB. Look good just some minor issue with overlap hole

Now just hope the manufacture can make it with small spacing gap .

But for sure our prototype machine cannot make it

 

CAM Editing:

 

Having some issue with the CC3200 drill file. Look like some of the drill hole is not align with the pad. Any idea everyone?


fab3000temp.jpg

Picture show there are missing drill hole at the right side of the header and place at the left side of the PCB.

 

Still in Jetlag mode .

 

Sharing:


Big 3D printer

IMG_4049.JPGIMG_4050.JPG

 

3D printed music equipment + nice music

IMG_4053.JPG

 

3D printed food

IMG_4104.jpgIMG_4105.jpg

 

Previous:

Dust, Temperature and Humidity Monitor Chapter 7

 

Next:

Dust, Temperature and Humidity Monitor Chapter 9

(Best view 1920 x 1200)


This chapter only discuss about PCB design and PCB prototype. Sorry guys have a bad cough and fever this weeks.

Get an 4 days MC.



PCB:

Look like I need to have 2 design PCB for this project for now. Fan have a big internal cutout that may disturb the routing.

This issue can easily fix if I just use one sensor for each hardware. For now still plan for two.

Attached picture show the fan and dust sensor design PCB.

Screen Shot 2014-12-15 at 1.30.43 pm.png



PCB Prototype:

For PCB prototype, I have make an example PCB to make sure the fan and dust sensor design is correct.

I maybe will just use the prototype PCB for fan and dust sensor PCB and same go to power bank PCB because there is not much design involve

Just create some video clip to share with other on how the PCB prototype making. https://www.youtube.com/watch?v=QU7ednCkkf8


Attached picture show the prototype PCB preparation

IMG_3782.JPG


Attached picture show the prototype PCB cutting process

IMG_3789.JPG



Attached picture show the prototype PCB end process

IMG_3791.JPG



Attached picture show the finishing prototype PCB

IMG_3793.jpg



Power bank:

Getting some power bank for this project. The power bank is use to power up the BBB or CC3200 and other component in the device.

Today joint the Christmas sale to get the power bank

 

Screen shot 2014-12-16 at PM 12.05.05.png


In the Q for few minute thinking that not going to make it

Screen shot 2014-12-16 at PM 12.13.32.png



But today quite lucky, fast enough to order 2pc xiaomi power bank for this project

Screen shot 2014-12-16 at PM 02.42.37.png

 

Sharing:

Just share some informative video about Nissan leaf battery.

https://www.youtube.com/watch?v=WcqaAz1vjlo

 

https://www.youtube.com/watch?v=VeTxXkBAc60

 

 

Previous:

Dust, Temperature and Humidity Monitor Chapter 6

 

Next:

Coming soon

(Best view 1920 x 1200)

 

This chapter I will share about PCB design.This PCB design in under progress. I will talk about the design, problem, solution and related issue.

It simply straight forward since we have dedicated hardware and all the related component with no major changing.

 

 

PCB


I still follow the previous idea to build device in box and PCB in multistage. In PCB design I will start from ground up. But I will not explain in detail about the workflow. Sorry all, just don't have enough time to make a detail report.

Since I not getting the Eagle V7 pro software, I will using existing software for this PCB design.

The plan is to design one PCB for all. This mean one PCB design support for BBB, CC3200 or MSP430FR5969 and other component.

 

EAGLE CADsoft V7.1


The Eagle V7 is using for the BBB because you can just download the lib from Element 14. For my case I feel that it wasting my time because they have limited space for eagle 7.1 freeware. I cannot place the BBB and other component at the location needed. I don't know what is the size limit for this Eagle V7 freeware but it not support up to 120mm x 120mm PCB.

I also using Würth Elektronik library that also only support Eagle CAD version 7. In the picture show the example the BBB and connector from Würth Elektronik. For those who have interest at Würth Elektronik lib in Eagle V7, can download it at the given link. http://www.we-online.com/web/en/electronic_components/toolbox_pbs/Eagle_eiCan.php


bbb.png

 

 

Eagle CADsoft V5.7 (look like very outdated he..he..)


This version not support the lib given by element 14 and Würth Elektronik . That why I'm using the eagle latest freeware.

Should just draw them in lib. This way will be faster from solving the issue. For Würth Elektronik, I saw they also provide lib in Eagle V4.

You can try this for the older version Eagle.

Picture show other component part in the PCB layout.

Untitled.png

 

CAM editor


Using to merge multiple PCB design form different Eagle version.

The picture just show the example merge product. This will not be the final or finish product.

I still need to do some measurement and edit some of the file.

For example the TI 430boostsharp96 have a lot small drill hole. Those hole need to be remove.

The given picture just show the example and explain the method use to solve the problem.

p1.bmp

 

More example with color at higher resolution in PDF file. Please refer to the attached file for more detail. If you want to see them .

 

 

Mechanical Drawing


Mechanical part will be box that cover and hold up everything. It also will be the first expression to user about product or device. So normally it need to look nice .

It sound easy but when you want to do it nicely and perfectly then it will be different story.

 

So to make the design then you need to have the part. If you can download the part online then it will make your life easy.

For this case I need to draw them out using the given dimension and measurement dimension. Don't found any information about the 3d drawing for those component.

Tips: If possible please use the latest software to design that can support 3D then you don't need to draw on both PCB and mechanical.

 


Box

 

Box design still in progress, I need to finish part drawing then can do assembly process to make sure the box design is correct. This also will help in part assembly, part can be organize nicely and correctly before the box making.

I may try the ECAD for BBB in future. If it work then I have a detail 3D for BBB he..he..

Picture show a box with 120mm x 120mm x 120mm and 10mm thickness.

 

box1.jpg

 

 

Part and Component

 

Picture show example of the part that going to use for this project. Will share the information in future.

 

Photo 6-12-14 12 49 22 pm.jpg


Software

MSP430 come with 3 different programing platform and this BBB come with 3 different OS platform.

 

This is the updated link I found. Try to make a step by step OS installation for BBB that support BB view43.

 

element14: BB View LCD Cape Software Download Centre[1]

 

element14: Quick Start Guide for BB VIEW

 

element14: User Manual for BB View - An LCD Expansion Cape for BeagleBone Boards

 

 

 

 

Sharing:


This is video clip for BMW i3 production. It quite interesting see their setup and process. See how the robot work... nice...

https://www.youtube.com/watch?v=gt1k3BLN7pw

 

https://www.youtube.com/watch?v=1u7XiBnwPCw

 

https://www.youtube.com/watch?v=htuVoxuMQFQ

 

https://www.youtube.com/watch?v=kfISmVGCjxg



Previous:

Dust, Temperature and Humidity Monitor Chapter 5


Next:

Coming soon


(Best view still 1900 x 1200)

In this chapter I will introduce some detail for the hardware (humidity and temperature sensor) and a little bit on software.


Hardware:

Hardware is one of the important part for a device so I will try my best to go detail for this section.

I have list down most of the hardware use for this project (please refer to previous blog for detail).



BBB and BB view:


BBB

IMG_3708.JPG

Testing the BBB out of the box. It just working like charm

Using the cable HDMI D to HDMI A from element 14 (http://sg.element14.com/jsp/search/productdetail.jsp?sku=2127550&COM=drawer-part-list+CMPNULL)

Plug to TV, power it up and it working with no issue. It also working with the DC-DC converter supply from power bank with no issue.

Will going for WIFI connection or Ethernet connection and try for programing in future after finish with the hardware.

 


BB View 4.3"

It toke me few hour to found the correct link for the image file support the BB view and few more hour to download it

I think better share it here so other have another alternative getting the file.

Tips: Google drive share file here (https://drive.google.com/folderview?id=0B7Dl_WxBoZJSSG0tNnU3RVpxUUU&usp=sharing) This share link is not permanent maybe broken without notice.

TI-SDK image and source code toke about 2hour each to download in Singapore.

The share file from Google drive with hope it will be faster then the given link.

 

Image NameImage (patched for BB View)Source Codes (patched for BB View)
DebianDebian ImageDebian Source Code
TI-SDKTI-SDK ImageTI-SDK Source Code
AngstromAngstrom ImageAngstrom Source Code
Utility Tools Download Tools

  

element14: BB View LCD Cape Software Download Centre[1]

 

 

 

SENSIRION EK-H5 & SHT75:

To the summary for this testing Sensirion EK-H5 + SHT75

Sensirion EK-H5 and SHT75 humidity sensor and temperature sensor is a complete set for testing.

This system only work in window OS. The application call Sensirion AG/USB RS485 Sensor Viewer.

It can be download from Sensirion webpage or by the given link (http://www.sensirion.com/en/products/humidity-temperature/evaluation-kits/ek-h5/ )

 

IMG_3721.jpg

STH75 sensor and SHT2 sensor that come together with the evaluation kit.

Tips: please handle the SHT75 sensor with care because the PCB is small

 

IMG_3723.jpg

This picture show the complete set of the Sensirion EK H5 and Sensor. It easy to setup.

There is no polarity for the sensor connection but it do not damage if install wrongly. So don't worry.

Software will show error when the sensor install wrongly. Just flip the sensor and problem solve.

 

IMG_3724.jpg

This is the inside look of the USB converter. They using Cypress MCU for this and look like EZ USB Cypress chipset to me.

Almost remove the label to see the chip model he..he.. Maybe will do it if have request

 

 

Software:

I will show some of the software related to the using hardware. This will not cover the detail of the software for this project.

There are few option for BBB, CC3200 and MSP430FR5969. It come with IAR, Energia and CCS

I like the IAR but this one come with size limitation .

Energia is arduino similar platform. For those who using arduino it will be easy to get use of it.

 

 

USB Sensor Viewer

This is the software for the Sensirion sensor. I have tested with SHT2 sensor and SHT75 sensor.

Data also can be log using this software and the format is in excel sheet .csv file.

SHT2x.jpg

Picture show the USB Sensor Viewer work with SHT2x sensor.

 

SHT75a.jpg

This picture show the USB Sensor Viewer hock up with SHT75 sensor.

Face some issue at the beginning due to wrong polarity sensor install but problem solve when flip the sensor and reload the program (Tips: reload is place at the bottom right)

 

SHT75b.jpg

Taking some data with SHT75 sensor. Sampling rate at 1Hz

Maybe will make a more detail in future for this.

 

usb sensor viewer data.jpg

This is the example of data logging taking form the sensor using USB sensor viewer from Sensirion.

 

 

MSP 430 Software Platform

 

IAR

start1.jpg

This is the IAR software for the MSP430 platfrom. This software can only use in Window OS.

 

 

Energia

start1.jpg

Energia is arduino similar platform. This support OS platfrom and look like the only choice for MAC user.

 

 

CCS

start.jpg

CCS (code composer studio) from TI. Come with a lot of example and it just run in Linux and window.

This software is design to support a lot of MSP430 family. It will be long story if want to do a step by step for this, I think.

 

Some information related with the CCS but I think it not support the MSP430 family. I need to go a bit detail to tell about this GUI Composer from TI.

Category:GUI Composer - Texas Instruments Wiki

 

That all for software introduction more detail about software will be posted in the future chapter depend on which software is using for this project.

 

 

Interesting Information:

While doing search for example and getting reference form online. I just come across this spark io, they look interesting and using cc3000 TI WIFI module.

 

Plan to get one of this to try it out. But now can just pre order only

https://www.spark.io/

 

The spark is available in cpc Farnell. Have anyone know what the different cpc farnell and just farnell or element14??

CORECA - SPARK - SPARK CORE, WIFI DEV BOARD, CHIP | CPC

 

For simple data capture service.

Internet of Things application development platform


Another data capture service for easy and simple use.

https://thingspeak.com/

 

 

Sharing:


Doraemon movie

http://www.youtube.com/watch?v=LKc8q9GFeJc


 

Previous:

Dust, Temperature and Humidity Monitor Chapter 4

 

Next:

Dust, Temperature and Humidity Monitor Chapter 6

(Best view 1900 x 1200)


This chapter I just sharing with all about component and sensor that plan to get.

 

I will develop hardware in parallel for BBB and CC3200. Both system have pros and cons for example the CC3200 have an build in WIFI which BBB don't have.

But the main reason is because I not really strong in programing especially high level programing and Linux OS.

So this will prepare me with two ready for programing hardware because at this stage I don't know which platform will provide the best outcome in programing and management.

But base on experience CC3200 look more similar with my daily platform micro controller and BBB look more like a small computer.

 

Given Component:

BBB

Long story at 126 page huh...

http://www.farnell.com/datasheets/1819364.pdf

 

CC3200

This also have some story at 66 page another huh...

http://www.farnell.com/datasheets/1833194.pdf


MSP-EXP430FR5969

This one better with 38 page.

http://www.farnell.com/datasheets/1824797.pdf

 

This all not included the link given which will increase more page...


Next is must have Design Kit from Würth Elektronik. They come in nicely heavy duty box and nicely organize container.

With the plus is they also come with anti static tweezers.

I will recommended to all R&D engineer or anyone in circuit design.

IMG_3710.jpg

Nice and solid box. No affect at all with my 2 year old daughter step on it.

 

IMG_3713.jpg

Very good container with information and picture about the component inside.This help a lot when searching for component.

There also prepare a place for tweezers where perfect touch here.

 

IMG_3714.jpg

Well design and labeling for all component inside.

Will make use of this when design the DC-DC in future.

Really more than you expect. Nice product recommended to all.

 

 

Part list from Element 14:

Part can added to parts list using given link below. Part webpage also can be access by click the Element 14 order code below.

 

430BOOST-SHARP96430BOOST-SHARP96

BB VIEW_43   BB VIEW_43   or  BB VIEW_70BB VIEW_70

SHARP - GP2Y1010AU0F - DUST SENSORSHARP - GP2Y1010AU0F - DUST SENSOR

SZH-003T-P0.5SZH-003T-P0.5

ZHR-6 - CONNECTOR HOUSING, 6WAYZHR-6 - CONNECTOR HOUSING, 6WAY

SENSIRION - SHT75SENSIRION - SHT75

SENSIRION - EK-H5SENSIRION - EK-H5

SUNON - EB40200S2-0000-999 - FAN, 40X40X20MM, 5VDCSUNON - EB40200S2-0000-999 - FAN, 40X40X20MM, 5VDC

ELEMENT14 - WIFI DONGLEELEMENT14 - WIFI DONGLE

MOLEX - 68786-0001 - MICRO HDMI CABLE ASSEMBLY MOLEX - 68786-0001 - MICRO HDMI CABLE ASSEMBLY

 


1

2429519TEXAS INSTRUMENTS
430BOOST-SHARP96
LCD BOOSTERPACK PIM, MSP430 LAUNCHPAD Yes  SG 5 UK 6    S$29.30    

  S$58.60

 

Line Note:   
  Accessories Available RoHS Compliant

2

2364756ELEMENT14
BB VIEW_43
4.3INCH LCD DISPLAY CAPE, FOR BEAGLEBONE Yes  SG 47 UK 167    S$107.16   

  S$107.16

 

Line Note:   
Accessories Available RoHS Compliant

3

9707956SHARP
GP2Y1010AU0F
DUST SENSOR Yes  SG  0 UK 366    S$17.53   

  S$52.59

 

Line Note:   
Accessories Available RoHS Compliant

4

3357533JST (JAPAN SOLDERLESS TERMINALS)
SZH-003T-P0.5
CONTACT, CRIMP, RECEPTACLE, 32-28AWG Yes  SG 4904 UK 25130    S$0.033   

  S$0.99

 

Line Note:   
  Alternative Products Available RoHS Compliant Accessories Available RoHS Compliant

5

3357570JST (JAPAN SOLDERLESS TERMINALS)
ZHR-6
CONNECTOR HOUSING, 6WAY Yes SG 19947 UK 9254    S$0.041   

  S$0.41

 

Line Note:   
  Accessories Available RoHS Compliant

6

1590514SENSIRION
SHT75
SENSOR, HUMIDITY & TEMP, 3.3V Yes  US 0 SG  71 UK 32    S$40.56   

  S$121.68

 

Line Note:   

7

1924832SUNON
EB40200S2-0000-999
FAN, 40X40X20MM, 5VDC Yes  SG  15 UK 382    S$4.47   

  S$13.41

 

Line Note:   
Accessories Available RoHS Compliant

8

1855471SENSIRION
EK-H5
EVALUATION KIT, HUMIDITY, FOR SHT2X/7X Yes  SG 15 UK 0    S$78.86   

  S$78.86

 

Line Note:   
Accessories Available RoHS Compliant

9

2127550MOLEX 
68786-0001
MICRO HDMI CABLE ASSEMBLY Yes  US 376 SG 0 UK 0    S$24.45   

  S$24.45

 

Line Note:   
Alternative Products Available RoHS Compliant Accessories Available RoHS Compliant

10

2437981ELEMENT14
WIFI DONGLE
USB DONGLE, WLAN, 150MBPS Yes  SG 91 UK 936    S$19.40   

  S$19.40

 

Line Note:   
Accessories Available RoHS Compliant



Going to get component:

430Boost-sharp96 - 20 page

Plan to use this with CC3200 and MSP-EXP430FR5969 for showing data information and work as front end GUI.

http://www.farnell.com/datasheets/1830501.pdf


BB view 43 - 48 page

Plan to use this with BBB for GUI.

http://www.farnell.com/datasheets/1824482.pdf


SHT 75 - 12 page

This is temperature sensor and humidity sensor (2in1). I choose this sensor because they are the best that I found that come with reasonable price tag.

(please let me now if anyone have better suggestion)

This sensor also come I²C digital output where user can get data with less issue with noise and ADC.

http://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/Humidity/Sensirion_Humidity_SHT7x_Datasheet…

 

Dust sensor - 12 page

The only dust sensor available to get on hand. Maybe need to consider the measurement laser system in the laboratory to replace this one.

Hm..m.. I don't think so. Look at the price, no way can use that system.

http://www.farnell.com/datasheets/73805.pdf


Other will be the support component like connector, fan, EK-H5, power bank and more.

I will not go into detail for support item unless it useful from my point of view.



Design:

We do it with cubic


Design version 1.0.0 with placing all the part in the drawing.

Using multistage concept with each level dedicated for certain part or component. This will make installation, modification, debugging, assembly and other work easy in future.

Plan to use PCB as the base for each stage which can work as support and able to make connection header between them if needed.

Now having some placement issue to bring internal connection out of the box. Maybe the end design in not cube anymore .

Right now just think of using acrylic or 3D printed nylon for this housing. Please let me know if anyone have suggestion . Now just plan for local 3D printing service.

design1.jpg

Picture show with transference housing to show the inside part. Current dimension is 120mmx120mmx120mm due to 4.3" LCD. But may change in future.


Other information:

Eclipse:

More information on IoT. This is presentation slide show more information about their product.

Building the Internet of Things with Eclipse IoT - JavaLand 2014

 

Kura-Kura mean turtle in Malay language

 

https://eclipse.org/kura/downloads.php

Example for BBB with kura Eclipse

BeagleBone Quick Start

 

 

Sharing:

Thinking of making cube design for my sensor and look around internet I found this http://techcrunch.com/2014/01/07/cubesensors-brings-health-and-comfort-monitoring-to-the-whole-home/

Cube sensor product on market come with app and base station. More information: https://cubesensors.com/

 


Seat back for a while and rest.....


https://archive.org/download/49DaysPureLoveOst/49DaysOst-ShinJae-FallingTears.mp3

https://archive.org/download/49DaysPureLoveOst/download%2F49DaysPureLoveOst%2F49DaysPureLoveOst_vbr.m3u

Nature Wallpaper Beautiful Sunset

Nature

http://www.hdwallpapersinn.com/wp-content/uploads/2014/07/best-nature-top-hd-wallpapers-widescreen-cool-images.jpg














OK enough go back to work. he..he..


Previous:

Dust, Temperature and Humidity Monitor Chapter 3

 

Next:

Dust, Temperature and Humidity Monitor Chapter 5

In this chapter I am going to write about dust sensor. If you follow my project then you will know I plan to use Sharp GP2Y1010AU0F dust sensor.

Again I will provide the information here in case someone is not read my previous chapter.

 

SHARPGP2Y1010AU0F

Link to Element 14

http://sg.element14.com/sharp/gp21010au0f/dust-sensor/dp/9707956?COM=IntheAirDesignChallenge

 

Link for datasheet

http://www.farnell.com/datasheets/73805.pdf

https://www.sparkfun.com/datasheets/Sensors/gp2y1010au_e.pdf

 

Related connector

http://sg.element14.com/jst-japan-solderless-terminals/zhr-6/connector-housing-6way/dp/3357570

http://sg.element14.com/jst-japan-solderless-terminals/szh-003t-p0-5/contact-crimp-receptacle-32-28awg/dp/3357533

 

 

This is a simple dust sensor, it shine an LED light and measure light power or density to determine the dust or particle in the air.

Given picture below show the internal design of the sensor.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


T

To anyone who want to use this sensor please noted that this sensor is not accurate calibrated and user need to calibrated them to get correct and good data (base on my experience).

They never mention to use different supply for LED and the amplifier circuit. In my case I using same supply 5V for LED and amplifier circuit.

For this testing I using workbench power supply unit but in the real application I going to use DC-DC converter or Power Bank to run the circuit.

I hope those dc-dc not affected the stability of the output data. My selection power bank is Xiaomi power bank due to price and battery given (Mi Power Bank - Mi Singapore).

Will DIY the power management part if possible but for now just keep with power bank.

 

Warning: Please remember to install the 150Ω resistor before power up the LED to prevent damage to the LED.

 

LED is driving using pulse wave, LED is activated when the input is low. Mean LED ON when the drive pulse at 0v or lower then 2.5V.

You need a digital output or PWM output for this LED drive pulse.

 

 

For data it look straight forward. Output of amplifier is analog signal form about 0.9v to 3.5V.

The important is the data taking need to be taken 0.28ms after the on stage for LED to get the accurate data.

 

Dust sensor detail:

1.jpg

This is front view of dust sensor(I think). They have 6 pin 1.5mm pitch header and some test point with opening hole from the metal housing.

The variable resistor to set the sensitivity of the sensor also can be access from this side.

Higher resolution picture:

https://www.dropbox.com/s/d4begl1qdhi6z5x/IMG_3672.JPG?dl=0

 

2.jpg

This is back view of dust sensor(also I think). The hole in the middle is to allow air pass and where the air dust will be measure.

Here you also can identifier the sensor brand and model. They are indicated on the housing (this angle of picture normally see for Element 14 order) .

Higher resolution picture:

https://www.dropbox.com/s/82l3oh7225bcc0s/IMG_3673.JPG?dl=0

 

3.jpg

This view is after metal cover been remove.

Here you can see the transistor, amplifier and PCB where all the component been put together.

The metal cover hold by two screw that screw to the plastic housing.

Higher resolution picture:

https://www.dropbox.com/s/a8wual3fe6yeppi/IMG_3677.JPG?dl=0

 

 

4.jpg

The last view is LED, photo detector and lenses in black plastic housing. They been arrange nicely to detect the light reflection

Look like this sensor is not design for servicing. Everything is keep hidden inside and lenses also unable to access from outside.

Higher resolution picture:

https://www.dropbox.com/s/z09ity0ommgrrhn/IMG_3682.jpg?dl=0

 

 

Dust sensor testing:

5.jpg

Higher resolution picture:

https://www.dropbox.com/s/yi6ktuqaeh24r7e/IMG_3675.JPG?dl=0

 

6.jpg

Higher resolution picture:

https://www.dropbox.com/s/wemnngbtam4045i/IMG_3685.JPG?dl=0

 

 

For testing I'm using function generator to drive LED and oscilloscope for output reading and measurement.

Look like a particle counter is needed to calibrate this sensor. The output is just difficult to see from oscilloscope and it come in random unless you put something in the hole


Vibration will affected the output of this sensor, mean that this sensor is not suitable to use in a vibrating or very hash environment.

The output signal will keep jumping although the LED pulse is not given.

Lighting also will affected the output signal, this mean when there are strong light shine to sensor it will provide some reading.

This will affected data and provide an error data when in the event of data reading.



Some advice:

Try to make the connection as short as possible to get nice and more accurate data. This also will help to reduce the noise and prevent delay that will affect data taking.

Solder directly to the PCB on this sensor will be better way of connection. Having some issue with the connection using DIY clamp header.

 

 

 

Sharing:

Some example form other work on same sensor.

http://www.howmuchsnow.com/arduino/airquality/

http://sensorapp.net/sharp-dust-sensor-and-arduino/

 

Please check the code I not sure it working

Arduino code for this sensor http://www.howmuchsnow.com/arduino/airquality/dust.ino


Another similar sensor found just for sharing.

Buy Grove - Dust Sensor [SEN12291P] | Seeedstudio


Previous

Dust, Temperature and Humidity Monitor Chapter 2

 

Next

Dust, Temperature and Humidity Monitor Chapter 4

R & D:

Sensor, sensor, sensor and more sensor.

Other already start with some sensor and testing but I still in progress looking for sensor . Maybe I should stop looking at other and just doing my own one he..he..

Looking for good and affordable sensor is not that easy and fun. First issue price, 2nd quality, 3rd interface and lease not last program. This all haven't included the accuracy, stability, lifespan and other.

 

After few research, I have choose this Sharp GP2Y1010AU0F dust sensor and SHT75. Below is more information about this two sensor.

SHARPGP2Y1010AU0F

 

Look like this is the only dust sensor available in element 14 up to my knowledge. Please let me know if someone have any information for dust sensor from element 14.

 

Now preparing of testing for this sensor. I’m currently using old sensor for testing.

 

The output for this sensor is analog voltage (please refer datasheet for more information http://www.farnell.com/datasheets/73805.pdf).

It should not have any issue for use with BBB or CC3200 unless the build in ADC is not enough resolution for the requirement.

 

Dust sensor:

GP2Y1010AU0F - SHARP - DUST SENSOR | element14 Singapore

Sensors | Sharp Devices Europe

https://www.semiconportal.com/en/archive/new-product/device/140117-sharp-pm25.html

 

SENSIRIONSHT75This sensor look good enough for the requirement needed. SHT75 have an accuracy of 1.8% and SHT71 have an accuracy of 3%.

They both using I²C digital output and able to operate at 3.3V or 5.0V.

Another good news is they come with pin package. Wo..ho.. don't need to make PCB for connection.

 

Planning to get the evaluation kit to help in the testing and more understand about the sensor.

This also will help in development of this sensor in the circuit.

 

 

Humidity and temperature sensor(combine):

EK-H5 - SENSIRION - EVALUATION KIT, HUMIDITY, FOR | element14 Singapore

SHT75 - SENSIRION - SENSOR, HUMIDITY & TEMP, 3.3V | element14 Singapore

 

For individual temperature and humidity sensor I will look into them if there any issue with the plan sensor.

 

Other:

Connector

  • USB
  • DC jack

Fan

LCD

Memory cards

ADC

PowerBank

Switch


Plan1:

Using BBB + dust sensor + humidity & temperature sensor + 7" or 4.3" display for BBB + power bank (4cell 18650 battery) + WIFI dongle


Plan 2:

Using cc3200 + dust sensor + humidity & temperature sensor + 430BOOST-SHARP96 + power bank (4cell 18650 battery)

 

Sharing:

Screen shot 2014-11-04 at AM 10.23.32.png

Experience with some error with blog save draft. I suggest you have another backup although here already have build in back up.

I just lost some of my information here with some unknown error.

 

 

 

 

 

 

 

 

 

 

 

 

sharing1.jpg


Edit and delete is close to each other be careful when aim your target.

So far no issue with this, using a 5200dpi mouse he..he..







One more thing, when the blog is post there is no option for you to bring them back to draft.

But don't worry, you able to edit them from time to time

 

 

Previous

Dust, Temperature and Humidity Monitor Chapter 1

 

Next

Dust, Temperature and Humidity Monitor Chapter 3

Project code     : Nanoimp.

Objective          : Monitor and eliminate dust and particle in the air.

Location           : Singapore (1.2971342,103.7777567,17).

Time                 : 2160 hour.

Target               : Complete system, low cost, & better life

 

 

Idea 101:


idea101.jpg

Now the air quality become worse and worse especially in town area. This idea is to solve air issue for critical need like asthma patient, laser laboratory and baby or elderly.

 

The main Idea is build monitor system and air filter system.

Monitor device is for monitor dust, temperature and humidity in the air.

Air filter device is to filter air and cool the area(optional).

This two device will work together via IoT.

 

All the device can be link and manage to work together or individual.

For example, user can setup 3 monitor system with just one filter system. The information from 3 monitor system can be use to control the filter system in a require setting.

On the other way round, user also can only use one monitor system to control multiple filter system.

 

Monitor System:

 

This is planning monitor system and not the end prototype. It will be different in part and program development.

My plan is try to use the given device before going to other.

This is the main system to be done. I hope can complete all but for now just concentrate on the main.

 

Monitor System 1:

minitorsystem2.jpg

 

Monitor System 2:

 

minitorsystem3.jpg

 

 

Filter System:

 

For filter system the main idea is simple. Force dust and particle (nanoimp) to water and trap them in the water.

If this still not enough then trap them in HEPA filter after the water trap.

Not sure what sensor will be included at this moment, maybe water level. Let see how.


filtersystem.jpg


Some testing:


Filter test:

watertrap.jpg

It look simple, build simple and it simply work

 

Try using the big fan with no speed drive it blow hard to water and water splash every where.

End up running 12V blower for few hour and the result quite good but those big fan work great he..he..

 

Simple check using 10W LED  touch light to check the dust and look like this method working very well.

The big dust & particle even can seen in the water trapped

 

Sorry no waterproof camera to show the dust & particle in the water.

Maybe next time update you guys with the picture.

 

 

 

 

 

 

Show time but it a bit boring.

 

 

Sierra Wireless system Testing:

I have starting to play around with Sierra wireless cloud system to more understanding their system.

sierra start.jpg

 

Starting with registering and it was easy (http://developer.sierrawireless.com/Cloud%20Platform.aspx).

First view around for example as many as I can get to boost up the development time.

When searching around the system look very serious, They plan for BIG, I mean is their system is design so that can support thousand or even million device and all around the world.

Don't worry, with this ability then for small quantity it should not be an issue he..he..

 

I found this and it look easy (http://airvantage.github.io/tutorials/2013/07/05/rest-for-devices/)

 

Have try for few time to upload my apps but just get error for not supported file. Maybe there are something wrong or stupid thing done by me.

I just hope they have a working downloadable file for user to try out.

Will try again when have free time

 

 

 

 

Sharing:

SKEDD it cool

Be patience for the video

http://www.we-online.de/web/en/intelligente_systeme/neu__skedd/startseite.php

 

Other Support link:

Würth Elektronik tool:

http://www.we-online.de/web/en/electronic_components/toolbox_pbs/Toolbox.php

 

Air Design Challenge TI support:

http://www.element14.com/community/message/129415/l/have-a-question-for-ti-ask-it-here#129415

 

Sierra Wireless support:

https://signup.airvantage.net/public/avep/

 

More for Sierra Wireless and look like I need more time to digest the given information

Ger started

https://na.airvantage.net/

More example

http://airvantage.github.io/tutorials/eclo/

http://airvantage.github.io/devkit/app/#/data/b814c0981882494cb09830d93aeb0aaf

https://doc.airvantage.net/display/USERGUIDE/Tutorial+videos

User guide

https://doc.airvantage.net/display/USERGUIDE/User+Guide

Example for BBB ( look simple, but have a try to fell the burn)

https://github.com/crystallam/beagleboneblack-mqtt-greenhouse

 

Please use the support wisely

 

Previous

Dust, Temperature and Humidity Monitor                  

 

Next

Dust, Temperature and Humidity Monitor Chapter 2

Hi all,

 

Just receive an email inform that I'm in for the in the air design challenge.

Still cannot trust it, just start with what information given so far.

This is my first time in challenge here. Thank in advance for all comment, suggestion, guide and help.

 

Try to organize everything to make it easy for other and my self.

 

But first I would like to thank to all sponsor and related person who have put a lot of effort and hard work to make this happen.

Secondly I would like to thank Element14 and Dr. Christian DeFeo for giving me and other opportunity to build the prototype and provide support.

FInally I will like to thank my family, colleague, company and all related person for their support and help.

 

 

Sponsor & Collaboration (link)

Texas Instruments Analog, Embedded Processing, Semiconductor Company, Texas Instruments - TI.com

Wurth Electronics WE Home | Würth Elektronik: Würth Elektronik Group

Cisco Systems Cisco Systems, Inc

Element 14 element14 Singapore | Formerly Farnell | Electronic Components Distributor

Eclipse https://www.eclipse.org/

Sierra wireless Sierra Wireless - Modules, gateways and cloud services for M2M

Keysight technology Singapore Home | Keysight (formerly Agilent Test and Measurement)


(hope don't miss any and thank for support)

 

 

Starting part list:

  • Beaglebone Black
  • CC3200 LaunchPad
  • MSP430FR5969 LaunchPad
  • Power Inductor Kits from Wurth Electronics
  • CadSoft Pro License
  • Access to Sierra Wireless' AirVantage M2M Cloud Platform
  • Access to advanced development tools from the Eclipse Foundation
  • €40 / $50 towards Wurth Electronics's PCB services
  • All passive components, connectors, switches and LEDs listed here will be supplied free of charge.
  • A €375 / $500 budget for additional parts and prototyping

 

Useful given link:

http://www.element14.com/community/community/designcenter/single-board-computers/next-gen_beaglebone

http://www.element14.com/community/community/designcenter/ti_launchpad

http://www.element14.com/community/docs/DOC-68051

http://www.element14.com/community/community/cadsoft_eagle

http://katalog.we-online.de/en/

http://www.element14.com/community/docs/DOC-70342/l/in-the-air-challenge-competitors

http://www.element14.com/community/community/design-challenges/in-the-air-design-challenge/blog/2014/10/24/in-the-air-design-challenge--the-competitors


(Good Luck to all)

  • Janis Alnis (Latvia)
  • Dominic Amann (Canada)
  • Ravi Butani (India)
  • Christever del Rosario (New Zealand)
  • Ambrogio Galbusera (Italy)
  • Dragan Knezevic (Serbia)
  • Crystal Knodel (U.S.)
  • Ryan Longlong M. Labutap (Philippines)
  • Manolis Nikiforakis (Greece)
  • Inderpreet Singh (India)
  • Gan Eng Swee (Singapore)
  • Anshul Thakur (India)
  • Frederick Vandenbosch (Belgium)
  • Dale Winhold (Canada)
  • Michael Wylie (U.S.)

 


Some booster force:

1. U1273A OLED Multimeter from Keysight
2. A MacBook Pro 15" with Retina Display
3. Texas Instruments SensorTag

1. A Macbook Air.
2. Texas Instruments SensorTa

Version 1

 

  • Individuals will be selected for the "In the Air" IoT Pollution Sensor Design Challenge (henceforth, "The Challenge") on the basis of quality of applications: we expect a full and complete description of why you want to take part in this challenge and your initial ideas for utilising the proposed kit effectively.
  • Individuals selected for the Challenge will be required to blog about their projects on a weekly basis.  Additional content such as videos and designs will be an added bonus when it comes to judging competitors.
  • Failure by a selected individual to participate in accordance with the parameters of the Challenge, provided no reasonable cause for this inability to participate is given, may result in exclusion from future Road Tests and challenges.
  • The final submission date for this challenge is January 30, 2015.
  • This competition is not open to individuals employed by the Premier Farnell group of companies or Texas Instruments, Cisco, Keysight, Eclipse and Sierra Wireless organisations.

 

 

 

Important date:

- February 27 2015 ( final submission )

- Weekly update ( if possible )


Look like getting this challenge is real.

 

Good Luck & Have Fun