Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Re: Voltage Control for Power Supply
Thanks xaccto.
There will actually be a hall-effect current sensor to monitor the current while charging and the voltage will be monitored as well. You are saying that I can control the current by controlling the supply voltage? There is a CC and CV mode to...
Voltage Control for Power Supply
Hello people,
I have an of-the-shelf SMPS and I want to use it as a battery charger. I will be using a MOSFET driven by a PWM on a microcontroller to control the current. My problem is how to control the voltage while preserving the maximum current of the power...
SPI String
I have successfully used SPI communications between two microcontrollers. That was when I am sending 1-byte data, but when I used to transfer a string the slave seems to be getting only the first byte, can you tell why is this happening?
here is the master code:
if(slave == TRUE)
{...
openadc readadc
I am not sure of this, but base on my interpretation of the C18 Manual it is based on the portconfig. In my example it's 0b1011. That means AN0-AN3 are analog inputs. So if you want to use all 13 channels(I don't know what you are going to do with that - 13 sensors?) it should...
mchpusb driver problem
Well if you want to get started you just need to modify the examples. On my case, I modified the CDC basic demo. I specifically modified the UserInit() and ProcessIO() functions and also the Hardware Profile. I got some help when I am starting on the project through this...
pic18f4550 hid c18 adc
I am currently working on a project quite alike, but I am using v2.4. It's just CDC basic demo and I can monitor sensors and control LEDs with a VB application..
Hey guys, I just bought a servo controller from a local store here and I don't know what seems to be the problem on my code that it just won't work. If you have some spare time would you be willing to take a look on this?
Here is the manual...
Re: USB CDC and a slave
I have worked it out! Thanks Kurenai_ryu! Your suggestion definitely made it. I have stopped opening and closing the SPI all the time, and increased the delay. I should not forget those simple stuffs from now on. Here's the modified code:
Master:
void UserInit(void)
{...
openspi 1
There is no function to check if the SPI has finished sending that is why I used some delay but I'll consider your suggestions.
I don't think you really understand it. I have successfully used 18F4550 as USB device and now I want to add a second 18F4550 as a slave to the first.
hello, I have been playing around with 18F4550 as a USB device using a modified CDC firmware. I recently needed to have another 18F4550 to be controlled as a slave device. The problem is whenever I send data to the slave, the master hangs up(the blinkusb status freezes). I interfaced it using...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.