Posts

Showing posts from November, 2016

Week 6 - Building the mount of Bluno + Lora & android interfacing

Image
Building the mount We thought of making a mount for the dashboard solely for demonstration purposes and it will not be the actual mount used for SunSPec 5. The idea is to have a variable resistor replicating as each of the sensors that will be used for the car. When the knobs are turned, the values increases and decrease accordingly, whereby the changes will then be reflected on the dashboard. We started off with a wooden base but after some drilling and cutting, we found out that the skin of the wood flakes off easily when drilling, damaging the texture. We then proceeded with an acrylic base and bent it. We have also received 2 LoRa modules from Mr.Joe to test them out, whereby it's effective range of transmission is up to 5km within the range of sight. However, we have only tested from T1023 to the solar car workshop @ W12, and it is still working normally. Attending IOT seminar Some relevant things we have found out from the seminar were regarding Bluetooth an

Week 5 - Continuation of Bluetooth & Wifi modules

Image
Bluetooth Module We were given out another type of Bluetooth modules, the Bluno Beetle. We were told that multiple slave Blunos can be paired up to a master Bluno simultaneously, however, turns out to be false. After some testing and research, it is found out that one master Bluno only allows up to one slave Bluno as the first slave Bluno paired up will be disconnected. One possible solution to counter the problem was through "switching" of the slaves. It is coded such that the slaves will be programmed to pair up with the master in succession while disconnecting the prior paired one. The Bluno beetle model is faster, smaller, and easier to set up as compared to the HC models, but of course, the cost is relatively higher too (around 7x the price of an HC-05). One major problem encountered when dealing with the Blunos was the disconnecting of Arduino ports. Each time the code is uploaded, the port disappears. Despite changing USB cables and Arduino boards, the prob

Week 4 - Continuation of Bluetooth modules and working on speed sensing & voltage sensing

Image
Hc-05/06 Bluetooth modules Finding out the problem... Most of the week is spent on troubleshooting on the Bluetooth and Wifi modules. Both faces a similar problem: unable to initiate AT commands while in AT mode. After spending an entire week on troubleshooting, the problem has been fixed. No matter what was done, or any command's issued, none of the commands worked at all, even though the Bluetooth modules were in AT mode. It is most probably due to some settings that were done in the HC-05 that permanently binds the master and slave together, hence disabling ALL activities other than communication purposes (sending and receiving to and fro). It is likely due to either of the following two commands that blocked ALL  the AT commands: AT+BIND= 3014,11,192230           // to bind AT+CMODE=1 // Set the HC-05 to only connect with paired devices The first problem... Figure 1: Pinout of HC-05 & HC-06 During the first few days of troubleshooting, one of the man

Week 3 - Optocoupler (II): Initial circuit and possible improvements

Image
Week 3 We have finished testing the optoisolator through a different simpler circuit as of the previous one we did. Instead of trying to read the digital signal being sent through, we decided to test if the signal sent through can power up a LED connected on the HV side and be controlled from the LV side. Figure 1: Optocoupler circuit As seen from above, the LED is on and powered by the signal sent from the LV side, if we were to off the switch at the LV side, the LED at the HV side will turn off. What we are basically doing is using the signal to control our LED. We don't have a bigger load at the moment as the only motor we found isn't working. Once we have a bigger load than a LED, we will most probably test it and try to see if we can control it using a microprocessor instead of a simple switch.  We found out from Mr. Kenny, the main purpose of the optoisolator is to separate the ground of HV e.g. the Battery and the Arduino in the SunSPec, and that we a