Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

video: https://drive.google.com/file/d/1Z4dQG3ToT1yv5ojDU8G2fUsDlY2Y1bl4/view?usp=sharing

Firmware designed for the pico of the IDC project

pinout

Building:

  1. create your build directory mkdir build
  2. run cmake -DPICO_BOARD=pico_w -DWIFI_SSID='SSID' -DWIFI_PASSWORD='PASS' ..

You must set your Wi-Fi SSID in 'SSID' and your Wi-Fi password in 'PASS'

  1. run make inside your build directory

Flashing

With picotool:

  1. build picotool
  2. run picotool load -f PicoMeasure.uf2

Without picotool

move PicoMeasure.uf2 to the pico in BOOTSEL mode

See USB output

sudo minicom -b 115200 -o -D /dev/ttyACM0

Circuits

DHT22

Captura de pantalla 2024-06-14 a las 18 03 58

KY-038

Captura de pantalla 2024-06-15 a las 11 09 31

MQ-135

Captura de pantalla 2024-06-15 a las 11 09 51

TROUBLESHOOTING

Both KY-038 and MQ-135 sensors have a high voltage of 5V, meanwhile the pico only has 3.3V. For the proper functioning of the circuit, you'll have to use either a level shifter or a voltage divider. The pico does have a 5V output pin, so you can use that as a source.

About

Code for Raspberry Pico W for UrbanMonitor project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages