
Kicad shield lora temp
MOSH-Insa-Toulouse/Chouvet_Laffosse_Gas_Sensor
Project done for the MICROCONTROLLERS AND OPEN-SOURCE HARDWARE course of INSA Toulouse.

Project done for the MICROCONTROLLERS AND OPEN-SOURCE HARDWARE course of INSA Toulouse.
Kicad shield lora temp is an open-source printed circuit board by MOSH-Insa-Toulouse, from the MOSH-Insa-Toulouse/Chouvet_Laffosse_Gas_Sensor repository on GitHub. It is a 2-layer board of 68.6 × 53.3 mm with 20 parts on 44 nets, routed with 76 tracks and 0 vias.
It is built around the LTC1050CP. Its parts include 5 resistors, 4 capacitors, 4 connectors and 3 ICs. It belongs with the radio and wireless boards of this library.
Project done for the MICROCONTROLLERS AND OPEN-SOURCE HARDWARE course of INSA Toulouse.
Authors : Jean-Baptiste Laffosse - Julien Chouvet
The aim of this project is to build a connected gas sensor.
To be more specific, we use RN2483 chip, connected to an Arduino Uno, to send on the LoRa Network the values returned by the MQ-9 gas sensor. Thanks to The Things Network and Node-RED we create a dashboard as a user interface. In this dashboard, the user can monitor the value of the gas sensor and calibrate it.
We also add a gas alert function which is triggered when the value return by the MQ-9 goes over a threshold value. As we cannot attach an interrupt on a analog input, to do this, we used a Schmitt trigger connected to a numerical pin of the Arduino Uno. Thus, when an alert is detected (rising or falling edge, mode CHANGE), the interruption triggered a function. The user is informed of this alert by a buzzer and by a message displayed on the dashboard.
Finally, we develop a shield that we can plug on the Arduino Uno microcontroller. So we use KiCAD to sketch all the circuits of the shield.
- Arduino Uno : https://store.arduino.cc/usa/arduino-uno-rev3
- MQ-9 Gas Sensor : http://www.mouser.com/catalog/specsheets/Seeed_101020045.pdf
- Microchip RN2483 : http://ww1.microchip.com/downloads/en/DeviceDoc/50002346C.pdf
- Operational Amplifier LM741 : http://www.ti.com/lit/ds/symlink/lm741.pdf
For this project we used an Arduino Uno board.
We developed the code on the Arduino IDE : https://www.arduino.cc/en/Main/Software
The source code of the project is available on the GasSensor_TTN_LoRa directory.
You can find more information on this code on our report.
We use a Schmitt trigger to detect when the value of the gas sensor goes over a threshold value.
The design and the LTSpice simulation of this electronic circuit are available on the Schmitt_Trigger directory.
You can find more information on the Schmitt trigger on our report.
The Things Network (TTN) is a worldwide community LoRa network provided an end-to-end stack for IoT. To configure TTN follow these steps :
You can find more information on how we used TTN to send/receive messages to/from the Arduino, on the Arduino code and also on the report. You can also find the Decoder and Validator function on the TTN directory.
Node-RED is a flow-based development tool for visual programming developed originally by IBM for wiring together hardware devices, APIs and online services as part of the Internet of Things. (source : https://en.wikipedia.org/wiki/Node-RED#cite_note-2)
We used it to create a dashboard, in which the user can see the value of the gas sensor and can also ask to calibrate the sensor.
To install Node-RED for TTN follow these steps :
Follow this tutorial to install Node.js and NodeRED : https://nodered.org/docs/getting-started/installation
To send/receive messages to/from devices through TTN, you need to install the TTN node for NodeRed :
cd $HOME/.node-red
npm install node-red-contrib-ttnTo create a dashboard, you need to install a specific module :
cd $HOME/.node-red
npm install node-red-dashboardTo run Node-RED, open a prompt and type node-red. Then open a browser and type the following URL : http://127.0.0.1:1880/
You can find the Node-RED flow made for this project in the Node_RED directory. Have a look at our report for more information.
KiCad is an open-source software tool for the creation of electronic schematic diagrams and PCB artwork. The main avantage with KiCAD is that the software offers a singular interface for all the steps needed during the development of the shield. This is why we choose KiCAD to develop our shield.
You can find all the documentation needed here : http://docs.kicad-pcb.org/stable/en/getting_started_in_kicad.html
To develop the shield or open our files, you need to follow these steps :
First, you need to download KiCAD at the following address and choose your operating system. KiCAD will allow you to open the project file .pro of the shield. http://www.kicad-pcb.org/download/
You can start sketching your circuit thanks to Eeschema. If your component does not exist you can create it or import it from an external library. With Eeschema, you can open all the .sch, .lib, .net files, and like this see our circuit contained in the .sch file.
Annotate, and perform the rule check. Make sure you don't have any errors. Then you can associate each component with their footprint.
Generate the Netlist of your schematic, in fact you will generate a .net file.
You can now create your PCB. For this open PCBnew and read the Netlist. Perform the rule check and make sure you don't have any errors. PCBnew allows you to open all the ** .kicad_pcb and .kicad_mod files, and our PCB is contained in the .kicad_pcb file.
Export your Gerber file from PCBnew. If you want, you can inspect your file from GerbView. All the gerber files generated can have either the default .gbr extension, or the .g extension (one for each layer) : http://docs.kicad-pcb.org/stable/en/getting_started_in_kicad.html#generate-gerber-files
On the KiCAD directory you can find two projects :
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | CONN_01X01 | Socket_Arduino_Uno:Arduino_1pin | P5, P6, P7, P8 |
| 3 | 100n | Capacitor_THT:C_Disc_D4.7mm_W2.5mm_P5.00mm | C1, C3, C4 |
| 2 | 100k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R2, R4 |
| 2 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R3, R5 |
| 1 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1 |
| 1 | 1µ | Capacitor_THT:C_Disc_D10.0mm_W2.5mm_P5.00mm | C2 |
| 1 | Analog | Socket_Arduino_Uno:Socket_Strip_Arduino_1x06 | 3V3 |
| 1 | Digital | Socket_Arduino_Uno:Socket_Strip_Arduino_1x08 | GND |
| 1 | Digital | Socket_Arduino_Uno:Socket_Strip_Arduino_1x10 | Tx |
| 1 | GasSensor | EmpreintesCapGaz:TO-5-4_cap_gaz | U3 |
| 1 | LTC1050 | LTC1050:LTC1050 | U1 |
| 1 | Power | Socket_Arduino_Uno:Socket_Strip_Arduino_1x08 | Rx |
| 1 | shield_RN2483 | Mes_empreintes:shield_RN2483 | U2 |

MOSH-Insa-Toulouse/Chouvet_Laffosse_Gas_Sensor
Project done for the MICROCONTROLLERS AND OPEN-SOURCE HARDWARE course of INSA Toulouse.


MOSH-Insa-Toulouse/2024-2025-4GP-oetham-axellgp
Projet Capteur - Mathéo HAHN et Axel LONGEPIERRE

Daniel-Mael/2023-2024-4GP-PeralesRios-LeBlanc
Daniel Perales Rios - Maël Le Blanc


JonathanPleuron/Smart-Devices
This project was realised in the IoT growing context. It introduces a solution of smart gas sensor using the emerging LoRa technology.

Khomat/GIRIBALDI-DUBOIS_MOSH_Project
The goal of this project is to build a connected gas sensor and build the interface around the sensor.

lm-hotton/ProjetCapteurGraphite2022-LM-TL
Nous avons également créé un APK Android permettant d'afficher la valeur de la résistance mesurée sur un smartphone.

LucaPaccard/INSA_ProjetCapteur
L'ensemble des étapes menées pour réaliser ce capteur, en allant du design jusqu'à la réalisation en passant par le codage seront détaillées dans ce dossier.
It measures 68.6 × 53.3 mm and has 2 copper layers, 1.6 mm thick.
20 parts, built around the LTC1050CP. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the MOSH-Insa-Toulouse/Chouvet_Laffosse_Gas_Sensor repository on GitHub, at the commit this page was made from: the board is KiCAD/Kicad_Shield_GasSensor/kicad_shield_lora_temp/kicad_shield_lora_temp.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask MOSH-Insa-Toulouse before reusing the design.