Git Product home page Git Product logo

Comments (22)

ghoti57 avatar ghoti57 commented on July 26, 2024

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

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

So I've tried both the nano and the Pro options from the GUI, and I get the same result

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

Thinking back, I may be using an atmega128 - is this likely to be a problem with the newer version of the library?

from evofw3.

ghoti57 avatar ghoti57 commented on July 26, 2024

There is no significant difference between the 328 and 328p for evofw3

from evofw3.

ghoti57 avatar ghoti57 commented on July 26, 2024

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.

from evofw3.

ghoti57 avatar ghoti57 commented on July 26, 2024

Did you mean atmega168? Is it 8MHz or 16MHz?

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

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.

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

And you were right - atmega168. 16MHz I believe

from evofw3.

ghoti57 avatar ghoti57 commented on July 26, 2024

Where are you getting the 32u4? If it's a nanocul device you might want to keep an eye on this issue.

#22

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

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?

from evofw3.

ghoti57 avatar ghoti57 commented on July 26, 2024

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

https://thepihut.com/products/arduino-micro-with-headers

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

Sticking serial.println ("Hello World") in tty_init does give me an output.

from evofw3.

ghoti57 avatar ghoti57 commented on July 26, 2024

from evofw3.

ghoti57 avatar ghoti57 commented on July 26, 2024

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

I have a cc1101 connected.

from evofw3.

ghoti57 avatar ghoti57 commented on July 26, 2024

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

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

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

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?

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

Ignore that last comment, tracked that issue down to serial port window not sending the expected end of line character

from evofw3.

lloyda avatar lloyda commented on July 26, 2024

And now getting some packets - had the GDO0 and GDO2 reversed.

from evofw3.

ghoti57 avatar ghoti57 commented on July 26, 2024

Glad you're sorted.

from evofw3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.