Hands on cooja contiki - contiki

Hi friends I am working with one IOT application with the help of a Contiki - cooja simulator. The thing here am I wanting to emulate the values of sensor nodes, How can I emulate temperature and humidity sensor values using Cooja simulator, Is it possible? Give me some good solution friends.

Related

Problem with the simulation of dji matrice 100 with ros

I'm trying to use ROS with dji matrice 100, i followed the tutorial on the website and i connected the drone and got the correct parameters. The problem is that i cannot run simulation and give commands because the signal of the gps is low. I'm working in a small office with a notebook and a pc desktop connected to the drone, is there a way to bypass the gps and run the simulation, or the only solution is to move in a place where gps signal is high?
Another question is how can i put my program (wrote in python using ros) on the drone?
Another question is how can i put my program (wrote in python using
ros) on the drone?
I assume you're referring to controlling the drone with your ROS program without a simulator?
You need to connect the drone to a PC using the UART port on the M100. My setup involves a USB to serial Cable which is connected to a JETSON TX1. If you're using ROS, edit the details of the sdk.launch here. Your PC needs to be small enough to fit on the drone. A raspberry pi will do the trick. For more details, take a look at the hardware setup guide at this link. I think the M100 + PC/Linux machine should work well for you. Good luck.
Perhaps you can run and download the mobile (Android or iOS) SDK simulation example app to start the simulator from there and then run the commands you want from the onboard sdk/ onboard sdk for testing. I am not sure if this would work, since it is unclear if
you need to run the simulator from onboard as opposed to mobile
or if you need to run both two simultations
dji may not allow running two simulators at the same time.
2.) would be a DJI issue and I haven't testing 2 simulations at once. My guess if you can't run 2, but it could be worth giving a try. 1.) depends more on what you are trying to accomplish. But I could be missing something and don't have experience trying multiple simulations if that is what you need.
Hi,did you open the DJI Assistant 2?You can connect your drone to the PC,then open the simulator of the DJI Assistant 2.In the simulator,you can set the latitude and longitude.After starting simulating,the GPS signal will be high at all times.

Create an app on iPhone to get phone's gyrometer

So here's the situation. Looking at the attached picture,Block diagram of a cell phone controlled robotic vehicle, I was wondering how to create an app on iPhone that would get the phone's gyrometer that connects to the DTMF decoder on the picture and connects to another iPhone (the remote) via Bluetooth so it can proceed forward to the microcontroller and so on. If anyone has link on steps to how to create an app, please tell me.
Other than that, if I dont use the option to create an app, I have alternative of using a decoder IC, but I dont know which mobile phones are compatible with this IC. I have an old iPhone 4S, nokia 7320, Samsung E1270 flip phone, and a samsung wave gt-s8500 handsets.
Yes, you have access to the iPhone's gyroscope and accelerometer. Core Motion is probably the best way to do that.
As far as communicating the info to a robotic car, I'm not sure how DTMF fits in. It seems to me BLE (Bluetooth Low Energy) would be a much better way to go. There is a Core Bluetooth framework that lets you make an iPhone serve as either a peripheral or a central device.
I don't know how you'd do DTMF, but BLE seems a much better fit.

Creating a remote control mobile app

I'd like to go about creating a mobile app that works as a remote control. Nothing too complex. Just something, for example, to control the system's volume.
However, I have no idea on how to go about making such an app as not only would it require me to develop for the phone platform but also for the PC/Mac platform. Any inputs, on where I should start looking or go about making such an app, would be appreciated.
FYI: I'm interested in making an iOS app using Swift that works with Mac/PC. I'm currently taking a course to learn iOS app development in Swift.
Thanks
You need an IR led to do this, and the iPhone don't have it. Try with something different, if you want to use sensors here is a list of sensors available on the iPhone for developers:
iphone 5, 5S, 5C
- Proximity sensor
- Accelerometer
- Magnetometer
- Gyroscope
- Touch Screen
- Camera
iphone 6
Barometer
Edit:
If you know enough about electronics, you can control an IR led with the headphone output. (Analog) I'm sure theres more information about doing this in google.

Anyway for Iphone can be tricked to receive non-Supported Bluetooth profiles?

Is there any way to trick the iphone into communicating / connecting to a non-bluetooth 2.4 ghz device?
Any way to further trick the iphone into believing that device was bluetooth?
I want to control an RC toy with my iphone without using a bluetooth receiver in the toy. Looking for the cheapest way to control a $10 toy with iphone really.
Thanks,
Kevin
No, this is not possible: Bluetooth and radio-control protocol(s) are very distinct, and share almost nothing. I use plural for radio-control protocols because there are many ones...
The only thing they share is base frequency, but WiFi, microwave ovens, baby monitoring video cameras share it also.
If you want some more details on how various RC protocols handle interference (the reason why it's almost impossible to control a toy by interfering via Bluetooth), have a look there: http://www.rcmodelreviews.com/spreadspectrum03.shtml
To control your toy (something I'm attempting right now!), I think the way is the following:
Have an Arduino (or other micro controller, but Arduino is really easy I think) plugged to your RC car controllers (use PWM outputs to connect servo motors, and if you're lucky enough, the motor driver will react the same way...) Cheapest Arduino can be in the 5$ range (Arduino Pro Mini copy from some Hong-Kong company)
Have a Bluetooth Low Energy (a.k.a BTLE, Bluetooth 4, Bluetooth Smart) receiver plugged on RX/TX pins on the Arduino. Nordic Semi has some for around 20$ sold by Adafruit Technology, but you may find lower prices (I did not... currently!)
Design and implement a custom BTLE protocol in your iPhone app AND in your Arduino so the app can send commands to the Arduino, which could answer with data/status (think battery monitor...)
Good luck, and have fun!

Ant+ iphone adapter configure for any sensor

I am building an iPhone app for heart rate monitoring using ANT+ technology. This is the site
But the issue is ANT+ iPhone adapters are manufactured by a few separate companies and they don't allow every sensor to detect by that adapter. Here are a few adaptors Garmin iPhone adapter, Digifit iPhone adapter, Wahoo iPhone Adapter
Android devices don't have this issues because most of the new devices have inbuilt Ant+ adapter. So we can directly build apps for android. But for iOS we need to have a separate adapter like this to detect the sensor.
Wahoo giving developers to access their SDK but only for there devices. They don't allow us to access devices like heart rate monitor, Bike speed monitor .. etc except their devices.
So my question is there any open source SDK to access these devices or is there any universal adapter to detect this ANT+ sensors.
Hope some one will help me with this issue. Because i am currently able to work with the devices build by those companies but i cant get access to my own sensor which is in ANT+ format.

Resources