Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@nemosy:~/OZONO_I2C $ sudo python ozono.py
- Open i2c bus on channel: 1
- Set the mode to: 1 for the address: 0x73
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 0
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
- i wrote: 0x1 and i read: 0x1
- first bytes: 115
- second bytes: 223
- bit shift: 29663
- Read passive data in passive mod
- ('Word Ozone Data: ', 57203)
- Ozone concentration is 57203 PPB.
- ##########################################################################
- Read data from the sensor
- 57203
- 57203
- 57203
- 57203
- 57203
- 57203
Add Comment
Please, Sign In to add comment