Search found 9 matches

by NewPrasertKitt
Sun Feb 03, 2019 1:47 pm
Forum: ESP32 Arduino
Topic: Heltec wifi kit32, hardware serial
Replies: 4
Views: 8808

Re: Heltec wifi kit32, hardware serial

Hi all, I got it.
just need to put the line in Setup function!.


setup {

mySerial2.begin(9600,SERIAL_8N1,5,7);

}


best regards
NewPrasertKitt
by NewPrasertKitt
Thu Jan 31, 2019 2:48 am
Forum: ESP32 Arduino
Topic: Heltec wifi kit32, hardware serial
Replies: 4
Views: 8808

Re: Heltec wifi kit32, hardware serial

Hi edje11:thank you for your help,but this Pzem still got error.
mine, version arduino is 1.8.5, what is yours

best regards
newprasertkitt

exit status 1
'Pzemserial' does not name a type
by NewPrasertKitt
Wed Jan 30, 2019 7:12 am
Forum: ESP32 Arduino
Topic: Heltec wifi kit32, hardware serial
Replies: 4
Views: 8808

Heltec wifi kit32, hardware serial

dear sir, I tried to use UART#2 and relocate RX to pin 5 and TX to pin17. anyway the compiler shows error below. Don't know what is wrong or what to include to code please help. thanks in advance. board: heltec wifi kit32 (esp32 with OLED ) best regards Newprasertkitt HardwareSerial mySerial2(2); my...
by NewPrasertKitt
Wed Dec 19, 2018 2:37 pm
Forum: ESP32 Arduino
Topic: Help with Rotary Encoder and ESP32 Thing
Replies: 3
Views: 9932

Re: Help with Rotary Encoder and ESP32 Thing

Encoder A /CLK wiring to GPIO13
Encoder B /DT wiring to GPIO14

Regards
NewPrasertKitt
by NewPrasertKitt
Sat Dec 15, 2018 1:39 pm
Forum: ESP32 Arduino
Topic: could I to generate 40Mhz pulse on esp32 GPIO
Replies: 10
Views: 13793

Re: could I to generate 40Mhz pulse on esp32 GPIO

rudi, krzychb thanks for your help, I use this pulse signal to test osciloscope bandwidth.


best regards
NewPrasertKitt
krzychb_40Mhz.jpg
krzychb_40Mhz.jpg (148.62 KiB) Viewed 11622 times
by NewPrasertKitt
Sat Dec 15, 2018 8:28 am
Forum: ESP32 Arduino
Topic: could I to generate 40Mhz pulse on esp32 GPIO
Replies: 10
Views: 13793

Re: could I to generate 40Mhz pulse on esp32 GPIO

hello idahowalker,
could you show me how to code in arduino to direct write GPIO of ESP32. thank you.

best regards
NewPrasertKitt
by NewPrasertKitt
Sat Dec 15, 2018 6:01 am
Forum: ESP32 Arduino
Topic: could I to generate 40Mhz pulse on esp32 GPIO
Replies: 10
Views: 13793

Re: could I to generate 40Mhz pulse on esp32 GPIO

Hello rudi, I did try this sample code and reconfig the timer as below timer = timerBegin(0, 2, true); timerAttachInterrupt(timer, &onTimer, true); timerAlarmWrite(timer, 2, true); timerAlarmEnable(timer); I use digitalWrite command to set and reset the GPIO but the pulse output just nothing. How to...
by NewPrasertKitt
Fri Dec 07, 2018 12:10 pm
Forum: ESP32 Arduino
Topic: could I to generate 40Mhz pulse on esp32 GPIO
Replies: 10
Views: 13793

Re: could I to generate 40Mhz pulse on esp32 GPIO

Rudi, thanks for your kindly help. could you tell me how to code these in arduino.

best regards
NewPrasertKitt
by NewPrasertKitt
Thu Dec 06, 2018 4:27 am
Forum: ESP32 Arduino
Topic: could I to generate 40Mhz pulse on esp32 GPIO
Replies: 10
Views: 13793

could I to generate 40Mhz pulse on esp32 GPIO

I tried from those codes on Google but seem they doesn't work! Is the esp32 can do that?
best regards
NewPrasertKitt