-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add small microcontroller on the PCB #7
Comments
This could also control fans specifically for the PCB. Note, at the moment there is no way to control the HL2 fan output via the protocol. The fan will only be turned on if the HL2 temperature sensor (next to the HL2 5 W PA) goes above a certain value. This micro controller would allow better control of the hl2-mrf101 thermal profile. |
Sounds like a very reasonable idea and we should have the space on the PCB. I'm a fan of STM32, but open to other MCUs. Do you have a preference? |
I've always used the AVRs but I felt like learning something new so I recently ordered an STM32 dev board. I'm going to prototype the idea on a separate PCB then when something is working, it can maybe be transferred to the HL2-MRF101 PCB. |
I ended up building something with an AVR in the end. I've built and tested this: https://github.com/m5evt/hl2_extpamon I found that noise pickup was a lot less with the LM35 not connected to the HL2-MRF101 board and instead directly connected to this PCB. I also connected a 1 uF and 70 ohm resistor across OUT and GND on the LM35 (I then used RG174 to take the signal to my PCB. I don't know if integrating this module on to the HL2-MRF101 PCB will bring back all the noise problems. |
The HL2 does not have any gateware code to talk to the ADC (to report PA current and PA temperature on the PC), this must be done via the i2c read/write functions in the protocol. These read/writes starve the normal C&C responses from the HL2. A small micro controller on the PCB could handle the ADC measurements and reduce "starving" the HL2 protocol 1 C&C responses.
A small micro controller could sit on the HL2 i2c2 bus and talk to the ADC on a separate i2c bus, within the micro filtering, power calibration tables etc. could be held. Or remove the ADC and use a micro with built in ADC?
The text was updated successfully, but these errors were encountered: