Go Down

Topic: New to surface mount and minicore (Read 292 times) previous topic - next topic

xzarida

The Pro Mini schematic is OK, but there is an excellent pin mapping diagram provided right there on the MiniCore readme, which xzarida has already been using. I don't understand why they are looking elsewhere for this information. It's better to use the MiniCore diagram because this has information specific to MiniCore, such as PC6 being mapped to Arduino pin 22 if you program the RSTDSBL fuse, and ATmega328PB-specific information that will not be shown in the Pro Mini schematic.

Yeah been using this schematic, just wasn't sure what the ports mean.

Just final question and I think I am okay to test some board stuff.

The arduino pin manipulation is the same as the minicore schematic correct? so the analog ports digital ports code wise for the digital writes and reads should be the same as long as I use the same ports as the the port manipulation diagram?

pert

Yeah been using this schematic, just wasn't sure what the ports mean.
I think I already answered that.

The arduino pin manipulation is the same as the minicore schematic correct? so the analog ports digital ports code wise for the digital writes and reads should be the same as long as I use the same ports as the the port manipulation diagram?
That question makes absolutely no sense to me. Please try again.


srnet

I couldn't find arduino pin references on the datasheet sadly. Am I missing something?
Yes you did, I did not say you should look in the Atmel datasheet for Arduino pin mappings, best to quote my post in full;

Quote
Quote from: xzarida on Jul 17, 2019, 10:39 pm

    So not sure what the PC1 port, PE ports or PB ports.

    Does the data sheet have this info ?

Why not take a look ?

Lots of useful stuff in device datasheets.
You will find the refernces to PC1, PE ports and PB ports in the Atmel datasheet.
Co-Designer of the worlds smallest (known) operational satellite, $50SAT.
http://www.50dollarsat.info/
http://www.loratracker.uk/

xzarida

I think I already answered that.
That question makes absolutely no sense to me. Please try again.


On the Atmega 168 arduino pin mapping 

(https://www.arduino.cc/en/Hacking/Atmega168Hardware)

PD0, PD1, PD2 are all digital pins(Digital 0 -2)

PC5, PC4, PC3 are analog pins (Analog 5-3)


Does the atmega328p have the same setup for the ports using the minicore example

Does PD0, PD1, PD2 are they Digital 0-2 in the arduino code ?

and similarily-

are PC5. PC4, PC3 the analog pins in the arduino code ?

(https://camo.githubusercontent.com/1158321594ca3f9ba348093edabc9fb3791a311c/68747470733a2f2f692e696d6775722e636f6d2f6e6177657145362e6a7067)

pert

Just look at the MiniCore diagram. It clearly shows all the Arduino pins in the blue ovals.

srnet

Does the atmega328p have the same setup for the ports using the minicore example
Almost but not quite.

The atmega328p does not have PE0 and PE1 pins.
Co-Designer of the worlds smallest (known) operational satellite, $50SAT.
http://www.50dollarsat.info/
http://www.loratracker.uk/

Go Up