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.
One of the best things about the arduino platform is that there are a lot of boards out there (called arduino shields) that you can simply stack on top of the arduino board headers -- no wiring is required! Just try googling arduino shields and you'll see. I've found that building something you...
Just read about using wire.requestFrom, apparently you have to use the address device as the argument which as you stated is 0x50. I am assuming the 3 registers starting from 0x06 are the registers you want to read? With the arduino wire library i dont think you can read starting from that...
I would recommend the arduino uno if you are looking for an mcu platform that is really simple to setup and use. The environment is lightweight imo (don't think you can run the ide on win2k though), can be programmed using c/c++. It has ad channels and you can use pwm for da conversion.
It would be better if you posted what specifically is not working with your project. Does the computer detect your device when you connect it to the usb port?
Post your code + project settings here. Were you able to succesfully compile your project?
I have also built a few usb projects using...
Just to be clear, the 'counter' variable is incremented by routine 1 (which is only called when the input goes from low to high and the counter variable is less than 10) as it was asked 'how' the counter is incremented.
It would also help if you mentioned what compiler you are using or will be...
I think that a 7 inch tft is too big for your mcu in terms of memory (RAM and not really program memory) as well as speed. You may be able to get away without using a RAM buffer on your mcu (but you will get 'flickering' as you draw on your screen) but I think using an sd card will slow down...
I think using pwm with your mcu would be best for what you are trying to do. You can try looking up digital-to-analog conversion via pwm. Using pwm, you will need 1 mcu pin for each led, and no additional hardware. But it is also unlikely that your mcu has 16 pwm pins, so you may need to use...
You can use From-Tos in Altium to get the length of a trace between two points: **broken link removed**
See if it suits you. It might be difficult to set up if you have a lot of connections to measure, but you only have to set it up once.
You need to declare your functions as void type. With your current code, the compiler expects your functions to return an int. So:
Change init() to void init()
Change oku() to void oku()
Etc...
Then maybe a switching regulator is best for you (in terms of efficiency) to get 3.8V from a 9V battery and not a linear voltage regulator if you don't mind the increased complexity.
What is your reference voltage? Remember that you are using signed int for sensorValue and that your MSB is the sign bit when you send it over the serial port, so when you send it as text, you might get something like your reading increasing from zero and then suddenly going negative. But this...
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.