Search found 7 matches

by Husyn
Sun Feb 20, 2022 6:16 am
Forum: Programs, Libraries and Tools
Topic: Generate a Sine wave
Replies: 4
Views: 9099

Re: Generate a Sine wave

The general approach is as follows. Create a bytearray to hold a single cycle of sine wave, and populate it with data scaled to lie in the range 0-255 (for a 8-bit DAC). Then use a timer interrupt to output a value from the array and increment the array pointer (modulo the length of the array). The...
by Husyn
Sat Feb 19, 2022 5:48 am
Forum: ESP32 boards
Topic: Signal Generator drivers (for AD9833, AD9834, AD9850, ADF4351)
Replies: 2
Views: 4473

Re: Signal Generator drivers (for AD9833, AD9834, AD9850, ADF4351)

hi @weiLin

I did not understand much from the code on github. Can you write a simple code that generates a simple sine wave? Is it possible to adjust the phase, amplitude and offset of the wave.
I will use on ESP32.
by Husyn
Fri Feb 18, 2022 8:50 am
Forum: Programs, Libraries and Tools
Topic: Generate a Sine wave
Replies: 4
Views: 9099

Generate a Sine wave

Hi I can generate a sine wave with this code on ESP32. But can't change the frequency. It s always 26.12Hz. How can I change the frequency. Or How can I generate a sine wave that can change its frequency import ulab as np from math import* import _thread as th from machine import DAC, ADC, Pin impor...
by Husyn
Sun Jan 30, 2022 3:44 am
Forum: ESP32 boards
Topic: ESP32 firmwares with single/double precision and ulab module
Replies: 13
Views: 19797

Re: ESP32 firmwares with single/double precision and ulab module

I can load this firmware successfully. But this ulab is not full. https://gitlab.com/rcolistete/micropython-firmwares/-/tree/master/ESP32/v1.12_with_ulab/ulab_v0.54.0_2020-07-29/Generic_flash-4MB But when I load this firmware, this error occurs. It seems successfully loaded but the ESP32 always busy...
by Husyn
Sat Jan 29, 2022 10:59 pm
Forum: ESP32 boards
Topic: ESP32 firmwares with single/double precision and ulab module
Replies: 13
Views: 19797

Re: ESP32 firmwares with single/double precision and ulab module

I uploaded newly esp32 with ulab firmware
After uploaded the device seems busy and this error mesage in shell.
rst : 0x10 (RTCWDT _ RTC. RESET) , boot : 0x13 (SPI FAST_B00T ' ) g
configsip : 0li SPIWP : 0xen.E::ii
lk' drv : OXOO' q,,..dfv : Ox00 , d drv : OxOO , csO ciTY : O,
by Husyn
Mon Jan 24, 2022 1:00 pm
Forum: ESP32 boards
Topic: ESP32 firmwares with single/double precision and ulab module
Replies: 13
Views: 19797

Re: ESP32 firmwares with single/double precision and ulab module

Thank you for answers

Unfortunately.

Cant install.

And cant see that anyone install it for esp32. No videos no document.
I m depressed
by Husyn
Sun Jan 23, 2022 9:15 am
Forum: ESP32 boards
Topic: ESP32 firmwares with single/double precision and ulab module
Replies: 13
Views: 19797

Re: ESP32 firmwares with single/double precision and ulab module

Hi I urgently need a help please. I have ESP32 WROOM 32. Installed micropython-1.18.zip (113MiB). Installed Thonny , UPyCraft, But When try to install ulab in Thonny, it doesn't find. Yesterday I saw this topic and tried to install firmware with ulab. https://gitlab.com/rcolistete/micropython-firmwa...