- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone!
I am a beginner in this field of engineering, i want to make a BLE enabled luxmeter (instrument that measures light) using CYPRESS PSoC 4 BLE. Can someone please tell how can i proceed to use the analog value from a photo sensor and broadcast it using Cypress BLE module.
I would really appreciate if someone is able to provide any help in this direction.
Thanks in advance 🙂
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should have a look at the 100 BLE projects list, e.g. the digital pressure sensor (day 31). This shows how to build a custom service to transfer your data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should have a look at the 100 BLE projects list, e.g. the digital pressure sensor (day 31). This shows how to build a custom service to transfer your data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Hli
The information was very useful!
Is there any way where we can calibrate the analog data from our photosensor? so as to match the actual value of the lux meter when placed under a similar light source?
Regards
Deepinder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Calibration is always the similar to an approximation. Depending on the number of measures you do, a Gauss least square calculation will deliver a polynomial of degree n which you will use to calculate the approximated value. (best: using Horner's method) Storing the coefficients of the polynomial in the supervisory flash area will help to retrieve the values after a power-down. See 100 BLE-Projects in 100 Days
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Bob for sharing the methods.
Are there example projects using these methods/algo's that i can refer?
Regards
Deepinder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wikipedia and / or google will reveal enough hints for algorithms, all not too complicated.
Bob