AC Signals in Arduino: Is It Possible?

Click For Summary
In projects involving Arduino microcontrollers, the signals used are primarily unidirectional, operating within a specific voltage range, typically 0V to 5V or 0V to 3.3V, depending on the model. These signals do not change polarity, which distinguishes them from AC signals. The currents involved can be bidirectional to manage the charging and discharging of parasitic capacitances associated with signal lines. To accommodate both positive and negative signals, additional circuitry can be implemented, such as using capacitors to block DC components and biasing the analog input to half of the supply voltage. This setup allows for more versatile signal processing while maintaining compatibility with the microcontroller's specifications.
fog37
Messages
1,566
Reaction score
108
Hello Everyone,

I have a question about the type of signals that are used in projects involving the microcontroller Arduino or similar ones. It seems that the currents and voltages in these microcontroller's projects all unidirectional, i.e. they can vary with time in different fashions but they are not AC, i.e. they do not change in sign. Is that correct?
If there a specific reason why? After all, a fast changing DC signal is simply a AC signal with a DC offset.

Thanks!
fog37
 
Computer science news on Phys.org
fog37 said:
Hello Everyone,

I have a question about the type of signals that are used in projects involving the microcontroller Arduino or similar ones. It seems that the currents and voltages in these microcontroller's projects all unidirectional, i.e. they can vary with time in different fashions but they are not AC, i.e. they do not change in sign. Is that correct?
If there a specific reason why? After all, a fast changing DC signal is simply a AC signal with a DC offset.

Thanks!
fog37
The signals directly interfacing with the Arduino microcontroller (uC) will be between the 0V-3.3V input voltage range of that uC (please double-check the datasheet to make sure I'm correct on that -- Thanks). The currents will be bidirectional to charge and discharge the parasitic capacitances of the signal lines, to support the changing voltages on those lines.

Hope that helps.
 
berkeman said:
(please double-check the datasheet to make sure I'm correct on that -- Thanks)

A standard Arduino has 5V IO.

Some of the variants are 3.3V especially the non Atmel ones.

Extra circuitry may be added to allow both positive and negative signals to be used. The easiest would be to use a capacitor to DC block the signal then bias the analog input to half VCC.

BoB
 
  • Like
Likes berkeman
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
21
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 47 ·
2
Replies
47
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K