Find Jobs
Hire Freelancers

C Programmer

£20-250 GBP

In Progress
Posted about 8 years ago

£20-250 GBP

Paid on delivery
C Code for a Microchip controller. I/O: 2x ADC inputs (0-5V). 3x digital outputs (LEDs turning on/off) Basic Description/process: Read ADC1… Read ADC2… Compare ADC1 & ADC2 values… If ADC1 = ADC2 then LED 1 = Hi If ADC1 = < ADC2 then LED 2 = Hi If ADC1 = >ADC2 then LED 3 = Hi Reset & Loop Rule: There should never be a point at which no LED is on. This might be ‘a given’ considering the speed at which the microchip processes work, but just wanted to stipulate. Details: ADC1 input: A separate circuit sends a voltage between 0-10v, which I've scaled down to 0-5v with a voltage divider to input in ADC1. ADC2 input: This has a 10k potentiometer dividing the VDD and VSS, i.e 0-5v, same as microchip but will represent 0-9v actual (this is the range I want the pot to work in)...so will have to convert (integer value/10)*9 to make ADC1 and ADC 2 the same ratio, as ADC1 is reading an actual of 0-10v. Comparing the values: adding a ‘margin’ for match. i.e. +/-0.1v (or +/- 10 integer when using 10 bit /1023 integer) therefore: If ADC1 (+/- 10 integer) = ACD2 then LED1 = High, LED2 = Low, LED3 = Low If ADC1 (+10 integer) = <ACD2 then LED1 = Low, LED2 = High, LED3 = Low If ADC1 (-10 integer) = >ACD2 then LED = Low, LED2 = Low, LED3 = High Example: if ADC1 reads 512 (integer) and ADC2 reads 502 (integer) ….then LED 1 = High…because the values are within the margin. I hope that makes sense. Using a VREF: The ADC2 should use the VREF on the microchip as a reference voltage, to improve accuracy. i.e. the voltage supply for the microchip might be 4.88v, not exactly 5v, and this will also be the supply for the potentiometer that ADC2 will read, so will have to take that into account. Not sure if it’s as easy as VDD=VREF, and then (1023/5)*VREF. ADC1 does not use the VDD so will not need any calibration. I’m up for guidance on the type of microchip that will handle the task, but won’t take up too much component real estate. I’m currently learning how to do coding and have a very simple set up, so any advice will be appreciated. It would be great to use the smallest chip possible, and preferably in 10 bit to keep the accuracy of the voltage readings. Thanks :)
Project ID: 9334645

About the project

14 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
14 freelancers are bidding on average £116 GBP for this job
User Avatar
Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!Ready to work!
£250 GBP in 3 days
5.0 (52 reviews)
6.6
6.6
User Avatar
Hello. I can do for you on inexpensive controllers: ATMEGA48 or even ATTINY13. .
£80 GBP in 7 days
5.0 (21 reviews)
6.3
6.3
User Avatar
Hi I have experience with 10Bit ADC reading from Microchip. I suggest using PIC18F. Its easy task for me. Looking Forward,
£100 GBP in 1 day
4.7 (58 reviews)
6.6
6.6
User Avatar
hi I am an expert electronics engineer with experience in programming of microcontroller I can do it for you I have almost 7 years of experience in this field I assure you quality work and on time delivery Please have a look at my profile I am waiting for your reply to start Regards
£100 GBP in 3 days
5.0 (19 reviews)
5.8
5.8
User Avatar
Hello! I can help you out with the code. We can discuss more on the pm. Hope you do contact me. Thanks!
£66 GBP in 3 days
5.0 (46 reviews)
5.5
5.5
User Avatar
I'm microprocessors and micro controllers TA. My experience is mainly with PIC , AVR , 80x86 based and ARM microcontrollers and microprocessors. I could helping you simulating , learning and understanding different aspects of coding and implementing the project. I suggest PIC16F877A As a start if you 're choosing PIC microcontroller Proteus Software is a good start for simulation
£60 GBP in 3 days
5.0 (52 reviews)
5.1
5.1
User Avatar
A proposal has not yet been provided
£150 GBP in 3 days
5.0 (8 reviews)
3.9
3.9
User Avatar
Hi, I read your ad and I would wish to contribute to the outcome of your work effectively, as an electronics engineer. I can use proteus isis to show that the circuit works, I can use XC8 or CSS compilers with PIC 16f877 of microchip. Please take a look at my portfolio to get an idea of my background and skills. I f you agree, more details could be exchanged by chat. Best regards.
£80 GBP in 3 days
4.3 (3 reviews)
2.7
2.7
User Avatar
I have already worked on project using microship motorola HC11, I have enough experience in c coding.
£222 GBP in 6 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear Customer I have read your project specific requirement for C programming for microchip controller. Now a days I am already working on similar projects which you are looking for. Our Skills:- Embedded System:- Microcontrollers/Development Platforms ARM Cortex based microcontrollers, PIC 18 and 16 series, 8051 and its derivatives, MSP430, Arduino, Raspberry Pi, Beaglebone Balck, PLC programming Operating Systems and Libraries FreeRTOS, Embedded Linux, etc. IDEs and Toolboxes Kiel Microvision, CCS, MPLab, Visual Studio, etc. Programming Languages Embedded C, Assembly, VHDL PCB Designing Altium Designer Studio Computer Vision/Image Processing OpenCV, MATLAB Our team includes graduates in Electronic & Communication, Instrumentation & Control Engineering with experiences more than 10 years. We guarantee 100% dedication to your project and we will continue to work on it until you are completely satisfied with what we work portfolio projects that you are free to peruse through at your discretion. “I would love to hear from you” You are most welcome to contact me any time 24/7 for discuss/ask any query on skype or chat. Thanks & Regards, Sudhir Giri Skype ID : draftingeng
£142 GBP in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
£111 GBP in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have more than 15 years of experience in software development using C, C++ platform. I had developed program for direct digital controller using dynamic C.
£150 GBP in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello! Ok so here is the deal, I've been working with micro-controllers for quite a while now. I have literally programmed my own PID Stabilization software and controller for a quadcopter. Let me just say that if i'm understanding exactly what you are looking for, this program is going to be complete before you even read this. Not only that, I can point you in the direction of an AMAZING website for testing things like this. You can lay out an entire circuit, type code in for the micro-controller, and watch it come to life on your screen. When you are all done testing, this same website will let you order a custom made circuit board specifically designed from the layout you used while testing. Ok, I'm typing this code up right now. I'll send you a link to the test environment. Also: I would highly recommend looking into "Arduino" circuit boards. Specifically the arduino Metro from" Ada fruit". It is the perfect board for prototyping things like this. Once you finish a prototype you can have it custom made into a smaller chip. Its really amazing. Thanks!
£50 GBP in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Nonington, United Kingdom
4.8
1
Member since Jan 15, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.