element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Please help, My arduino project is at a standstill :(
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 390 subscribers
  • Views 201 views
  • Users 0 members are here
Related

Please help, My arduino project is at a standstill :(

toxsickcity
toxsickcity over 7 years ago

Hi guys and gals,

 

I hope everyone is well, I hope to get some help on my code for a project I am doing. I have done alot of research and i am still stuck and dont know what the F. im doing image

I have tried for days and I just don't am not getting anywhere. I am hoping someone might know the answer.

 

Some background first

My Current project is a Wall Computer with Arduino controlling the Fans, LED Lighting from 2x Arduino Unos and 6 ONEWIRE sensors.. these usually calling a onewire code into your code.

These sensors are really bulky and cannot fit them close to the cpu and other sensitive areas.. whereas the NTC 10k sensors are almost paper thin.

I have found some cool projects and the guys let me use their code. sadly I cannot find them anymore and I am completely stuck,

My Coding ability is very poor, and I can kind of link areas together but adding stuff is really way over my head. I have tried to learn but it's like learning a spoken language.

 

So basically I would like to replace the onewire sensors and use a thermistor instead.. and I have made several attempts and got nowhere,

Dont get me wrong, when I follow the arduino tutorials I get it working but usually with a RED, GREEN, BLUE which doesn't work for me..

 

I have found a part of my code that might be important to explain what ive found hoping someone can explain it further

I need help with understanding this bit of code, you can find it as LINES 79/80 if opening my text file in notepad++ etc..

for (int i = 0; i < 9; i++) { // we need 9 bytes

data[i] = ds.read();

 

Now, "i" above seems to be directly linked with the code at the very bottom, found on LINES 95 to BOTTOM

I have learnt this by changing all values such as "h", "s", "v", "i", to "h1", "s1" and so on.. anyways the LED lighting in my code stops working until I update the "i" to "i1" on lines 79/80.. those 2 lines above.

 

I think the code at 95+ is the hue controller, makes the colours display.. I am sure its important to keep..

unless anyone knows how to replace that code with a simple from BLUE (cold) to RED (hot)

 

I have attached 2 txt files, My code, and an example thermistor code..

 

I really someone here has time to help, this is the last step in my project and would forever been in your debt. image

 

cheers

Shaun

Attachments:
My Arduino Code.txt.zip
thermistor code.txt.zip
  • Sign in to reply
  • Cancel

Top Replies

  • gadget.iom
    gadget.iom over 7 years ago +1
    Hi toxsickcity Are you still looking for assistance?
Parents
  • gadget.iom
    gadget.iom over 7 years ago

    Hi toxsickcity

     

    Are you still looking for assistance?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • gadget.iom
    gadget.iom over 7 years ago

    Hi toxsickcity

     

    Are you still looking for assistance?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube