Closed lloyda closed 2 years ago
There are two variants of the atmega328P based modules around. They have different connections between the 328 and the cc1101.
You need to select the correct option in the arduino GUI when compiling/building
So I've tried both the nano and the Pro options from the GUI, and I get the same result
Thinking back, I may be using an atmega128 - is this likely to be a problem with the newer version of the library?
There is no significant difference between the 328 and 328p for evofw3
Just realised you said 128 not 328. I'll have a look at the spec and work out how to get it to compile. If it worked with 0.4.4 there's a reasonable chance it will work with 0.7.0
Do you remember how you compiled 0.4.4 - that predates my custom board definitions. I wasn't aware anyone was using anything but 328(p) and was preparing for the much better 32u4 support.
May take me a few days - just returned from holiday and I'm going to be busy catching up with stuff.
Did you mean atmega168? Is it 8MHz or 16MHz?
Don't worry too much about this - I have a 32u4 board due to be delivered any day. I doubt very much I will be able to remember how I built it.
And you were right - atmega168. 16MHz I believe
Where are you getting the 32u4? If it's a nanocul device you might want to keep an eye on this issue.
So I've got a genuine Arduino Micro, which looked to me to be compatible. HW Uart, 16MHz clock.
I've downloaded the Sketch, but getting absolutely nothing on the serial monitor.
Using Board: "atmega32u4 (HW Uart)" Processor: "atmega32u4 (5V 16MHz)" Pinout: "SHA atmega32u4"
Simple test sketch does output to serial port.
Any ideas?
Where did you get the device? Can you post a link.
Get BlueMail for Android
On 13 Nov 2021, 19:02, at 19:02, lloyda @.***> wrote:
So I've got a genuine Arduino Micro, which looked to me to be compatible. HW Uart, 16MHz clock.
I've downloaded the Sketch, but getting absolutely nothing on the serial monitor.
Using Board: "atmega32u4 (HW Uart)" Processor: "atmega32u4 (5V 16MHz)" Pinout: "SHA atmega32u4"
Simple test sketch does output to serial port.
Any ideas?
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/ghoti57/evofw3/issues/21#issuecomment-968119015
Sticking serial.println ("Hello World") in tty_init does give me an output.
This doesn't have a radio. Evofw3 expects a cc1101 connected to the 32u4 spi interface.
Get BlueMail for Android
On 13 Nov 2021, 19:02, at 19:02, lloyda @.***> wrote:
So I've got a genuine Arduino Micro, which looked to me to be compatible. HW Uart, 16MHz clock.
I've downloaded the Sketch, but getting absolutely nothing on the serial monitor.
Using Board: "atmega32u4 (HW Uart)" Processor: "atmega32u4 (5V 16MHz)" Pinout: "SHA atmega32u4"
Simple test sketch does output to serial port.
Any ideas?
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/ghoti57/evofw3/issues/21#issuecomment-968119015
You need something like this.
https://indalo-tech.onlineweb.shop/SSM-D/p7844707_21129532.aspx
Statement of interest. I build and sell these.
Get BlueMail for Android
On 13 Nov 2021, 19:02, at 19:02, lloyda @.***> wrote:
So I've got a genuine Arduino Micro, which looked to me to be compatible. HW Uart, 16MHz clock.
I've downloaded the Sketch, but getting absolutely nothing on the serial monitor.
Using Board: "atmega32u4 (HW Uart)" Processor: "atmega32u4 (5V 16MHz)" Pinout: "SHA atmega32u4"
Simple test sketch does output to serial port.
Any ideas?
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/ghoti57/evofw3/issues/21#issuecomment-968119015
I have a cc1101 connected.
What are the connections between the 32u4 and the cc1101
Get BlueMail for Android
On 13 Nov 2021, 22:29, at 22:29, lloyda @.***> wrote:
I have a cc1101 connected.
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/ghoti57/evofw3/issues/21#issuecomment-968157438
In theory, like this:
MOSI-B2 MISO-B3 SCK-B1 GDO0-TXD1(D3) GDO2-RXD1(D2) SHA: CSN-B0
I will double check in the morning
So I had one of pins wrong. I'm now getting the version number, but nothing else. Looking at the code I thought I should be able to get a response from sending !V from the terminal window - but this does nothing? Or have a got this completely wrong?
Ignore that last comment, tracked that issue down to serial port window not sending the expected end of line character
And now getting some packets - had the GDO0 and GDO2 reversed.
Glad you're sorted.
I've just tried to upgrade from 0.4.4 to 0.7.
It's compiled ok and uploaded to the board, but all I'm getting is the version number message, no packets are being decoded.
I have followed the instructions in the readme, selected atmega328P (SW UART). Any clues on what the issue might be?