Skip to content
air quality sensing powered by citizen sciene.
C C++ Java HTML Assembly PHP Other
Branch: master
Clone or download
Latest commit e018932 Jan 12, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
PCB Added PCB and pinout v8 Sep 19, 2019
bp_v4 Updated documentation May 14, 2019
bp_v7 Added PCB and pinout v8 Sep 19, 2019
bp_v8 Logo updated Jan 12, 2020
bp_v9 Added files for Nairobi distribution Nov 23, 2019
casing Update Nov 23, 2019
documentation Added files for Nairobi distribution Nov 23, 2019
hardware/Arduino_STM32 Added files for Nairobi distribution Nov 23, 2019
libraries Added files for Nairobi distribution Nov 23, 2019
.gitattributes Initial commit Jul 30, 2018
README.md Update README.md May 1, 2019
logo.png Update logo.png Jan 12, 2020
photo.png

README.md

alt text

If you already have a sensor and want to upload and visualise your data you can create an account here:

http://app.open-seneca.org

Please refer to our wiki page to learn about the assembly of the hardware to build a CamBike sensor youself:

http://wiki.cambikesensor.net

alt text

If you have built your kit and want to flash the code to the Black Pill board, here is how:

a) Wiring and onboard jumpers:

  • RX on the USB2TTL adapter to PA9, TX to PA10, GND to G, 3.3V to V3
  • jumper B0+ to center pin, B1- to center pin

b) To flash the code:

  • (install Arduino Due in IDE board manager)
  • put Arduino_STM32 library (from the "hardware" folder in this repo) in "My Documents/Arduino/hardware" (Note: if the hardware folder doesn't exist you will need to create it)
  • start Arduino IDE and open the latest bp_vX from this repository
  • under "Tools -> Board" select "Generic STM32F103C series"
  • under "Tools -> Upload method" select Serial
  • press reset button on the Black Pill to enter its flash mode
  • click "Upload" to flash your code

c) To execute the code:

  • after flashing code should run
  • plug both header pins on low (B1- should be low already if your followed the steps correctly, move other jumper to B0-)
  • the board will now keep its flash memory, every reset will restart execution

We are an open-source project, please feel free to extend and improve our code, just post a commit!

You can’t perform that action at this time.