Search found 6 matches

by thecomeback_king
Tue Feb 22, 2022 11:56 pm
Forum: Raspberry Pi microcontroller boards
Topic: Flash SD Card Module Version Error
Replies: 0
Views: 9906

Flash SD Card Module Version Error

Hi, I am trying to connect a SPI flash sd card module to my pi pico. Currently it errors out saying "couldnt determine SD card version". Is anyone able to help with this error? Below is my code and error message. #SPI1 BUS Pins sck_1 = Pin(10) mosi_1 = Pin(11) miso_1 = Pin(8) #FLASH Module Init flas...
by thecomeback_king
Thu Aug 05, 2021 2:16 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pi Pico SD Card Read/Write Issues
Replies: 2
Views: 2805

Pi Pico SD Card Read/Write Issues

I am having errors when trying to read/write to a SD module through SPI1 on the pi pico. Below is my code and error message. Does anyone know why this is happening? Any help is appreciated. The micro SD card is 8gb in FAT32 format # SPI 1 Pins miso_sd = Pin(12) # blue - RX mosi_sd = Pin(11) # yellow...
by thecomeback_king
Wed Aug 04, 2021 3:54 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pi Pico erroring EIO when reading I2C sensor
Replies: 5
Views: 3599

Re: Pi Pico erroring EIO when reading I2C sensor

I have been looking through the seesaw.py and came up with the following code to try and read the data however I just get the same value. # Read Capactity and Temperature from Soil Sensor ss_wetness = i2c.readfrom(54, 0x1F) ss_temp = i2c.readfrom(54, 0x4) ss_wetness = unpack('<I', ss_wetness)[0] ss_...
by thecomeback_king
Wed Aug 04, 2021 12:40 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pi Pico erroring EIO when reading I2C sensor
Replies: 5
Views: 3599

Re: Pi Pico erroring EIO when reading I2C sensor

This helps. Thank you. Is the register the second argument in the read command? Where can the register be found?
by thecomeback_king
Tue Aug 03, 2021 12:40 pm
Forum: Raspberry Pi microcontroller boards
Topic: I2C ran all night!
Replies: 1
Views: 1810

Re: I2C ran all night!

How did you connect to the I2C device and read the data?
by thecomeback_king
Tue Aug 03, 2021 12:38 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pi Pico erroring EIO when reading I2C sensor
Replies: 5
Views: 3599

Pi Pico erroring EIO when reading I2C sensor

I am using the new Raspberry Pi Pico and having issues reading the I2C Sensor . The address is 0x36. When running the below code I just receive error code EIO. Can anyone help guide me in reading data from my I2C sensor? Any help is appreciated! Below is my code: from machine import I2C import utime...