Hirdetés

2024. május 12., vasárnap

Gyorskeresés

Téma összefoglaló

Téma összefoglaló

  • Utoljára frissítve: 2023-03-11 00:46:52

LOGOUT.hu

Arduino hardverrel és szoftverrel foglakozó téma. Minden mikrovezérlő ami arduinoval programozható, és minden arduino program, board, és hardverrel kapcsolatos kérdések helye.

Összefoglaló kinyitása ▼

Hozzászólások

(#21017) daninet


daninet
veterán

Sziasztok
Wemos D1 minivel szeretnék audio vonal feszültséget mérni. Igazából nekem csak annyi kell a végén, hogy szól rajta zene vagy nem, de nyilván a kiinduló érték az a feszültség az A0 lábon.
Következő a felállásom:

Így néznek ki az értékeim mikor nincs jack dugó bedugva:
[11:18:42][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:43][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:44][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:45][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:46][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:47][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:48][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:49][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:50][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:51][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:52][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:53][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:54][D][sensor:093]: 'AVR Output': Sending state 1.00000 V with 2 decimals of accuracy
[11:18:55][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:18:56][D][sensor:093]: 'AVR Output': Sending state 0.64062 V with 2 decimals of accuracy
[11:18:57][D][sensor:093]: 'AVR Output': Sending state 1.00000 V with 2 decimals of accuracy
[11:18:58][D][sensor:093]: 'AVR Output': Sending state 1.00000 V with 2 decimals of accuracy
[11:18:59][D][sensor:093]: 'AVR Output': Sending state 1.00000 V with 2 decimals of accuracy
[11:19:00][D][sensor:093]: 'AVR Output': Sending state 1.00000 V with 2 decimals of accuracy
[11:19:01][D][sensor:093]: 'AVR Output': Sending state 1.00000 V with 2 decimals of accuracy

Így néz ki amikor fehér zaj megy a jack dugón:
[11:20:10][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:20:11][D][sensor:093]: 'AVR Output': Sending state 0.00391 V with 2 decimals of accuracy
[11:20:12][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:20:13][D][sensor:093]: 'AVR Output': Sending state 0.00293 V with 2 decimals of accuracy
[11:20:14][D][sensor:093]: 'AVR Output': Sending state 0.00098 V with 2 decimals of accuracy
[11:20:15][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:20:16][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:20:17][D][sensor:093]: 'AVR Output': Sending state 0.01562 V with 2 decimals of accuracy
[11:20:18][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:20:19][D][sensor:093]: 'AVR Output': Sending state 0.00098 V with 2 decimals of accuracy
[11:20:20][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:20:21][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:20:22][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:20:23][D][sensor:093]: 'AVR Output': Sending state 0.00586 V with 2 decimals of accuracy
[11:20:24][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:20:25][D][sensor:093]: 'AVR Output': Sending state 0.00098 V with 2 decimals of accuracy

Amikor csend van de be van dugva akkor csak 0:
[11:21:29][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:21:30][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy
[11:21:31][D][sensor:093]: 'AVR Output': Sending state 0.00000 V with 2 decimals of accuracy

A gondom az, hogy nem nagyon tudom megállapítani az értékek alapján, hogy nincs bedugva a jack és zajt szed össze vagy van jel? Illetve ha megy a fehér zaj mitől ingadozik le nullára a fesz? Annak konzisztensnek kellene lennie.
Mi itt a gond?

Miért vegyem meg, ha 3x annyiért, 3x annyi idő alatt megépíthetem? ´¯`·.¸¸.·´¯`·.¸><(((º>

Copyright © 2000-2024 PROHARDVER Informatikai Kft.