bessman on main
Fix typo in README (compare)
bessman on main
Update workflow to run on new m… (compare)
bessman on legacy
Initial commit Create LICENSE Added framework for firmware. F… and 60 more (compare)
bessman on master
bessman on bootloader
bessman on pslab-esp-server
bessman on development
bessman on bootloader
Move bootloader to pslab-bootlo… Move firmware to repository root (compare)
bessman on bootloader
Prepare for repository split Remove drawio flowchart (compare)
Sorry for not having joined the last meetings. I've been a little busy again, about to present something fancy again, today noon at CLT: https://chemnitzer.linux-tage.de/2022/en/programm/beitrag/226
During FOSSASIA Summit, I might be in Berlin, not 100% sure yet. Let me know if you'd like to meet. I'd arrive at the Wednesday, and stay until Sunday evening. Will let you know when it's for sure. :-)
One issue I ran into with this I2C sensor:
https://github.com/tasmota/docs/pull/954/files
The docs led me to believe the boards had the same pin order.
I.e., I had GND and SDA swapped.
Anyhow, there's still nothing detected. I will see if it works with an ESP board here when I have the time.
Could be because of:
Only a single AHT10 can be connected to the I^2^C bus and no other I^2^C devices can be connected.
The pslab's I2C bus also has the mcp4728 on it, as well as the rtc if you're using the v6 prototype.
I'm want to test transmission through diy guitar effects, so pslab wavegenerator -> some device -> pslab oscilloscope
, everything automated via python. I can of course send sinusodial signals (one frequency at a time) from the waveformgenerator to the oscillopscope, but that's inefficient. One could do a sinus-sweep through the audible spectrum or use white noise.
This is how I basically create my waveform:
from pslab import WaveformGenerator
wavegen = WaveformGenerator()
wavegen.load_function("SI1", lambda x: 0.5*np.sin(x), [0, 2*np.pi])
wavegen.generate(channels = 1, frequency = 100)
I don't understand how exactly the frequency enters the formula. For a sin-sweep, I want to modulate the frequency with another sinusodial function with a low frequency - but in the lambda function above the frequency is not stated explictly. Is there a way to pass something like this to load_function
:
def myfunction(frequency, phase, time):
return np.sin(frequency * time + phase)
Another way would be to somehow generate whitenoise from one output...that would basically mean I have to replace the sin
function with np.random.random()
or something...but there I have the same problem, that I don't understand exactly how the frequency and timestep is passed to the function.
I hope this is understandable, and thank you so much in advance!