Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2983

General discussion • I have a few questions because an error occurred while using pico for the first time.

$
0
0
Hello.
Using Pico, I want to receive one-dimensional lidar values ​​and process the image.

Both devices are showing power issues.

Currently, I am only using the 5v pin to connect the Arduino to power, and I think this may be the reason.

One thing that concerns me about pico is
SPI connection was used from numbers 21 to 25.
Are these treated as SPI0? (Because 0,1 is repeated, is it just 0,1,0,1 to distinguish the serials?

```
#define SPI_PORT spi0
//#define PIN_SCK 2
//#define PIN_MOSI 3
//#define PIN_MISO 4
//#define PIN_CS 10
#define PIN_SCK 24//18 //24
#define PIN_MOSI 25//19 //25
#define PIN_MISO 21//16 //21
#define PIN_CS 22//17 //22
```
```
#define I2C_PORT i2c0
#define PIN_SDA 31
#define PIN_SCL 32
#define WRITE_BIT 0x80
```

https://github.com/ArduCAM/PICO_SPI_CAM ... oStreaming


If there are no problems with this setting, I think it is a power issue and plan to purchase a converter.

Statistics: Posted by asfdsfwdf — Mon Apr 01, 2024 1:15 pm



Viewing all articles
Browse latest Browse all 2983

Trending Articles