Search found 124 matches

by tommeyers
Sat Nov 07, 2020 11:35 pm
Forum: ESP32 Arduino
Topic: Receive esp32 data into database.
Replies: 1
Views: 142

Re: Receive esp32 data into database.

Your statement of you problem was much like" it doesnt work" so ..
Take a look at this "it does work"
https://github.com/Embedotronics/Sendin ... er/dht.php
by tommeyers
Sun Sep 27, 2020 10:58 pm
Forum: ESP32 Arduino
Topic: ESP32 Project Feasibility
Replies: 4
Views: 609

Re: ESP32 Project Feasibility

I agree that he is free to ask around.

Tom
by tommeyers
Sat Sep 26, 2020 11:09 pm
Forum: ESP32 Arduino
Topic: ESP32 Project Feasibility
Replies: 4
Views: 609

Re: ESP32 Project Feasibility

Since this is a school project: has your instructor authorized your use of consultants? I don't believe so.

For that reason you will need to apply the skills you have and add the ones you don't have. That is part of learning.

Best wishes, Tom
by tommeyers
Mon Sep 14, 2020 9:38 pm
Forum: Hardware
Topic: how do you protect the ADC pin from battery reverse polarity?
Replies: 1
Views: 288

Re: how do you protect the ADC pin from battery reverse polarity?

Use a diode and in your code adjust for the drop of the diode which I believe is constant over varying voltages.

Pretty easy.

Or, use a diode bridge and get correct polarity voltage regardless of connection.

Tom
by tommeyers
Thu Sep 10, 2020 3:33 pm
Forum: ESP32 Arduino
Topic: Slow work of insert data with SQLite3
Replies: 3
Views: 450

Re: Slow work of insert data with SQLite3

Please post your del for the table and your code with insert.

One thing that I am interested in is if you have an index and if so do you need it when writing or is rowid enough.

Tom
by tommeyers
Mon Sep 07, 2020 7:13 pm
Forum: General Discussion
Topic: Unpredictable PWM behaviour when powered via 5v pin
Replies: 20
Views: 2301

Re: Unpredictable PWM behaviour when powered via 5v pin

Nodemcu outputs only 0 - 3 volts the board needs are 0-5. Is that right?

If so you need to change levels 3v to 5v for that controller to work.

Tom
by tommeyers
Mon Sep 07, 2020 1:52 pm
Forum: General Discussion
Topic: Unpredictable PWM behaviour when powered via 5v pin
Replies: 20
Views: 2301

Re: Unpredictable PWM behaviour when powered via 5v pin

Does your code do this?

pinMode(pwm_1,OUTPUT);
pinMode(dir_1,OUTPUT);
pinMode(pwm_2,OUTPUT);
pinMode(dir_2,OUTPUT);

Setting to output?

Tom
by tommeyers
Mon Sep 07, 2020 1:47 pm
Forum: General Discussion
Topic: Unpredictable PWM behaviour when powered via 5v pin
Replies: 20
Views: 2301

Re: Unpredictable PWM behaviour when powered via 5v pin

Does your code do this?

pinMode(pwm_1,OUTPUT);
pinMode(dir_1,OUTPUT);
pinMode(pwm_2,OUTPUT);
pinMode(dir_2,OUTPUT);

Setting to output?

Tom
by tommeyers
Mon Sep 07, 2020 1:36 pm
Forum: General Discussion
Topic: Unpredictable PWM behaviour when powered via 5v pin
Replies: 20
Views: 2301

Re: Unpredictable PWM behaviour when powered via 5v pin

If you disconnect the power to the controller how are the voltages affected?

Go to advanced search