AS7341 sensor

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
User avatar
RobH
Posts: 91
Joined: Fri Mar 23, 2018 3:37 pm
Location: Netherlands
Contact:

AS7341 sensor

Post by RobH » Sun Jul 10, 2022 9:38 am

I'm looking for a Micropyton library for the AS7341 color sensor....
Rob.

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: AS7341 sensor

Post by jimmo » Mon Jul 11, 2022 12:33 am

RobH wrote:
Sun Jul 10, 2022 9:38 am
I'm looking for a Micropyton library for the AS7341 color sensor....
I'm sure you've seen https://github.com/adafruit/Adafruit_Ci ... _as7341.py
It's not too difficult to re-write CPy drivers to MPy
(Or perhaps you could try using CircuitPython for your project if you just want to get it working quickly)

I have a couple of these that was planning for a project but didn't end up using so didn't get a chance to write a driver yet but ... well... if one got written that would be great :)

User avatar
RobH
Posts: 91
Joined: Fri Mar 23, 2018 3:37 pm
Location: Netherlands
Contact:

Re: AS7341 sensor

Post by RobH » Mon Jul 11, 2022 7:56 am

Thanks! Indeed I noticed the CPy library, as well as an RPy version (Waveshare).
I think I'll go for the RPi version: gives me the choice between using it asis with an RPi and convert to MPy (or both!).
Rob.

User avatar
RobH
Posts: 91
Joined: Fri Mar 23, 2018 3:37 pm
Location: Netherlands
Contact:

Re: AS7341 sensor

Post by RobH » Wed Aug 10, 2022 7:25 pm

For those of you interested: I have taken the AS7341 driver for the Raspberry Pi found in:
as base for a Micropython driver. It is still under construction, but available at:
Also some examples are available, but not all of 'm are working yet...

Post Reply