Uphill Racers

Go Back   Uphill Racers > Tech Talk
Register FAQ Members List Calendar Downloads Mark Forums Read

Tech Talk For questions & answers and regarding PC's, Operating Systems, Connections and all things computer related. Apple Mac not spoken here.

Reply
 
Thread Tools Display Modes
  #21  
Old 16-01-18, 08:06
grahamb's Avatar
grahamb grahamb is offline
#UNLEARN
 
Join Date: Mar 2008
Location: Fordshire
Posts: 4,037
grahamb will become famous soon enough grahamb will become famous soon enough
From testing last night, the pi appears to be capable of sampling four ADC channels at 40hz (160 samples per second) , at the same time that it receives and processes the NMEA sentences at 10hz. The next step is to wire in the connections to the suspension pots.

I've started trying to fathom out the strings required to initiate the sim868 gprs component, so it'll be able to connect to the Internet and upload to the cloud. I've a giffgaff sim in the board so it should be straight forward once I've sussed it out.
Reply With Quote
  #22  
Old 17-01-18, 11:09
grahamb's Avatar
grahamb grahamb is offline
#UNLEARN
 
Join Date: Mar 2008
Location: Fordshire
Posts: 4,037
grahamb will become famous soon enough grahamb will become famous soon enough
The GPRS component is working. It took a bit of trial and error last night getting all the Hayes AT+ codes sorted out, but essentially the giffgaff APN "giffgaff.com" is passed to the SIM868 chip, and the script then initiates the GPRS connection.

When it works, the SIM868 obtains an ip address, and at the moment, I've written the program to send an email using smtp to prove that it is alive.

Now I need to focus instead on the Python code pushing data up to the cloud over gprs, at a set frequency, so the real-time location and speed of the vehicle can be read and displayed on a phone or pc using the web browser. The phone signal strength is reported by the SIM868 chip, so we know when there is insufficient signal strength to allow the transfer to take place.

I'll start to accumulate some wiring and connectors, so I can fit a connector to the Pi box, that will allow the four suspension pots to be connected and sampled.
Reply With Quote
  #23  
Old 17-01-18, 14:11
team knifedge's Avatar
team knifedge team knifedge is online now
Return of The Sith
 
Join Date: Jan 2007
Location: I can hear The World Famous
Posts: 1,081
team knifedge will become famous soon enough team knifedge will become famous soon enough
great stuff Graham - I screwed a shelf to the wall the other day - not quite in your league !
Reply With Quote
  #24  
Old 17-01-18, 16:23
grahamb's Avatar
grahamb grahamb is offline
#UNLEARN
 
Join Date: Mar 2008
Location: Fordshire
Posts: 4,037
grahamb will become famous soon enough grahamb will become famous soon enough
Quote:
Originally Posted by team knifedge View Post
great stuff Graham - I screwed a shelf to the wall the other day - not quite in your league !
I think there's a software developers joke in there somewhere.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright© 2007-2018 Uphill Racers www.uphillracers.com