CHANTELLE KO
  • Home
  • Bio
  • GLOBE
    • GLOBE Videos
    • GLOBE Gallery
    • Sensational World of Sensors
    • GLOBE Blog
  • TRAVIS
    • TRAVIS Videos
    • TRAVIS Blog
  • SUBCLASS
  • Other Academia
    • Soundscapes
    • Augmented Props
    • Sofra Ensemble
    • Music Tech Works
  • Resources
  • Contact

We don't have liftoff  yet

7/3/2020

0 Comments

 
Feather
I got the Huzzah Feather working with the TCS34725 + LIS3DH sketch. At least I think it's working. It's hard to tell when I'm working with a dead accelerometer. 
I found a good example of multiplexing a general ESP8266 with the same 16 channel multiplexer that I have. I think it works much better than the other 16 channel multiplexer example I was trying to go off on before. If I end up going back to the arduino pro mini, then I should look at this example again to get the 16 chan multiplexer going.

I tried to combine the 
TCS34725 + LIS3DH sketch with the 16 channel mux sketch, and that's when things got weird. For whatever reason, the feather only printed the mux sensors and ignored the  TCS34725 + LIS3DH. I then tried only mux + TCS34725 and mux + LIS3DH. Neither worked. 
I then went back to the arduino pro mini to see if the same problem occurred. 

Pro Mini
When I first uploaded the new 16chan mux sketch to the pro mini, the data was printing slower than when it was used with the feather. It was like it was slower to update, or the board has a slower processing speed?  
I then added the TCS34725 and in the serial monitor I can see that the board found it, and printed it's data for the first line. But then subsequent lines it ignored the colour sensor. 
For the mux code there is a "while (true) {" inside the loop. I moved it to be before the TCS34725 data, so everything in the loop is incased by this function. And it worked! I then did the same with the LIS3DH. Who knew that struggling with the ESP8266 would lead to me fixing my problem with the 16 channel mux!!!!! :)

Back to the Feather
​Same code, just adapted for the different pins now works for the feather too!!!!! 


So now in my mind, there is something I need to consider. In a perfect scenario where I can add a wifi module to the Arduino Pro Mini flawlessly, should I use the Arduino Pro Mini, or the HUZZAH feather?  

In a perfect scenario, using the feather has an advantage because I don't have to interface with another module to make the project wireless. 

​On the other hand, if I can get interfacing between the Arduino Pro mini and a module, that also has an advantage; I could use a 5V arduino, have the IR sensor working at its best, and use level shifters to bring the voltage down for the wifi module and the accelerometer.  It would take up much more space on the ciruitboard, but all the sensors would be working at their full potential.

I'm just going to have to wait and see when the Wemos arrives on Monday!
And now for making the Feather take flight...!

0 Comments



Leave a Reply.

    Welcome!

    If you are looking for a summary for my Masters thesis, it is here.

    This page is where I blog about my progress with my Masters thesis. It is in no way meant to be "official" or in academic lingo. It's meant for me to quickly jot down my ideas before I forget them, even if they may not necessarily make sense to anyone else.

    Archives

    November 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    May 2020
    April 2020
    March 2020
    February 2020
    December 2019

    Categories

    All

    RSS Feed

    Picture
Powered by Create your own unique website with customizable templates.
  • Home
  • Bio
  • GLOBE
    • GLOBE Videos
    • GLOBE Gallery
    • Sensational World of Sensors
    • GLOBE Blog
  • TRAVIS
    • TRAVIS Videos
    • TRAVIS Blog
  • SUBCLASS
  • Other Academia
    • Soundscapes
    • Augmented Props
    • Sofra Ensemble
    • Music Tech Works
  • Resources
  • Contact