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.
Two questions. Why did you such a simple task in so complex way. It is almost impossible to analyse in a short time. Start with something simple then write "libraries". If you have searched already, no one uses such a HAL-like (from much complex STM32 32 bit micros with far more complex...
I am not very familiar with ros but as I remember it requires initialisation.ros::init
and I don't think that you should call any ros functions inside the interrupt. As I remember ros uses timer interrupt itself.
Variables used by interrupt must be volatile (avoiding optimizing them out by the compiler). You permanently (in the loop) initialize your timer. You always set OCR1A to 10. Your interrupt will never trigger (as you do not set timer to trigger any interrupts). Your process() call is not atomic -...
Master should free the bus after transmission. So we have 4 options:
1. Bus is busy and the second master gives up for some time
2. Bus is free and both masters try to access it at the same time - normal bus arbitration procedure applies
3. Bus is free and only one master takes control over the...
Hi Sorry for the long delay, and thank you for help. Actually I have sorted it another way: I just measure the temperature of the heating element and the speed of changes indicates the water level. Accuracy is good enough for the kettle (about +-15%)
Thank you - but i think it is to big for me. I think that the limescale will be a problem as well. Actually I have no idea how to measure the water level in the kettle.
Water level sensor for kettle
Hi. I am working on an uC kettle and have a problem with water level sensor. It has to be something very simple, reliable and temperature resistant. It does not have to be to precise as it only is used as a guide for the micro. Have you heard about such a sensors...
The resistor is in the loopback. I don't have the schematics. It is just simplest possible voltage follower.
When it is welded - it works much better
And it works not too bad actually.
Hi Guys.
I am working on my hobby project - an oscilloscope based on ST Nucleo 446RE board. Everything is working fine and the project is progressing quickly. Unfortunately I am absolutely useless when I have to design something analogue. I need fast input buffer. In first prototype version I...
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.