Go to advanced search

by sunmat
Fri May 28, 2021 10:58 am
Forum: Compute Module
Topic: Interfacing CM4 with TFT LCD screen module meant for Arduino
Replies: 14
Views: 1255

Re: Interfacing CM4 with TFT LCD screen module meant for Arduino

To answer a few of the earlier questions: - The resolution is 480x360 - From the Amazon listing: "Compatible with UTFT / UTFT_Buttons / Utouch Library." - More specs I found on the Amazon listing: Input Voltage: DC 2.8~3.3V, Drive IC: ILI9486/ILI9488L (Note that the one I have isn't a touc...
by sunmat
Thu May 27, 2021 8:29 pm
Forum: Compute Module
Topic: Interfacing CM4 with TFT LCD screen module meant for Arduino
Replies: 14
Views: 1255

Re: Interfacing CM4 with TFT LCD screen module meant for Arduino

cleverca22 wrote:
Thu May 27, 2021 8:23 pm
finding out what U2/U3 are, and what the signals coming out of the arduino should look like, would be the first step
Both U2 and U3 have "SM245TS" and bellow in smaller "CZBDCSAB33". I could only find a datasheet in Chinese.
by sunmat
Thu May 27, 2021 4:27 pm
Forum: Compute Module
Topic: Interfacing CM4 with TFT LCD screen module meant for Arduino
Replies: 14
Views: 1255

Interfacing CM4 with TFT LCD screen module meant for Arduino

I got my hands on a 3.5Inch TFT LCD Screen Module for Arduino Mega and Uno on Amazon, and I was wondering whether I could make it work with a Raspberry Pi 4, and ultimately a CM4. Here is a picture of the connectors available on the module: https://i.ibb.co/Z8qYZMS/Screenshot-2021-05-27-at-16-51-28....
by sunmat
Mon Mar 08, 2021 9:51 pm
Forum: SDK
Topic: Understanding pwm_set_gpio_level
Replies: 2
Views: 673

Re: Understanding pwm_set_gpio_level

Thanks! For the reason why two PWM are used to output the most and least significant parts of the ADC: I'm trying to reproduce the circuit of the Pedal Pi but with a Pico instead of a Pi Zero (the Pico has an ADC so I should be able to ditch the external ADC => SPI part). The two PWM are mixed toget...
by sunmat
Sun Mar 07, 2021 9:41 pm
Forum: SDK
Topic: Understanding pwm_set_gpio_level
Replies: 2
Views: 673

Understanding pwm_set_gpio_level

Do I understand correctly that pwm_set_gpio_level takes as parameter a value in the range [0, x] where x is the value set for pwm_set_wrap? I have the following code, which reads the value of the ADC and uses the lowest and highest 6 bits to two PWM output. I was wondering if that's the correct way ...
by sunmat
Fri Feb 26, 2021 10:57 am
Forum: General
Topic: Communicating with the Pico via USB in C
Replies: 6
Views: 1366

Communicating with the Pico via USB in C

I've started playing with a RPi Pico. All the tutorials explain how to have it print (using printf) on a computer's terminal when it's connected to it via USB. Now I'm looking for an example of a C program that would run on my laptop (Linux or Mac) and read the output from the pico (and potentially ...
by sunmat
Sun Feb 21, 2021 2:55 pm
Forum: General
Topic: Question about ADC_VREF from datasheet
Replies: 1
Views: 599

Question about ADC_VREF from datasheet

Hi, The datasheet has the following about ADC_VREF: ADC_VREF is the ADC power supply (and reference) voltage, and is generated on Pico by filtering the 3.3V supply. This pin can be used with an external reference if better ADC performance is required. Do I understand correctly that I can optionally ...
by sunmat
Mon Feb 15, 2021 12:07 am
Forum: General
Topic: EasyEDA symbol for Pico ?
Replies: 0
Views: 168

EasyEDA symbol for Pico ?

I'm discovering EasyEDA and I would like to design a board that can host a Raspberry Pi Pico. I was wondering if anyone already designed the proper symbol and footprint for it, before trying to do it myself?
by sunmat
Thu Feb 11, 2021 2:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Encoding the state of multiple buttons via I2C?
Replies: 2
Views: 309

Re: Encoding the state of multiple buttons via I2C?

Yes, that's exactly what I'm looking for, thanks!
by sunmat
Thu Feb 11, 2021 11:49 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Encoding the state of multiple buttons via I2C?
Replies: 2
Views: 309

Encoding the state of multiple buttons via I2C?

I have a circuit with multiple push-buttons connected via GPIOs (to either a Pi Zero or a Pico). I would like to reduce the number of pins used by my circuit by relying on an I2C bus to encode the state of my buttons. I have never played with I2C before, only read about it. Since I don't plan to hav...
by sunmat
Sat Jan 30, 2021 5:37 pm
Forum: General
Topic: Which display options for the Pico?
Replies: 5
Views: 2551

Re: Which display options for the Pico?

Thanks! I didn't think it would be able to drive a HyperPixel. I'll look into it.
by sunmat
Sat Jan 30, 2021 4:12 pm
Forum: General
Topic: Which display options for the Pico?
Replies: 5
Views: 2551

Which display options for the Pico?

Hi, I've started playing with a Pico (this is really my first time doing electronics, I'm a software engineer), and I would like to make something that resembles a Gameboy (I know the Pico is probably not powerful enough to do GB emulation, I'm more thinking about something I would program myself, l...
by sunmat
Tue Sep 03, 2019 3:32 pm
Forum: Gentoo
Topic: Setting up wifi from command line
Replies: 1
Views: 2576

Setting up wifi from command line

Hi, I installed a Gentoo (from here: https://github.com/sakaki-/gentoo-on-rpi-64bit) on my Raspberry Pi 4B. Having no screen and no keyboard, I took the Lite version and connected it to my router through Ethernet. I'm able to ssh to it. Now, I'm totally new to Gentoo (I picked it because it's the fi...
by sunmat
Tue Sep 03, 2019 1:08 pm
Forum: Arch
Topic: Manjaro headless installation and wifi setup
Replies: 10
Views: 11434

Re: Manjaro headless installation and wifi setup

Ah so I will need a screen and a keyboard if there are installation steps to follow before being able to ssh. Thanks.
by sunmat
Tue Sep 03, 2019 12:09 pm
Forum: Arch
Topic: Manjaro headless installation and wifi setup
Replies: 10
Views: 11434

Re: Manjaro headless installation and wifi setup

geev03 wrote:
Tue Sep 03, 2019 11:24 am
ssh was enabled by default ...
So basically I can burn the Manjaro image on the SD card and hook up the Pi to my router through Ethernet, and get the wifi configured later?
What's the default root password?
by sunmat
Tue Sep 03, 2019 10:14 am
Forum: Arch
Topic: Manjaro headless installation and wifi setup
Replies: 10
Views: 11434

Manjaro headless installation and wifi setup

I'm posting this in the Arch section since there isn't a section of Manjaro, I hope it's fine. I'm planning to install a Manjaro on my Raspberry Pi 4 (OS image here: https://manjaro.org/download/arm8-raspberry-pi-4-minimal/), but I don't have a screen nor a keyboard. With Raspbian I know how to enab...
by sunmat
Thu Jul 06, 2017 10:04 am
Forum: Automation, sensing and robotics
Topic: Matrix-Creator HAL tutorial ?
Replies: 1
Views: 1143

Matrix-Creator HAL tutorial ?

Hi, I just got a Matrix Creator, which I want to use with a Raspberry Pi 3. I don't need MALOS, I just want to be able to program in C++, so using matrix-creator-hal. However I can't find any tutorial walking through all the steps from a clean Raspbian install to having matrix-creator-hal demos work...
by sunmat
Sat Mar 12, 2016 9:20 pm
Forum: C/C++
Topic: Interacting with GPIO pins through /sys/class/gpio in C++
Replies: 2
Views: 2659

Interacting with GPIO pins through /sys/class/gpio in C++

I have a function that gets me a file descriptor to /sys/class/gpio/gpioXX/value given a pin XX that I want to expose as an output. The goal is to then be able to write "1" or "0" on this file descriptor to control the pin. int setup(int number) { int fd = -1; // check is /sys/cl...
by sunmat
Sat Mar 12, 2016 1:45 pm
Forum: General programming discussion
Topic: writing to /sys/class/gpio/gpioX/value doesn't work
Replies: 2
Views: 1241

Re: writing to /sys/class/gpio/gpioX/value doesn't work

My bad, indeed that works!
Thanks
by sunmat
Sat Mar 12, 2016 4:31 am
Forum: General programming discussion
Topic: writing to /sys/class/gpio/gpioX/value doesn't work
Replies: 2
Views: 1241

writing to /sys/class/gpio/gpioX/value doesn't work

I am trying to follow this tutorial with my Raspberry Pi 2: https://sites.google.com/site/semilleroadt/raspberry-pi-tutorials/gpio I have a LED connected to pin 11 (actually pin G17 of a PiWedge). When I use WiringPi and send a HIGH to this pin (in WiringPi this pin is numbered 0) the LED lights up,...
by sunmat
Wed Nov 07, 2012 2:56 pm
Forum: Beginners
Topic: Getting the configuration screen again
Replies: 2
Views: 1710

Re: Getting the configuration screen again

Thanks!
by sunmat
Wed Nov 07, 2012 12:48 pm
Forum: Beginners
Topic: Getting the configuration screen again
Replies: 2
Views: 1710

Getting the configuration screen again

Hello,

With Raspbian, the first time we start the Raspberry Pi we have a configuration screen where it is possible to select options (such as the keyboard layout). Once done, this screen never appears again. How can I get it again to change the configuration?

Thanks!

Go to advanced search