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.
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.
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.
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.
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:
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 .
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..
Picture show my dust sensor using direct wire soldering
PCB is coming and it look good to use.
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.
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
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.
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
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;|
|sprintf(res, "%4.3f", value);|
|float valuek = 78.230984;|
|sprintf(res1, "%4.3f", valuek);|
|myScreen.text(10, 20, "Voltage:");|
|myScreen.text(10, 30, res);|
|myScreen.text(10, 40, res1);|
|myScreen.text(10, 10, "Haze Monitor");|
screen show value 2.031. I have no idea at all where this number come from OMG.
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;
sprintf(res, "%d", v1000);
sprintf(res1, "%d", v100);
sprintf(res2, "%d", v10);
sprintf(res3, "%d", v1);
sprintf(res4, "%d", v01);
sprintf(res5, "%d", v001);
sprintf(res6, "%d", v0001);
sprintf(res7, "%d", v00001);
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);
Picture show the output for the given float value. Play around with some value and the output is still acceptable.
Best view 1920 X 1200
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.
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.
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.
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.
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:)
Link for the gerber file.
The PCB for this project: (The share download link will broken without notice)
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.
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..
Just coming back from Las Vegas, US. Sorry for no weekly update
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.
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.
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.
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.
Picture show the updated 2 layer PCB design for the BBB, fan, dust sensor and connector.
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
Having some issue with the CC3200 drill file. Look like some of the drill hole is not align with the pad. Any idea everyone?
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 .
Big 3D printer
3D printed music equipment + nice music
3D printed food
(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.
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.
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
Attached picture show the prototype PCB cutting process
Attached picture show the prototype PCB end process
Attached picture show the finishing prototype PCB
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
In the Q for few minute thinking that not going to make it
But today quite lucky, fast enough to order 2pc xiaomi power bank for this project
Just share some informative video about Nissan leaf battery.
(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.
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.
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
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.
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.
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 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 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.
Picture show example of the part that going to use for this project. Will share the information in future.
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.
This is video clip for BMW i3 production. It quite interesting see their setup and process. See how the robot work... nice...
(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 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).
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.
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 Name||Image (patched for BB View)||Source Codes (patched for BB View)|
|Debian||Debian Image||Debian Source Code|
|TI-SDK||TI-SDK Image||TI-SDK Source Code|
|Angstrom||Angstrom Image||Angstrom Source Code|
|Utility Tools||Download Tools|
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/ )
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
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.
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
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.
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.
Picture show the USB Sensor Viewer work with SHT2x sensor.
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)
Taking some data with SHT75 sensor. Sampling rate at 1Hz
Maybe will make a more detail in future for this.
This is the example of data logging taking form the sensor using USB sensor viewer from Sensirion.
This is the IAR software for the MSP430 platfrom. This software can only use in Window OS.
Energia is arduino similar platform. This support OS platfrom and look like the only choice for MAC user.
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.
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.
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
The spark is available in cpc Farnell. Have anyone know what the different cpc farnell and just farnell or element14??
For simple data capture service.
Another data capture service for easy and simple use.
(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.
Long story at 126 page huh...
This also have some story at 66 page another huh...
This one better with 38 page.
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.
Nice and solid box. No affect at all with my 2 year old daughter step on it.
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.
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.
|2429519||TEXAS INSTRUMENTS |
|LCD BOOSTERPACK PIM, MSP430 LAUNCHPAD||Yes||SG 5 , UK 6||S$29.30|
|4.3INCH LCD DISPLAY CAPE, FOR BEAGLEBONE||Yes||SG 47 , UK 167||S$107.16|
|DUST SENSOR||Yes||SG 0 , UK 366||S$17.53|
|3357533||JST (JAPAN SOLDERLESS TERMINALS) |
|CONTACT, CRIMP, RECEPTACLE, 32-28AWG||Yes||SG 4904 , UK 25130||S$0.033|
|3357570||JST (JAPAN SOLDERLESS TERMINALS) |
|CONNECTOR HOUSING, 6WAY||Yes||SG 19947 , UK 9254||S$0.041|
|SENSOR, HUMIDITY & TEMP, 3.3V||Yes||US 0 , SG 71 , UK 32||S$40.56|
|FAN, 40X40X20MM, 5VDC||Yes||SG 15 , UK 382||S$4.47|
|EVALUATION KIT, HUMIDITY, FOR SHT2X/7X||Yes||SG 15 , UK 0||S$78.86|
|MICRO HDMI CABLE ASSEMBLY||Yes||US 376 , SG 0 , UK 0||S$24.45|
|USB DONGLE, WLAN, 150MBPS||Yes||SG 91 , UK 936||S$19.40|
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.
BB view 43 - 48 page
Plan to use this with BBB for GUI.
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.
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.
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.
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.
Picture show with transference housing to show the inside part. Current dimension is 120mmx120mmx120mm due to 4.3" LCD. But may change in future.
More information on IoT. This is presentation slide show more information about their product.
Kura-Kura mean turtle in Malay language
Example for BBB with kura Eclipse
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.....
OK enough go back to work. he..he..
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.
Link to Element 14
Link for datasheet
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.
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:
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:
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:
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:
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:
Dust sensor testing:
Higher resolution picture:
Higher resolution picture:
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.
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.
Some example form other work on same sensor.
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.
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.
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.
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):
For individual temperature and humidity sensor I will look into them if there any issue with the plan sensor.
Using BBB + dust sensor + humidity & temperature sensor + 7" or 4.3" display for BBB + power bank (4cell 18650 battery) + WIFI dongle
Using cc3200 + dust sensor + humidity & temperature sensor + 430BOOST-SHARP96 + power bank (4cell 18650 battery)
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.
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
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
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.
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:
Monitor System 2:
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.
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.
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
SKEDD it cool
Be patience for the video
Other Support link:
Würth Elektronik tool:
Air Design Challenge TI support:
Sierra Wireless support:
More for Sierra Wireless and look like I need more time to digest the given information
Example for BBB ( look simple, but have a try to fell the burn)
Please use the support wisely
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)
Wurth Electronics WE Home | Würth Elektronik: Würth Elektronik Group
Cisco Systems Cisco Systems, Inc
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:
Useful given link:
(Good Luck to all)
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
created by Sagar Jethani
- February 27 2015 ( final submission )
- Weekly update ( if possible )
Look like getting this challenge is real.
Good Luck & Have Fun