Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

R1909_Mega328 IN THE SUBCIRCUIT

3 posters

Go down  Message [Page 1 of 1]

1R1909_Mega328 IN THE SUBCIRCUIT Empty R1909_Mega328 IN THE SUBCIRCUIT Sun Oct 01, 2023 11:27 pm

Defran

Defran

In example 286, if I replace the controller subcircuit with its mega328 primitive and load the firmware, the OLED works but the C0 (A0) input does not support analog values. With UNO_LS it works ok and on T1709 (Reference-version) it fails too with the primitive component. R1909_Mega328 IN THE SUBCIRCUIT 1f62a

Tell me something please.

R1909_Mega328 IN THE SUBCIRCUIT Ohmete12
R1909_Mega328 IN THE SUBCIRCUIT Ohmete13
R1909_Mega328 IN THE SUBCIRCUIT Ohmete14
R1909_Mega328 IN THE SUBCIRCUIT Ohmete16
Attachments
R1909_Mega328 IN THE SUBCIRCUIT AttachmentUNO.zip
You don't have permission to download attachments.
(5 Kb) Downloaded 1 times



Last edited by Defran on Mon Oct 02, 2023 1:42 pm; edited 12 times in total

2R1909_Mega328 IN THE SUBCIRCUIT Empty Re: R1909_Mega328 IN THE SUBCIRCUIT Mon Oct 02, 2023 2:41 am

royqh1979



I think you should connect a 5V input to A+.

3R1909_Mega328 IN THE SUBCIRCUIT Empty Re: R1909_Mega328 IN THE SUBCIRCUIT Mon Oct 02, 2023 6:52 am

Defran

Defran

It is well connected because it works, let's not lose the focus of this post, please: That with the subcircuits (mine and simulide's) everything works but with the primitive component (mega328 or PB) it does not.

4R1909_Mega328 IN THE SUBCIRCUIT Empty Re: R1909_Mega328 IN THE SUBCIRCUIT Mon Oct 02, 2023 12:40 pm

royqh1979



Defran wrote:It is well connected because it works, let's not lose the focus of this post, please: That with the subcircuits (mine and simulide's) everything works but with the primitive component (mega328 or PB) it does not.

??? I can't see anything connected to your mega328's A+ pin.

arcachofo likes this post

5R1909_Mega328 IN THE SUBCIRCUIT Empty Re: R1909_Mega328 IN THE SUBCIRCUIT Mon Oct 02, 2023 1:05 pm

arcachofo

arcachofo

royqh1979 wrote:I think you should connect a 5V input to A+.

Exactly.

6R1909_Mega328 IN THE SUBCIRCUIT Empty Re: R1909_Mega328 IN THE SUBCIRCUIT Mon Oct 02, 2023 1:42 pm

Defran

Defran

Correct, A+ is the AVcc pin that is used to assign the voltage in the ADC converters, not the VCC that by default is connected to 5v in simulide.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum