AJB2K3
Published © GPL3+

Accessing the ATECC608b In UIFlow Part 1

IN this guide I will show you how to access the ATECC608b encryption chip in M5Stacks ID unit and Core2 AWS.

AdvancedProtip3 hours159
Accessing the ATECC608b In UIFlow Part 1

Things used in this project

Hardware components

M5Stack Core2 AWS
×1
M5Stack ATECC608b Unit
×1

Story

Read more

Code

I2C Buss Scanning for the ATECC608b

MicroPython
Open UIFlow in Chrome, Paste the code into the Micropython window and run.
from m5stack import *
from m5stack_ui import *
from uiflow import *
import i2c_bus
i2c = machine.I2C(scl=machine.Pin(22), sda=machine.Pin(21), freq=133000)

screen = M5Screen()
screen.clean_screen()
screen.set_screen_bg_color(0xFFFFFF)

label0 = M5Label('label0', x=15, y=43, color=0x000, font=FONT_MONT_14, parent=None)

import machine

print('Scan i2c bus...')
addresses = i2c.scan()
print(str(i2c.scan()))
label0.set_text(str(i2c.scan()))

Credits

AJB2K3

AJB2K3

37 projects • 20 followers
I have always had an interest in electronics but having failed my school exams, it has taken me 20+ years to produce products to share.

Comments

Add projectSign up / Login