Need HELP: my son at Mohawk College is working on a personal project in his last year as an electrical engineering technologist. His project basically is a temperature controlled sensor that turns on a fan when the room is too hot, or gets to a certain temperature. He is putting the code in an Arduino micro controller. He specifically needs help in the "C or C++ language code." Reading from my temperature sensor and writing to my LCD. If anyone understands this language and can help please let me know. I am in Brampton Ontario and he attends school in Hamilton Ontario. You can message me or email me at: spyderman122367@gmail.com, phone me @ 905-965-1300
t8638hc:
Need HELP: my son at Mohawk College is working on a personal project in his last year as an electrical engineering technologist. His project basically is a temperature controlled sensor that turns on a fan when the room is too hot, or gets to a certain temperature. He is putting the code in an Arduino micro controller. He specifically needs help in the "C or C++ language code." Reading from my temperature sensor and writing to my LCD. If anyone understands this language and can help please let me know. I am in Brampton Ontario and he attends school in Hamilton Ontario. You can message me or email me at: spyderman122367@gmail.com, phone me @ 905-965-1300
This is really scary, A final year student of Electrical Engineering, is clueless.
This is on the order of an Engrish Major needing an explanation of a dickionary. (sorry for the Spelling errors, but I could not resist.
)
Chuck.
Not clueless, working through it and making progress; for personal issues did not have the time needed and down to a few weeks and thought someone may help me with some of the coding to move this along in the little time left. However, thanks for your help.
Needs help as in he has written some code and it is not working?
Or.
Needs help as in he wants the code written for him so he can graduate?
Please do not cross-post. Other thread removed.
I would suggest getting him the book "Beginning C for Arduino - second edition" ( www.amazon.com/Beginning-Arduino-Second-Learn-Programming/dp/1484209419/ ) it is a very good into to programming the Arduino, how to set up the IDE on the computer, basic programming in C (and even an intro to C++) with lots of examples of how simple code works and the basic rules. He needs to learn at a minimum simple programming (my daughter had to learn basic programming and she is a geology major!!). Working in the electronics field without at a minimum some basic programming is not a good thing !! (yes, I have an EE degree from 40 years ago and we had to learn basic programming then too although back then, "core" really was core memory!!)
He specifically needs help in the "C or C++ language code."
I assume your son has learned some programming in some language. The basic concepts of conditional execution (if-statements, etc.) and loops are the same in any programming language. And, he can probably read through the Arduino C/C++ [u]Language Reference[/u] in a couple of hours.
And if he doesn't know any programming and he doesn't have time to learn, he should do this project in hardware (with no programming). i.e. A basic thermostat doesn't have a microcontroller memory or software. The "brain" is only needed for a programmable thermostat with a built-in clock, etc.
Reading from my temperature sensor
That's usually easy, depending on the sensor. You'll probably need a bit of math to convert the ADC reading to temperature.
and writing to my LCD.
That's a little more complicated, but there is an LCD library so it's not outrageously difficult or complex.
at Mohawk College is working on a personal project in his last year as an electrical engineering technologist. His project basically is a temperature controlled sensor that turns on a fan when the room is too hot, or gets to a certain temperature.
This might be OK for a 2-year degree, but it's way to simple for final project at a 4-year university. It's the kind of projects lots of young hobbyist do.
t8638hc:
Need HELP: my son at Mohawk College is working on a personal project in his last year as an electrical engineering technologist. His project basically is a temperature controlled sensor that turns on a fan when the room is too hot, or gets to a certain temperature. He is putting the code in an Arduino micro controller. He specifically needs help in the "C or C++ language code." Reading from my temperature sensor and writing to my LCD. If anyone understands this language and can help please let me know. I am in Brampton Ontario and he attends school in Hamilton Ontario. You can message me or email me at: spyderman122367@gmail.com, phone me @ 905-965-1300
It's really simple. Your son tries something and it does not work. He posts his code here, tells us what he expects the code to do and what it actually does and we will help further.
My graduation project / thesis was digital image processing in C; I knew nothing about either so I borrowed books about the subjects from the library and bought a book on C.
Your son can start with Kernighan & Ritchie's The C programming language to get general C knowledge.
Delta_G:
It's odd how the language switches from he and his to me and my in the middle of the post. Why is the parent posting for help with the childs homework? Why doesn't the child ask for his own help?
What is really worrying is that the younger person is no longer a child.
When he gets a job as an "electrical engineering technologist" will Dad accompany him to field questions for him?
Boarding schools have their uses ![]()
...R
The suggestions on C++ programming here are good; I used a similar book (and still refer to it). Secondly he could look at my YouTube Videos for Beginners to see if anything helps him out (URL in my signature below this post).
Finally I would edit that post with your email address and obfuscate it so it reads in the style of bob dot smith at gmail dot com, otherwise you will get a zillion emails (and phone calls) from spammers, advertisers etc etc. Don't ask me how I know this.