OpenMarine

Full Version: Tinypilote hat
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Hello,
I'm installing a pypilot on my sailboat. Thanks to a group chat on the forum, I've created a motor controller.
Since a pypilot HAT is no longer available, I'm in the design phase around a Raspberry Pi Zero. From there, I have a few questions to move forward.

To connect the tinypilot to the motor controller, I see on the schematic that the RX and TX terminals are connected with a 2.4K resistor. Is this necessary? Why?

As a display, I found a Nokia 5110 LCD, not a jlx12864. Will the Nokia display work with tinypilot?

The big question is the RF remote control. The schematic seems complicated to me. Is there a web page with a tutorial for designing the RF receiver? I'm wondering if it wouldn't be easier to use an RF relay board like this one: https://www.amazon.fr/dp/B0D5677BFW?ref_...title&th=1

Has anyone tried this project and have any tips or advice?

Thank you for your help.
I'm making progress with my research. I'm working from the schematic.

I don't necessarily understand what the pin on the ATMEGA is for.

I only want the RF function. Does the simplified schematic I'm proposing work? Or have I removed important components?

I've assumed that the Quartz Crystal is sufficient for RF reception.

What are the AR_SS and AR_RST connections for ?

[Image: Capture-d-cran-du-2025-06-12-17-28-30.png]
Can't help too much but Ai can be very useful, try this on perplexity.ai..
Click the search button and select Deep Research
Ask "Describe in detail what each and every pin of a atmega328p chip does"
(2025-06-12, 06:11 PM)PaddyB Wrote: [ -> ]Can't help too much but Ai can be very useful, try this on perplexity.ai..
Click the search button and select Deep Research
Ask "Describe in detail what each and every  pin of a atmega328p chip does"

Thanks for your idea. Great, thanks to the AI, I've made some progress. So, I'll forget my previous suggestion. I'm now wondering if it would work if I plug an RXB6 433MHz Superheterodyne into an ATMEGA by connecting the data port to the PD2 as shown in the diagram?
If the ATMEGA is connected to the TyniPilot, will it be automatically configured? Or do I have to flash the ATMEGA with a program?

I ordered:
* ATMEGA 328P, 3.3V, 8MHz: https://fr.aliexpress.com/item/1005006291129117.html
* RXB6 433Mhz: https://fr.aliexpress.com/item/32714431287.html
From what I understand, these modules should work, and I just need to connect them.
it is possible to flash the arduino328 from the raspberry pi spi pins, and then it uses the same pins to communicate.

So "make upload" in the arduino/hat folder. this is with the sck, miso, mosi, ss and rst pins wired.
(2025-06-13, 05:40 AM)seandepagnier Wrote: [ -> ]it is possible to flash the arduino328 from the raspberry pi spi pins, and then it uses the same pins to communicate.

So "make upload" in the arduino/hat folder.  this is with the sck, miso, mosi, ss and rst pins wired.

Thank you. I think the SST should already be wired to the PCB. Can you confirm that the PCB works by connecting it via SPI?
I'll start testing.
It's certainly simple and brilliant. But it's not easy when you're not familiar with Linux, like me. 
We ask ourselves the following questions:


- We need to use a Pi Zero with a keyboard, screen, and Pypilot installed. Is it possible to use the Pi Zero with Tinypilot by temporarily adding a screen and keyboard?

- When flashing an ATmega328P, are the fuses automatically configured with an external 8 MHz clock if this has not already been done as the script suggests?

- Does flashing require the installation of other scripts, and does the Pi need to be connected to the internet?

Thank you
For the first question, I have the answer, and it's no. You need to connect via SSH.
I'm interested in the answer to the other two because I don't understand them.
(2025-06-13, 08:01 AM)Jean-Marc Douroux Wrote: [ -> ]- When flashing an ATmega328P, are the fuses automatically configured with an external 8 MHz clock if this has not already been done as the script suggests?

I've had wrong fuses set in cheap arduino clones before, simple to fix >

https://github.com/pypilot/pypilot/tree/master/arduino
(2025-06-13, 09:36 AM)PaddyB Wrote: [ -> ]
(2025-06-13, 08:01 AM)Jean-Marc Douroux Wrote: [ -> ]- When flashing an ATmega328P, are the fuses automatically configured with an external 8 MHz clock if this has not already been done as the script suggests?

I've had wrong fuses set in cheap arduino clones before, simple to fix >

https://github.com/pypilot/pypilot/tree/master/arduino

Thank you for the link. Averdude seems more efficient than the Arduino IDE which doesn't allow you to do much with the 3 fuse bytes once some are not correct.

My question was mainly about the ATmega328P integrated circuits whose fuses are not configured unlike the modules that Matthiaspe plans to use.
Pages: 1 2 3 4