element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Safe and Sound
  • Challenges & Projects
  • Design Challenges
  • Safe and Sound
  • More
  • Cancel
Safe and Sound
Blog Safe and Sound - Hazardous Factors Monitoring System - Gas Sensors Module - blog 17
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dougw
  • Date Created: 15 May 2017 3:17 AM Date Created
  • Views 642 views
  • Likes 7 likes
  • Comments 2 comments
  • safe and sound
  • mqtt
  • doug wong
  • safe and sound design challenge
  • hazardous_environmental_factors
  • invisible_hazards
  • safe & sound
  • wearable technology
  • uv sensor
  • Wearables
  • safe&sound
  • hazardous gasses
Related
Recommended

Safe and Sound - Hazardous Factors Monitoring System - Gas Sensors Module - blog 17

dougw
dougw
15 May 2017

This update documents progress on power up of the custom gas and UV sensor module. I did run into a few snags getting the card to work, or rather getting the software to work. The hardware on the card is designed properly, but it has just been too long since I designed the card and my software assumptions were somewhat inexplicable. After backtracking my way through everything, I finally got it sorted out. I will post an update to my pinout table at the end of this blog in case anyone else has similar problems.

I did go one step at a time to minimize the risk of frying sensors or cards, so the following video uses resistors in place of sensors to make sure the software and hardware are working properly:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

I still have to perform some calibration once the sensors are burned in.

Packaging this module involves a lot of tricky features, and multiple parts which will take a couple of days to model. Hopefully I can get the 3D print to work without iterating.

 

Here is an updated BoosterPack pinout table for the various modules associated with this design challenge:

EnergiaBooster432P401RMCUSHARP LCDCC3100ModBoost BoostXLBoostSense1CC2650BLEDLP7970ABPMQ_boosternotes
J1-11+3.3V+3.3V+3.3V+3.3V+3.3V+3.3V+3.3V+3.3V+3.3V+3.3V
J1-22Analog InA15P6.0LCD ControlLED9MRDY
J1-33UART RXUART RXP3.2UART RXTXD
J1-44UART TXUART TXP3.3UART TXRXD
J1-55GPIOGPIO 1P4.1LCD EnablenHibINT1LEDxmove R16 to R17
J1-66Analog InA10P4.3SPI CSLED1
J1-77SPI CLKSPI CLKP1.5SPI CLKSPI CLKLED2SPI CLKSPI CLK
J1-88GPIOGPIO 2P4.6Left Slide 2MAG INTSens0DIOIRQ
J1-99I2C SCLI2C SCLP4.5Left Slide 1I2C SCLSens1SPI CS
J1-1019I2C SDAI2C SDAP4.4Left Slide 0I2C SDASens2EN
J2-120GNDGNDGNDGNDGNDGNDGNDGNDGNDGND
J2-219GPIOGPIOP2.5Ext COM InvertIRQSRDY
J2-318SPI CS WSPI CS WP3.0SPI CSSPI CSXout
J2-417GPIOGPIOP5.7
J2-516RSTRSTRSTnResetReset
J2-615SPI MOSISPI MOSIP1.6SPI SIMOSPI MOSILED4MOSIMOSI
J2-714SPI MISOSPI MISOP1.7SPI MISOLED3MISOMISO
J2-813SPI CS DSPI CS DP5.0Right Slide 2INT2Sens5DIO13LED
J2-912SPI CS OSPI CS OP5.2Right Slide 1TMP INTSens4LED
J2-1011GPIOGPIOP3.6Right Slide 0OPT INTSens3LED
J3-121'+5V'+5V'+5V'+5V'+5V'+5V
J3-222GNDGNDGNDGNDGNDGNDGND
J3-323Analog In 3A14P6.1MQ-7CO
J3-424Analog In 4A13P4.0MQ-135AQ
J3-525Analog In 5A11P4.2MQ-3Alc
J3-626Analog In 6A9P4.4UV
J3-727Analog In 7A8P4.5CO2
J3-828Analog In 8A6P4.7
J3-929A10P5.4
J3-1030A0P5.5
J4-140GPIOGPIOP2.7
J4-239GPIOGPIOP2.6
J4-338GPIOGPIOP2.4MQ7D
J4-437GPIOVREFP5.6UART CTS
J4-536GPIOGPIOP6.6UART RTS
J4-636GPIOGPIOP6.7nReset
J4-734GPIOGPIOP2.3NWP Log TX
J4-833GPIOGPIOP5.1WLAN Log TX
J4-932GPIOGPIOP3.5MQ135D
J4-1031GPIOGPIOP3.7MQ3D

The yellow cells are just the pins I am using in my project.

 

The deadline for this project is starting to put stress on progress, but with this latest milestone, the remaining work is more about finding enough time than overcoming major problems.

 

All links to blogs related to this project can be found in the first blog here:

Safe and Sound - Invisible Hazardous Environmental Factors Monitoring System - blog 1

  • Sign in to reply

Top Comments

  • jomoenginer
    jomoenginer over 8 years ago +3
    Nice update Doug. The board looks cool and seems to be coming together rather nicely.
  • DAB
    DAB over 8 years ago +2
    Nice low risk progressive testing technique. Great job. DAB
  • DAB
    DAB over 8 years ago

    Nice low risk progressive testing technique.

     

    Great job.

     

    DAB

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jomoenginer
    jomoenginer over 8 years ago

    Nice update Doug.   The board looks cool and seems to be coming together rather nicely. 

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube